Clearing Login Screen on Console
freebsd at edvax.de
Mon Dec 26 05:25:17 UTC 2011
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
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.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions