Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!worldnet.att.net!cbgw2.lucent.com!nntphub.cb.lucent.com!news From: Rajappa Iyer <rsi@earthling.net> Newsgroups: comp.unix.bsd.freebsd.misc Subject: stty problems with Emacs? Date: 23 Apr 1997 09:34:39 -0400 Organization: Totally disorganized! Lines: 51 Sender: rsi@placebo.hr.lucent.com Message-ID: <xnyiv1dammo.fsf@placebo.hr.lucent.com> Reply-To: rsi@earthling.net NNTP-Posting-Host: placebo.hr.lucent.com X-Newsreader: Gnus v5.4.46/XEmacs 19.15 Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39590 I normally telnet to a FreeBSD machine and run emacs on it. However, I consistently run into the following problem: ^@ ends up suspending emacs. When I restart it with fg all the control characters I type are echoed back and I have to kill the telnet session since there is no way to communicate with emacs. The behavior of ^X^C is goofy too sometimes. Basically, it feels like emacs is not able to set the tty to raw mode for some reason. FYI, the host from which I'm telnetting is a Sparc machine running Solaris 2.5: Here are the tty settings on that box: speed 9600 baud; rows = 45; columns = 80; ypixels = 589; xpixels = 499; eucw 1:0:0:0, scrw 1:0:0:0 intr = ^c; quit = ^|; erase = ^?; kill = ^u; eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^q; stop = ^s; susp = ^z; dsusp = <undef>; rprnt = ^r; flush = ^o; werase = ^w; lnext = <undef>; parenb -parodd cs8 -cstopb hupcl cread -clocal -loblk -crtscts -crtsxoff -parext -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff imaxbel isig icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel And here are the tty settings on the FreeBSD box running FreeBSD 2.1-STABLE. speed 9600 baud; 45 rows; 80 columns; lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo extproc iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk brkint -inpck -ignpar -parmrk oflags: opost onlcr -oxtabs cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow -dtrflow -mdmbuf cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>; eol2 = <undef>; erase = ^?; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = <undef>; stop = ^S; susp = ^Z; time = 0; werase = ^W; Any ideas what's going wrong? Thanks, Rajappa -- <rsi+usenet@earthling.net> a.k.a Rajappa Iyer New York, New York. They also surf who only stand on the waves.