Arquivo

Textos com Etiquetas ‘screen’

Meu .screenrc

terminal.gifHá muito tempo uso o screen para janelizar o modo texto, o pontapé inicial foi lendo os artigos do Aurélio como esse e esse há alguns anos atrás ainda na extinta Revista do Linux, também peguei o .screenrc dele e modifiquei para deixar ele mais joiado (IMHO) e o resultado pode ser conferido abaixo.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
bind 'R' wrap
bind 'r' resize
bind '+' resize +5
bind '-' resize -5
autodetach on # default: on
crlf off # default: off
deflogin off # default: on
hardcopy_append on # default: off
startup_message off # default: on
vbell on # default: ???
termcapinfo xterm ti@:te@
termcapinfo linux "ve=E[?25hE[?17;0;64c"
defscrollback 1000 # default: 100
silencewait 15 # default: 30
shell bashhardstatus alwayslastline "%{gk} ROOTLINUX %{rk}%c:%s %{y0}%d/%m/%Y %{wk}%?%-Lw%?%{wk}%n%f %{rk}[%{wk}%t%{rk}]%?(%u)%?%{wk}%?%+Lw%? %= %{ck}RENATO MICHNIK DE CARVALHO"
sorendition kG # black  on bold green
activity "%C -> %n%f %t activity!"
bell "------------------------------- %n%f - %t ------------------------------"
pow_detach_msg "BYE"
vbell_msg " *beep* "
msgwait 1
version
msgwait 2
 
# segurança: desligar algumas tecla perigosasbind k
bind ^k
bind '^'
bind z
bind ^z
bind x
bind s
bind ^s
 
# e aqui fica o kill
 
bind 'K' kill
 
### do /etc/screenrctermcap  facit|vt100|xterm LP:G0
terminfo facit|vt100|xterm LP:G0
 
#the vt100 description does not mention "dl". *sigh*
termcap  vt100 dl=5E[M
terminfo vt100 dl=5E[M
 
shelltitle '] |SHELL'#disparando uns programas automaticamente
 
screen -t EMAIL 0 mutt
screen -t IM 1 centericq
screen -t MP3 2 mocp -T green_theme /media/sda5/mp3/musicas.m3u
screen -t RL 3
screen -t MDS 4