Re: ^L on console?

From: Ed Schouten <ed_at_80386.nl>
Date: Mon, 4 Jan 2010 22:47:55 +0100
* Ed Schouten <ed_at_80386.nl> 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.
> 
> I could change it, but I'm afraid it breaks stuff... :-)

As a side note, you can test this yourself by doing this inside an
xterm:

	stty -echoctl
	cat
	<press ^L here>

-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Mon Jan 04 2010 - 20:47:55 UTC

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