From 3a86d1240e695b13187c6e543f01d11e0f8b8519 Mon Sep 17 00:00:00 2001 From: Tony Duckles Date: Mon, 1 Dec 2014 09:56:18 -0600 Subject: [PATCH] .screenrc: Don't run 'screen -ls' backtick Cygwin screen can get funky, and 'screen -ls' can hang sometimes. Remove the backtick command to get the screen session-name to avoid hangs. --- .screenrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.screenrc b/.screenrc index 12ad51f..4d68f67 100644 --- a/.screenrc +++ b/.screenrc @@ -21,8 +21,8 @@ setenv LANG 'en_US.UTF-8' # names and highlighting the current windowname. # (http://www.ibm.com/developerworks/aix/library/au-gnu_screen/index.html) # (http://superuser.com/questions/212392/how-to-include-screens-session-name-in-hardstatus) -hardstatus alwayslastline '%{= K}%-w%{+b .KW}%n %t%{-}%+w %=%{..b} %H (%`) ' -backtick 0 30 30 sh -c 'screen -ls | grep --color=no -o "$PPID[^[:space:]]*"' +hardstatus alwayslastline '%{= K}%-w%{+b .KW}%n %t%{-}%+w %=%{..b} %H ' +#backtick 0 30 30 sh -c 'screen -ls | grep --color=no -o "$PPID[^[:space:]]*"' # ------------------------------------------------------------------- # Terminal Emulation Settings @@ -96,10 +96,11 @@ bind '(' select 19 # Default Windows # ------------------------------------------------------------------- screen -t sh 0 -screen -t tlg 1 +screen -t dev 1 screen -t trk 2 screen -t trkdev 3 screen -t fnd 4 screen -t rel 5 screen -t qacur 6 +screen -t gh 7 select 0 -- 2.45.2