sjb@dalek.UUCP (Seth J. Bradley) (08/29/89)
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! -- Seth J. Bradley UUCP: uunet!{lll-winken|zorch}!dalek!sjb Internet: lll-winken.llnl.gov!dalek!sjb
wietse@wzv.win.tue.nl (Wietse Z. Venema) (09/04/89)
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; }