On Sun, 3 May 2009 11:46:30 -0700, jw <jwde...@gmail.com> wrote:
> How do I get it to clear the screen (and the scroll buffer) when the
> login prompt gets redisplayed?

Two options:

a) Clear everything right after login. Put the command "clear"
   in your ~/.login, or /etc/csh.login for all users.

b) Clear everything right after logout, so the new login will
   get a blank screen. Put the command "clear" in your ~/.logout,
   or /etc/csh.logout for all users.

This assumes that you have the standard dialog shell csh. If
you're using bash, you need to modify its respective files,
~/.profile or ~/.bashrc - I don't know, I'm using csh. :-)

>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to