Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create terminal groups for managing multiple windows' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create terminal groups for managing multiple windows
Authored by: kjaleel on Nov 26, '03 05:32:21AM

the only problem I have with screen is I cannot figure out how to make it retain the history of past scrolled lines in *all* windows it has open.

for example, lets assume I have two windows open and there is activity happening in both (lines scrolling by). If I now switch from the current window to another one and try to scroll up to see previous lines that have scrolled by, I can't! It forgets those lines and only shows lines from the window I just switched from.

I really hope someone can tell me how to do this, it's the only thing I haven't managed to figure out even from the man pages. iTerm is really slow for me as well and the combination of GLTerm and screen is just "perfect".



[ Reply to This | # ]
Create terminal groups for managing multiple windows
Authored by: Thom on Nov 27, '03 11:59:21PM

I don't know if this is the best way to access the buffer, but what I do is use screen's copy/paste command.

Use the meta key (typically ^a), then '[' to access copy mode.
From there, the arrow keys move the cursor or ^y scrolls up line by line.
When you're done reading scrollback, hit esc, or spacebar twice.

Be careful not to leave the screen in copy mode because it will freeze the shell and sometimes interfere with your process (e.g. ircII or whatever).

You can increase the size of your scrollback per window in your .screenrc file using the 'defscrollback #' command, where # is the number of lines you want. The more you ask for, the more memory each screen will consume. Or you can specify it on a per-screen basis using ^a, ':', 'scrollback #', (return). Use 'man screen' for more details.

HTH,

Thom Brooks



[ Reply to This | # ]
Create terminal groups for managing multiple windows
Authored by: Thom on Nov 28, '03 12:04:12AM

I don't know if this is the best way to access the buffer, but what I do is use screen's copy/paste command.

Use the meta key (typically ^a), then '[' to access copy mode.
From there, the arrow keys move the cursor or ^y scrolls up line by line.
When you're done reading scrollback, hit esc, or spacebar twice.

Be careful not to leave the screen in copy mode because it will freeze the shell and sometimes interfere with your process (e.g. ircII or whatever).

You can increase the size of your scrollback per window in your .screenrc file using the 'defscrollback #' command, where # is the number of lines you want. The more you ask for, the more memory each screen will consume. Or you can specify it on a per-screen basis using ^a, ':', 'scrollback #', (return). Use 'man screen' for more details.

HTH,

Thom Brooks



[ Reply to This | # ]