Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2010 19:05:14 -0500
From:      Thomas Dickey <dickey@radix.net>
To:        Ed Schouten <ed@80386.nl>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ^L on console?
Message-ID:  <20100105000514.GA28599@saltmine.radix.net>
In-Reply-To: <20100104214457.GU64905@hoeg.nl>
References:  <a78074951001041333i5d6ab805mc80a1cb215ac8e61@mail.gmail.com> <20100104214457.GU64905@hoeg.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 04, 2010 at 10:44:57PM +0100, Ed Schouten wrote:
> Hi Xin,
>=20
> * Xin LI <delphij@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.
> >=20
> > This behavior seems to be different from older FreeBSD releases, is it
> > related to the recent console driver changes (and is the expected
> > behavior)?
>=20
> 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...).

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

--FCuugMFkClbJLl1L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQFLQoI1tIqByHxlDocRAkghAJ9K1x7Zf8cVzdpcYCqIjiH1iEbZpgCeM4OT
BItnedDOb3ImqB2zUEr7P40=
=e4nN
-----END PGP SIGNATURE-----

--FCuugMFkClbJLl1L--



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