Overview
| Artifact ID: | 8da8cb040ad5f940a515e7b7b161e493e952ea85 |
|---|---|
| Ticket: | 3606258fffffffffffffffffffffffffffffffff
Archaic terminal API support |
| User & Date: | jenglish on 2013-03-01 02:41:29 |
Changes
- icomment:
Concerning PAREXT: (space/mark parity): POSIX only specifies PARENB (parity enable) and PARODD (odd parity; default is even). PAREXT appears to be supported on AIX, and possibly Solaris; googling indicates that it it not present, or present but not supported, on many other Unices. Quoting http://www.linuxmisc.com/3-solaris/112d4028904df8f0.htm --| The Solaris stty(1) page has this to say: | parext (-parext) | Enable (disable) extended parity generation and detection for mark | and space parity. | parodd (- parodd) | Select odd (even) parity, or mark (space) parity if parext is enabled. | | which if we assume that these two options just toggle the flags of the | same name, implies: | | PAREXT|PARODD -> Mark parity ( parity bit always a mark ) | PAREXT -> Space parity ( parity bit always a space ) | | After a bit of poking around at other flavors, in the (vain) hope that | someone else's man page was less cryptic, it looks like this particular | flag was probably a holdover from SVR3. It's certainly not portable. | | OpenServer's termio page claims that this flag only works when the terminal | driver is set for SVID3 line discipline. SGI's page lists the flag, but | says it's not supported. Solaris and AIX simply have the statement you've | quoted above. Linux, HP-UX, and OpenBSD (and presumably the other 4.4Lite | derivatives) don't even define it, nor does the SUS.
- login: "jenglish"
- mimetype: "text/plain"
- username: "jenglish"