Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Sep 1998 00:19:32 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Jim Holthaus <jim@holthaus.com>, Slyce <slyce@onramp.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Clear screen before login...
Message-ID:  <19980914001932.A6503@emsphone.com>
In-Reply-To: <v04003a04b2224f539b6c@[192.168.2.3]>; from "Jim Holthaus" on Sun Sep 13 23:45:59 GMT 1998
References:  <35FC33DA.76FDBB64@onramp.net> <v04003a04b2224f539b6c@[192.168.2.3]>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 13), Jim Holthaus said:
> >Is there a way to clear the screen each time login is run on a vt???
> 
> Sure.  Edit your default entry in /etc/gettytab.  Here is what mine looks like:
> 
> default:\
>         :cb:ce:ck:lc:fd#1000:\
> 
> :im=\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n
> \r\n\r\n\r\n\r\n\r\n\r\n\r\nFreeBSD (%h) (%t)\r\n\r\n:sp#1200:

How about :im=\f\r\nFreeBSD (%h) (%t)\r\n\r\n:  instead?  Syscons
clears the screen when it sees a formfeed.

	-Dan Nelson
	dnelson@emsphone.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980914001932.A6503>