public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  Scrollback Buffer of "screen" in Gnome Terminal
@ 2006-09-17  5:26 Alexander Skwar
  2006-09-17  7:20 ` [gentoo-user] " Alexander Skwar
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Skwar @ 2006-09-17  5:26 UTC (permalink / raw
  To: gentoo-user

Hello.

I used to be able to start "screen" and then still be able to use the
"ordinary" scrollback buffer of Gnome Terminal; ie. I used to be able
to hit <Shift>+<Page Up> or <Shift>+<Page Down> to scroll up or down.
In xterm, I'm still able to do so, but no more in Gnome Terminal.

alexander@blatt ~ $ gnome-terminal --version
Gnome gnome-terminal 2.14.2

drwxr-xr-x 2 root root 4096 10. Sep 23:20 /var/db/pkg/x11-terms/gnome-terminal-2.14.2-r1

I know about the screen buffer and that I can scroll by hitting 
<Ctrl>+<a>,<esc> followed by <Cursor Up> or <Cursor Down>. I'm not
talking about this buffer.

What do I have to change, so that I'm able to use the Gnome Terminal
buffer even when I'm inside a screen session?

To get this behaviour, I did:

1) start by running "gnome-terminal"
2) start screen session by running "screen"
3) get some output, eg. by running "ls -laR /"
4) press <Shift>+<Pg Up>

Expected behaviour: It scrolls up; I see older output.

Thanks,

Alexander Skwar
-- 
The more you sweat in peace, the less you bleed in war.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user]  Re: Scrollback Buffer of "screen" in Gnome Terminal
  2006-09-17  5:26 [gentoo-user] Scrollback Buffer of "screen" in Gnome Terminal Alexander Skwar
@ 2006-09-17  7:20 ` Alexander Skwar
  2006-09-17 10:13   ` Mick
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Skwar @ 2006-09-17  7:20 UTC (permalink / raw
  To: gentoo-user

· Alexander Skwar <listen@alexander.skwar.name>:

> What do I have to change, so that I'm able to use the Gnome Terminal
> buffer even when I'm inside a screen session?

I think, that this is bug #61195 - http://bugs.gentoo.org/show_bug.cgi?id=61195

The behaviour is caused by the fact, that TERM=gnome and in the screenrc,
there's no setting which informs screen, that there's a scroll back
buffer in the terminal (or something like this).

In particular, I think it's the following:

# Do not use xterm's alternative window buffer, it breaks scrollback (see bug #61195)
  termcapinfo xterm|xterms|xs ti@:te=\E[2J

Alexander Skwar
-- 
Show business is just like high school, except you get paid.
                -- Martin Mull


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user]  Re: Scrollback Buffer of "screen" in Gnome Terminal
  2006-09-17  7:20 ` [gentoo-user] " Alexander Skwar
@ 2006-09-17 10:13   ` Mick
  2006-09-17 11:09     ` [gentoo-user] " Alexander Skwar
  0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2006-09-17 10:13 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

On Sunday 17 September 2006 08:20, Alexander Skwar wrote:
> · Alexander Skwar <listen@alexander.skwar.name>:
> > What do I have to change, so that I'm able to use the Gnome Terminal
> > buffer even when I'm inside a screen session?

Ditto for aterm please.  Unfortunately I can only use the Ctrl+a <esc> to 
enter into copy mode when in screen to be able to scroll.
-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user]  Re: Re: Scrollback Buffer of "screen" in Gnome Terminal
  2006-09-17 10:13   ` Mick
@ 2006-09-17 11:09     ` Alexander Skwar
  2006-09-17 11:36       ` Mick
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Skwar @ 2006-09-17 11:09 UTC (permalink / raw
  To: gentoo-user

· Mick <michaelkintzios@gmail.com>:

> On Sunday 17 September 2006 08:20, Alexander Skwar wrote:
>> · Alexander Skwar <listen@alexander.skwar.name>:
>> > What do I have to change, so that I'm able to use the Gnome Terminal
>> > buffer even when I'm inside a screen session?
> 
> Ditto for aterm please.

Do "echo $TERM" and then "cp /etc/screenrc ~/.screenrc". Next, edit
~/.screenrc and add what you got when you did "echo $TERM" in the
approriate spots (ie. where there is "xterm").

Alexander Skwar
-- 
Ha. I say let them try -- even vi+perl couldn't match the power of an
editor which is, after all, its own OS.  ;-)
        -- Johnie Ingram on debian-devel, about linking vim with libperl.so


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user]  Re: Re: Scrollback Buffer of "screen" in Gnome Terminal
  2006-09-17 11:09     ` [gentoo-user] " Alexander Skwar
@ 2006-09-17 11:36       ` Mick
  2006-09-20  1:07         ` Troy Curtis Jr
  0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2006-09-17 11:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

On Sunday 17 September 2006 12:09, Alexander Skwar wrote:
> · Mick <michaelkintzios@gmail.com>:
> > On Sunday 17 September 2006 08:20, Alexander Skwar wrote:
> >> · Alexander Skwar <listen@alexander.skwar.name>:
> >> > What do I have to change, so that I'm able to use the Gnome Terminal
> >> > buffer even when I'm inside a screen session?
> >
> > Ditto for aterm please.
>
> Do "echo $TERM" and then "cp /etc/screenrc ~/.screenrc". Next, edit
> ~/.screenrc and add what you got when you did "echo $TERM" in the
> approriate spots (ie. where there is "xterm").

Thank you!  After all this time I can at long last scroll within screen when 
in an rxvt (aterm).  Lovely!

-- 
Regards,
Mick

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: Re: Scrollback Buffer of "screen" in Gnome Terminal
  2006-09-17 11:36       ` Mick
@ 2006-09-20  1:07         ` Troy Curtis Jr
  0 siblings, 0 replies; 6+ messages in thread
From: Troy Curtis Jr @ 2006-09-20  1:07 UTC (permalink / raw
  To: gentoo-user

On 9/17/06, Mick <michaelkintzios@gmail.com> wrote:
> On Sunday 17 September 2006 12:09, Alexander Skwar wrote:
> > · Mick <michaelkintzios@gmail.com>:
> > > On Sunday 17 September 2006 08:20, Alexander Skwar wrote:
> > >> · Alexander Skwar <listen@alexander.skwar.name>:
> > >> > What do I have to change, so that I'm able to use the Gnome Terminal
> > >> > buffer even when I'm inside a screen session?
> > >
> > > Ditto for aterm please.
> >
> > Do "echo $TERM" and then "cp /etc/screenrc ~/.screenrc". Next, edit
> > ~/.screenrc and add what you got when you did "echo $TERM" in the
> > approriate spots (ie. where there is "xterm").
>
> Thank you!  After all this time I can at long last scroll within screen when
> in an rxvt (aterm).  Lovely!
>
> --
> Regards,
> Mick
>
>
>

The issue has been resolved so I won't impede it much by being a
proponent of the <Ctl-a>+<esc> (or in my case `<esc>).  I always use
screens scrollback because it has the vi keybindings! (I think it
might have emacs one's also, or you can set them...but who would want
to do that ;-) ).  Also you can search for a particular word with the
vi syntax.  "`<esc>?word" is always faster than just a scroll :-).

Just my thoughts.  OH and how can you live without using the
alternative screen buffer?
Either way you are using screen so that makes you cool in my eyes.

Troy
-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-20  1:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-17  5:26 [gentoo-user] Scrollback Buffer of "screen" in Gnome Terminal Alexander Skwar
2006-09-17  7:20 ` [gentoo-user] " Alexander Skwar
2006-09-17 10:13   ` Mick
2006-09-17 11:09     ` [gentoo-user] " Alexander Skwar
2006-09-17 11:36       ` Mick
2006-09-20  1:07         ` Troy Curtis Jr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox