Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pacbell!att!chinet!edlee From: edlee@chinet.chi.il.us (Edward Lee) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: Minor bug in nethack 2.3e Message-ID: <8571@chinet.chi.il.us> Date: 28 May 89 01:43:29 GMT References: <401@nbires.nbi.com> Reply-To: edlee@chinet.chi.il.us (Edward Lee) Distribution: usa Organization: Chinet - Public Access Unix Lines: 18 In article <401@nbires.nbi.com> maa@nbires.UUCP (Mark Armbrust) writes: > >I had a bit of a problem getting nethack 2.3e running on my system. I tracked >the problem down to the fact that nethack discards the TERMCAP environment >variable if it does not begin with a "/" or a "\". (For my system, TERMCAP= >C:\MISC\TERMCAP.) Here is a simple patch to make it accept all values of >TERMCAP: >[....] I discovered a simple way to eliminate the TERMCAP environment variable. All you have to do is create a subdirectory called ETC under the root directory and put the TERMCAP file in it. Once you run Nethack v2.3e, it will find the TERMCAP file even if the environment variable is not set. The program seems default to the Unix file directory convention. This slightly reduces the time required to start up Nethack. -Ed L