[Konsole-devel] [Bug 40751] meta keys no longer get through to bash

Erik Ernst eernst at daimi.au.dk
Sat Mar 8 16:23:42 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=40751     
eernst at daimi.au.dk changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eernst at daimi.au.dk



------- Additional Comments From eernst at daimi.au.dk  2003-03-08 17:23 -------
I'm using a Kinesis keyboard (Essential, no support for remapping keys), and using xmodmap 
to arrange my keys in a convenient manner.  With such a keyboard, some keys are different
(e.g., keys with keycode 115-117 are only available when a special "Keypad" toggle is active,
and they are then located on "H", "N", and "<quote>").  For anybody with an unusual keyboard
or anybody who is using xmodmap to rearrange their keys, it is important to be able to control
the effect of keys using their X keysym/modifier settings, rather than relying on the hardwired
keycode values.

Is it correct that konsole will now insist on using the physical "Alt" (left?) key in order to 
type <meta-b> and achieve a "word backward" effect (and a lot of similar commands with 
<meta-X> for other values of X) with zsh, bash and similar programs?  I tried to test this 
hypothesis (see below), but I haven't been able to confirm it.

When I updated to a new version of konsole (it says "Qt: 3.0.5, KDE: 3.0.5, Konsole: 
1.1.3"), all the <meta-foo> editing commands suddenly stopped working.  I use Meta (which is 
keycode 107, keysym Meta_L, modifier mod1) to achieve the "word backward" effect  with "b"
in Emacs and (until recently) in konsole+zsh.

This seems to be impossible today (I can't find a modifier that lets keycode 107, modifier 
Meta_L have the desired effect), but I cannot make the physical Alt keys work either.

I tried out all the following combinations:

  Keycode Keysym Modifier
  64            Alt_L      mod1
  64            Alt_R      mod1
  64            Alt_L      mod3
  64            Alt_R      mod3
  113          Alt_L      mod1
  113          Alt_R      mod1
  113          Alt_L       mod3
  113          Alt_R       mod3

I tried to press the specified "Alt" key and "B" with each of the above settings, and in none 
of the cases did the "word backward" command execute, the command line was just 
extended with a "b".

So in what sense does "Alt" have the <meta-..> effect?  I don't seem to be able to make 
that happen.  And even then, I'd much prefer to have these editing commands on the 
Meta_L/mod1 key, such that it works like in Emacs.

Hoping that I can soon get back my missing editing commands on the command line ..  :-)

    Thanks -
    Erik Ernst



More information about the konsole-devel mailing list