Created
July 7, 2015 16:49
-
-
Save tmeusburger/4b879b40502704d6ffb8 to your computer and use it in GitHub Desktop.
Screen configuration file
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
# kill startup message | |
startup_message off | |
# detach on hangup | |
autodetach on | |
# define a bigger scrollback, default is 100 lines | |
defscrollback 30000 | |
# Make the bell visual! | |
vbell off | |
#Have screen open new buffers as login shells | |
shell -$SHELL | |
#How long screen will display a message before it auto disappears | |
msgwait 2 | |
escape ^Ss | |
# escape ^Bb # Instead of Control-a, make the escape/command character be Control-b | |
# shell | |
#shell -bash | |
# termcapinfo iTerm ti@:te@ | |
# From http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html | |
# # Q: My xterm scrollbar does not work with screen. | |
# # A: The problem is that xterm will not allow scrolling if the alternate text buffer is selected. The standard | |
# definitions of the termcap initialize capabilities ti and te switch to and from the alternate text buffer. (The | |
# scrollbar also does not work when you start e.g. ‘vi’). You can tell screen not to use these initialisations by adding | |
# the line “termcapinfo xterm ti@:te@” to your ~/.screenrc file. | |
# putty bindings | |
#bindkey \"^[OC\" next | |
#bindkey \"^[OD\" prev | |
# other bindings | |
#bindkey -k F1 select 0 ## F11 = screen 0... avoid this screen :/ | |
#bindkey -k k1 select 1 ## F1 = screen 1 | |
#bindkey -k k2 select 2 ## F2 = screen 2 | |
#bindkey -k k3 select 3 ## F3 = screen 3 | |
#bindkey -k k4 select 4 ## F4 = screen 4 | |
#bindkey -k k5 select 5 ## F5 = screen 5 | |
#bindkey -k k6 select 6 ## F6 = screen 6 | |
#bindkey -k k7 select 7 ## F7 = screen 7 | |
#bindkey -k k8 select 8 ## F8 = screen 8 | |
#bindkey -k k9 select 9 ## F9 = screen 9 | |
#bindkey -k k0 select 10 # F10 = screen 10 | |
#bindkey -k F2 command ## F12 = do a command | |
# An alternative hardstatus to display a bar at the bottom listing the | |
# windownames and highlighting the current windowname in blue. (This is only | |
# enabled if there is no hardstatus setting for your terminal) | |
hardstatus on | |
hardstatus alwayslastline | |
#Badass bracketed one | |
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{g}%?%+Lw%?%?%= %{g}][%{B}%m-%d-%Y %{W}%c %{g}]' | |
# Blue Bar with host/time | |
#hardstatus string '%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a' | |
screen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment