From owner-freebsd-questions@FreeBSD.ORG Wed Aug 29 03:09:30 2007 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A14116A41A for ; Wed, 29 Aug 2007 03:09:30 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from smtpclu-7.EUnet.yu (smtpclu-7.eunet.yu [194.247.192.232]) by mx1.freebsd.org (Postfix) with ESMTP id 98B5113C465 for ; Wed, 29 Aug 2007 03:09:29 +0000 (UTC) (envelope-from nlecic@EUnet.yu) Received: from nyx.localhost (adsl-225-17.eunet.yu [213.198.225.17]) by smtpclu-7.EUnet.yu (8.13.6/8.13.6) with ESMTP id l7T1oxCt030304; Wed, 29 Aug 2007 03:51:00 +0200 Message-Id: <200708290151.l7T1oxCt030304@smtpclu-7.EUnet.yu> Date: Wed, 29 Aug 2007 05:04:20 +0200 From: Nikola Lecic To: Gary Kline In-Reply-To: <20070828063048.GA86574@thought.org> References: <20070828063048.GA86574@thought.org> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) X-Operating-System: FreeBSD 6.2-RELEASE X-Face: pbl6-.[$G'Fi(Ogs2xlXP-V6{3||$Y[LOYs&~GJoikj'cVjcFC[V7du;;0~6nO= [Vi2?uU1Pq~,=Adj@,T:|"`$AF~il]J.Nz#2pU',Y7.{B;m/?{#sO^Dvo$rnmY6] Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-EUNET-AVAS-Milter-Version: 2.0.0 X-AVAS-Virus-Status: clean X-AVAS-Spamd-Symbols: BAYES_50,UNPARSEABLE_RELAY X-AVAS-Spam-Score: 0.0 Cc: FreeBSD Mailing List Subject: Re: misc questions re setting LANG X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Aug 2007 03:09:30 -0000 On Mon, 27 Aug 2007 23:30:48 -0700 Gary Kline wrote: > Does anybody know howto set my env to iso.8859-1 (Latin1) > so that, say [Alt]-i will produce an e-aigu? I think that's > e-acute. I have it partlyworking in regular xterm. I can > type the string >=20 > % cafe=20 >=20 > with the final e being hex-e9 and I get=20 >=20 > "zsh: command not found: \M-i" >=20 > which makes sense. It would be nice to see the cafe echoed > with the aigu over the e, but whatever. On both the Gnome Terminal=20 > and the KDE Konsole, zip, nada, nothing. I've tried > "Setttings" for the Konsole terms. No joy. I don't know where to > mouse and click for Gnome. Oh,and most of the time in vi no Latin1 > chars. Gary, If you run % xterm -lc iso-8859-1 you will get what you want, i.e. ISO-8859-1 terminal in UTF-8 environment and Alt+I will produce "=C3=A9". Please read xterm man page for more explanation on -lc and -en. See also luit(1). If you really want to change the locale of Gnome/KDE/Xfce from default UTF-8 to ISO-8859-1 (not recommended), then you should appropriately set LANG and LC_ALL variables in ~/.xinitrc. Nikola Le=C4=8Di=C4=87