This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [PATCH] Add support for ioctl TIOCLINUX, function 6 (get key modifiers) on a TTY
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-patches at cygwin dot com
- Date: Fri, 26 Sep 2003 22:35:58 -0400
- Subject: Re: [PATCH] Add support for ioctl TIOCLINUX, function 6 (get key modifiers) on a TTY
- References: <10117.1059699425@www61.gmx.net>
- Reply-to: cygwin-patches at cygwin dot com
On Fri, Aug 01, 2003 at 02:57:05AM +0200, Pavel Tsekov wrote:
>2003-08-01 Pavel Tsekov <ptsekov@gmx.net>
>
> * fhandler_console.c (fhandler_console::read): Record the state of the
> SHIFT, CTRL and ALT keys at the time of the last keyboard input event.
> (fhandler_console::ioctl): Handle requests to retrieve the keyboard
> modifiers via the TIOCLINUX command.
> * fhandler_tty.c (fhandler_tty_slave::read): Ditto.
> * include/sys/termios.h (TIOCLINUX): New macro definition.
After some delay, I've applied this patch.
Thanks,
cgf