Re: Linux "pre-alpha" Release
- Posted by Irv <irv at ELLIJAY.COM> Jul 04, 1999
- 543 views
On Sat, 03 Jul 1999, you wrote: > Irv Mullins writes: > > extern int wcolor_set(WINDOW*,short,void*); /*missing */ > > > Are you using addch for character/color attribute output ? > > Or some other method altogether? > > I'm using the normal ncurses routines for output, but there are > also some ncurses routines for defining colors, and setting the > foreground/background color attributes for text. > > Since exu is using dynamic linking, I may be able to > detect that your system does not support color > (with ncurses at least) and avoid making any calls > to color-related routines. I must have been unclear with my last message: my system definately does support color. All the various installations use ncurses, and all are in glorious color on a text screen. Euphoria, however, bombs whenever you try a text_color() or bk_color() function. EXU is looking for a routine "wcolor_set." which is not defined. The reason being, as far as I can tell, is that wcolor_set is only available with ncurses 5.0 which comes with RedHat. All the other versions of Linux that I have (SuSE 6.1, Slack 4.0) only refer to wcolor_set as a "prototype" for future use. Two things seem obvious: 1. I will have to update ncurses to 5.0 (and hope it doesn't break anything) in order to get Euphoria to work. 2. Color text is possible without the use of wcolor_set - using some older, more universally available ncurses call. Regards, Irv have