pkg_rmleaves in FreeBSD 9

2012-02-07 Thread Kevin Zheng
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I often use pkg_rmleaves(1) to uninstall unused programs on FreeBSD.
I'm in the process of test-driving a FreeBSD 9 system on a virtual
machine. I've noticed that pkg_rmleaves doesn't take up the entire
width of the window anymore.

Quite frankly, I like it when pkg_rmleaves takes up the entire window,
so is there any nice way to get it (or dialog) to take the entire screen?

Thanks,
Kevin Zheng
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPMfIeAAoJEII9RSpevmRH3D8IAIvKEUaiE4EWvk7+i4X90Whq
V43ldUAYmnHNWoWLKz7iBHvxFfnH6+2VSJevIkIvlrk0fI1o7fIgI9pWck/wi9tn
4NuXX7TdRMB4uX0JPRhRqZ5gIbMtsxemH0KLbyyL3IyTu/cb0GHc8gpmQ8eNZh1u
Z78ZTOviQV20e9MQ9bpneNWtcMInOIms2wwg9VCSUAtwtr6eNkFiNmHXHUvRavJy
CZiPtTC2az2jK3U0i2NX1NNMnk/VmRSOjHBwgo1Lf4GICi96N19g945Ivof5S9Gb
w2jgacHvQMWiPmWRI+P75E/xaHmNfmn0NOzB9Zb4YsD6jsg93R+GOKfpyEFQKeo=
=HcYG
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: FreeBSD Kernel Internals Documentation

2012-01-03 Thread Kevin Zheng
Jerry,

FreeBSD Questions isn't the place to argue about how all OSes should use
a universal API, and how Ubuntu is doing such a good job.

In an ideal world, everyone would speak the same language, use the same
currency, and have identical power outlets. Unfortunately, the last time
I checked, we don't live in this world. Some people are trying to make
that world possible, but until then, you'll have to face the fact that a
universal API doesn't exist.

APIs for a scripting or programming are nothing compared to what
operating systems deal with. POSIX already does a good job of making
sure that these systems (BSD, Solaris, Unix, Linux, etc) have a
relatively similar API. The fact is that the kernel lives at such a low
level that any change will have drastic consequences.

Perhaps some people don't WANT a universal API to exist. If every driver
on Windows worked equally well on FreeBSD, Microsoft may find itself out
of profit. Equally, if FreeBSD ran the same applications on Microsoft,
somebody would be slightly upset that they can't make a profit.

On a more positive note, a universal API would help everyone. Since
everyone here (including me) like it as it is, why don't you take
initiative and put together something? Perhaps you should start out by
creating another system specification that all of the existing operating
systems could adapt. Write a kernel for it. Create your own operating
system that can run everything. I'd use that system.

Wireless cards work perfectly on my Toshiba laptop. In fact, the current
one I use is a USB wireless adapter. The GENERIC kernel finds my cards
perfectly. In addition, I like it when I get to control every single
piece of software I put on my system. I switched FROM Linux because of
this. If you don't like FreeBSD, you don't have to. If you want to
improve it, please go ahead!

Sincerely,
Kevin Zheng
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: DNS

2012-01-01 Thread Kevin Zheng
Hello,

I've been using FreeBSD as a local nameserver (with my own .local
domains!) for quite some time. FreeBSD comes with a name server already
installed; you don't need to get it from the ports, although I'm not
sure what difference it makes. The one that comes with FreeBSD can be
enabled with named_enable="YES" in /etc/rc.conf. The configuration files
are in /etc/namedb/.

Getting a book about BIND really helps learning it. The examples are
especially useful. BIND can be a little daunting to learn, but it all
clicks in the end.

If you want to use BIND for mass hosting, you can consider hooking BIND
up to MySQL or a similar database. I haven't personally tried it, so I
cannot vouch for it to work. It may be what you're looking for, though.
You can have a look at this link: http://mysql-bind.sourceforge.net/.

Hopefully, this helps.

Sincerely,
Kevin Zheng
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Clearing Login Screen on Console

2011-12-25 Thread Kevin Zheng
I run FreeBSD 8.2-p5 (release) and I can clear the terminal at the login
prompt by hitting CTRL-L on my keyboard. However, I've installed FreeBSD
9.0-R3 and CTRL-L doesn't clear the screen.

Personally, I like having CTRL-L to clear the login prompt before and
after I log in, and I'd like to see that on FreeBSD 9 as well. Is there
something I can do with /etc/gettytab to get this behavior working again?

Thanks in advance,
Kevin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"