Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!akgua!lcuxlm!whuxl!houxm!hjuxa!petsd!moncol!john From: john@moncol.UUCP (John Ruschmeyer) Newsgroups: net.sources.bugs Subject: Re: Larn 12.0 portablitity bug Message-ID: <290@moncol.UUCP> Date: Wed, 20-Aug-86 09:32:39 EDT Article-I.D.: moncol.290 Posted: Wed Aug 20 09:32:39 1986 Date-Received: Thu, 21-Aug-86 21:32:47 EDT References: <164@iwtpu.UUCP> <145@sas.UUCP> Reply-To: john@moncol.UUCP (John Ruschmeyer) Organization: Monmouth College, West Long Branch, NJ 07764 Lines: 45 Keywords: FIONREAD, signals, "magic cookie" terminals In article <145@sas.UUCP> jcz@sas.UUCP (Carl Zeigler) writes: >In article <164@iwtpu.UUCP>, dpb@iwtpu.UUCP writes: > > Larn will not compile on System V because it uses a BSD ioctl FIONREAD to > > check how many characters are stil waiting to be read. I have not fixed this > > but I will if I get the time. > > -- > >I deleted the first call to ioctl with FIONREAD, >and changed flushall to call ioctl( 0, TCFLSH, 0); > >works fine. Gee, I wish I had your luck. For me, changing the call in flushall works fine, but deleting the other call just gives me a game where I can move around fine on the surface, but can only make one move in the dungeon before the game hangs. Just when I thought I had that licked, the game starts giving me SIGSEGV everytime I hit a monster. Other larn 12.0 problems: I got a "too many initializers" error from signal.c- Simple fix, you just have to remove some null initializers from the structure holding signal calls. Worse, however, (for me at least) is all the use of reverse video in the new version of larn. For you with VT-100's, this is fine, but some of us have so-called "magic cookie" terminals such as the Televideo 950. On one of these terminals, you get an ever changing amount of reverse video on screen as the screen attribute characters are written and overwritten. Here's to larn 13.0... -- Name: John Ruschmeyer US Mail: Monmouth College, W. Long Branch, NJ 07764 Phone: (201) 571-3451 UUCP: ...!vax135!petsd!moncol!john ...!princeton!moncol!john ...!pesnta!moncol!john NOMAD: ... a mass of conflicting impulses. Absorbing it unsettled me. SPOCK: That unit was Rich Rosen. from "Rosen Trek"