bug-ncurses
[Top][All Lists]
Advanced

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

Re: Line Drawing and Unicode


From: Thomas Dickey
Subject: Re: Line Drawing and Unicode
Date: Sat, 02 Dec 2006 11:50:36 -0500
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Dec 01, 2006 at 12:04:16PM -0500, William McBrine 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?
> 
> My experience (with Ubuntu at least) is that, in fact, you can't. However, 
> I _can_ link to ncursesw and still use the narrow functions, and it works 
> correctly then (within the limits of the console's limited character set), 
> as long as I've called setlocale().

I certainly don't get blank spaces, etc., in Linux console using ncurses.
(Just checked on my Fedora5, which has UTF-8 locale setup).  The narrow
library sees that it's on the console, and uses +'s and -'s, while the
wide library uses line-drawing characters.

(I didn't think to mention the setlocale function).

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

Attachment: signature.asc
Description: Digital signature


reply via email to

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