Re: Debian logo et al.

2000-02-14 Thread Jeremy Gaddis
At 06:10 PM 2/13/00 -0500, t.bedlam wrote:

Slink's default behavior leaves all the text from the previous user's
session on the screen, and writes /etc/issue to the screen at the 
bottom, with all this old session text above it. Red Hat prints /etc/issue
(I assume that's the file) on a blank screen at the screen's top. How?

Put /bin/clear (or whatever the path) in your .bash_logout file.  I have
an alias in my .bash_profile... alias logout='clear ; logout' that does
about the same thing.

Jeremy
Jeremy Gaddis  [EMAIL PROTECTED]


Re: Debian logo et al.

2000-02-14 Thread Laurent PICOULEAU
On Sun, 13 Feb, 2000 à 10:13:23PM +0100, Martin Bialasinski wrote:
  Speaking of logons, what control character may I write in the
  /etc/issue file so the screen is cleared and text writing begins in
  the upper left of the vc screen? I tried Ctl-L but it didn't work;
  I looked in the archives, no good, man pages getty and issue also
  ng.
 
 clear  file
 
An other way is to use mingetty instead of getty.

-- 
 ( -   Laurent PICOULEAU  - )
 /~\   [EMAIL PROTECTED]  /~\
|  \)Linux : mettez un pingouin dans votre ordinateur !(/  |
 \_|_Seuls ceux qui ne l'utilisent pas en disent du mal.   _|_/


Re: Debian logo et al.

2000-02-13 Thread t.bedlam
On Sun, Feb 13, 2000 at 08:46:00AM -0800, Pann McCuaig was only escaped 
   alone to tell thee:

 ftp.ourmanpann.com/pub/pann/linuxlogo_3.0-3_i386.deb
 
 Just a reminder (no, there's nothing funny about this package). You
 should think twice about installing packages that you don't get from an
 official source.

Speaking of logons, what control character may I write in the /etc/issue
file so the screen is cleared and text writing begins in the upper left
of the vc screen? I tried Ctl-L but it didn't work; I looked in the 
archives, no good, man pages getty and issue also ng.

I find that I really prefer being able to tell at a glance that I am
logged off a virtual console.

-- 
[EMAIL PROTECTED]  ||  http://www.concentric.net/~bedlam
Though nothing is wasted, everything is spent. -- Annie Dillard
But to live outside the law you must be honest -- Bob Dylan


Re: Debian logo et al.

2000-02-13 Thread Martin Bialasinski
 Speaking of logons, what control character may I write in the
 /etc/issue file so the screen is cleared and text writing begins in
 the upper left of the vc screen? I tried Ctl-L but it didn't work;
 I looked in the archives, no good, man pages getty and issue also
 ng.

clear  file

Ciao,
Martin


Re: Debian logo et al.

2000-02-13 Thread t.bedlam
On Sun, Feb 13, 2000 at 10:13:23PM +0100, Martin Bialasinski was only 
   escaped alone to tell thee:

  Speaking of logons, what control character may I write in the
  /etc/issue file so the screen is cleared and text writing begins in
  the upper left of the vc screen? I tried Ctl-L but it didn't work;
  I looked in the archives, no good, man pages getty and issue also
  ng.
 
 clear  file
 
 Ciao,
 Martin

Um, no. I know how to create empty files. :)

Slink's default behavior leaves all the text from the previous user's
session on the screen, and writes /etc/issue to the screen at the 
bottom, with all this old session text above it. Red Hat prints /etc/issue
(I assume that's the file) on a blank screen at the screen's top. How?

--   
[EMAIL PROTECTED]  ||  http://www.concentric.net/~bedlam
Though nothing is wasted, everything is spent. -- Annie Dillard
But to live outside the law you must be honest -- Bob Dylan


Re: Debian logo et al.

2000-02-13 Thread Adam Shand

  clear  file
  
 Um, no. I know how to create empty files. :)

the above command doesn't create an empty file, it creates a file which
contains the control codes which clear the screen.  eg.

heyzeus(larry)$ clear  /tmp/blah

heyzeus(larry)$ od -tc /tmp/blah
000 033   [   H 033   [   2   J
007

or if you still don't believe me try using vi to edit the created file, or
simply cat it and you'll notice that it clears the screen.  

 Slink's default behavior leaves all the text from the previous user's
 session on the screen, and writes /etc/issue to the screen at the
 bottom, with all this old session text above it. Red Hat prints
 /etc/issue (I assume that's the file) on a blank screen at the screen's
 top. How?

open up /etc/issue and then import (to the top of the file) the control
codes from /tmp/blah.  every time the /etc/issue file is viewed the screen
will be cleared.

adam.


Re: Debian logo et al.

2000-02-13 Thread Nathan E Norman
On Sun, Feb 13, 2000 at 06:10:26PM -0500, t.bedlam wrote:
: On Sun, Feb 13, 2000 at 10:13:23PM +0100, Martin Bialasinski was only 
:escaped alone to tell thee:
: 
:   Speaking of logons, what control character may I write in the
:   /etc/issue file so the screen is cleared and text writing begins in
:   the upper left of the vc screen? I tried Ctl-L but it didn't work;
:   I looked in the archives, no good, man pages getty and issue also
:   ng.
:  
:  clear  file
:  
:  Ciao,
:  Martin
: 
: Um, no. I know how to create empty files. :)
: 
: Slink's default behavior leaves all the text from the previous user's
: session on the screen, and writes /etc/issue to the screen at the 
: bottom, with all this old session text above it. Red Hat prints /etc/issue
: (I assume that's the file) on a blank screen at the screen's top. How?

He just told you.  The above command doesn't create an empty file, it
creates a file with the terminal clear sequence in it.  You then
prepend the contents of that file to /etc/issue.

An easier way:  edit /etc/issue with vi, shift-o to open a line at the
top of the file, esc, !!clear will insert the clear sequence.

A better way:  Install package mingetty and edit every getty line in
/etc/inittab like this:

  1:2345:respawn:/sbin/getty 38400 tty1

to

  1:2345:respawn:/sbin/mingetty tty1

Voila; blank screens after logouts and memory savings to boot :)

-- 
Nathan NormanNetwork Magician, Eclectic Engineer
GPG Key ID 1024D/51F98BB7   Eschew Obfuscation
Key fingerprint = C5F4 A147 416C E0BF AB73  8BEF F0C8 255C 51F9 8BB7


pgptCoYfKrr3d.pgp
Description: PGP signature


Re: Debian logo et al.

2000-02-13 Thread t.bedlam
On Sun, Feb 13, 2000 at 02:17:43PM -0900, Adam Shand was only escaped 
   alone to tell thee:
 
 the above command doesn't create an empty file, it creates a file which
 contains the control codes which clear the screen.  eg.

smack! Duh!

I'm so happy I can't blush over the net. :)

-- 
[EMAIL PROTECTED]  ||  http://www.concentric.net/~bedlam
Though nothing is wasted, everything is spent. -- Annie Dillard
But to live outside the law you must be honest -- Bob Dylan