[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using UTF-8 with Ncurses / Xterm ....
From: |
Brian Raiter |
Subject: |
Re: Using UTF-8 with Ncurses / Xterm .... |
Date: |
Fri, 20 Mar 2009 14:32:14 -0700 |
Just to provide more information (or confusion) ...
On my system, the wide version of the header file is located at
/usr/include/ncursesw/ncurses.h. There is no ncursesw.h anywhere. In
order to make it all work properly, I had to:
1. #include <ncurses.h> (not ncursesw.h); and
2. add "-D_XOPEN_SOURCE_EXTENDED" and "-I/usr/include/ncursesw" to my
compile commandline.
(And, of course, link with -lncursesw.)
When I did that, Ben's sample program worked fine.
b
- Using UTF-8 with Ncurses / Xterm ...., Ben Duncan, 2009/03/19
- Re: Using UTF-8 with Ncurses / Xterm ...., Thomas Dickey, 2009/03/19
- Re: Using UTF-8 with Ncurses / Xterm ...., Ben Duncan, 2009/03/20
- Re: Using UTF-8 with Ncurses / Xterm ...., Thomas Dickey, 2009/03/20
- Re: Using UTF-8 with Ncurses / Xterm ...., Ben Duncan, 2009/03/20
- Re: Using UTF-8 with Ncurses / Xterm ...., Thomas Dickey, 2009/03/20
- Re: Using UTF-8 with Ncurses / Xterm ...., Ben Duncan, 2009/03/20
- Re: Using UTF-8 with Ncurses / Xterm ....,
Brian Raiter <=
- Re: Using UTF-8 with Ncurses / Xterm ...., Ben Duncan, 2009/03/20
- Re: Using UTF-8 with Ncurses / Xterm ...., Thomas Dickey, 2009/03/20
- Re: Using UTF-8 with Ncurses / Xterm ...., Ben Duncan, 2009/03/20
- Re: Using UTF-8 with Ncurses / Xterm ...., Thomas Dickey, 2009/03/20