byobu-ctrl-a sets prefix2 to ctrl-a key

Bug #1710780 reported by Mitsuya Shibata on 2017-08-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Dustin Kirkland 

Bug Description

After tmux 1.6, byoub-ctrl-a command sets prefix2 to ctrl-a on screen mode.

How to reproduce:

1. Exec "byobu-ctrl-a"
2. Select "screen" mode
3. Press F12 and c keys

Expected behaviour:

* Create new window (as same as ctrl-a)

Actual behaviour:

* No effects.

I think that F12 key should be prefix key both mode "byobu-ctrl-a" modes.
According following code, from tmux 1.6, it seems that change that behaviour.

$BYOBU_SED_INLINE -e "/^set -g prefix/d" -e "/ send-prefix/d" -e "/^unbind-key -n C-${key}/d" "$keybindings"
echo "unbind-key -n C-${key}" >> "$keybindings"
if $BYOBU_BACKEND -V | grep " 1.5"; then
 # tmux 1.5 supports a list of prefixes
 echo "set -g prefix ^${KEY},F12" >> "$keybindings"
 # tmux 1.6 and above supports prefix and prefix2
 echo "set -g prefix ^${KEY}" >> "$keybindings"
 echo "set -g prefix2 ^${KEY}" >> "$keybindings"

How about following code?

 echo "set -g prefix2 F12" >> "$keybindings"

Related branches

Changed in byobu (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Dustin Kirkland  (kirkland)
status: New → In Progress
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package byobu - 5.123-0ubuntu1

byobu (5.123-0ubuntu1) artful; urgency=medium

  [ @cripton ]
  * po/es.po:
    - fix typos and errors in the spanish translation

  [ Sujeevan Vijayakumaran ]
  * usr/bin/wifi-status:
    - use iw and ip rather than ifconfig and iwconfig, which are deprecated

  [ Javier Merino ]
  * usr/bin/
    - add support for a BYOBU_ALT_TITLE variable, which enables users to
      set an alternate window title for their byobu session

  [ Mitsuya Shibata ]
  * usr/bin/ LP: #1710780
    - set prefix2 to F12 in screen-compat ctrl-a mode

 -- Dustin Kirkland <email address hidden> Thu, 17 Aug 2017 18:44:26 -0500

Changed in byobu (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers