Created
February 15, 2017 12:24
-
-
Save mgor/c326cd00a3c14e275571d6ce7ce8b701 to your computer and use it in GitHub Desktop.
.screenrc that somewhat emulated my tmux config from mgor/dotfiles, should be used togheter with .bashrc gist.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
startup_message off | |
escape ^Ss | |
termcapinfo rxvt-unicode ti@:te@ #enable SHIFT-PGUP / SHIFT-PGDOWN scroll | |
terminfo rxvt-unicode ti@:te@: | |
term screen-256color | |
setenv LC_CTYPE en_US.UTF-8 | |
defutf8 on | |
nonblock on | |
vbell off | |
msgwait 10 | |
screen -t bash 1 bash | |
select 1 | |
bind = resize = | |
bind + resize +1 | |
bind - resize -1 | |
bind _ resize max | |
bind c screen 1 # Window numbering starts at 1, not 0. | |
bind 0 select 10 | |
backtick 1 0 86400 /usr/bin/awk '{print $(NF-1)}' /etc/redhat-release | |
hardstatus off | |
hardstatus alwayslastline "%{= BW} RHEL %{= 6m}%{= W} %1` %{= 9m}%{= W} %-Lw%{= 2m}%{= W} %50>%n%f %t %{= 9m}%{= W}%+Lw%< %= %{= wK} %D %d %M %c %{= 9m}%{= W} %H" | |
# hardcopydir: The directory which contains all hardcopies. | |
hardcopydir ~/.screen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment