[konsole] [Bug 406522] New: super+fn keys not working in emacs

Ernesto bugzilla_noreply at kde.org
Sun Apr 14 10:55:27 BST 2019


            Bug ID: 406522
           Summary: super+fn keys not working in emacs
           Product: konsole
           Version: 17.12.3
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: keyboard
          Assignee: konsole-devel at kde.org
          Reporter: erjoalgo at gmail.com
  Target Milestone: ---


1. In a console window, run headless emacs: "emaccs -nw -Q"
2. Invoke the `describe-key` command, e.g. `C-h k` or `M-x describe-key`
3. Type super+F1 (<s-f1>) (or super+F2, etc)


The observed behavior is that emacs does not interpret the keypress as "<s-f1>"

This is what emacs receives and interprets, from the `view-lossage` command:

 C-h k [describe-key]
 ESC O 1 P [self-insert-command]

The result is that P is inserted.

I expect that emacs interprets an <s-f1> key sequence

I'm not too familiar with either the escape sequences into which konsole maps a
keypress like super+F1, or the configuration in emacs that may be needed to
interpret these escape sequences correctly, so I'm not sure whether this is a
problem on the konsole or emacs side.

Is there a known recipe for allowing super+F1 and other FN keys to be mapped
correctly from konsole to emacs?

Debian 9.8
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

4:16.12.0-4 - konsole-kpart (5 4:16.12.0-4) kio (0 (null)) libc6 (2 2.14)
libkf5completion5 (2 4.97.0) libkf5configcore5 (2 4.98.0) libkf5configgui5 (2
4.97.0) libkf5configwidgets5 (2 4.96.0) libkf5coreaddons5 (2 5.2.0)
libkf5crash5 (2 5.15.0) libkf5dbusaddons5 (2 4.99.0) libkf5i18n5 (2 4.97.0)
libkf5iconthemes5 (2 4.96.0) libkf5kiowidgets5 (2 4.96.0) libkf5notifyconfig5
(2 4.96.0) libkf5widgetsaddons5 (2 4.96.0) libkf5windowsystem5 (2 4.96.0)
libkf5xmlgui5 (2 4.98.0) libqt5core5a (2 5.7.0) libqt5gui5 (2 5.7.0)
libqt5widgets5 (2 5.4) libstdc++6 (2 4.1.1) 

$ konsole --version
konsole 16.12.0

You are receiving this mail because:
You are the assignee for the bug.

More information about the konsole-devel mailing list