Byobu breaks scrolling of the terminal emulator buffer

Asked by goto

There have been other reports about scrolling issues with byobu. With:

    termcapinfo xterm* ti@:te@
    altscreen on

in the profile file the text indeed goes to the xterm scrollback buffer, and scrolling does work. But it is unusable.

If I scroll with a mouse wheel or Shift+Pg/up in a matter of seconds byobu will bring me back to the beggining. My first thought was that it happens on the very first notification interval. For testing I disabled all notifications and I managed to scroll a bigger chunk of text but byobu would still bring me down to the beggining.

Question information

Language:
English Edit question
Status:
Expired
For:
byobu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dustin Kirkland  (kirkland) said :
#1

Please use screen's scrollback buffer instead.

Press F7, and then scroll with your up/down, pageup/pagedown, or mouse wheel.

This goes back up to 10,000 lines *per window*. Otherwise, your scrollback will be garbled between different windows.

:-Dustin

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) said :
#3

First of all, this isn't like normal scrolling. As we are actually moving a cursor around the screen.
It's there a reasoning why ordinary scrolling is disabled / not working in non-scrollback mode?

Revision history for this message
Dustin Kirkland  (kirkland) said :
#4

It's a matter of who is handling the scrolling -- screen or gnome-terminal.

If you aren't running screen/byobu, then gnome-terminal handles your scrollback as you'd expect. Note that this case is very simple, as you're not changing windows or anything.

If you are running screen/byobu, then you *must* use scrollback mode (F7). Otherwise, if you're scrolling in gnome-terminal, gnome-terminal is just showing you the last things *it* saw, which could be any of your screen windows, in the order that you last changed through them.

Revision history for this message
linfidel (linfidel) said :
#5

But what can you do if F7 does not do anything? Early on, I set the preference in the menu to use normal screen keys, and now see no way to change this, no way to get this menu again, and no way to scroll back at all

Revision history for this message
Ralf Nieuwenhuijsen (ralf-nieuwenhuijsen) said :
#6

Try removing your byobu configuration file. Look in your home folder for hidden folders like .byobu and just remove it. This should reset settings back to their defaults.