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 Norman Network 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