Path: utzoo!attcan!uunet!husc6!uwvax!oddjob!gargoyle!att!ihnp4!ihuxy!wolfer From: wolfer@ihuxy.ATT.COM (Wolfson) Newsgroups: comp.sources.d Subject: Re: wanderer Summary: Best guess at the problems. Keywords: screen2 Message-ID: <2592@ihuxy.ATT.COM> Date: 20 Jul 88 19:43:31 GMT References: <970@hjuxa.UUCP> <246@psuhcx.psu.edu> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 70 From postnews Wed Jul 20 14:35:44 1988 In article <246@psuhcx.psu.edu>, wcf@psuhcx.psu.edu (Bill Fenner) writes: > Speaking of wanderer... I couldn't get it to work properly on our Harris > HCX-7, running HCX/UX 3.0. It dumps core if it can't find the screen files > or you die (bus error) and it sometimes locks or simply exits for no reason. > Can anyone help? I'll take a crack at the core dump and bus error. First, make sure you edit the header file as described in the README file, so that the program knows the full path of where the screen files will be kept and where the hiscores scoreboard data file will be kept. Second, when a character dies, the game tries to put it in the scoreboard file. If the directory for this file is not correctly specified in the .h file, it could cause problems. Otherwise, try creating an empty hiscores file by hand in the appropriate directory, and make sure that the read/write permissions are set correctly. I've used machines where C code will bomb out if you try and open a file which does not already exist, and this may be what is happening here. As for the unknown exiting, On my unixpc 7300, if I hit the delete key by mistake, the program will exit and the keyboard will totally lock up. I have to boot the whole machine to clear this up. Of course, I am only guessing as to what might be wrong in your case. Hopefully someone else can give you more clues to the core dumps and bus errors, and to the unexpected exits. Good Luck! P. D. Wolfson From postnews Wed Jul 20 14:39:09 1988 From postnews Wed Jul 20 14:35:44 1988 In article <246@psuhcx.psu.edu>, wcf@psuhcx.psu.edu (Bill Fenner) writes: > Speaking of wanderer... I couldn't get it to work properly on our Harris > HCX-7, running HCX/UX 3.0. It dumps core if it can't find the screen files > or you die (bus error) and it sometimes locks or simply exits for no reason. > Can anyone help? I'll take a crack at the core dump and bus error. First, make sure you edit the header file as described in the README file, so that the program knows the full path of where the screen files will be kept and where the hiscores scoreboard data file will be kept. Second, when a character dies, the game tries to put it in the scoreboard file. If the directory for this file is not correctly specified in the .h file, it could cause problems. Otherwise, try creating an empty hiscores file by hand in the appropriate directory, and make sure that the read/write permissions are set correctly. I've used machines where C code will bomb out if you try and open a file which does not already exist, and this may be what is happening here. As for the unknown exiting, On my unixpc 7300, if I hit the delete key by mistake, the program will exit and the keyboard will totally lock up. I have to boot the whole machine to clear this up. Of course, I am only guessing as to what might be wrong in your case. Hopefully someone else can give you more clues to the core dumps and bus errors, and to the unexpected exits. Good Luck! P. D. Wolfson