Subject: Re: clear screen when logout
To: Bill Sommerfeld <sommerfeld@orchard.arlington.ma.us>
From: Ben Collver <collver@softhome.net>
List: port-i386
Date: 10/16/2000 06:08:59
On Mon, Oct 16, 2000 at 08:12:59AM -0400, Bill Sommerfeld wrote:
> > I'd prefer to not see a particular terminal types' escape sequence
> > hard-coded in the gettytab (even though just about everything that's
> > still in use would probably understand ANSI escape sequences).  Perhaps
> > something which pinches the default term entry from /etc/ttys and uses
> > the clear-screen sequence from the termcap entry for that terminal
> > type?
> 
> Yah.  An alternative would be to add a gettytab capability which
> causes it to send `rows' newlines before printing the login prompt.
> Ok, it might annoy folks still using hardcopy terminals ;-).

Debian 2.2 accomplishes it by putting the clear command in
/etc/skel/.bash_logout which gets copied to a users home
directory when the user is created with the useradd command.
-- 
Ben Collver -- collver@softhome.net
Your fellow-man? Divide the epithet: Say rather, you're the fellow, he the man.