I think that I can provide some more info. According to,

http://aperiodic.net/phil/archives/Geekery/term-function-keys.html

X11R6 xterm and XFree86 xterm produce difference keysequences for
F1-F4(!). gnome-terminal and Terminal.app generate the same sequence as
XFree86, but Terminal.app identifies itself as "xterm-color".

Workaround: I found that if I changes the default keybindings in
Terminal.app for F1, etc. from ^[OP, etc. to ^[[11~, etc., then all of
the F keys work within byobu _without_ changing $TERM. I.e., TERM ==
xterm-color.

Another data point. Open the native xterm under Apple's X11 (which generates 
the XFree86 keysequences),
- Run byobu (I'm using the version from homebrew). F1-F4 work.
- Exit byobu. "export TERM=xterm-color
- Run byobu. F1-F4 do _not_ work.

The difference lies in how byobu handles TERM==xterm and TERM==xterm-
color.

HTH.


HTH.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/482623

Title:
  Apple keyboard - F buttons don't work

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to