-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Dec 25, 2014 at 02:53:36 -0500, jenia.ivlev wrote:
> And I found the switch -x. I dont understand the explanation in "man
> screen" for it::
>
>      -x   Attach  to  a  not detached screen session. (Multi display mode).  
> Screen refuses to attach from within itself.  But when cascading multiple
>             screens, loops are not detected; take care.
> [...]
> I don't understand what this does very well.

Normally when you detach from a screen session, you can use `screen -r'
to resume it.  But if the screen session has not been detached yet (that
is---a terminal is still viewing it), then `-r' will not work.  In that
case, you use `-x', which will result in two terminals viewing the same
screen session (which is what it means by "multi display mode").

For example, I may leave a screen session attached at work, but later
SSH into the machine.  Since I never detached from the session, I must
use `-x'.

I may also use this flag to demonstrate commands to other users
remotely, or open the same session in multiple VTEs on multiple
monitors to view another window in the same session on another monitor.

- -- 
Mike Gerwitz
Free Software Hacker | GNU Maintainer
http://mikegerwitz.com
FSF Member #5804 | GPG Key ID: 0x8EE30EAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJUnHeUAAoJEPIruBWO4w6rtRIP/j6so6LDQJVc8WbmssPFrB58
sDIAlwvud5QOS7CtHJaiFZh7mwF88Izrlimtlgx7Uguk3FhOrMEtN+8HU/TNzLJj
I2c9hOGbv8LtmD9IUXd4ZIqnaBObIu0JqwOMpLYSUTUH/2v4c5tOr2dxUGZzsVE5
ZLfJdApTreNHYrDizT+4i7cpmTUXd9ivNwVhZzNtP2WFv3W2BceI3LOx29Rtfg+Z
XCJ/MGgdLmV/ZmNNT9VHdzpcSkmig3X9fq9iNv851IaDOzlzgnfbJpOgnmUEUBPP
RMJzUwlXHwZ/L3ADkZJvK7vArNrwMHRY5kB8Vp2tFLtMRV9Cktp9q93h/8RVB8jb
LY32DqFVXjw/Pl9v9dqTampqTL/0YdtKiqKTmmtQWAI/F/iPLD7uyu9G8Su+VQ1y
TzOkmX6LV+irj3wNkq0DObqJWZBXmSNrQx6/YCDha4E2Qh6dZGO/04JN0uNayjpK
8TZPvYmyjJe6Uu3bnIHqDUsCQIdmWYXCGHLSVILvExduy5kkjZYOeAOsb+lDOV1w
iDRhX+fQXeIRCa3xhTqfT6vavP9gRxESqfmzp0FphMG5ofeLUVJDk81Z0h6eJLyv
zIyMAnUKdcAcIN6+4lNtsUfTsKjyf2d/asdNG4WoxW1TF95+FFamH2EtRSWGGv+t
fNcgnJc1M5weDQmmJFNn
=0uIl
-----END PGP SIGNATURE-----

_______________________________________________
screen-users mailing list
screen-users@gnu.org
https://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to