Skip site navigation (1)Skip section navigation (2)
Date:      08 Jan 1997 17:46:00 +0100
From:      fenyo@inf.enst.fr (Alex Fenyo (eowyn))
To:        Alexander Seth Jones <ajones@ctron.com>
Cc:        hackers@freefall.freebsd.org
Subject:   Re: setting modem characteristics
Message-ID:  <d06pvzgcdyv.fsf@nikopol.enst.fr>
In-Reply-To: Alexander Seth Jones's message of Wed, 08 Jan 1997 09:42:30 -0500
References:  <32D3B256.3AFC@ctron.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Seth Jones <ajones@ctron.com> writes:
>   Where do I set stop bits and data bits for my modem?  I found where to
> set parity and flow control, but haven't been able to find anything for
> these other two.
> 
>   Are they to be done through stty?

Yes, 'man stty' says :

     cstopb (-cstopb)
                 Use two (one) stop bits per character.
     cs5 cs6 cs7 cs8
                 Select character size, if possible.

for instance, try :
<user@host> stty cs8 -cstopb < /dev/cuaa0

The modem will automatically detect those settings when you enter
the first AT command.

Alexandre Fenyo





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d06pvzgcdyv.fsf>