[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] stty: add support for "stick" parity
From: |
Colin Leitner |
Subject: |
Re: [PATCH] stty: add support for "stick" parity |
Date: |
Sun, 17 Nov 2013 12:24:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 |
Hi,
sorry for posting the patch without any context.
> 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.
it's the nomenclature from termios(3). This also indicates that
the libmip library must be fairly old, because CMSPAR has been
part of the public linux headers for quite a while (older than
2.6.32).
> 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?
Yeah, it's almost as exotic as CDTRDSR, but at least
documented and supported by a few serial drivers. I ran into
the missing feature when I tried to test some Linux driver
patches.
-Colin