From owner-freebsd-questions@FreeBSD.ORG Wed Aug 29 18:46:27 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 D227216A469 for ; Wed, 29 Aug 2007 18:46:27 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5133613C483 for ; Wed, 29 Aug 2007 18:46:27 +0000 (UTC) (envelope-from kline@tao.thought.org) Received: from tao.thought.org (localhost [127.0.0.1]) by tao.thought.org (8.13.8/8.13.1) with ESMTP id l7TIjxqg001191; Wed, 29 Aug 2007 11:46:04 -0700 (PDT) (envelope-from kline@tao.thought.org) Received: (from kline@localhost) by tao.thought.org (8.13.8/8.13.1/Submit) id l7TIjwZG001190; Wed, 29 Aug 2007 11:45:58 -0700 (PDT) (envelope-from kline) Date: Wed, 29 Aug 2007 11:45:58 -0700 From: Gary Kline To: Nikola Lecic Message-ID: <20070829184558.GA1125@thought.org> References: <20070828063048.GA86574@thought.org> <200708290151.l7T1oxCt030304@smtpclu-7.EUnet.yu> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200708290151.l7T1oxCt030304@smtpclu-7.EUnet.yu> User-Agent: Mutt/1.4.2.2i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing twenty years of service to the Unix community Cc: Gary Kline , 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 18:46:27 -0000 On Wed, Aug 29, 2007 at 05:04:20AM +0200, Nikola Lecic wrote: > 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 > > > > % cafe > > > > with the final e being hex-e9 and I get > > > > "zsh: command not found: \M-i" > > > > 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 > > 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 "é". 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, Thanks for the clue re xterm. I'm still using CTWM most places and use xterm exclusively. Sometimes I've been able to use 8859-1 in vi, sometimes not. Never read the man page (hanging my head). OTOT, I do have the LC* variables set ... else perl complains. ...It's time to join the 20th century:) gary > > Nikola Le??i?? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Gary Kline kline@thought.org www.thought.org Public Service Unix