*BSD News Article 26516


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!decwrl!nic.hookup.net!yeshua.marcam.com!news.kei.com!sol.ctr.columbia.edu!howland.reston.ans.net!pipex!zaphod.crihan.fr!jussieu.fr!univ-lyon1.fr!ensta!itesec!frmug.fr.net!renux.frmug.fr.net!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.os.386bsd.questions
Subject: Re: More causes garbage on dialin
Date: 24 Jan 1994 21:51:26 +0100
Organization: A Happy FreeBSD-current Usenet Site
Lines: 32
Distribution: world
Message-ID: <2i1ccs$17t@keltia.frmug.fr.net>
References: <2hnoc9$b4f@crl2.crl.com> <1994Jan22.220922.4400@news.csuohio.edu> <1994Jan24.101845.21599@csus.edu>
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <1994Jan24.101845.21599@csus.edu>,
Jonathan O'Brien <obrien@hulk.sfsu.edu> wrote:
>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...

The default has  been changed since   1.0.2 and the fixed  getty. Actually,
here is an extract of the -current file :

/sys/sys/ttydefauls.h
------------------------------------------------------------
/*
 * Defaults on "first" open.
 */
#define TTYDEF_IFLAG    (BRKINT | ICRNL | IMAXBEL | IXON | IXANY)
#define TTYDEF_OFLAG    (OPOST | ONLCR | OXTABS)
#define TTYDEF_LFLAG    (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
#define TTYDEF_CFLAG    (CREAD | CS8 | HUPCL)
#define TTYDEF_SPEED    (B9600)
------------------------------------------------------------

>This seemed to work for me. You might want to look at the :np: flag in
>/etc/gettytab too.

It helps for the  new getty. I used  to have an hacked  version of good ol'
386BSD getty but the current one is working perfectly.
-- 
Ollivier ROBERT                          Ollivier.Robert@keltia.frmug.fr.net
A FreeBSD & PERL addict...                    PGP 2.3a Public Key on request
Running FreeBSD-current and very happy to do so !