Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!rice!uw-beaver!ubc-cs!alberta!cpsc.ucalgary.ca!yogi.fhhosp.ab.ca!janus.mtroyal.ab.ca!mhoffos From: mhoffos@janus.mtroyal.ab.ca Newsgroups: comp.unix.sysv386 Subject: Curses and color Message-ID: <1991Mar15.091313.7322@janus.mtroyal.ab.ca> Date: 15 Mar 91 16:13:12 GMT Organization: Mount Royal College, Calgary, Alberta Lines: 21 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. Using strings, I found a call in libcurses.a that indicates if the terminal can display colors (has_color()). It is true if the statement "colors#" is in the terminfo for a terminal. Any ideas? Does anyone have a terminfo for the console of a SYSV386 machine that they know works for color display using curses? If worse comes to worse, I can always hard-code the \033f;bm sequenece into the output, but I would rather not. Mike Hoffos -- mhoffos@janus.mtroyal.ab.ca (Mount Royal College is a community college in Calgary, Alberta) Disclaimer: Mount Royal College doesn't speak for me, and I *certainly* don't speak for it.