🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.sources.games
2 messages
2 total messages Started by rfisk Fri, 13 Feb 1987 16:15
Rogue
#802
Author: rfisk
Date: Fri, 13 Feb 1987 16:15
7 lines
825 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.
I will be happy to send this to anyone who emails me a request
and would appreciate any suggestions for fixing this.
My knowledge in C is very minimal.
Re: Rogue
#805
Author: 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads