home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / amiga / 2123 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  1.8 KB

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