[Top][All Lists]

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

Re: Change socket directory

From: Peder Stray
Subject: Re: Change socket directory
Date: Thu, 30 Jun 2005 00:15:34 +0200 (MEST)

On Wed, 29 Jun 2005, John J. Foster wrote:

Is there a way to change the socket directory to $HOME/.screen? The owners of this system have set the default to /tmp/screen, and I do not have access to change it. Is there an environmental variable to override? Is there an entry I can place in my .screenrc?

export SCREENDIR=$HOME/.screen

in your shell's startup... or wrap screen in a quick shell script that sets the environment.

I've just finished slapping myself for not RTFM'ing. Thanks Will and Adam. Sorry for the noise.

why do you want to change it? i know tmpcleaners have a tendency to remove sockets from under /tmp, but you can always get them back with

        pkill -CHLD screen

Wow, learned something new today !!! I always ssh into my ISP's shell account and run mutt from a screen session.

# screen -R -D -U -S mutt mutt -y

I'ts the rare day when I close mutt down intentionally. Usually I just connect and recall this previous command from history. Once I've done that, it's too late to try your command. I'm not a command line junkie, but is there a way to incorporate the 2 commands?

separating them with ; works fine:

        pkill -CHLD screen; screen -DRUS mutt mutt -y

  Peder Stray

reply via email to

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