^L on console?

Thomas Dickey dickey at radix.net
Tue Jan 5 00:19:01 UTC 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100105/e870899c/attachment.pgp


More information about the freebsd-current mailing list