Curses and color
Clinton Jeffery
cjeffery at cs.arizona.edu
Tue Mar 19 16:27:33 AEST 1991
>From article <1991Mar15.091313.7322 at janus.mtroyal.ab.ca>, by mhoffos at janus.mtroyal.ab.ca:
> Does anyone out in the wide world of this newsgroup have any source that
> displays text in color using curses/terminfo? I am trying to get (*ahem*)
> nethack 3p10 to use color -- the hooks are all in there, but it seems not to
> work in Esix.
I got it to work by hacking the code that sends the color info...I had to
swap two things that were being set, because ESIX couldn't handle it in
the order nethack is setting them. It is really the case that a simple
edit to a couple printf's did the trick, and that finding the problem and
fixing it took a couple afternoons for me since I didn't know where to look.
I have them on tape somewhere if you are really stumped. I absolutely love
Nethack, but it is a perfect embodiment of itself--it is a total hack.
--
| Clint Jeffery, U. of Arizona Dept. of Computer Science
| cjeffery at cs.arizona.edu -or- {noao allegra}!arizona!cjeffery
--
More information about the Comp.unix.sysv386
mailing list