*BSD News Article 28273


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!msuinfo!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!usenet.ins.cwru.edu!news.csuohio.edu!stever
From: stever@csuohio.edu (Steve Ratliff)
Subject: Re: vi (elvis) and more dont work on com ports
Message-ID: <1994Mar9.081306.505@news.csuohio.edu>
Sender: news@news.csuohio.edu (USENET News System)
Organization: Cleveland State University
X-Newsreader: Tin 1.1 PL5
References: <2ljo9e$2qv@news.iastate.edu>
Date: Wed, 9 Mar 1994 08:13:06 GMT
Lines: 21

William Stoltenberg (griffon@iastate.edu) wrote:
: In article <1994Mar8.191449.5104@mcshub.dcss.mcmaster.ca>,
: Mike Anderson <mike@CEB.McMaster.CA> wrote:
: >I have found that in netBSD 0.9 the more and vi programs call an ioctl
: >to set modes on the tty and this results in the serial lines going into
: >some useless mode where the same nonesense is echoed no-matter what is
: >typed in.  This problem only occurs on the tty (COM1 COM2) serial ports,
: >not on the PCs own console.  
: >
: >Does anyone know about or experienced this problem or know of a fix?
: >
: >mike anderson
: >mike@cebnet.ceb.mcmaster.ca
	Vi and more usually end up setting the line to 7E1.  You can
check this by doing a stty -f /dev/com1.  The quick and dirty solution
is to set your modem/terminal at 7E1.  The more involved solution is
to modify /etc/gettytab using :np and to modify ttydefaults.h and
possibly other files to make 8N1 the default.  Then recompile.

Steve