Date: Mon, 15 Oct 2001 19:26:13 +0000 (GMT) From: "P. U. (Uli) Kruppa" <root@pukruppa.de> To: Theodore Hope <freebsd@iguana.internexo.co.cr> Cc: Philip Paeps <philip@paeps.cx>, <charon@labs.gr>, <freebsd-questions@FreeBSD.ORG> Subject: Re: how to get "vi" to echo accented vowels, etc. Message-ID: <20011015192425.Q339-100000@big> In-Reply-To: <200110151819.MAA26885@iguana.internexo.co.cr>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011015192425.Q339-100000>