Re: [patch 3/4] new serial flow control
From: Samuel Thibault
Date: Sat Oct 08 2005 - 19:22:07 EST
Russell King, le Sun 09 Oct 2005 01:01:53 +0100, a écrit :
> > How could this look like in userspace?
>
> I think they should be termios settings - existing programs know how
> to handle termios to get what they want.
Hence a new field in the termios structure?
There was a discussion about this back in 2000:
http://marc.theaimsgroup.com/?t=96514848800003&r=1&w=2
and more precisely a remind of SVR4's termiox structure with an added
x_hflag:
http://marc.theaimsgroup.com/?l=linux-kernel&m=96523146720678&w=2
I'm not sure about how we'd want to implement that. The SVR4 approach
(orthogonal input/output flow control selection) doesn't seem right to
me: there are really peculiar flow controls that involve both ways. A
mere enumeration of possible methods might be better.
Regards,
Samuel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/