Xref: utzoo rec.games.hack:1853 comp.sys.ibm.pc:9819 Path: utzoo!mnetor!uunet!husc6!hao!ames!umd5!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!iuvax!silver!creps From: creps@silver.bacs.indiana.edu (Steve Creps) Newsgroups: rec.games.hack,comp.sys.ibm.pc Subject: PC NetHack termcap problem Message-ID: <562@silver.bacs.indiana.edu> Date: 22 Dec 87 03:30:36 GMT Reply-To: creps@silver.UUCP (Steve Creps) Organization: Indiana University Computer Science Department Lines: 114 A couple of people have had problems with the termcap for the PC NetHack executables I posted yesterday. The problem is that the termcap code isn't smart enough to use a "tc" entry. Below is a replacement termcap file, which should now work. It also adds entries for monochrome systems. To use termcap, type "set TERM=_____" where _____ is one of ansi-color, nansi-color, ansi-mono, or nansi-mono. Also put the termcap file somewhere in your path. One more thing I didn't mention before: you need LOTS of memory to run this program. I'm using it on a 640K machine, but haven't tried it for less memory. By the way, the error message caused by the termcap problem would have started out with "OOPS." - - - - - - - - - Steve Creps on the VAX 8650 running Ultrix 2.0-1 at Indiana University. creps@silver.bacs.indiana.edu "F-14 Tomcat! There IS no substitute." - termcap - cut - here - - - - # # ANSI Color # ansi-color:\ :co#80:\ :li#24:\ :cl=\E[2J:\ :bs:\ :ho=\E[H:\ :cm=\E[%i%2;%2H:\ :up=\E[A:\ :xd=\E[B:\ :nd=\E[C:\ :bc=\E[D:\ :ce=\E[K:\ :ti=\E[44;37m:\ :te=\E[0m:\ :so=\E[31m:\ :se=\E[44;37m:\ :us=\E[1m:\ :ue=\E[m:\ :hi=\E[32m:\ :he=\E[44;37m: # # NANSI Color # This is a termcap for the NANSI.SYS device driver. # It is the same as the ANSI termcap, except NANSI supports # line insert (al) and delete (dl) while ANSI does not. # nansi-color:\ :co#80:\ :li#24:\ :cl=\E[2J:\ :bs:\ :ho=\E[H:\ :cm=\E[%i%2;%2H:\ :up=\E[A:\ :xd=\E[B:\ :nd=\E[C:\ :bc=\E[D:\ :ce=\E[K:\ :ti=\E[44;37m:\ :te=\E[0m:\ :so=\E[31m:\ :se=\E[44;37m:\ :us=\E[1m:\ :ue=\E[m:\ :hi=\E[32m:\ :he=\E[44;37m:\ :al=\E[L:\ :dl=\E[M: # # Monochrome NANSI # nansi-mono:\ :co#80:\ :li#24:\ :cl=\E[2J:\ :bs:\ :ho=\E[H:\ :cm=\E[%i%2;%2H:\ :up=\E[A:\ :xd=\E[B:\ :nd=\E[C:\ :bc=\E[D:\ :ce=\E[K:\ :ti=\E[m:\ :te=\E[m:\ :so=\E[1m:\ :se=\E[m:\ :us=\E[1m:\ :ue=\E[m:\ :al=\E[L:\ :dl=\E[M: # # monochrome ANSI # ansi-mono:\ :co#80:\ :li#24:\ :cl=\E[2J:\ :bs:\ :ho=\E[H:\ :cm=\E[%i%2;%2H:\ :up=\E[A:\ :xd=\E[B:\ :nd=\E[C:\ :bc=\E[D:\ :ce=\E[K:\ :ti=\E[m:\ :te=\E[m:\ :so=\E[1m:\ :se=\E[m:\ :us=\E[1m:\ :ue=\E[m:\