setmetamode

Corinna Vinschen cygwin-patches@cygwin.com
Fri Jul 18 17:10:00 GMT 2003


On Thu, Jul 17, 2003 at 03:48:15PM +0900, Kazuhiro Fujieda wrote:
> I have implemented the `setmetamode' command and the corresponding
> ioctl commands of the console device like ones on Linux.
> The following is the usage of setmetamode.
> 
> $ setmetamode
> escprefix
> $ cat | od -t x1
>                               <- Type M-x three times, ^m and ^d.
> 0000000 1b 78 1b 78 1b 78 0d 0a
> 0000010
> $ setmetamode metabit
> $ cat | od -t x1
>                               <- Type M-x three times, ^m and ^d.
> 0000000 f8 f8 f8 0d 0a
> 0000005

Doesn't work.  I've tested multiple times (on XP) but I'm always getting

  0000000 1b 78 1b 78 1b 78 0d 0a

Another question: Shouldn't this also add a sys/kd.h file which just
includes <cygwin/kd.h>?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list