Skip to content

Instantly share code, notes, and snippets.

@rcmachado
Created October 20, 2010 16:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rcmachado/636803 to your computer and use it in GitHub Desktop.
Save rcmachado/636803 to your computer and use it in GitHub Desktop.
Screen configuration file
defutf8 on
msgwait 3
#sorendition 05 43
sorendition 00 02
hardstatus alwayslastline "%c | %Y-%m-%d | %w"
# barra verde e preto, com códigos de cores literais
#hardstatus alwayslastline "\033[m\033[42;30m%c\033[m \033[42;30m%Y%m%d\033[m \033[42;30m %w \033[m"
vbell off # bipe visual
bell " %n %t apitando!" # msg bipe
autodetach on # -
startup_message off # msg mala
shell -$SHELL # nem lembro
#bufferfile $TMPFILE # arq tmp
#nethack on # msgs estilo nethack
#defmonitor on # monitorar QUALQUER atividade
bind \034 hardcopy # mapeia PrintScreen
caption splitonly "%2n %t" # barra de janelas
# segurança: desligar algumas tecla perigosas
bind k
bind ^k
bind z
bind ^z
bind x
# e aqui fica o kill
#bind 'K' kill
#colocar \033k\033\134 no começo do PS1
# permite prompt colorido mas bagunça quando chega na extrema direita
shelltitle '] |_'
# para colar no vim sem "identar"
# ATENÇÃO: é ^a^]
register [ "\033:set paste^Ma"
register ] "\033:set nopaste^Ma"
bind ^] paste [.]
### do /etc/screenrc
termcap facit|vt100|xterm LP:G0
terminfo facit|vt100|xterm LP:G0
#the vt100 description does not mention "dl". *sigh*
termcap vt100 dl=5\E[M
terminfo vt100 dl=5\E[M
###
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment