On 11/16/2013 11:14 AM, Colin Leitner wrote: > Add support for the CMSPAR flag to stty. Includes documentation and a > mention in NEWS as it's a user visible change. > > Signed-off-by: Colin Leitner <[email protected]> > --- > NEWS | 2 ++ > doc/coreutils.texi | 9 +++++++++ > src/stty.c | 4 ++++ > tests/misc/stty.sh | 2 +- > 4 files changed, 16 insertions(+), 1 deletion(-) > > diff --git a/NEWS b/NEWS > index 22fb814..b6dab62 100644 > --- a/NEWS > +++ b/NEWS > @@ -105,6 +105,8 @@ GNU coreutils NEWS -*- > outline -*- > split --line-bytes=SIZE, now only allocates memory as needed rather > than allocating SIZE bytes at program start. > > + stty now supports configuring "stick" (mark/space) parity where available.
This seems fairly general and worthwhile. I found some info here: http://www.lothosoft.ch/thomas/libmip/markspaceparity.php I would change "stick" to "constant" in the patch probably. Also I remember this recently in passing on lkml... http://article.gmane.org/gmane.linux.usb.general/96740 which references: http://comments.gmane.org/gmane.linux.kernel/1584028 which only adds C_CMSPAR(tty) as an internal define now, which hints that this might not be well supported generally? thanks, Pádraig.
