From owner-freebsd-stable@FreeBSD.ORG Mon Apr 9 20:18:31 2007 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 983BC16A405; Mon, 9 Apr 2007 20:18:31 +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 58EE513C48C; Mon, 9 Apr 2007 20:18:31 +0000 (UTC) (envelope-from dickey@saltmine.radix.net) Received: from saltmine.radix.net (localhost [127.0.0.1]) by saltmine.radix.net (8.12.2/8.12.2) with ESMTP id l39JtKlj025158; Mon, 9 Apr 2007 15:55:20 -0400 (EDT) Received: (from dickey@localhost) by saltmine.radix.net (8.12.2/8.12.2/Submit) id l39JtKfR025155; Mon, 9 Apr 2007 15:55:20 -0400 (EDT) Date: Mon, 9 Apr 2007 15:55:20 -0400 From: Thomas Dickey To: Rong-en Fan Message-ID: <20070409195520.GA22614@saltmine.radix.net> References: <6eb82e0704061105u1f2c2fedr95ceae1393c66b6c@mail.gmail.com> <20070409163354.GA15528@icarus.home.lan> <6eb82e0704091049u256f649ei80537fac7b876a92@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline In-Reply-To: <6eb82e0704091049u256f649ei80537fac7b876a92@mail.gmail.com> User-Agent: Mutt/1.3.27i Cc: stable@freebsd.org, ache@freebsd.org Subject: Re: HEADS UP: ncurses is updated X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 20:18:31 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 10, 2007 at 01:49:32AM +0800, Rong-en Fan wrote: =2E.. > You mean it display sometihng like "tqxu" instead of line drawing=20 > characters? > Last time I checked, I thought it is terminal related. When I use screen,= it > uses line drawing character. For PuTTY, see: PuTTY implemented UTF-8 much later than screen and Linux console. Those (the last two) tend to have $TERM set properly (at least half the tim= e). I could let ncurses guess what to do based on $TERM and locale. For PuTTY, most users have it incorrectly set to "xterm"(*). There are no clues - so I added the environment variable to help. (*) It's incorrect because in several areas it does not match xterm. --=20 Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net --KsGdsel6WgEHnImy 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 iD8DBQFGGpomtIqByHxlDocRAksrAKCENfr77KbpYntqfzVP4lohEzMQTgCcD7wp eszmDoWaArfUw0HVdFttkBk= =NA0z -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--