>> Brandon Mitchell wrote: >> >On Mon, 29 Jun 1998, Jieyao wrote: >> > >> >> I was trying to do a clear screen after I logout from the console before t >> >he login >> >> prompt appears.
if you are using bash as your shell then just create a .bash_logout file in the users home hirectory and put the clear command in that file. bash then runs this file everytime you logout. Works for me anyway. Regards Graham >> > >> >A better twist on all the clear suggestions that are shell specific: >> > >> >$ clear >new.issue >> >$ edit new.issue # whatever editor you want >> >$ mv new.issue /etc/issue >> >> This solution works by capturing the clearscreen escape sequence to new.issue. >> Therefore it will not work for anyone using a different terminal type; it >> could even hang their terminals (Wyse 50 terminals could easily get hung by >> being sent unrecognised sequences). >> >> Using the clear command ensures that the sequence sent is correct for the >> current terminal type. >> >> -- >> Oliver Elphick [EMAIL PROTECTED] >> Isle of Wight http://www.lfix.co.uk/oliver >> PGP key from public servers; key ID 32B8FAA1 >> ======================================== >> "Because he himself suffered when he was tempted, he >> is able to help those who are being tempted." >> Hebrews 2:18 >> >> >> >> -- >> To UNSUBSCRIBE, email to [EMAIL PROTECTED] >> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]