summaryrefslogtreecommitdiff
path: root/screenrc
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-25 14:44:07 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-09-25 14:44:25 +0200
commit2686f568b80b2bac9ceb9e7823b28bab191ebabf (patch)
treeba153a316777f161a37712a43ed5e80a966d7309 /screenrc
parent385d8eea1207c16728cd165cd982d9f69da767d4 (diff)
downloaddotfiles-2686f568b80b2bac9ceb9e7823b28bab191ebabf.tar.xz
screenrc: updated and cleaned up
Diffstat (limited to 'screenrc')
-rw-r--r--screenrc29
1 files changed, 9 insertions, 20 deletions
diff --git a/screenrc b/screenrc
index 686dcbc..0bf5a8f 100644
--- a/screenrc
+++ b/screenrc
@@ -1,32 +1,21 @@
-# screen init file on Arch GNU/Linux
+# anrxc's screen init file on Arch GNU/Linux
#vbell on # no bell
autodetach on # detach on hangup
startup_message off # don't display the copyright page
defutf8 on # utf-8 encoding
defscrollback 10000 # change default scrollback value for new windows
-bufferfile $HOME/.screen_exchange # the file to use for "readbuf" ('<') and "writebuf" ('>'):
+nonblock on # don't block everything, waiting for an unresponsive window
+bufferfile $HOME/.screenex # the file to use for "readbuf" ('<') and "writebuf" ('>'):
shell -$SHELL # make the shell in every window a login shell
-#term screen-256color # set TERM
+deflogin on # log new screen windows in utmp
+#term screen-256color # set $TERM
attrcolor b ".I" # fix 256 color support in urxvt
termcapinfo rxvt* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcapinfo rxvt* ti@:te@:XT # improve mouse scrolling,
altscreen on # and text will go into terminal scrollback buffer
-
-# keybindings
-#bindkey -k k5 prev # F5 for previous window
-#bindkey -k k6 next # F6 for next window
-
-# startup windows
-#screen -t "User" 0 zsh
+#screen -t "User" 0 zsh # default windows
#screen -t "Emacs" 1 emacs -nw
-#screen -t "Mail" 2 alpine
-#screen -t "Root" 3 su
-#screen -t "FM" 4 mc
-#screen -t "System Monitor" 5 htop
-
-# change hardstatus settings to show a window list at the bottom of the
-# screen, with the current window highlighted and hostname on both ends
-hardstatus alwayslastline "%{G}[ %{Y}%H %{G}][%{w}%?%-Lw%?%{G}(%{W}%n*%f%t%?(%u)%?%{G})%{w}%?%+Lw%?%?%= %{G}][%{Y} %H %{G}]"
-sorendition Wk
-backtick 50 0 0 hostname
+sorendition Wk # status: normal text on black bg
+ # [ hostname ][(0*$ zsh) (1-$ emacs)][ hostname ]
+hardstatus alwayslastline "%{G}[ %{Y}%H %{G}][%{w}%?%-Lw%?%{G}(%{W}%n*%f %t%?(%u)%?%{G})%{w}%?%+Lw%?%?%= %{G}][%{Y} %H %{G}]"