🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.sources.games
Article #805

Re: Rogue

#805
From: guy
Date: Sat, 14 Feb 1987 22:40
28 lines
1711 bytes
>I have some rogue source that was posted to the net last year.
>I havn't been able to get it compiled because of some variables
>that don't seem to exist in the include file sgtty.h.
>They are TIOSGLTC and TIOCSLTC. ... My knowledge in C is very minimal.

This isn't a C issue, it's a UNIX issue.  Those aren't variables,
they are #defined constants, and are the codes for various special
terminal driver functions.  Not all versions of UNIX have them.

Either:

	1) you have a Version-7 style system, in which case you
	   should just delete (or surround with #ifdef TIOCSLTC) the
	   code that uses those calls and the definition of the
	   variables they use (they probably are declared as "struct
	   ltchars")

or

	2) you have a System III or System V-style system, in which
	   case the fact that you have an "sgtty.h" should not fool
	   you into thinking that this code will work just because it
	   compiles; the code would have to be changed a fair bit, by
	   somebody familiar both with the V7 and S3/S5 terminal
	   drivers.

It sounds like you should probably hand the problem of bringing this
program up to somebody with more UNIX experience.
Technical Details
Message-ID: <13326@sun.uucp>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!lll-lcc!ames!oliveb!sun!gorodish!guy
References: <1418@bnrmtv.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!rutgers!lll-lcc!ames!oliveb!sun!gorodish!guy
From: guy@gorodish.UUCP
Newsgroups: net.sources.games
Subject: Re: Rogue
Message-ID: <13326@sun.uucp>
Date: Sat, 14-Feb-87 17:40:34 EST
Article-I.D.: sun.13326
Posted: Sat Feb 14 17:40:34 1987
Date-Received: Sun, 15-Feb-87 08:06:37 EST
References: <1418@bnrmtv.UUCP>
Sender: news@sun.uucp
Reply-To: guy@sun.UUCP (Guy Harris)
Organization: Sun Microsystems, Mountain View
Lines: 28