On 27/10/99 Raymond Causton wrote:

>How can I get this to behave like RedHat's login? Is these some escape code
>that clears the screen which I could put into the issue -file or an
>parameter to login? I tried to look arround in /etc without finding anything
>very informative.=(

you can add the clear command to your .bash_logout file (if you use 
bash) which will do it, or the better way would be to change your 
gettys to mingettys for the virtual terminals, mingetty is a 
lightweight version of getty that does not support serial terminals 
(why do you need that for a VC anyway?)

to do that edit your /etc/inittab and replace the lines starting 
gettys to mingettys.

if that is not an option you can do the following:

clear > tmp
cat /etc/issue >> tmp
mv tmp /etc/issue

that should clear the screen whenever /etc/issue is displayed.



Best Regards,
Ethan Benson
To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/

Reply via email to