Re: simply preserving sessions across disconnect

Aaron Davies <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
On Wednesday, June 29, 2011, Adam Kellas <[email protected]> wrote:
> On Wed, Jun 29, 2011 at 12:12 PM, Erik Osheim <erik-RrIVv6Yi33f3y/S9aNj6cVaTQe2KTcn/@public.gmane.org> wrote:
>> Did you just try -RR without -x?
>
> I've been trying -RR alone recently and it seems close but not right.
> I'm not ready to characterize the problem yet, so will come back when
> I've done so.

I've generally done this sort of thing by screen-scraping the current
state. put sg like

screen -ls|grep -q Detatched&&screen -r||screen

in your .profile/ssh command/whatever

-- 
Aaron Davies
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.