cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

software:screen:my_screenrc.html



Screen

screen :: My .screenrc

~/.screenrc

# Ctrl-J insted of Ctrl-a
escape ^Jj

 
#caption always "%{= wb} %-w%{=bu dw}%n %t%{-}%+w"
caption always "%{= wb} %-w%{=bu kw}%n %t%{-}%+w"


startup_message off

shell /bin/bash
 
 
autodetach on
 
defscrollback 10000
 
 
#ctrl+<-, ctrl+->
bindkey "^[[5C" next
bindkey "^[[5D" prev
termcapinfo xterm "ks=\E[?1l\E:ku=\E[A:kd=\E[B:kl=\E[D:kr=\E[C:kh=\E[5~:kH=\E[F"
 

# log
deflog on
logfile "/home/log/screen-%Y%m%d-%n.log"



# For Japanese ===============
defencofing eucJP
defgr off
 
bind ^u encoding utf8
bind ^e encoding euc


TeraTerm :: KEYBOARD.CNF

For CTRL+ ← , CTRL + →

[User keys]
#Ctrl-J
User1=1355,0,$0A$10
User2=1357,0,$0A$0E
 
#Ctrl-A
#User1=1355,0,$01$10
#User2=1357,0,$01$0E
 
#Ctrl-Z
#User1=1355,0,$1A$10
#User2=1357,0,$1A$0E



software/screen/my_screenrc.html.txt · Last modified: 2016/02/20 by admin

Page Tools