Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2001 12:19:08 -0600 (CST)
From:      Theodore Hope <freebsd@iguana.internexo.co.cr>
To:        philip@paeps.cx (Philip Paeps)
Cc:        root@pukruppa.de, charon@labs.gr, freebsd-questions@FreeBSD.ORG
Subject:   Re: how to get "vi" to echo accented vowels, etc.
Message-ID:  <200110151819.MAA26885@iguana.internexo.co.cr>
In-Reply-To: <01db01c1557a$0a5d9200$0200000a@paeps.cx> from "Philip Paeps" at Oct 15, 1 03:05:19 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > > > 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.

-T.

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?200110151819.MAA26885>