»
S
I
D
E
B
A
R
«
Lite Screen jukseark jeg har rabla sammen
May 26th, 2009 by frank

screen -dR work create a screen called “work”
ctrl+a+d = detach screen
screen -ls = list screens
screen -r PID = re-attach screen with PID from screen -ls
C-a: utf8 on = turn on UTF8

Works in all screens where you have not used up the keybinds:

How-to scroll: C-a Esc, then pgup/pgdn
How-to create screen: C-a-C-c
Rename screen: C-a–a
Jump to screen: C-a-
Jump to last used screen: C-a-C-a
Jump to next screen: C-a-n
Jump to prev screen: C-a-p
Reload screenrc without restarting screen: C-a : source $HOME/.screenrc
These ones just work if you use my bindkeys:

F10 = Change to window 0 (the one to the left, screen starts counting from
0 dont ask me why idunno)

F1 = 1
F2 = 2
F3 = 3
F4 = 4
F5 = 5
F6 = 6
F7 = 7
F8 = 8
F9 = 9

F11 = change TITLE
F12 = detach screen

Other tips:
ohnoes i cant control mye floes, what happen then is that your screen freezez
(might be good when alot of shit is going through your screen minitor
compiling output etc which you dont want to waste bndwith on, this happens
because you accidently or by purpose hit Ctrl-s or Ctrl-a-s to fix this hit
Ctrl-q or Ctrl-a q

If you use Ctrl+s or Ctrl+a+s in some apps you might want to turn it off by
adding this to your config:

stty -ixon -ixoff

———————
My screenrc:

Remember whil copying hardstatus string: paste it in ONE line not TWO as viewed here

hardstatus alwayslastline
hardstatus string ‘%{= kG}[ %{G}%H %{g}][%=%{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%=%{g}][%{B}%Y-%m-%d%%{W}%c %{g}]‘
startup_message off

msgwait 1

bindkey -k k; select 0
bindkey -k k1 select 1
bindkey -k k2 select 2
bindkey -k k3 select 3
bindkey -k k4 select 4
bindkey -k k5 select 5
bindkey -k k6 select 6
bindkey -k k7 select 7
bindkey -k k8 select 8
bindkey -k k9 select 9
bindkey -k F1 title
bindkey -k F2 detach

This config makes it look like this, with easy manouvering with the F-keys:


Leave a Reply

»  Substance: WordPress   »  Style: Ahren Ahimsa