[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branching in screenrc?

From: Aaron Davies
Subject: branching in screenrc?
Date: Fri, 5 Sep 2008 13:33:37 +0800

any support for any "if" branching in screenrc's? i two windows boxes
using a common (network-based) homedir, and i want screen to start two
completely different sets of ssh sessions depending on which box it's
executed on. i suppose i can allias screen to "screen -c
.screenrc.`hostname` or something, but a.) that's clumsy and b.) it
doesn't easily handle any common settings between the two. hmm. can
screenrc's include other files? can it be read from stdin? ("screen -c
-" or "screen -c /dev/stdin" or something?) then i could say "cat
.screenrc .screenrc.`hostname` | screen -c -". or maybe there's some
other way to just do the actual variant part (create various
screens)--execute a shell script or something, and let that handle the
branching. thoughts?
Aaron Davies

reply via email to

[Prev in Thread] Current Thread [Next in Thread]