13

I am using Byobu via SSH on a local mac machine. I am aware of the scrollback feature and I am able to enter the scrollback mode via F7.

However, it is very inconvenient to scroll by a single line only using arrow keys (only mode that works). Would it be possible to bind the mouse scroll there too? Mouse scrolling scrolls the holding terminal window at the moment.

Jason Aller
  • 2,340
  • 6
  • 23
  • 21
petr
  • 615
  • 9
  • 16
  • It would be great to get this to work. http://askubuntu.com/questions/199290/can-mouse-wheel-scrolling-be-enabled-in-byobu tackles linux issues but mac was missing. – Karthik T Aug 01 '13 at 01:32
  • I know this is old, but if anyone comes across this, the following link may help: https://stackoverflow.com/a/55124767/5812876 – Darrel Holt Jul 11 '19 at 20:43

2 Answers2

15

Press the F7 key to enter scrollback mode. Scrollback mode allows you to navigate past output using vi-like commands. Here is a quick list of movement commands:

Ctrl+U and Ctrl+D (half page up and down)
Ctrl+B and Ctrl+F (full page up and down)

Source

Afriza N. Arief
  • 253
  • 2
  • 8
donnoman
  • 251
  • 2
  • 3
1

Disable scrollback in a Mac terminal:

Preferences -> Profiles -> Window -> Limit number of rows to: 0

Press F7 to enter scrolling mode in byobu and scroll your mouse with Shift pressed. Press Enter to exit scrolling mode.

I fully realize that this is not the most convenient solution, but that's the best I've found so far.

Timothy Basanov
  • 165
  • 1
  • 6
  • 1
    The row limit disable does remove the scrolling interaction from the terminal window, however, holding down shift does not do anything in scrolling mode. The cursor does not move, I can only use keyboard. – petr Jan 26 '15 at 15:11