coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] stty: add support for "stick" parity


From: Pádraig Brady
Subject: Re: [PATCH] stty: add support for "stick" parity
Date: Sun, 17 Nov 2013 11:11:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

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 <address@hidden>
> ---
>  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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]