On Fri, Sep 02, 2005 at 02:29:44PM +0200, Loïc Minier wrote: > Hi, > > On Thu, Sep 01, 2005, Thomas Dickey wrote: > > > But in xterm and in console Shift+PgUp works. Why are they different? > > They're different because they're separate developments, and it simply > > was a feature that wasn't incorporated into rxvt/Eterm/aterm or their > > obese cousin gnome-terminal (or its clone konsole). > > Making the normal+alternate screen shift together isn't necessarily an > > obvious thing to do. (Offhand I didn't recall if xterm did it - had to > > look). > > I don't know how you get scrollback with shift+pageup in screen in > xterm, I don't by default.
I started an xterm, did a few ls's to put stuff into its scrollback buffer, and attached to a screen session that I had running. shift+pageup for xterm did show me the new xterm's scrollback buffer. (I first checked if I'd any local resource settings for xterm). > Anyway, Adam Lazur explaiend how screen can be configured to use the > normal scrollback and how one can access screen's internal buffer with > screen's copy mode in bug #326094. That's what I would normally expect. screen isn't really aware of the terminal's own scrollback buffer, has its own. > On Fri, Sep 02, 2005, Adam Lazur wrote: > > You can go into screen's scrollback by going into copy mode. See the copy > > command in the CUSTOMIZATION section of the manpage for details. > >. > > If you'd like shift+pgup to work, you can use the following line (from > > the default /etc/screenrc) in your .screenrc: > >. > > # To get screen to add lines to xterm's scrollback buffer, uncomment the > > # following termcapinfo line which tells xterm to use the normal screen > > buffer > > # (which has scrollback), not the alternate screen buffer. > > # > > termcapinfo xterm|xterms|xs|rxvt ti@:te@ > > Hence, I'm closing this bug. Please reopen it if necessary (or mail > me). To be fair, Marco is actually suggesting that these various terminal emulators be modified to behave as xterm does. I agree that they don't, but the problem is not really something that screen should know about. The latter part is where I was disagreeing. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgp8eu474slPX.pgp
Description: PGP signature

