User Tools

Site Tools


docs:tips_n_tricks:screen.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:tips_n_tricks:screen.html [06.09.2017 15:00 CEST] – [sample .screenrc file] peterdocs:tips_n_tricks:screen.html [08.07.2019 21:01 CEST] – [sample .screenrc file] peter
Line 98: Line 98:
 ===== sample .screenrc file ===== ===== sample .screenrc file =====
  
-  #remove some stupid / dangerous key bindings +<code screen .screenrc> 
-  bind ^k +#remove some stupid / dangerous key bindings 
-  bind ^\ +bind ^k 
-  bind k +bind ^\ 
-  # # don't lock screen accidently - use if you don't know the accounts +bind k 
-  # # password (e.g. when access is managed by ssh keys) +# # don't lock screen accidently - use if you don't know the accounts 
-  # bind x +# # password (e.g. when access is managed by ssh keys) 
-  # bind ^x +# bind x 
-  startup_message off +# bind ^x 
-  vbell on +startup_message off 
-  vbell_msg " Klingeling! " +vbell on 
-  bindkey -k kb stuff ^? +vbell_msg " Klingeling! " 
-  # Enable cycling backward throug regions in Putty by C-a,Shift+TAB +bindkey -k kb stuff ^? 
-  bindkey -t "^A^[[Z" focus prev +# Enable cycling backward throug regions in Putty by C-a,Shift+TAB 
-  # Make C-a C-a work smooth again +bindkey -t "^A^[[Z" focus prev 
-  bindkey -t "^A^A" other +# Make C-a C-a work smooth again 
-   +bindkey -t "^A^A" other
-  defscrollback 500 +
-   +
-  caption always +
-  # # show window title and optional +
-  # # hardware status line text +
-  # caption string "%?%F%{.c.}%?%3n %t%? [%h]%?" +
-  # windowlist string  "%3n %t %?[%h]%?" +
-   +
-  # show window title if set,  +
-  # else hardware status line text +
-  windowlist string "%3n %?[%h]%:%t%?" +
-  # # show clock in caption line +
-  # caption    string "%?%F%{.b.}%H: %?%3n%? [%h]%: %t%?%=| %c:%s " +
-  # Higlight active window, show hold and escape-key state +
-  caption    string "%?%F%{.bw}%?%H: %3n%?%E %{.rw}~a~%{-}%?%?%P %{.wb}~HOLD~%{-}%?%? [%h]%: %t%?%-11=| %c:%s " +
-   +
-  hardstatus on +
-  hardstatus alwayslastline +
-  msgminwait 0 +
-   +
-  zombie xr onerror +
-  # If you're using bash (won't hurt otherwise) +
-  setenv PROMPT_COMMAND 'screen -p "$WINDOW" -X title "$PWD"'+
  
 +defscrollback 500
  
 +caption always
 +# # show window title and optional
 +# # hardware status line text
 +# caption string "%?%F%{.c.}%?%3n %t%? [%h]%?"
 +# windowlist string  "%3n %t %?[%h]%?"
 +
 +# show window title if set, 
 +# else hardware status line text
 +windowlist string "%3n %?[%h]%:%t%?"
 +# # show clock in caption line
 +# caption    string "%?%F%{.b.}%H: %?%3n%? [%h]%: %t%?%=| %c:%s "
 +# Higlight active window, show hold and escape-key state
 +caption    string "%?%F%{.bw}%?%H: %3n%?%E %{.rw}~a~%{-}%?%?%P %{.wb}~HOLD~%{-}%?%? [%h]%: %t%?%-11=| %c:%s "
 +
 +hardstatus on
 +hardstatus alwayslastline
 +msgminwait 0
 +
 +zombie xr onerror
 +# If you're using bash (won't hurt otherwise)
 +setenv PROMPT_COMMAND 'screen -p "$WINDOW" -X title "$PWD"'
 +
 +</code>
docs/tips_n_tricks/screen.html.txt · Last modified: 16.03.2024 00:38 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki