Re: Any difference between `screen -r` vs `screen -x` when attaching to an already attached session?

2016-07-04 Thread Clark Wang
On Tue, Jul 5, 2016 at 7:17 AM, Dun Peal wrote: > Thanks, Andrew. > > My question is: specifically when attaching to a detached session, is > there any difference between using `screen -r` and `screen -x`? > > For example, suppose I have a detached session called "foo", which I want > to attach t

Re: Any difference between `screen -r` vs `screen -x` when attaching to an already attached session?

2016-07-04 Thread Dun Peal
Thanks, Andrew. My question is: specifically when attaching to a detached session, is there any difference between using `screen -r` and `screen -x`? For example, suppose I have a detached session called "foo", which I want to attach to. Is there any reason to prefer: screen -r foo To: screen

Re: Any difference between `screen -r` vs `screen -x` when attaching to an already attached session?

2016-07-04 Thread Andrew Savchenko
Hi, On Mon, 4 Jul 2016 18:15:50 -0400 Dun Peal wrote: > Looking for a command that would attach to a screen session "foo", wether > it is detached or not. It seems like `screen -x foo` would do it - it > attaches to "foo" in both cases. > > But is it really the same? Or is there any difference b

Any difference between `screen -r` vs `screen -x` when attaching to an already attached session?

2016-07-04 Thread Dun Peal
Looking for a command that would attach to a screen session "foo", wether it is detached or not. It seems like `screen -x foo` would do it - it attaches to "foo" in both cases. But is it really the same? Or is there any difference between `screen -x foo` and `screen -r foo` when "foo" is detached