Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Feb 1996 20:06:15 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        Tom Samplonius <tom@uniserve.com>
Cc:        hackers@freebsd.org
Subject:   Re: stty? 
Message-ID:  <96Feb2.200630pst.177478@crevenia.parc.xerox.com>
In-Reply-To: Your message of "Fri, 02 Feb 96 18:18:56 PST." <Pine.BSF.3.91.960202181742.17315C-100000@haven.uniserve.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.3.91.960202181742.17315C-100000@haven.uniserve.com> you wr
ite:
>  Why does the following:
>
>stty 38400 < /dev/cuaa3
>
>not set the baud rate to 38400?  If I do a "stty < /dev/cuaa3" 
>afterwards, it says that the baud rate is still 9600.

Because the port resets itself to initial settings whenever it is closed
and then re-opened.  You can use the "initial settings" device, /dev/cuaia3,
or you can keep the device open between the stty and the use.

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Feb2.200630pst.177478>