* Michael Parson <[EMAIL PROTECTED]> [2006-09-19 10:34 -0500]:
> One of the features of screen is that you can disconnect from screen
> and log out, log back in later and reconnect to the existing session.
> Having it auto-start a new screen every time you log in could make that
> difficult.

So put 'screen -dRR' in your .login (or whatever) file.  That will
reattach to an existing screen session if there is one (if there's more
than one it picks the first one) and creates a new session otherwise.  If
the session is attached alsewhere, it will detach the other location.  (If
you want multi attach just use 'screen -xRR' instead.)

-- 
...computer contrarian of the first order... / http://aperiodic.net/phil/
PGP: 026A27F2  print: D200 5BDB FC4B B24A 9248  9F7A 4322 2D22 026A 27F2
--- --
If you ever build a device to transfer the hero's energy into you, make
sure it cannot operate in reverse.
                       -- Evil Overlord's Handbook, entry 180
---- --- --


_______________________________________________
screen-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/screen-users

Reply via email to