🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.sources.bugs
Article #988

Re: ispell (terminal problems)

#988
From: gsschaffer
Date: Thu, 02 Apr 1987 02:32
18 lines
1338 bytes
I had some problems with terminal i/o from some terminals on campus.
I would lose output characters, and get extraneous input (which was 
illegal and rang the bell).  Reading "man 4 tty" I found that csh users
are expected to use the "new" line discipline.  So I added to term.c:

#include <termcap.h>
....
	int ldisc = NTTYDISC;
	ioctl(0, TIOCSETD, &disc);
....
I also loaded with -ltermcap instead of -ltermlib, but I don't know if
this is significant or not.
Now if I use RAW mode then ^Z (suspend) works but interrupt doesn't.
and if I use CBREAK mode then interrupt works and suspend doesn't.
Anyone else had this problem???  And know a fix?!

Greg Schaffer			UUCP: ..!watmath!watdaisy!gsschaffer
University of Waterloo		EAN:  gsschaffer@daisy.waterloo.cdn
Technical Details
Message-ID: <8251@watdaisy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watdaisy!gsschaffer

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watdaisy!gsschaffer
From: gsschaffer@watdaisy.UUCP
Newsgroups: net.sources.bugs
Subject: Re: ispell (terminal problems)
Message-ID: <8251@watdaisy.UUCP>
Date: Wed, 1-Apr-87 21:32:37 EST
Article-I.D.: watdaisy.8251
Posted: Wed Apr  1 21:32:37 1987
Date-Received: Sat, 4-Apr-87 04:17:12 EST
Reply-To: gsschaffer@watdaisy.UUCP (Greg Schaffer)
Distribution: world
Organization: Computer Science Dept., University of Waterloo
Lines: 18
Summary: term.c, BSD 4.2