🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: net.sources.bugs
1 messages
1 total messages Started by gsschaffer Thu, 02 Apr 1987 02:32
Re: ispell (terminal problems)
#988
Author: 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
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