Re: ^L on console?

From: Thomas Dickey <dickey_at_radix.net>
Date: Mon, 4 Jan 2010 19:05:14 -0500
On Mon, Jan 04, 2010 at 10:44:57PM +0100, Ed Schouten wrote:
> Hi Xin,
> 
> * Xin LI <delphij_at_gmail.com> wrote:
> > It seems that ^L behaves differently on console.  Before login, it
> > won't clear the screen and put the cursor to the left-up corner, while
> > with login and csh, it would do what it's supposed to do.
> > 
> > This behavior seems to be different from older FreeBSD releases, is it
> > related to the recent console driver changes (and is the expected
> > behavior)?
> 
> Even though it's different than previous releases of FreeBSD, it is the
> expected behaviour. FreeBSD 9 uses an xterm-like terminal emulation.
> Xterm doesn't seem to blank the screen when it echoes a ^L. login and
> csh do blank the screen, but they do it by hand.

That's correct - terminals that clear the screen (without the terminal
driver helping) on a control/F are a small minority.  (PuTTY and Sun's
consoles are the main exceptions, and neither is xterm...).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net

Received on Mon Jan 04 2010 - 23:19:01 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC