Key and screen codes incorrect?

Asked by Steven Hirsch

I cannot seem to get byobu to fully cooperate with the keybindings and screen codes on xterm under Kubuntu 10.04. It comes very close to working only if I select "Old function keys" on the Ctrl-Left-Mouse xterm menu. However, even after doing so shifted function keys are not being correctly recognized (e.g. Shift-F2 yields '2~' on screen and no split action). The status line is showing 'Menu:<F9>]0;' (the trailing characters look to be part of a screen code). The man page makes no mention of how this can be (re)configured.

Question information

Language:
English Edit question
Status:
Answered
For:
byobu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dustin Kirkland  (kirkland) said :
#1

What version of byobu are you running?

byobu -v

Revision history for this message
Steven Hirsch (snhirsch) said :
#2

byobu version 3.21
Screen version 4.00.03jw4 (FAU) 2-May-06

FYI: I have tried numerous combinations of byobu with (variously) xterm, rxvt, konsole and gnome-terminal. To a greater or lesser degree it has issues with all of them in terms of screen painting and/or key bindings. Using xterm with the "Old Function-Keys" option comes to the closest to proper operation, but the shift-Fn mappings are not recognized.

Revision history for this message
Dustin Kirkland  (kirkland) said :
#3

Hmm, all of these are in KDE?

Have you tried cleaning out your configuration and starting anew?

rm -rf ~/.screenrc ~/.byobu/*

Then running "byobu"?

Revision history for this message
Steven Hirsch (snhirsch) said :
#4

Well, that certainly changes things. I'm getting a nice, colorful status line now, along with complaints about being unable to write /var/..something/utmp (goes by too quickly). I don't have to select alternate function keys in xterm to get basic function. But, shift-F2 and ctrl-F2 bindings don't work. Shift-F2 is interpreted as F2. Ctrl-F2 is grabbed by the window manager (I think I know how to deal with that). The window manager is definitely not intercepting Shift-F2, because it's needed by Midnight Commander and I disable it in KDE config.

Can you help with this problem?

Provide an answer of your own, or ask Steven Hirsch for more information if necessary.

To post a message you must log in.