|
From: | Thomas Dickey |
Subject: | Re: Line Drawing and Unicode |
Date: | Fri, 1 Dec 2006 11:51:54 -0500 (EST) |
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? -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |