Re: Selection keys under KDE



Hello!

> My most important development/administration tool is the MC. It works
> great under text console but in KDE the selection keys
> (Shift+Arrows,Shift+Insert,Shift+Delete,Control+Insert) don't work at
> all.
>
> Ps.: I found that under /usr/share/apps/konsole there are some
> konfiguration files for the several terminal emulation modes of the
> Konsole KDE application. I tried first with these to solve my problem,
> but I couldn't.

I think that's the right way.  In particular, Shift-arrows are bound to
some konsole-specific actions, so they are not reported to the
application.  You should bind those actions to the standard xterm
sequences.  The specification is here:

http://ftp.xfree86.org/pub/XFree86/4.2.1/doc/ctlseqs.TXT

Please note that you should emulate the application mode, i.e. use "\EO",
not "\E[":

Left: \EOD
Ctrl-Left: \EO5D
Shift-Left: \EO2D

and the same for other arrows.  You can run this command in xterm:

echo -ne '\e[?1h\e='; dd

and see what is printed when you press various keys.  Escape is shown as
"^[", make sure to replace it with "\E".

Please use the current snapshot of GNU Midnight Commander, since the
proper support for those sequences was added just a few days ago (and
there were important fixes this night).  You may want to read the list
archives - it was discussed recently.

The snapshot is stable.  The next version 4.6.0-pre2 will be released in a
few days (certainly before Saturday).

-- 
Regards,
Pavel Roskin



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]