*BSD News Article 26429


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!sol.ctr.columbia.edu!howland.reston.ans.net!agate!library.ucla.edu!csulb.edu!csus.edu!hulk.sfsu.edu!obrien
From: obrien@hulk.sfsu.edu (Jonathan O'Brien)
Subject: Re: More causes garbage on dialin
Message-ID: <1994Jan24.101845.21599@csus.edu>
Sender: news@csus.edu
Organization: SFC
References: <2hnoc9$b4f@crl2.crl.com> <1994Jan22.220922.4400@news.csuohio.edu>
Date: Mon, 24 Jan 1994 10:18:45 GMT
Lines: 24

In article <1994Jan22.220922.4400@news.csuohio.edu> stever@csuohio.edu (Steve Ratliff) writes:
>Jeff Phillips (rmc@crl.com) wrote:
>: When we dial into our NETBSD host and use more, the output gets all 
>: messed up. Looks like a port over run. the port is locked at 19200 using 
>: a usr sportster 14400. Any suggestions on where to begin looking?
>
>	I believe that more and vi tend to put the dialin line back
>into 7e1 mode when run on a 8n1 dialin line.  You can fiddle with
>the "stty" command to check this. I just set up my dialin at 7e1 as
>a workaround.  Making your system 8 bit clean permanently is something
>you should propably ask about on netbsd-questions mailing list.
>

On both NetBSD and FreeBSD (capitals, ugh!) you should change
/usr/include/sys/ttydefaults.h. Remove PARENB and change CS7 to CS8. What
about ISTRIP as well? Last I checked, FreeBSD also had *yet* another 
ttydefaults.h file used for building the kernel which was an exact copy of 
the former. Its down in /usr/src/sys somewhere...

This seemed to work for me. You might want to look at the :np: flag in
/etc/gettytab too.
-- 
Jonathan O'Brien                               obrien@hulk.sfsu.edu
San Francisco State University                 obrien@sfsuvax1.sfsu.edu