Subject: Re: clear screen before login
To: None <mason@primenet.com.au>
From: Ryan Low <uberfrogus@yahoo.com>
List: port-i386
Date: 03/10/2001 04:21:19
Works wonderfully. Thank you.
-Ryan
--- Geoff Wing <sparkles@pobox.com> wrote:
> Ryan Low <uberfrogus@yahoo.com> typed:
> :Hi all. How would I set the system to clear the
> screen
> :before login runs (ie after boot and after users
> log
> :out)? It's not so pretty to see the tail end of the
> :boot message or the last user's session remaining
> on
> :the screen directly above the login prompt. Thanks
> for
> :the help!
>
> This isn't i386 specific. Look in /etc/ttys for the
> appropriate
> lines (e.g. ttyE0 in i386) and where it says, e.g.:
> ttyE0 "/usr/libexec/getty Pc" vt220 on
> secure
> ^^
> Then look in /etc/gettytab for the "Pc" entry. If
> it doesn't have
> an "im" capability you can add one there or edit the
> "default"
> entry. The first characters of the "im" entry
> should then be:
> \ec
> which is "RESET TO INITIAL STATE".
> e.g.
>
> default:\
> :ce:ck:np:im=\ec%s/%m (%h) (%t)\r\n\r\n:sp#9600:
>
> Regards,
> --
> Geoff Wing : <gcw@pobox.com>
> Rxvt Stuff : <gcw@rxvt.org>
> Zsh Stuff : <gcw@zsh.org>
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/