Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2010 22:47:55 +0100
From:      Ed Schouten <ed@80386.nl>
To:        Xin LI <delphij@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ^L on console?
Message-ID:  <20100104214755.GV64905@hoeg.nl>
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

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

* Ed Schouten <ed@80386.nl> 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.
>=20
> 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>

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--/ub/ouu/U6vJloRC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAktCYgsACgkQ52SDGA2eCwWjEwCfaiQFVJPXSlYXV9VgesWSkJlG
WnIAniWM9CS+UAK+7HG0YLgWsWFfmUTC
=dFhi
-----END PGP SIGNATURE-----

--/ub/ouu/U6vJloRC--



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