[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Clearing Text Terminals after Logout...
Thank you very much. Your suggestion led me to change the default banner
line to:
default:\
:cl=\E[H\E[2J:\
:np:im=\r\n%s /%m (%h) (%t) ... blah blah blah ...
It seems to work great.
-----Original Message-----
From: Paul Janzen [mailto:pjanzen@foatdi.harvard.edu]
> What do I need to edit in the /etc/gettytab to get a vt100 terminal to
clear
> itself after logout? I am all thumbs when it comes to escape sequences.
Traditionally it's the responsibility of the user to have
clear
somewhere in the .logout file (installing a .logout by default is a
reasonable way to implement this, at least for new users).
I suppose in theory adding a
<escape>c
to the beginning of the default "im" value (the banner message) would reset
the terminal as you want, at least for most things that understand vt100
(that's more than just 'clear screen'; it resets just about everything back
to default), although it could get irritating.
Paul Janzen.