Xref: utzoo rec.games.hack:4835 comp.sys.mac.programmer:8346 Path: utzoo!utgpu!watmath!att!bellcore!wind!sdh From: sdh@wind.bellcore.com (Stephen D Hawley) Newsgroups: rec.games.hack,comp.sys.mac.programmer Subject: Re: Any word on NetHack 3.0 for Mac? Keywords: Macintosh Message-ID: <17422@bellcore.bellcore.com> Date: 17 Aug 89 15:27:34 GMT References: <30453@ucbvax.BERKELEY.EDU> <29657@mirror.UUCP> <19288@vax5.CIT.CORNELL.EDU> <9225@cadnetix.COM> Sender: news@bellcore.bellcore.com Reply-To: sdh@wind.UUCP (Stephen D Hawley) Organization: Bellcore, Morristown, NJ Lines: 23 In article <9225@cadnetix.COM> pem@cadnetix.COM (Paul Meyer) writes: > [stuff about porting NetHack 3.0] Good luck, I hope you do well. I would like to offer a few suggestions (I too have considered doing the port): 1) Don't worry about doing a curses port --NetHack doesn't use it, it depends on termcap. 2) Don't use Think's console routines (ie, printf, etc). They are huge and slow. My main gripe with NetHack on the Mac is the speed of output. There is no reason why a 9600 baud terminal should output faster than the screen. Rewrite printf. Use sprintf if you don't want too much work, and write a quick console device that doesn't keep track of the text, and does the output quickly. Steve Hawley sdh@flash.bellcore.com "Up is where you hang your hat." --Jim Blandy, computer scientist