View Single Post
Old 01-19-2005, 12:23 AM   #1 (permalink)
Hosiah
Registered User
 
Join Date: Jun 2004
Location: Des Moines, Iowa
Posts: 4
Hosiah is on a distinguished road
ncurses won't display anything but keyboard characters!

I'm just about pulling out my hair with this problem, now. I love curses programming in Linux, and have managed to create several nifty little applications in it. But I still can't get:

The extended ASCII-character set (like heart/diamond/spade/club)
The ncurses border-drawing characters (with the ACS calls to addch)
Any wide-character support at all (Unicode and etc.)

Now, I've downloaded the ncurses library v. 5.3 and even have the man pages on my system for add_wch() and similar functions. But gcc errors on attempt to compile these commands, and I can't find any of them in the header file!

I know what you're all thinking, "His hardware/configuration can't handle wide characters". Nope! Not it! I know it CAN, because when I type "cat /dev/random " at the prompt, I get every character in the universe printed on my terminal (and the occasional beep).

So, how or why or what or where? Anybody know how to do this?
Hosiah is offline   Reply With Quote