gsschaffer@watdaisy.UUCP (04/02/87)
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