# # Example of a user's .screenrc file # # This is how one can set a reattach password: # password ODSJQf.4IJN7E # "1234" # no annoying audible bell, please vbell on vbell_msg "*beep*" activity "activity in %n (%t) [%w:%s]~" # detach on hangup autodetach on # don't display the copyright page startup_message off pow_detach_msg "The End" defscrollback 2000 ################ # # wyse terminals # #wyse-75-42 must have flow control (xo = "terminal uses xon/xoff") #essential to have it here, as this is a slow terminal. termcapinfo wy75-42 xo:hs@ # New termcap sequences for cursor application mode. termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J ################ # # other terminals # # Extend the vt100 desciption by some sequences. termcap vt100* ms:AL=\E[%dL:DL=\E[%dM:UP=\E[%dA:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC terminfo vt100* ms:AL=\E[%p1%dL:DL=\E[%p1%dM:UP=\E[%p1%dA:DO=\E[%p1%dB:LE=\E[%p1%dD:RI=\E[%p1%dC ################ # # keybindings # #remove some stupid / dangerous key bindings bind k bind ^k bind . bind ^\ bind \\ bind ^h bind t title #make them better bind 'K' kill bind 'I' login on bind 'O' login off bind '}' history # Yet another hack: # Prepend/append register [/] to the paste if ^a^] is pressed. # This lets me have autoindent mode in vi. register [ "\033:se noai\015a" register ] "\033:se ai\015a" bind ^] paste [.] # Red Hat Hack^H^H^H^HPatch # This makes screen treat backspaces '^?' as # deletes. THere should be a fix in the code # for the way termcap inheritance works, # but I dont know where to put it, and this works. bindkey -d -k kb stuff \010 # /Red Hat Patch sorendition 00 92 hardstatus alwayslastline "%{bw}%-w%{by} %n %t %{bw}%+w %75=%c %d.%M.%Y" escape "\\\\" screen -t mutt 0 screen -t emacs 1 emacs -nw screen -t shell 2