Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2011 06:25:15 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Kevin Zheng <kevinz5000@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Clearing Login Screen on Console
Message-ID:  <20111226062515.f63963f1.freebsd@edvax.de>
In-Reply-To: <4EF7FA1C.4000007@gmail.com>
References:  <4EF7FA1C.4000007@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 25 Dec 2011 22:37:48 -0600, Kevin Zheng wrote:
> I run FreeBSD 8.2-p5 (release) and I can clear the terminal at the login
> prompt by hitting CTRL-L on my keyboard. However, I've installed FreeBSD
> 9.0-R3 and CTRL-L doesn't clear the screen.
> 
> Personally, I like having CTRL-L to clear the login prompt before and
> after I log in, and I'd like to see that on FreeBSD 9 as well. Is there
> something I can do with /etc/gettytab to get this behavior working again?

Can you put the command "clear" or "tput clear" in the
shell's login and logout files (globally /etc/csh.login
and /etc/csh.logout, local to the respective user ~/.login
and ~/.logout)?

You can also test those two commands interactively. I
think they are connected to the ^L key, just to make
sure if something's wrong with the /etc/gettytab file.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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