From 2686f568b80b2bac9ceb9e7823b28bab191ebabf Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Fri, 25 Sep 2009 14:44:07 +0200 Subject: screenrc: updated and cleaned up --- screenrc | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) (limited to 'screenrc') 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}]" -- cgit v1.2.3