From 6258d96af8a0181b81d5466d78fb4255f94de009 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Mon, 3 Jul 2006 15:29:10 +0000 Subject: * fhandler.h (class dev_console): Add `metabit' indicating the current meta key mode. * fhandler_console.cc (fhandler_console::read): Set the top bit of the character if metabit is true. * fhandler_console.cc (fhandler_console::ioctl): Implement KDGKBMETA and KDSKBMETA commands. * fhandler_tty.cc (process_ioctl): Support KDSKBMETA. (fhandler_tty_slave::ioctl): Send KDGKBMETA and KDSKBMETA to the master. * include/cygwin/kd.h: New file for the meta key mode. * include/sys/kd.h: New file. --- winsup/cygwin/include/sys/kd.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 winsup/cygwin/include/sys/kd.h (limited to 'winsup/cygwin/include/sys/kd.h') diff --git a/winsup/cygwin/include/sys/kd.h b/winsup/cygwin/include/sys/kd.h new file mode 100644 index 000000000..5900efdd7 --- /dev/null +++ b/winsup/cygwin/include/sys/kd.h @@ -0,0 +1,20 @@ +/* sys/kd.h + + Copyright 2006 Red Hat, Inc. + + Written by Kazuhiro Fujieda + +This file is part of Cygwin. + +This software is a copyrighted work licensed under the terms of the +Cygwin license. Please consult the file "CYGWIN_LICENSE" for +details. */ + +/* sys/kd.h header file for Cygwin. */ + +#ifndef _SYS_KD_H +#define _SYS_KD_H + +#include + +#endif /* _SYS_KD_H */ -- cgit v1.2.3