From owner-freebsd-questions Sat Jan 25 18:02:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA09156 for questions-outgoing; Sat, 25 Jan 1997 18:02:06 -0800 (PST) Received: from zaphod.nrgnet.com ([206.205.130.177]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA09147 for ; Sat, 25 Jan 1997 18:02:02 -0800 (PST) Received: from localhost.nrgnet.com (localhost.nrgnet.com [127.0.0.1]) by zaphod.nrgnet.com (8.8.4/8.8.4) with SMTP id VAA00394 for ; Sat, 25 Jan 1997 21:02:03 -0500 (EST) Message-Id: <199701260202.VAA00394@zaphod.nrgnet.com> X-Authentication-Warning: zaphod.nrgnet.com: localhost.nrgnet.com [127.0.0.1] didn't use HELO protocol To: questions@freebsd.org Subject: garbage on serial line connection w' escape sequences Date: Sat, 25 Jan 1997 21:02:03 -0500 From: Mark Plummer Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk hello, i'm currently setting up modem on a freebsd 2.1 box, and i'm running into a problem where when escape sequences are sent through the modem connection (eg. when vi displays a screen or when man displays a screen) i get some garbage characters (ie. unexpected characters, sometimes not as many as expected, sometimes more, sometimes high order bit set, sometimes not). the behaviour is inconsistent: sometimes it's fine, sometimes it takes 5 or 6 redisplays to be legible (different characters are garbled on each refresh). large amounts of text can be dumped (continuous ls -l's) through the serial line w' no ill effect as long as there are no escape sequences (or at least screen repositioning commands which for the vt100 are mostly escape sequences). i've used 2 separate terminal emulators (hyperterminal and netterm) and gotten similar results. i've used both modems in other situations (although never in an autoanwer situation), and i have no problem across network connections. the uart is a 16550, one modem is a us robotics sportser 33.6 (the one atached to the freebsd box), the other is a zoom 28.8 modem. below is the stty -a for the line i'm connecting on (/dev/ttyd0): speed 115200 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 = ; eol2 = ; erase = ^H; intr = ^C; kill = ^U; lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q; status = ; stop = ^S; susp = ^Z; time = 0; werase = ^W; any help will be appreciated. thanks in advance... markus -- Mark Plummer, markus@nrgnet.com, +1 410 905 0136