Last active
February 6, 2016 09:52
-
-
Save libcrack/01d9c73c843a96111279 to your computer and use it in GitHub Desktop.
screenrc@fbsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# =================================== | |
# .screenrc@fbsd - borja@libcrack.so | |
# =================================== | |
# see http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html | |
# support color X terminals | |
termcap xterm 'XT:AF=\E[3%dm:AB=\E[4%dm:AX' | |
terminfo xterm 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX' | |
termcapinfo xterm 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' | |
termcap xtermc 'XT:AF=\E[3%dm:AB=\E[4%dm:AX' | |
terminfo xtermc 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX' | |
termcapinfo xtermc 'XT:AF=\E[3%p1%dm:AB=\E[4%p1%dm:AX:hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007' | |
# auto-screen support; see http://taint.org/wk/RemoteLoginAutoScreen | |
# detach on hangup | |
autodetach on | |
# no startup msg | |
startup_message off | |
# always use a login shell | |
shell -$SHELL | |
# auto-log | |
logfile $HOME/logs/screen/%Y%m%d_%0c.log | |
deflog on | |
#deflog off | |
vbell off | |
bell_msg '^GBell in window %n' | |
defscrollback 100000 | |
defutf8 on | |
# mouse scroll | |
termcapinfo xterm* ti@:te@ | |
# activates window caption | |
#caption always | |
# good looking window bar | |
#caption string '%{= wk}[ %{k}%H %{k}][%= %{= wk}%?%-Lw%?%{r}(%{r}%n*%f%t%?(%u)%?%{r})%{k}%?%+Lw%?%?%= %{k}][%{b} %d/%m %{k}%c %{k}]' | |
# F5 previous window | |
bindkey -k k5 prev | |
# F6 next window | |
bindkey -k k6 next | |
# =================================== | |
# FreeBSD /usr/local/etc/screenrc | |
# =================================== | |
# startup_message off | |
# defscrollback 5000 | |
# termcapinfo xterm ti@:te@ | |
# termcapinfo xterm-color ti@:te@ | |
# hardstatus alwayslastline | |
# hardstatus string '%{gk}[%{G}%H%{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]%{=b C}[%m/%d/%y %C %A]%{W}' | |
# vbell off | |
# shell -$SHELL | |
# logtstamp on | |
# logtstamp after 1 | |
# logfile $HOME/.screen-logs/%Y%m%d_%0c.log | |
# deflog on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment