[PATCH] Add support for ioctl TIOCLINUX, function 6 (get key modifiers) on a TTY

Christopher Faylor cgf@redhat.com
Sat Sep 27 02:36:00 GMT 2003

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.


More information about the Cygwin-patches mailing list