Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 May 2000 22:21:52 -0500
From:      David Kelly <dkelly@hiwaay.net>
To:        Robert B <cgibin@hotmail.com>, questions@FreeBSD.ORG
Subject:   Re: Clear Screen Before Logout 
Message-ID:  <200005060321.WAA10878@nospam.hiwaay.net>
In-Reply-To: Message from Trevor Johnson <trevor@jpj.net>  of "Fri, 05 May 2000 22:42:20 EDT." <Pine.BSI.4.21.0005052237220.1833-100000@blues.jpj.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Trevor Johnson writes:
> > Whats the best way to clear the terminal screen after a log out so that 
> > login: is the only thing on the screen.
> 
> before:
> 
> 	cd; echo "clear" > .logout; ln -s .logout .bash_logout
> 
> after:
> 	Press control-L then enter.

Did I tune in too late, or has somebody already pointed out the sure 
fire way to clear the screen with all shells and all accounts is to 
edit /etc/gettytab? Insert \f shown below:

default:\
        :cb:ce:ck:lc:fd#1000:im=\f\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:
                                ^^


--
David Kelly N4HHE, dkelly@hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005060321.WAA10878>