From 7832137053a1ab8a4ab49b08b2797b132469a710 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Mon, 19 Jan 2015 15:51:58 +0800 Subject: =?UTF-8?q?screenrc:=20=E9=81=BF=E5=85=8D=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=A0=90=E8=A8=AD=20shell=20=E6=99=82=E5=B0=8E=E8=87=B4=20SHEL?= =?UTF-8?q?L=20=E7=92=B0=E5=A2=83=E8=AE=8A=E6=95=B8=E4=B8=8D=E6=AD=A3?= =?UTF-8?q?=E7=A2=BA=E3=80=81=E5=8A=A0=E5=85=A5=20hardstatus=20=E8=A8=AD?= =?UTF-8?q?=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- screenrc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/screenrc b/screenrc index aaebd28..41d21bb 100644 --- a/screenrc +++ b/screenrc @@ -1,18 +1,19 @@ caption always "%{= ky}%H %{= kc}%-Lw%{= br}%n %t%{= kc}%+Lw %=%{= g}%l" termcapinfo xterm*|rxvt*|kterm*|Eterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007' +defscrollback 65536 +hardstatus lastline +hardstatus string '%h%? users: %u%?' +ignorecase on vbell off vbellwait 0 -defscrollback 65536 - -hardcopydir /home/lantw44/hardcopy +zombie ^C^R +# The first window should be a login shell deflogin on -shell -bash +shell -$SHELL screen -title bash -deflogin off - -zombie ^C^R -ignorecase on +# Other windows are non-login shells +shell $SHELL +deflogin off -- cgit v1.2.3