From owner-freebsd-current@FreeBSD.ORG Mon Jan 4 21:47:55 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE0361065692 for ; Mon, 4 Jan 2010 21:47:55 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id B82468FC12 for ; Mon, 4 Jan 2010 21:47:55 +0000 (UTC) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 2C8711CCC4; Mon, 4 Jan 2010 22:47:55 +0100 (CET) Date: Mon, 4 Jan 2010 22:47:55 +0100 From: Ed Schouten To: Xin LI Message-ID: <20100104214755.GV64905@hoeg.nl> References: <20100104214457.GU64905@hoeg.nl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/ub/ouu/U6vJloRC" Content-Disposition: inline In-Reply-To: <20100104214457.GU64905@hoeg.nl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@freebsd.org Subject: Re: ^L on console? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 21:47:56 -0000 --/ub/ouu/U6vJloRC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ed Schouten wrote: > Hi Xin, >=20 > * Xin LI 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 --=20 Ed Schouten 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--