Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!arizona.edu!arizona!cjeffery Newsgroups: comp.unix.sysv386 Subject: Re: Curses and color Message-ID: <1213@caslon.cs.arizona.edu> From: cjeffery@cs.arizona.edu (Clinton Jeffery) Date: 19 Mar 91 06:27:33 GMT References: <1991Mar15.091313.7322@janus.mtroyal.ab.ca> Organization: U of Arizona CS Dept, Tucson Lines: 17 From article <1991Mar15.091313.7322@janus.mtroyal.ab.ca>, by mhoffos@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@cs.arizona.edu -or- {noao allegra}!arizona!cjeffery --