2 Jul 2006 18:19
setmetamode
Kazuhiro Fujieda <fujieda <at> jaist.ac.jp>
2006-07-02 16:19:13 GMT
2006-07-02 16:19:13 GMT
Here is the patch to control the handling of the meta key with the setmetamode command on the Cygwin console like the Linux console. I submitted the previous version of this patch three years ago, but it didn't work on Corinna's environment. I, however, wasn't able to find any reason why it didn't work, so the logic of this patch is the same as the previous one. May it works fine on environment other than mine. ____ | AIST Kazuhiro Fujieda <fujieda <at> jaist.ac.jp> | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology
2006-07-03 Kazuhiro Fujieda <fujieda <at> jaist.ac.jp> * 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.
(Continue reading)
.
P.S.
RSS Feed