Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!andrew.cmu.edu!jl42+
From: jl42+@andrew.cmu.edu (Jay Mathew Libove)
Newsgroups: comp.unix.xenix
Subject: nethack 2.2 SCO fix and query
Message-ID: 
Date: Tue, 8-Dec-87 13:47:07 EST
Article-I.D.: andrew.gVj4Yfy00VoDwJA0WA
Posted: Tue Dec  8 13:47:07 1987
Date-Received: Sun, 13-Dec-87 12:23:18 EST
Organization: Carnegie Mellon University
Lines: 33

[ Cross posted to comp.sources.bugs and comp.unix.xenix ]

On SCO Xenix, nethack likes to core dump shortly after being started
because of the code in termcap.c ... I can't follow that stuff at
all, it seems quite convoluted, and I've heard other gripes about
it.

Anyway, the fix is to put

#ifdef NAPOK
	nap(50);
#else NAPOK
(all the rest of the code of that function)
#endif NAPOK

and to add "-lx" to the libraries pulled in, which is where the nap()
function lives.

Now for the query: My dog starts out with a null name, but "fight.c"
believes (lines 465-475 approximately) that there is a name there, and
until I name (Call) my dog something, if I walk in to him I see
"You stop to avoid hitting ." A minor nuisance at worst; anyone have
a fix for it?

Kudos to the nethack maintainers, anyhow, as this one compiled and
ran much more smoothly than did version 1.4.

(Further Kudos to Chip who suggested using adbL to debug... :-)

Jay Libove
Arpa:   Jay.Libove@andrew.cmu.edu	Bitnet: Jay.Libove@drycas.bitnet
UUCP:   ...!{uunet, ucbvax, harvard}!andrew.cmu.edu!Jay.Libove
UUCP:   ...!{pitt | bellcore} !darth!libove!libove