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
On Sun, 3 May 1998 [EMAIL PROTECTED] wrote:
> BTW I put reset in my .bash_logout
> so that the tty gets reset when I logout
> (unfortunatly it does it in xterms too with su etc...
> there should be a better way? relaly I only did it to clear the
> screen on logout)
I finally broke down and did th
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/
> 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 a
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
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 answ
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
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
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
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
> "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
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
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
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
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
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
>
>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
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
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 ideas?
--
TO UNSUBSCRIBE FROM THIS MAILING LIST:
19 matches
Mail list logo