Date: Tue, 10 Dec 1996 12:21:33 +0800 (PST) From: "Francis Percival C. Favoreal" <june@adn.edu.ph> To: Softweyr LLC <softweyr@xmission.com> Cc: questions@freefall.freebsd.org Subject: Re: double CR's Message-ID: <Pine.LNX.3.93.961210120626.16680A-200000@sili.adn.edu.ph> In-Reply-To: <199612092348.QAA10540@xmission.xmission.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, 9 Dec 1996, Softweyr LLC wrote: > > You have told the tty driver, via stty, to turn on CR->NL mapping or > some such thing. Try doing stty -a in a telnet session and stty -a > on the console, and see what is different. Any differences you discover, > especially in settings like icrnl, inlcr, etc., are probably causing > the problem. Attach with this e-mail are the samples from stty -a's from the server console and from the NCSA telnet session. The differences that I see are: CONSOLE NCSA TELNET -extproc extproc ignbrk -ignbrk I did a stty ignbrk in the NCSA telnet session. But still, I see double CR's or two CR's result in pressing the Enter key. e.g. $ <Enter> results to $ <Enter> $ $ _ Continuing, I did a stty -extproc in the NCSA telnet session again. This time, I did see some change. e.g. $ <Enter> results to $ <Enter> $ _ I tried running pine and whenever I press Enter, it no longer does two CR's. However, I noticed that I do not see anything I type anymore on the shell prompt but I could still issue commands. Both sessions now have same terminal settings. The main problem right now , although I don't see double CR's, is that I could no longer see anything I type. Anything I missed ? > You'll also want to determine where these are being set incorrectly, > so you can solve the problem system-wide. I'm not sure where pty's > like a telnet port pick up their initial stty settings, and don't > have a FreeBSD system at hand right now. The start-up stty settings I think is in the file /etc/gettytab. -- june System Administrator Adnet [-- Attachment #2 --] *** stty -a from the server console *** speed 115200 baud; 0 rows; 0 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; *** stty -a from the NCSA telnet session *** speed 9600 baud; 24 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.3.93.961210120626.16680A-200000>
