From owner-freebsd-questions Mon Oct 15 12:27:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de [195.20.224.200]) by hub.freebsd.org (Postfix) with ESMTP id 3087437B411 for ; Mon, 15 Oct 2001 12:27:21 -0700 (PDT) Received: from [195.20.224.204] (helo=mrvdom00.schlund.de) by moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id 15tDOG-0000Kp-00; Mon, 15 Oct 2001 21:27:08 +0200 Received: from pd950c793.dip.t-dialin.net ([217.80.199.147]) by mrvdom00.schlund.de with esmtp (Exim 2.12 #2) id 15tDOF-0005in-00; Mon, 15 Oct 2001 21:27:07 +0200 Date: Mon, 15 Oct 2001 19:26:13 +0000 (GMT) From: "P. U. (Uli) Kruppa" X-X-Sender: To: Theodore Hope Cc: Philip Paeps , , Subject: Re: how to get "vi" to echo accented vowels, etc. In-Reply-To: <200110151819.MAA26885@iguana.internexo.co.cr> Message-ID: <20011015192425.Q339-100000@big> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 15 Oct 2001, Theodore Hope wrote: > > > > > In BSDI, this works (in "vi") if I have the "LC_CTYPE" > > > > > environment variable set to "ISO8859-1", but setting this > > > > > in FreeBSD doesn't change anything. > > > > > > > > I can work with Greek characters (which are 8-bit too) when I set in > > > > my environment > > > > > > > > LANG=el_GR > > > > LC_ALL=el_GR.ISO8859-7 > > > > > > > > Try setting these two to proper values for your locale. > > > For instance, > > > > these would be set to > > > > > > > > LANG=fr_FR > > > > LC_ALL=fr_FR.ISO8859-1 > > > I tried to do this for German: > > > # setenv LANG de_DE > > > # setenv LC_ALL=de_DE.ISO_8859-1 > > > > > > vi then will print strange symbols instead of \xe7 when I > > > start it with > > > # env vi file > > > but not the letters I would like to use. > > > Are you sure there isn't some other secret behind that? > > > > I'm having trouble with this too. The funny thing is that it works in an > > xterm, but not with cons25. I've learned to live with it over the years, but > > if anyone has a secret trick to make my ISO-8859-1 characters work, I'll be so > > happy I won't know what to do with myself :-) > > Yes, this only works in xterm, not on the console. > I have never figured that out, but have lived with it that > way (under BSDI) for years. But, you would not believe it: my gnome desktop suddenly speaks German. I never cared, but that is a nice feature. Uli. ************************************ * P. U. Kruppa - Wuppertal * * Germany * * www.pukruppa.de www.2000d.de * ************************************ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message