home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!convex!egsner!lerami!amix!yoda!ford
- From: ford@yoda.uucp (Mike "Ford" Ditto)
- Newsgroups: comp.unix.amiga
- Subject: Re: /dev/ser setup help needed.
- Summary: term/ql*: 38400 = 115200; term/ser: 50 = 115200
- Message-ID: <130@yoda.uucp>
- Date: 11 Sep 92 09:03:46 GMT
- References: <BtL1pt.F86@agora.rain.com> <BtL670.HDB@agora.rain.com> <1992Sep1.045617.5077@amix.commodore.com> <1992Sep4.051025.27253@becker.GTS.ORG>
- Reply-To: ford@yoda.uucp (Mike "Ford" Ditto)
- Organization: Omnicron Data Systems
- Lines: 32
-
- janc@amix.commodore.com (Jan Carlson) writes:
- > Set the built-in serial port to 50 baud and it will actually run at
- > 115,200 baud.
-
- In article <1992Sep4.051025.27253@becker.GTS.ORG>
- bdb@becker.GTS.ORG (Bruce Becker) writes:
- > Since the A2232 has the ability to do 115,200
- > baud (but nothing else above 19200), will the
- > above trick work for it too?
-
- Yes, but note this oddity:
-
- To do 115200 bps on term/ser, use "stty 50".
- To do 115200 bps on term/ql*, use "stty 38400".
-
- Why are they different? Because the builtin serial hardware can do
- 38400 but can't do 50, and the A2232 ports can do 50 but can't do 38400.
- It makes sense for the supported baud rates to be specified by the
- corresponding stty setting. If there were a standard speed that was
- unsupported on both kinds of hardware, it would be the obvious choice,
- but there isn't one.
-
- It just shows to go you -- through many years of evolution of Unix and
- its terminal interfaces, nobody was smart enough to make a reasonable
- baud rate interface. Even the more recent efforts like POSIX introduced
- new, incompatible interfaces, but which perpetuate the braindamage.
-
- -=] Ford [=-
-
- "I was a piece of yogurt." (In Real Life: Mike Ditto)
- -- Roel Pieper ford@yoda.uucp
- uunet!cbmvax!kenobi!ford
-