Terminal input processing fix

Corinna Vinschen cygwin-patches@cygwin.com
Mon Feb 25 10:01:00 GMT 2002


On Fri, Jan 18, 2002 at 10:59:10PM +0100, Christian LESTRADE wrote:
> Hello,
> 
> I would like to submit the following bugfix for theses bugs which appear
> mainly when using rxvt:
> 
> * Unable to effectively disable c_cc[] input chars processing (like ^C) 
> using
>   $ stty intr '^-'
>   When I type CTRL-SPACE, I enter a NULL char which is interpreted like ^C
> 
> * In raw mode (stty -icanon), the VDISCARD key (^O) should not be 
> recognized,
>   but should be passed to the application

Hi Christian,

your assignment *finally* arrived.

So we could go ahead and apply your patch but... actually I would like
to ask you to change it.  The reason is that the _POSIX_VDISABLE
constant is typically defined in some header file in /usr/include.  As
is the functionality of CC_EQUAL which is called CCEQ, at least in Linux.

So what I'd like you to ask is, could you tweak your patch so that these
macros are defined in some appropriate header files, e.g. sys/termios.h?

I'm looking forward,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list