]> granicus.if.org Git - nethack/commit
vms Meta key hack (trunk only)
authornethack.rankin <nethack.rankin>
Wed, 13 Apr 2011 01:48:13 +0000 (01:48 +0000)
committernethack.rankin <nethack.rankin>
Wed, 13 Apr 2011 01:48:13 +0000 (01:48 +0000)
commit7002734ca5d159728c518e5c9c576746ae7e5bf7
tree0a6dbb8ecd5a79bded9046a3f78983d30e8a9d03
parent3148c15ee56b7413a3bc0440cd9df4b01615eeb4
vms Meta key hack (trunk only)

     I can't figure out how to make PuTTY use the Alt key to function as
a Meta key and set a character's high bit, so I used this hack to test
the M-5 fix just committed.  This lets me specify a character to be used
to force the next character to have its high bit set, so I can fake the
Meta key with a two character sequence.  (I used the back-tick/accent,
since nethack doesn't do anything special with it.)  Conceivably something
like this should be promoted to the core; this just affects VMS, and only
when vmstty.c is compiled with DEBUG defined.
sys/vms/vmstty.c