This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Suggestion for terminal package maintainers


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

Attachment: echokeys.c
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]