From owner-freebsd-current@FreeBSD.ORG Tue Jan 5 00:19:01 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 C60511065694 for ; Tue, 5 Jan 2010 00:19:01 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (saltmine.radix.net [207.192.128.40]) by mx1.freebsd.org (Postfix) with ESMTP id 78B018FC0C for ; Tue, 5 Jan 2010 00:19:01 +0000 (UTC) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id o0505EV4029302; Mon, 4 Jan 2010 19:05:14 -0500 (EST) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id o0505EPS029301; Mon, 4 Jan 2010 19:05:14 -0500 (EST) Date: Mon, 4 Jan 2010 19:05:14 -0500 From: Thomas Dickey To: Ed Schouten Message-ID: <20100105000514.GA28599@saltmine.radix.net> References: <20100104214457.GU64905@hoeg.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <20100104214457.GU64905@hoeg.nl> User-Agent: Mutt/1.3.27i 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: Tue, 05 Jan 2010 00:19:01 -0000 --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 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--