Overview
| Artifact ID: | bcb12042d1945af4e950b673c3d2e4cb2dca2c2e |
|---|---|
| Ticket: | 3606258fffffffffffffffffffffffffffffffff
Archaic terminal API support |
| User & Date: | jenglish on 2013-02-28 03:23:03 |
Changes
- icomment:
Concerning DIRECT_BAUD: termios has cf[sg]et[io]speed() routines; termio encodes the baud rate in struct termio.c_cflag masked by CBAUD (same baud rate for input and output); sgtty puts it in struct sgttyb.sg_ispeed and sgttyb.sg_ospeed. In all three cases, symbolic constants B50 .. B9600 are used instead of specifying the baud rate directly as an integer. (DIRECT_BAUD might have been applicable in *very* old Unixes, though I cannot find any evidence for this). For termios, we definitely want to use the symbolic constants; hence the DIRECT_BAUD code paths should be removed.
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"