Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 104 lines (76 sloc) 3.161 kb
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
### Created by Brad Sims 25/06/2004
### I got tired of .screenrc's on the internet being so
### poorly commented... So being a good GNUbie I took matters
### into my own hands; and wrote this dotfile.
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
## Explanation of hardstatus line ##
# Ignore the ' marks if you use these examples for yourself
# Note that if you want to use the color brown under konsole
# You actually use bright yellow (%{Y}).
# Note the embeded space after the colon, I feel
# it just looks nicer with a blank between the
# text and console edge:
# '%{=b}%{G} Screen(s): '
# This prints the window listing in blue:
# '%{b}%w'
# This right-aligns what follows:
# '%='
# This displays the time (hours and minutes) in 12hr format
# and adds an AM/PM flag, in bold green:
# '%{G}%C%A'
# This displays the day of the week:
# '%D'
#This displays the date in Mon/day/year format:
# and again I embeded a space to give me one space
# between the text and console edge:
# '%M/%d/%Y '
# The resulting command give you a status line that
# looks like this:
# | Screen(s): 0* bash 5:30PM Fri, Jun/25/2004 |
# (The pipes indicate the edges of the xterm/console).
# Green text, time, and date; windows in blue:
# caption always
# caption string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
hardstatus alwayslastline
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
# source ~/.screenrc.bash
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
## Some general options ##
# Turn off start message:
startup_message off
# Set messages timeout to one second:
msgwait 1
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
## Keybindings ##
# bind F7 to detach screen session from this terminal
# bind F8 to kill current screen window.
# bind F9 to create a new screen
# bind F10 to rename current screen window
# bind F11 to move to previous window
# bind F12 to move to next window
# bindkey -k k7 detach
# bindkey -k k8 kill
# bindkey -k k9 screen
# bindkey -k k; title
# bindkey -k F1 prev
# bindkey -k F2 next
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
termcapinfo rxvt-unicode ti@:te@
termcapinfo rxvt-unicode 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
#termcapinfo rxvt-unicode Co=88:pa=256
#termcapinfo rxvt-unicode 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
# http://aperiodic.net/screen/titles
shelltitle "$ |bash"
# Scrolling with shift Page Up/Down
# bindkey "^[[5;2~" eval "copy" "stuff ^u"
# bindkey -m "^[[5;2~" stuff ^u
# bindkey -m "^[[6;2~" stuff ^d
# Scrolling with shift Page w/s
bindkey "^e" eval "copy" "stuff ^u"
bindkey -m "^e" stuff ^u
bindkey -m "^d" stuff ^d
# Bigger scroll limit
efscrollback 5000
Jump to Line
Something went wrong with that request. Please try again.