Re: Clear screen on logout (Re: Terminal Corruption)

1998-05-04 Thread Oliver Elphick
Brandon Mitchell wrote: ... >I finally broke down and did this the right way. Before, I was doing a >trap /usr/bin/clear EXIT >in my /etc/profile. Now I have the characters that are echoed by clear at >the top of my /etc/issue and I unlinked my /etc/issue.net from my >/etc/issue so tha

Re: clear screen on logout

1997-04-30 Thread Jonas Bofjall
On Tue, 29 Apr 1997, Ryan Shaw wrote: > i'd like the screen cleared on logout and the login prompt to appear at > the top. i've worked around this by using an alias in bashrc, but i'm If you want if for every login, put a `clear screen' in your /etc/issue like this: clear > /tmp/banan cat /etc/

Re: clear screen on logout

1997-04-30 Thread Felix Almeida
> From: Ryan Shaw <[EMAIL PROTECTED]> > To: debian-user > Subject: clear screen on logout > Date: Tuesday, April 29, 1997 12:50 PM > > i've looked through the archives and haven't found an answer as of yet. > i'd like the screen cleared on logout and the login prompt to appear at > the top. i'v

Re: clear screen on logout

1997-04-30 Thread Tommy van Leeuwen
just to throw myself in the thread. ;) /etc/issue is a pre-logon file and has nothing to do with logging out. (well, it gets displayed after you log out) but forget about it just put 'clear' in ~/.logout and tadaaa! I haven't seen anyone mentioning .logout and probably .login also works. greets

Re: clear screen on logout

1997-04-30 Thread Matthew Tebbens
Try 'clear;logout' or alias it somewhere -- > From: Ryan Shaw <[EMAIL PROTECTED]> > To: debian-user > Subject: clear screen on logout > Date: Tuesday, April 29, 1997 12:50 PM > > i've looked through the archives and haven't found an answer as of yet. > i'd like the screen cleared on

Re: clear screen on logout

1997-04-29 Thread Graeme Stewart
Colin Telmer <[EMAIL PROTECTED]> writes: > > On Tue, 29 Apr 1997, Dale Scheetz wrote: > > > On Wed, 30 Apr 1997, Karl Ferguson wrote: > > > > > At 09:50 AM 29/04/97 -0700, Ryan Shaw wrote: > > > >i've looked through the archives and haven't found an answer as of yet. > > > >i'd like the screen

Re: clear screen on logout

1997-04-29 Thread Nathan E Norman
I'm inherently lazy, and I hate typing. All these solutions work, but what's wrong with suing to root, typing 'vi /etc/issue', typing '!!clear' and finishing off with a ':wq' ?? Just goes to show there's more than one way to do it. (I think that may be trademarked by Larry Wall). Nathan On Tue

Re: clear screen on logout

1997-04-29 Thread Colin Telmer
On Tue, 29 Apr 1997, Dale Scheetz wrote: > On Wed, 30 Apr 1997, Karl Ferguson wrote: > > > At 09:50 AM 29/04/97 -0700, Ryan Shaw wrote: > > >i've looked through the archives and haven't found an answer as of yet. > > >i'd like the screen cleared on logout and the login prompt to appear at > > >t

Re: clear screen on logout

1997-04-29 Thread Dale Scheetz
On Wed, 30 Apr 1997, Karl Ferguson wrote: > At 09:50 AM 29/04/97 -0700, Ryan Shaw wrote: > >i've looked through the archives and haven't found an answer as of yet. > >i'd like the screen cleared on logout and the login prompt to appear at > >the top. i've worked around this by using an alias in

Re: clear screen on logout

1997-04-29 Thread Karl M. Hegbloom
> "Ryan" == Ryan Shaw <[EMAIL PROTECTED]> writes: Ryan> i've looked through the archives and haven't found an answer Ryan> as of yet. i'd like the screen cleared on logout and the Ryan> login prompt to appear at the top. i've worked around this Ryan> by using an alias in bash

Re: clear screen on logout

1997-04-29 Thread Jens B. Jorgensen
Karl Ferguson wrote: > > At 12:32 PM 29/04/97 -0400, Jens B. Jorgensen wrote: > >mgetty, agetty & mingetty use /etc/issue (by default, though this > >is of course configurable for mgetty and agetty) rather than motd. > >(I wonder what uses /etc/motd?) So, you can run (as root, of course): > > > >c

Re: clear screen on logout

1997-04-29 Thread Karl Ferguson
At 12:32 PM 29/04/97 -0400, Jens B. Jorgensen wrote: >mgetty, agetty & mingetty use /etc/issue (by default, though this >is of course configurable for mgetty and agetty) rather than motd. >(I wonder what uses /etc/motd?) So, you can run (as root, of course): > >clear >> /etc/issue > >(no need to sa

Re: clear screen on logout

1997-04-29 Thread Troy Hanson
Karl Ferguson wrote: > Sorry - my aplogies - I meant /etc/issue, hey it's 1am here :-) At the top of my /etc/issue I put the ANSI Codes for home/clear: ^[[H^[[J --> (ESC)[H(ESC)[J you can get the ESC char in vi by hitting ctrl+V, then ESC. Hope this helps troy -- Psychiatrists say that one i

Re: clear screen on logout

1997-04-29 Thread Jens B. Jorgensen
Karl Ferguson wrote: > > At 09:50 AM 29/04/97 -0700, Ryan Shaw wrote: > >i've looked through the archives and haven't found an answer as of yet. > >i'd like the screen cleared on logout and the login prompt to appear at > >the top. i've worked around this by using an alias in bashrc, but i'm > >s

RE: clear screen on logout

1997-04-29 Thread Karl Ferguson
At 05:58 PM 29/04/97 +0100, Alec Clews wrote: >I think /etc/issue might be a better choice 'cause it gets displayed by >getty I believe Sorry - my aplogies - I meant /etc/issue, hey it's 1am here :-) -- Karl Ferguson Tower Networking Pty Ltd Tel: +61-8-9456- [EMAIL PROTECTED] t/a STAR O

RE: clear screen on logout

1997-04-29 Thread Alec Clews
> >At 09:50 AM 29/04/97 -0700, Ryan Shaw wrote: >>i've looked through the archives and haven't found an answer as of yet. >>i'd like the screen cleared on logout and the login prompt to appear at >>the top. i've worked around this by using an alias in bashrc, but i'm >>sure there is a better way

Re: clear screen on logout

1997-04-29 Thread Karl Ferguson
At 09:50 AM 29/04/97 -0700, Ryan Shaw wrote: >i've looked through the archives and haven't found an answer as of yet. >i'd like the screen cleared on logout and the login prompt to appear at >the top. i've worked around this by using an alias in bashrc, but i'm >sure there is a better way. > >any