| 1 |
# ~/.screenrc
|
| 2 |
#
|
| 3 |
# $Revision$
|
| 4 |
# $Date$
|
| 5 |
# $Author$
|
| 6 |
#
|
| 7 |
|
| 8 |
# don't display copyright page
|
| 9 |
startup_message off
|
| 10 |
|
| 11 |
defflow auto
|
| 12 |
defscrollback 10000
|
| 13 |
|
| 14 |
# set the altscreen so that it saves your place while in vi
|
| 15 |
altscreen on
|
| 16 |
|
| 17 |
vbell off # don't use screen's visual bell
|
| 18 |
vbell_msg 'no' # if viaual bell is used, replace the default 'Wuff, Wuff!!' message
|
| 19 |
vbellwait '0.1' # if viaual bell is used, don't display it for very long
|
| 20 |
|
| 21 |
msgwait 1 # don't display messages for quite so long
|
| 22 |
|
| 23 |
shell zsh # default process started in screen's windows
|
| 24 |
|
| 25 |
# setup the caption
|
| 26 |
#hardstatus alwayslastline "%{-b gk}%-w%{+b kg}%50>%n %t%{-b gk}%+w %=%C%<"
|
| 27 |
#hardstatus alwayslastline "%{=b}%{G} %{b}%w %=%{kG}%C%A %D, %M/%d/%Y "
|
| 28 |
|
| 29 |
hardstatus alwayslastline "%{-b bk} %-Lw%{+b yk}%n%f* %t%{-}%+Lw %=screen is: %{+b yk}on "
|
| 30 |
|
| 31 |
#
|
| 32 |
# from: http://dotfiles.org/~paralaX/.screenrc
|
| 33 |
#
|
| 34 |
# caption description:
|
| 35 |
# caption always "%?%F%{-b bc}%:%{-b bb}%?%C|%D|%M %d|%H%?%F%{+u wb}%? %L=%-Lw%45>%{+b by}%n%f* %t%{-}%+Lw%-0<"
|
| 36 |
#
|
| 37 |
# Anything I don't describe is treated literally.
|
| 38 |
#
|
| 39 |
# %? - Start of a conditional statement.
|
| 40 |
# %F - Use this part of the statement if the window has focus (i.e. it
|
| 41 |
# is the only window or the currently active one).
|
| 42 |
# %{-b bc} - Turn off bold, blue foreground, cyan background.
|
| 43 |
# %: - else
|
| 44 |
# %{-b bb} - Turn off bold, blue foreground, blue background (this obscures
|
| 45 |
# the text on non-focused windows and just gives a blue line).
|
| 46 |
# %? - End conditional statement.
|
| 47 |
# %C - time (hh:mm, leading space) in 12 hour format
|
| 48 |
# %D - Three-letter day-of-week appreviation
|
| 49 |
# %M - Three-letter month appreviation
|
| 50 |
# %d - Day of the month
|
| 51 |
# %H - hostname
|
| 52 |
# %? - Start of conditional statement.
|
| 53 |
# %F - Use this part of the statement if the window has focus.
|
| 54 |
# %{+u wb} - underlined, white foreground, blue background
|
| 55 |
# %? - End conditional (if not focused, text remaind blue on blue).
|
| 56 |
# %L= - truncation/padding point. With the 'L' qualifier, basically
|
| 57 |
# just acts as a reference point. Further truncation/padding is
|
| 58 |
# done relative to here, not the beginning of the string
|
| 59 |
# %-Lw - window list up to but not including the current window (-),
|
| 60 |
# show window flags (L)
|
| 61 |
# %45> - truncation/padding marker; place this point about 45% of the
|
| 62 |
# way into the display area (45)
|
| 63 |
# %{+b by} - add bold (still underlined from before), blue foreground,
|
| 64 |
# yellow background
|
| 65 |
# %n - number of the current window
|
| 66 |
# %f - flags for current window
|
| 67 |
# %t - title of current window
|
| 68 |
# %{-} - undo last color change (so now we're back to underlined white
|
| 69 |
# on blue) (technically, this is a pop; a second invocation
|
| 70 |
# would drop things back to unadorned blue on cyan)
|
| 71 |
# %+Lw - window list from the next window on (-), show window flags (L)
|
| 72 |
# %-0< - truncation/padding point. Place this point zero spaces (0)
|
| 73 |
# from the right margin (-).
|
| 74 |
|
| 75 |
|