Suggestion for terminal package maintainers

Andy Koppe andy.koppe@gmail.com
Wed Jun 3 12:06:00 GMT 2009


2009/6/3 Corinna Vinschen:
> Even not knowing the sequence returned by Alt-Backspace, AFAICS, the
> right thing to do is to send either ^[^? or \377, dependent on the
> setting of dev_state->metabit.

I think that's the right thing to do. I'd pointed out the problem with
Alt+Backspace, but that got lost in the discussion about my suggestion
to have Ctrl+Backspace send ^_.

The keycode probably doesn't show up in od output because the pseudo
terminal device interprets the ^? for line editing purposes. Attached
is a small program I use for echoing keycodes, which puts the terminal
device into raw mode. Quit with ^D.

Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: echokeys.c
Type: application/octet-stream
Size: 1072 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20090603/4de86532/attachment.obj>


More information about the Cygwin-apps mailing list