Skip to content

Commit

Permalink
Window numbering starts at 1. (marked)
Browse files Browse the repository at this point in the history
  • Loading branch information
winfred-lu committed May 29, 2012
1 parent aa7eba1 commit beddcd5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions screenrc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ bind I login on
bind O login off
bind } history

# window numbering starts at 1
#bind c screen 1
#bind 0 select 10

# An example of a "screen scraper" which will launch urlview on the current
# screen window
#
Expand Down Expand Up @@ -92,6 +96,8 @@ termcapinfo xterm 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
# (which has scrollback), not the alternate screen buffer.
#
#termcapinfo xterm|xterms|xs|rxvt ti@:te@
#termcapinfo rxvt-unicode ti@:te@
#termcapinfo rxvt-unicode 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'

# Enable non-blocking mode to better cope with flaky ssh connections.
defnonblock 5
Expand All @@ -107,11 +113,10 @@ attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcapinfo screen 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcapinfo mlterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"

#term xterm-256color
term xterm-256color

# ------------------------------------------------------------------------------
# STARTUP SCREENS
Expand All @@ -127,3 +132,4 @@ defbce "on"
# screen -t monkey ssh monkey
# screen -t mail 8 mutt
# screen -t daemon 9 tail -f /var/log/daemon.log
screen -t emacs

0 comments on commit beddcd5

Please sign in to comment.