*BSD News Article 24318


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!usc!howland.reston.ans.net!pipex!sunic!EU.net!sun4nl!tuegate.tue.nl!news.win.tue.nl!wzv.win.tue.nl!gvr.win.tue.nl!guido
From: guido@gvr.win.tue.nl (Guido van Rooij)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD multiport serial troubles...
Date: 22 Nov 1993 17:48:24 GMT
Organization: Eindhoven University of Technology, The Netherlands
Lines: 27
Message-ID: <2cqu18$pj@wzv.win.tue.nl>
References: <CGorE5.23K@swi.psy.uva.nl> <2cglg6$hm@wzv.win.tue.nl> <CGsMxF.3L5@swi.psy.uva.nl> <1993Nov22.031429.27227@mcshub.dcss.mcmaster.ca>
NNTP-Posting-Host: gvr.win.tue.nl

todd@flex.eng.mcmaster.ca (Todd Pfaff) writes:

>The modem answers, getty responds and starts login, and login seems to
>change the tty to cs7 so the remote, which is set for 8-bit data, sees 
>garbage.  You may be experiencing the same problem.  During a modem login
>attempt, try 'stty -f /dev/serial-device' and check for cflags: cs7.

>Is it login that sets the tty to 7-bit?  If so, why?  If not, then what's
>the culprit?  Is there a simple solution?

It depends on the flags in /etc/gettytab. Usually you get cs7 indeed and
the flags with wich you specify cs8 used to be broken but do
function alright in FreeBSD 1.02

>-- 
>--
>Todd Pfaff                       \  Internet: todd@flex.eng.mcmaster.ca
>Dept. of Mechanical Engineering   \    Voice: (905) 525-9140 x22902
>McMaster University                \     FAX: (905) 572-7944
>Hamilton, Ontario, CANADA  L8S 4L7  \

-Guido
-- 
Guido van Rooij                 |  Internet: guido@gvr.win.tue.nl
Bisschopsmolen 16               |  Phone:    ++31.40.461433
5612 DS Eindhoven               |  ((12+144+20)+3*sqrt(4))/7 
The Netherlands                 |    +(5*11)=9^2+0