Subject: Odd tty behaviour with telnet/rlogin
To: None <>
From: Simon J. Gerraty <>
List: current-users
Date: 11/18/1994 09:27:57
Anybody else having tty handling problems when logged in to NetBSD
over network?  

I telnet or rlogin to a NetBSD/i386 (1.0) system from an xterm on a
SunOS-4.1.1 machine.  I type stty -a and get:

lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
        -echoprt -altwerase -noflsh -tostop -flusho pendin -nokerninfo
iflags: istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
        brkint -inpck -ignpar -parmrk

and from here on or somethime earlier, I get LF only instead of CR,LF
so the display walks off the screen as in
					oflags: opost onlcr -oxtabs
								   cflags: cread cs7 parenb -parodd hupcl -clocal -cstopb -crtscts -mdmbuf

occasionally doing stty -opost made it behave (briefly).

Usually though the stty -opost is ignored (stty -a does not reflect a

If I fire up an xterm on the NetBSD system all is well.

A Sun bug or NetBSD?  I don't know yet, I'll put tcpdump onto it.