Byobu-ctrl-a messes up working configuration

Bug #922951 reported by Neal McBurnett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

As a fix for bug 776743, the byobu-ctrl-a program was added, and is now run the first time the user types "ctrl-a".

That is nice for naive users, but the implementation seems to be dumb. I had a working byobu/screen configuration (as I have had for many many years) which sets ctrl-j as the screen escape character. I upgraded to oneiric, and ctrl-j was working fine.

But the first time I pressed ctrl-a, and byoby-ctrl-a ran, it still asked me what I wanted to do, as documented in bug 887387. I selected "1" to pick the emacs behavior. It then proceeded to change my escape key to F12, and ctrl-j stopped working.

If byobu-ctrl-a notices that the user has a non-ctrl-a escape character, it should do one of these things:

 * simply exit without talking to the user at all, realizing that there is no issue, or
 * not stomp over an existing configuration by changing it to F12, or
 * clarify what it plans to do better and offer another option of "do nothing", perhaps after clarifying the current settings.

For anyone else in this situation, the workaround is to just use the F9 (or other Menu screen command key sequence you've configured, typically visible on the bottom right) and change the "Change escape sequence" setting.

Neal McBurnett (nealmcb)
description: updated
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Thanks, Neal, I can fix this.

Changed in byobu (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Changed in byobu (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
byobu (5.6-0ubuntu1) precise; urgency=low

  [ Dustin Kirkland ]
  * usr/lib/byobu/ip_address:
    - user@host and ipaddress need some separation, as they're hard to
      differentiate when next to one another
  * usr/bin/byobu-ctrl-a: LP: #922951
    - if the user has already chosen an escape sequence, don't run the
      interactive byobu-ctrl-a program
  * usr/share/byobu/keybindings/f-keys.tmux,
    usr/share/byobu/profiles/tmux:
    - empty default window names
    - easy to change with F8
    - need to save characters in default tmux launch to get it to fit
      in 80x24 terminals
  * experimental/byobu-classroom, usr/bin/byobu-config, usr/bin/byobu-
    ctrl-a, usr/bin/byobu-janitor, usr/bin/byobu-launcher-uninstall,
    usr/bin/byobu-quiet, usr/bin/byobu-silent, usr/bin/byobu-status,
    usr/lib/byobu/cpu_temp, usr/lib/byobu/custom,
    usr/lib/byobu/ec2_cost, usr/lib/byobu/include/constants,
    usr/lib/byobu/logo, usr/lib/byobu/menu, usr/lib/byobu/network,
    usr/share/byobu/keybindings/f-keys: LP: #920661
    - byobu should not set environment variable 'SED'
    - use BYOBU_SED instead
  * usr/bin/byobu, usr/bin/byobu-janitor, usr/lib/byobu/disk_io,
    usr/lib/byobu/include/constants:
    - use BYOBU_READLINK instead of READLINK
  * usr/bin/byobu-select-session: LP: #911500
    - detect and avoid some circular byobu-inside-byobu infinite loops
  * usr/bin/byobu, usr/bin/byobu-ctrl-a, usr/bin/byobu-reconnect-
    sockets, usr/lib/byobu/color, usr/lib/byobu/date,
    usr/lib/byobu/include/shutil, usr/lib/byobu/time:
    - make check for BYOBU_BACKEND explitly tmux|screen

  [ Ryan Thompson ]
  * usr/bin/byobu-select-session: LP: #919391
    - read only integers
  * usr/bin/byobu-select-session: LP: #908944
    - use attach_session function
 -- Dustin Kirkland <email address hidden> Wed, 18 Jan 2012 19:57:15 -0600

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.