jhc (02/27/83)
I have a problem with a nice little game I was playing. Perhaps some-one can explain it (I doubt that it fixable, at least to save this game). The bug manifests itself on restoring a cheaters game which has been saved/restored a number of times (I was going down one level a night). Having cleaned up level 23 and saved the game, on restoring it prints out "Infinite tc= loop", and proceeds to screw up the terminal modes (on an hp2621a, it seems to forget how to HOME the cursor and how to go UP one line). It tries to play the game, but it is as though it is doing no UP line movements at all. Needless to say, everything soon gets too confused to continue (as it thinks it HAS moved the cursor correctly). Any explanations? This version of rogue is "version 4.R (mctesq and rar were here)" on UN*X 5.0. The same binary used to be "version 3.6.?" (same trailer) on UN*X 3.0.1, before we converted. While I'm on the subject, has anyone in Holmdel got a more up-to-date version we can have ? Binary is fine (source preferred, obviously). Merci d'avance Jonathan Clark ABI Holmdel [houxi|lime]!hou5a!jhc
arnold (03/01/83)
That is a bug in termlib. The static counter used in tgetent() should be reset to 0 at the end of the routine. The fix is to do this and to recompile and reload termlib and then reload rogue. This will probably invalidate your saved game, but you can try. The worst it can do is core dump on you. Ken