Quick Tips on how to use "Screen"?
Thilo Six
T.Six at gmx.de
Thu Feb 23 00:04:34 UTC 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
Senectus . schrieb am 21.02.2006 04:16:
> Excellent tips from both of you thanks..
> Oh and yes.. I got the whole "glazed eye's" problem when trying to
> read through that mammoth MAN page ( I find man pages tedious at the
> best of times, that was just masochistic..)
Hi
When using screen inside Xterm it?s usefull to have the terminal Header
updated to show the actual path (per default there is only "screen")
e.g. put this in your ~/.screenrc:
- --------------------------->
termcapinfo xterm* OL=25000
hardstatus off
backtick 1 1200 1200 whoami
caption always "%3n %t%? @%u%?%? [%h]%?%=%c:%s %d.%m.%Y"
<---------------------------
"hardstatus" breaks this.
A "dirty hack" to scroll "inside screen" with wheel in copy mode
(you have to set a xterm history for this to work)
- --------------------------->
# xterm scrollbar should work with screen
# also for scroll wheel
termcapinfo xterm ti@:te@
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo rxvt ti@:te@
termcapinfo rxvt 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
<---------------------------
As i use screen mostly as multiplxer on console the following is very
useful to me:
- --------------------------->
# select an open window direct with ALT+ 0-9
bindkey "^[1" select 0
bindkey "^[2" select 1
bindkey "^[3" select 2
bindkey "^[4" select 3
bindkey "^[5" select 4
bindkey "^[6" select 5
bindkey "^[7" select 6
bindkey "^[8" select 7
bindkey "^[9" select 8
bindkey "^[0" select 9
<---------------------------
bye Thilo
- --
i am on Ubuntu 2.6 KDE
- - some friend of mine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD/PwQzeyTbiZA74IRA129AKCUk2iPCn+EBOpjjlW0LFWOEe06uACffrlB
sQi//yUXtKUkCkHZuck2Blk=
=yDpH
-----END PGP SIGNATURE-----
More information about the ubuntu-users
mailing list