Linux.com

.screenrc

Posted by: Administrator on December 01, 2004 09:29 AM
Stolen from various sources, the status line is the most useful:
<TT># Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent modes in vi(m).
register [ "\033:se paste\015a"
register ] "\033:se nopaste\015a"
bind ^] paste [.]

 
#kill startup message
startup_message off

 
# define a bigger scrollback, default is 100 lines
defscrollback 1024

 
# on Debian backspace should send char `177':
# bindkey -k kb stuff "177"
bindkey -k kb stuff ^H
#It displays a status line at the bottom of the terminal which shows what window you're in and a list of the other windows.
termcapinfo xterm "ks=E[?1lE:kuE[A:kd=E[B:kl=E[D:kr=E[C:kh=E[5~:kH=<nobr>E<wbr></nobr> [F"
hardstatus alwayslastline "%{-b gk}%-w%{+b kg}%50>%n %t%{-b gk}%+w%<"

 
#default windows
screen -t vim 1 vim
screen -t mail 2 pine
screen -t web 3 elinks</TT>

#

Return to Take console productivity to a new level with Screen