###############
# Screen config
# #############
setenv LC_LANG ru_RU.UTF-8
setenv LC_LANGUAGE ru_RU.UTF-8
defutf8 on
altscreen on
autodetach on # default: on
deflogin on
defmonitor on
# No bell at all
vbell off # default: off
vbell_msg " — Ring, Ring!! — " # default: "Wuff,Wuff!!"
# Don't display the copyright page
startup_message off # default: on
# Affects the copying of text regions
crlf off # default: off
multiuser on
# Change default scrollback value for new windows
defscrollback 1000 # default: 100
# Define the time that all windows monitored for silence should
# wait before displaying a message. Default 30 seconds.
silencewait 15 # default: 30
shell -$SHELL
# emulate .logout message
pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
# Pretty status bar at the bottom.
caption always "%m/%d/%y %0c%{=b kg} %l %{=r gk}%-w%{=b wb}%50>%n%f* %t%{-}%+Lw%<%{- Wk}"
# caption always ' %{-b dd}%-w%{cd}%n* %t%{-}%+w %{cd}%-=(%l) %d/%m %c%{-} '
# caption always "%{=}%{r} %L=%{+b}%?%{b}%-Lw%47L>%?%{w}%n*%f %t %?%{b}%+Lw%?%{g}%-31= %D %d %M %c:%s"
# Time a message is displayed if screen is not disturbed by
# other activity. The dafault is 5 seconds:
msgwait 15
termcapinfo * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
defhstatus "screen: ^En (^Et)"
#
## Toggle ‘fullscreen’ or not.
#
bind f eval “caption splitonly” “hardstatus ignore”
bind F eval “caption always” “hardstatus alwayslastline”
# tell screen that you term can scroll
termcapinfo xterm ti@:te@
# bind Shift+PgUp/PgDn
bindkey -m "^[[5;2~" stuff ^b
bindkey -m "^[[6;2~" stuff ^f
bind k
bind ^k
bind .
bind ^\
bind \\
bind ^h
bind h
#make them better
bind 'K' kill
bind 'I' login on
bind 'O' login off
bind '}' history
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий