You are not logged in.

#1 2007-04-03 00:07:05

wantilles
Member
From: Athens - Greece
Registered: 2007-03-29
Posts: 327

Screen (screen -i -U) configuration

I would like to have the same functionality for the "screen" utility that I had in Gentoo and Debian, but I do not know how to configure it.

In Gentoo it is there by default, while in Debian I had to go into /etc/screenrc and uncomment the following line:

#termcapinfo xterm|xterms|xs|rxvt ti@:te@

I will try to explain the kind of functionality I want as best as I can.

Let's say I have just opened a Gnome Terminal (or Konsole).

Now I do, in turn:

1. Go to a directory with a lot of files (just to have a lot of data displayed on screen) and issue a ls -al. Note that the scrollbar on the right is active and I call scroll up or down to see previous data.

2. Type screen -i -U to enter a screen.

In Arch (and in Debian without changing the conf file) when a screen is initiated, the terminal is cleared and the scrollbar gets disabled. I can no longer go "back" upwards and see previous data that had been output "outside" of the screen environment.

How do I change this? To have the terminal not "erasing" its contents, have the scrollbar active, and be able to "browse" previous output?

The same thing happens when I detach a screen with Ctrl+A+D.

Again, I do not want this to happen.

I know this is possible because it was done on Gentoo and Debian.

Any help would be appreciated.

It is the only minor issue I have with Arch, after using it for about a week now.

Thank you in advance for your help.



PS: I want this to be possible both for my "normal" user and the root user.

Offline

#2 2007-04-04 08:13:46

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Screen (screen -i -U) configuration

i do that by entering this line to my .Xdefaults

urxvt*perl-ext-common:  matcher,searchable-scrollback

but u have to use urxvt for that

edit: its the searchable-scrollback that does it ofc. matcher is to open links in browse when clicking them

take a look at phraktures .Xdefaults http://phraktured.net/config/.Xdefaults if u want . that section is very close to mine smile

Last edited by dolby (2007-04-04 08:25:02)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

Board footer

Powered by FluxBB