entering copy mode in byobu-tmux using screen binding is not quite right

Bug #888248 reported by Serge Hallyn on 2011-11-09
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
byobu (Ubuntu)
Wishlist
Unassigned

Bug Description

In screen, to enter scrollback mode you use 'ctrl-a esc', or 'ctrl-a ctrl-['. In byobu-tmux, that has to be done as 'ctrl-a [' (not ctrl-a ctrl-[). It may not be easy or possible to "fix" that, but it should probably be documented in byobu-tmux manpage or something.

Also, in screen you can hit 'i' to re-enter insert mode after entering scrollback mode. That doesn't work in byobu-tmux with screen keybindings enabled. Again, may not be easy to do, but if it is it'd be worth it.

Serge Hallyn (serge-hallyn) wrote :

Two more things worth documenting:

  1. <ENTER> exits scrollback mode (copy-mode as tmux manpage calls it)
  2. when hitting <ENTER>, the higlighted text is copied to paste buffer. That gets a bit misleading if you are expecting to delineate both start and finish of copy text with 'space' then exit with <ENTER>.

Probably a simple example (in man-page?) using the f12 escape key would server everyone best. Something like:

  1. Enter copy-mode by hitting F12 then [.
  2. Move up/down using arrow keys and page-up/down or using vi bindings (hjkl, ctrl-b/ctrl-f)
  3. Start selecting text by hitting space
  4. Move to end of text to be selected (same as in step 2)
  5. Mark end of text to be selected using <ENTER>, which will also exit copy-mode.
  6. to insert the selected text, use F12 followed by ].

Changed in byobu (Ubuntu):
status: New → Confirmed
importance: Undecided → Wishlist
Dustin Kirkland  (kirkland) wrote :

Good idea, I'll add to the manpage!

Dustin Kirkland  (kirkland) wrote :

Committed revision 1788.

Changed in byobu (Ubuntu):
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

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

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

  * usr/bin/byobu-mondrian:
    - clean up code, fix idempotence
  * usr/bin/byobu-mondrian => usr/lib/byobu/include/modrian,
    usr/lib/byobu/include/Makefile.am, usr/share/byobu/keybindings/f-
    keys.tmux, usr/share/byobu/keybindings/f-keys.tmux.disable,
    usr/share/doc/byobu/help.tmux.txt:
    - install modrian
  * usr/share/byobu/profiles/tmux:
    - fix action bar color
  * usr/lib/byobu/include/mondrian:
  * usr/lib/byobu/ec2_cost, usr/lib/byobu/hostname,
    usr/lib/byobu/include/shutil, usr/lib/byobu/ip_address: LP: #894038
    - background all wgets, as these can be expensive (cough OpenStack cough)
    - sleep for 0.02 seconds after each wget, as most EC2 wgets take less
      than 0.01 seconds, but some might take longer
    - after backgrounded wget and sleep, attempt to read the results of the
      wget from a cache file; if this succeeds, proceed and use it
    - if not, fail through gracefully, and pick up the results from the
      cach file on the next run
  * usr/share/byobu/keybindings/f-keys.tmux,
    usr/share/byobu/keybindings/f-keys.tmux.disable,
    usr/share/man/man1/byobu.1: LP: #888248
    - add Alt-Insert in tmux for "paste"
    - document scrollback/copy/paste procedures
  * usr/bin/byobu-janitor: LP: #867746
    - create a whitelist of distros carrying the LP: #315871 fix
    - default to monochrome for other distros on initial profile creation
 -- Dustin Kirkland <email address hidden> Fri, 18 Nov 2011 15:41:36 -0600

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