자바 screen 설정 상세 설명 및 주의사항
# Set default encoding using utf8
defutf8 on
## ,
defencoding utf8
encoding utf8 utf8
# shell .bashrc .profile /etc/profile
shell -$SHELL
#set the startup message
startup_message off
#term linux
##
termcapinfo xterm|xterms|xs ti@:te=\E[2J
#
defscrollback 10000
#
caption always "%{=u .G} %-w%<%{=ub .y}%n %t%{=u .G}%+w "
hardstatus alwaysignore
hardstatus alwayslastline "%{= .K} [%l]%<%=%{= .W}@%H %=%{= .y} %Y/%m/%d%{= .m} %C %A"
#
vbell off
#Keboard binding
bindkey ^[d prev
bindkey ^[f next
# bind Alt`~= to screen0~12
bindkey "^[`" select 0
bindkey "^[1" select 1
bindkey "^[2" select 2
bindkey "^[3" select 3
bindkey "^[4" select 4
bindkey "^[5" select 5
bindkey "^[6" select 6
bindkey "^[7" select 7
bindkey "^[8" select 8
bindkey "^[9" select 9
bindkey "^[0" select 10
bindkey "^[-" select 11
bindkey "^[=" select 12
# bind F5 to create a new screen
bindkey ^[n screen
# bind F6 to detach screen session (to background)
bindkey -k k6 detach
# bind F7 to kill current screen window
bindkey -k k7 kill
# bind F8 to rename current screen window
bindkey -k k8 title
시작 화면:screen
화면 목록:screen-ls
복구 화면:screen-RU
-U Run screen in UTF-8 mode,게다가-U 는 복구 시 중국어 오류 가 발생 하지 않도록 보장 합 니 다.
읽 어 주 셔 서 감사합니다. 여러분 에 게 도움 이 되 기 를 바 랍 니 다.본 사이트 에 대한 여러분 의 지지 에 감 사 드 립 니 다!