On Mon, Oct 25, 2021 at 10:09 AM Clark Wang <dearv...@gmail.com> wrote: > > Hi, > > I want to use nested screen sessions (with different screenrc) and I > want the outer screen sessions to use a different socket dir so it's > easier to differentiate between the outer and inner sessions. There's > an env var SCREENDIR for this but the problem is SCREENDIR will be > inherited to and so confuse inner screen sessions. > > So can we add a new "-k <sockdir>" to explicitly specify the socket dir?
Drafted a patch and it worked for me. Please take a look at the attachment. -clark
screen-k.diff
Description: Binary data