Author
|
Topic: Anyone have ncurses running on OSX?
|
<trevorsm>
unregistered
|
posted December 29, 2002 03:41 PM
Previously posted hereI installed ncurses from the .pkg installer from this site on my Mac G4 running OSX 10.1 earlier this month. The install went off without a hitch (or a complaint worthy of the installer bringing to my attention, at least). However, whenever I attempted to compile a program using the ncurses library and header, I would get several "unused multiple definitions" of the standard curses functions. These were only warnings of course, and the program would compile fine otherwise. Whenever I would run the program, the ncurses color functions would refuse to take effect. I WAS able to use the wattron and wattroff functions to display chararcters in blink, bold, underline, and other modes. Could it be possible that I need to install X-Windows for color to work? Has anyone else tried installing ncurses, and run into problems? I'd like to put this behind me so I can decide whether to continue my little "project" on the Mac, or just fall back to my PC running FreeBSD.
IP: Logged
|
|
|
<trevorsm>
unregistered
|
posted January 02, 2003 08:22 PM
I take that back, color isn't working in Eterm either... I wrote up a quick test program that printed the result of can_change_color(), and it appropriately returns FALSE. Me wants color! You help please! I also removed the old curses.h header from the include directory and put it someplace safe, but I still recieve multiple unused symbols warnings when linking. It doesn't seem like this could be related to the color problem, but it baffles me nonetheless. I also have one last question... is there any way I can get a font with the PC-style extended ASCII characters? I was hoping I could use the tees, blocks, and so on, but my Mac fonts all have accented letters in place of them.
IP: Logged
|
|
|
|
|
|