[rec.games.hack] Nethack color???

cjeffery@optima.UUCP (Clinton Jeffery) (05/05/91)

From article <1991May3.194524.532@vax1.mankato.msus.edu>, by geoff@vax1.mankato.msus.edu:
> 	I know this question has been raised before but...
> How do you get color working [for SysV/386] in nethack 3p9?

Perhaps this belongs in a FAQ.  The UNIX SysV/386 consoles require the
color bytes to be sent out in a different ORDER than nethack sends 'em.
Once you find the right piece of code (there are fourteen thousand
identical printf's that send out color codes #ifdef'ed under different
machines/OS'es) its a two line fix, tops.

> [Geoff goes on to compliment nethack on its incredible good programming]

C'mon, Nethack is up there with GNUemacs on the AMAZING scale, and I adore
every person who wrote a line of it, but its a total HACK!