Path: utzoo!attcan!uunet!mcvax!play
From: play@cwi.nl (The MC Funhouse Master)
Newsgroups: comp.sources.games.bugs
Subject: Re: Wanderer unfair (really cbreak/nocbreak)
Message-ID: <557@sering.cwi.nl>
Date: 16 Jul 88 16:10:09 GMT
References: <116@kl-cs.cs.kl.ac.uk> <4043@brspyr1.BRS.Com>
Organization: CWI, Amsterdam
Lines: 17

In article <4043@brspyr1.BRS.Com> tim@brspyr1.BRS.Com (Tim Northrup) writes:
 > From an article by jonathan@cs.keele.ac.uk (Jonathan Knight):
 > > OK.  I got wanderer going.  I had to do it on a Sun as our
 > > Ultrix 1.2 machine puked at nocbreak() and cbreak().  Must be
 > > some function Sun's got that Ultrix hasn't.
 > 
 > If you look in the man pages for curses(3) you should be able to find
 > a substitute for cbreak/nocbreak on your Ultrix system.  On our Pyramid,
 > the calls were crmode() and nocrmode().  You probably have the same.
 > 
Yes, I did, but it did not mention crmode(), nor did it mention nocrmode().
But BSD do support crmode().  However, in my opinion it is best to skip
the call to nocbreak/nocrmode, as the game does not use it and the subsequent
endwin() call resets the terminal to the original modes.
-- 
Game Keeper
Mail: play@cwi.nl