Last active
April 28, 2020 02:49
-
-
Save ryo-ARAKI/07923755368e1f4ee0f67778a1cf2bca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.screenrc | |
# https://qiita.com/kamykn/items/9939b67e923dbb87f39c | |
# Character code | |
defutf8 on | |
defencoding utf8 | |
encoding utf8 utf8 | |
# Disable startup message & window flushing | |
startup_message off | |
vbell off | |
# Escape key | |
escape ^Zz | |
# Scroll setting | |
defscrollback 10000 | |
termcapinfo xterm* ti@:te@ # Using mouse scroll | |
# Delete buffer | |
altscreen on | |
# Color | |
defbce on | |
term xterm-256color | |
# Status line | |
# hardstatus alwayslastline "%{= cd} %-w%{= dd} %n %t* %{-}%+w %= LoadAVG [%l] " # fmfs server | |
hardstatus alwayslastline "%{= rd} %-w%{= kd} %n %t* %{-}%+w %= LoadAVG [%l] " # JSS2 | |
# Use default shell | |
shell -$SHELL | |
# Detouch | |
autodetach on | |
# X11 Forwarding setting | |
stuff 'echo "Existing DISPLAY =" $DISPLAY' | |
stuff 'dispnum=`echo $DISPLAY | sed -e s/localhost//`' | |
stuff 'export DISPLAY=$dispnum`' | |
stuff 'echo "New DISPLAY =" $DISPLAY`' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment