confusing scrollbar behavior in gnome-terminal

Asked by Dustin Kirkland 

After using screen-profiles for a bit, I've noticed rather odd scrollbar behavior in gnome-terminal. To reproduce:

1. install screen-profiles
2. open gnome-terminal
3. select-screen-profile
4. screen
5. ls -lR /

Normal gnome-terminal behavior is to pin the scrollbar slider to the bottom, and then moving the scrollbar up scrolls back. However with screen-profiles, the gnome-terminal scrollbar slider moves up as the 'ls -lR' output scrolls. As soon as you try to move the scrollbar it 'resyncs' (for lack of a better word) and operates normally.

Question information

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

There have been a few questions about scrolling, I suppose I'll answer those here...

In a single window, you can do something like:
 $ ls -alF /usr/bin

You can then use shift-pageup to move up through the lengthy results.

Create a new window, with F2. If you shift-pageup, you'll move through the previous ls results.

It's important to understand that you have access to two separate buffers... That of gnome-terminal, and that of screen.

To scroll through gnome-terminal's buffer, you would use shift-page(up/down), the scrollbars to the right, or the mouse-wheel.

To scroll through screen's buffer, you would hit F7 (to enter copy/scrollback mode), and then maneuver using up/down/pageup/pagedown. You hit escape to exit scrollback mode.

gnome-terminal has no knowledge of windows created within screen. However, screen does. So each window within screen has its own scrollback, which can be viewed in scrollback mode (F7).

:-Dustin