On 5/3/09, jw <jwde...@gmail.com> wrote:
> Currently, if I log in, do some work, then log out (from plain TTY, no
> X/SSH/etc), the output of my previous session is still readable above
> the new "login: " prompt. One can use scroll lock to view even more.
>
> How do I get it to clear the screen (and the scroll buffer) when the
> login prompt gets redisplayed?

My /etc/csh.logout and /etc/csh.login contains:

echo $TERM | grep cons25 >> /dev/null && clear && vidcontrol -C

For other shells it's similar.
-- 
Paul
_______________________________________________
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"

Reply via email to