Proposed syntax for key sequences
Pavel Roskin
proski at gnu.org
Sat Dec 21 09:12:08 UTC 2002
Hello!
P.S. to the previous message: the modifier is now a part of the keycode.
get_modifier() is now static - nobody outside key.c should use it.
That's a good thing because both X11 and the Linux ioctl return the state
after the keypress. We should read the state before it changes.
> > Currently supported are the sequences for Shift with cursor
> > arrows, Ctrl-PageUp and Ctrl-PageDown. I may add Ctrl-F3 ..
> > Ctrl-F7 for the nc-like panel sorting if I have time.
>
> I am very interested in these features, just to tell my opinion.
>
> I don't know, if it is a bug in mc or in putty (my ssh-client), that I'm
> unable to make working the Ctrl-Left and Ctrl-Right keys using putty.
> Can you tell me, what the problem can be?
Just tell me what sequences those keys generate. You can run dd without
arguments and press those keys. I checked the latest putty release with
the current Wine, and Ctrl-arrows generate the same sequences as the
corresponding Shift-arrows in xterm. For example, Ctrl-Left generates
"^[OD" (the ^[ is actually Escape).
I don't want to hardcode too many sequences, especially if they conflict
for different terminals with the same TERM=xterm. Maybe Wine is doing
something wrong? What sequences do you get?
> Very good news! :) Still then, Merry Xmas for everybody!
Same to you.
--
Regards,
Pavel Roskin
More information about the mc-devel
mailing list