On Fri, 6 Jun 2003 03:27:43 -0400 (EDT) "Rev. Jeffrey Paul" <[EMAIL PROTECTED]> wrote:
> On Fri, 6 Jun 2003, Jamie Dobbs wrote: > > > How can I make it so that whenever I log out of a console and return the > > the login prompt the screen clears ie. the login prompt is always at the > > top of a 'clear' screen. > > if it's okay to be at the bottom instead: > > echo -e "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" > > /etc/issue > > i do this on all of my systems for security reasons. it's more elegant > than the other proposed methods. > > additionally, i think running > > /usr/bin/clear > /etc/issue > > on the console may work as well. > > -j > > -- > -------------------------------------------------------- > Rev. Jeffrey Paul -datavibe- [EMAIL PROTECTED] > aim:x736e65616b pgp:0x15FA257E phone:8777483467 > 70E0 B896 D5F3 8BF4 4BEE 2CCF EF2F BA28 15FA 257E > -------------------------------------------------------- > > -- > [EMAIL PROTECTED] mailing list > If you're going to muck about in /etc/issue, putting ^[[2J^[[f at the top of the file is easier that echoing a bunch of newlines. For the sake of this thread though, I have that string in my /etc/issue, and my .bash_logout says "clear" and has for several years now. -- Chuck Brewer Gentoo Linux Developer http://www.gentoo.org GPG key: http://pgp.mit.edu:11371/pks/lookup?search=0xBB12D4CB GPG FP : 893B 4DA0 2763 12CF 4891 E6AC 9085 E8F6 BB12 D4CB
pgp00000.pgp
Description: PGP signature