Stroller writes:
> On 16 Mar 2010, at 22:26, Alex Schuster wrote:
> > ...
> > I want to add one thing: I suggest changing the defscrollback value
> > in /etc/screenrc from 100 to something much larger, I have 100000.
> > If not, you can only scroll back 100 lines, which is not that much.
>
> I don't *think* the default is as low as 100 lines. I don't seem to
> have a .screenrc on my system (the system I've just checked; and I
> would edit it there, rather than /etc/screenrc) and it has always had
> sufficient scrollback buffer for my needs. By all means it should be
> enlarged this way if necessary.
I just checked, the original screenrc I had when I emerged screen on this
system around April has these lines:
# Change default scrollback value for new windows
defscrollback 1000 # default: 100
So it's 1000 already in Gentoo, ten times larger than the default. Still
not large enough I think, as we have lots of memory nowadays, don't we.
And I often go back many pages, 100 lines is not that much.
BTW, I did not know about Ctrl-U/D, after Ctrl-A-Esc I just use PgUp/PgDn
to scroll up and down.
I prefer to edit /etc/screenrc so everyone has a reasonable large
scrollback buffer. Other screen settings go into the user's .screenrc.
There's so much that can be set, I'm only using a fraction of screen's
features.
Another thing I sometimes use: With screen -r <user>/<pid> you can join a
session that is attached by another user. I am using this sometimes when
another person has trouble with their Gentoo installation. I log in into
their server, attach to the screen session, and we can both do things in
it. screen needs the multiuser USE flag for this, though.
Wonko