Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcsun!mcvax!hp4nl!eutrc3!wzv!wietse From: wietse@wzv.win.tue.nl (Wietse Z. Venema) Newsgroups: comp.sources.games.bugs Subject: Re: Nethack 3.0 on Microport V/AT Message-ID: <323@wzv.win.tue.nl> Date: 3 Sep 89 18:45:06 GMT References: <510@dalek.UUCP> Organization: Eindhoven University of Technology, The Netherlands Lines: 33 Seth J. Bradley (sjb@dalek.UUCP) writes: > I still have not been able to get 3.0 to run consistently > without dumping core on Microport V/AT (2.3). Anyone else > out there have better luck? Thanks in advance! Neither have I, but you could try to save the game when a core dump is imminent. It saved us a lot of grief with Nethack 2.3. *** unixmain.c- Mon Aug 28 19:24:50 1989 --- unixmain.c Sun Sep 3 17:30:03 1989 *************** *** 95,100 **** --- 95,102 ---- u.uhp = 1; /* prevent RIP on early quits */ u.ux = FAR; /* prevent nscr() */ (void) signal(SIGHUP, (SIG_RET_TYPE) hangup); + (void) signal(SIGSEGV, (SIG_RET_TYPE) hangup); + (void) signal(SIGBUS, (SIG_RET_TYPE) hangup); /* * Find the creation date of this game, *** save.c- Mon Aug 28 19:27:36 1989 --- save.c Sun Sep 3 19:29:24 1989 *************** *** 77,82 **** --- 77,83 ---- hangup(){ hu = TRUE; (void) dosave0(); + settty("Game saved...\n"); /* restore tty modes */ exit(1); return 0; }