bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: redhat 8.0, make menuconfig, termino...


From: Thomas E. Dickey
Subject: RE: redhat 8.0, make menuconfig, termino...
Date: Fri, 20 Dec 2002 10:41:00 -0500 (EST)

On Fri, 20 Dec 2002, Cameron, Steve wrote:

> Thomas Dickey wrote:
> > On Thu, Dec 19, 2002 at 01:17:05PM -0600, Cameron, Steve wrote:
> > >
> > > I noticed on redhat 8.0, trying to compile the linux
> > > kernel, make menuconfig using "TERM=linux" on the vga
> > > console gets weird results (menus aren't drawn correctly.)
> >
> > Redhat 8.0 sets UTF-8 locale by default.  That doesn't work
> > for the normal ncurses library.  ncurses 5.3 can be compiled with
> > wide-character support to accommodate this.
> [...]
> Yeah, I noticed that too.  So I tried
>
> export LANG=C
> make menuconfig
>
> but it didn't help.  If the locale were the problem,
> wouldn't that have helped?  Maybe the locale is only
> one of the problems.

I think it's most of it - I recall running into the problem a while back
with line-drawing characters and fixed it by changing the font.  (I should
have spent more time studying it, but that worked at the time).  Tomorrow
I'll do the fix for screen/line-drawing, and investigate the problem on
the console to see what the real issue is.  (I've noticed it of course
since my directory editor wants to use line-drawing - but it's an option
that I can turn off).

Probably the console is running in UTF-8 mode, whether or not you have
unset the locale.  There's an escape sequence to turn that on/off (though
the implementation of this stuff a couple of years ago was pre-alpha, so
I didn't waste much time on it).

>
> I looked through my environment (output of "env")
> but didn't see anything else that looked like it
> related to locale.  Thanks for the reply.
>
> -- steve
>
>

-- 
T.E.Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]