1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 03:12:48 +02:00

stty: add support for mark/space parity

This adds support for using a constant or "stick" parity bit.

* src/stty.c (usage): Mention the new flag.
* tests/misc/stty.sh: Adjust for the new flag.
* NEWS: Mention the improvement.
* docs/coreutils.texi (stty invocation): Mention the new flag.
This commit is contained in:
Colin Leitner
2013-11-16 12:14:18 +01:00
committed by Pádraig Brady
parent 9120845375
commit 4e37fc642f
4 changed files with 20 additions and 1 deletions

View File

@@ -13792,6 +13792,16 @@ May be negated.
@cindex even parity
Set odd parity (even if negated). May be negated.
@item cmspar
@opindex cmspar
@cindex constant parity
@cindex stick parity
@cindex mark parity
@cindex space parity
Use "stick" (mark/space) parity. If parodd is set, the parity bit is
always 1; if parodd is not set, the parity bit is always zero.
Non-POSIX@. May be negated.
@item cs5
@itemx cs6
@itemx cs7