* 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.
This commit is contained in:
20
winsup/cygwin/include/sys/kd.h
Normal file
20
winsup/cygwin/include/sys/kd.h
Normal file
@ -0,0 +1,20 @@
|
||||
/* sys/kd.h
|
||||
|
||||
Copyright 2006 Red Hat, Inc.
|
||||
|
||||
Written by Kazuhiro Fujieda <fujieda@jaist.ac.jp>
|
||||
|
||||
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 <cygwin/kd.h>
|
||||
|
||||
#endif /* _SYS_KD_H */
|
Reference in New Issue
Block a user