[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Line Drawing and Unicode
From: |
Christ, Bryan |
Subject: |
Re: Line Drawing and Unicode |
Date: |
Fri, 01 Dec 2006 10:53:02 -0600 |
TERM=linux
On Fri, 2006-12-01 at 11:51 -0500, Thomas Dickey wrote:
> On Fri, 1 Dec 2006, Christ, Bryan wrote:
>
> > I would like to do some line-drawing on the Linux console, but when in
> > unicode mode, the ACS_ characters don't show up (blank spaces and such
> > where the lines should be). How can I do line drawing WITHOUT linking
> > against ncursesw and using the wide functions? I noticed that Midnight
> > Command does line drawing without using ncursesw, but looking through
> > the source code with all the slang macros been very time consuming. I
> > thought that simply exporting NCURSES_NO_UTF8_ACS would work, but it
> > does not.
>
> I wouldn't expect it to.
>
> If the Linux console's in UTF-8 mode (ironic, since UTF-8 is ostensibly
> modeless), you cannot use the VT100 controls to draw lines. ncurses tries
> to see this, and if it knows, is supposed to use +'s and -'s to draw
> lines.
>
> Since the only clue it has is from environment variables, it
> can be confused. What's $TERM set to?
>