Table of Contents

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