[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to start screen from .bashrc
From: |
Phil!Gregory |
Subject: |
Re: how to start screen from .bashrc |
Date: |
Thu, 28 Sep 2006 09:32:28 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
* Michael Parson <address@hidden> [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
---- --- --
- Re: how to start screen from .bashrc, (continued)
- Re: how to start screen from .bashrc, Ian Wat, 2006/09/19
- Re: how to start screen from .bashrc, Xavier Nicollet, 2006/09/19
- Re: how to start screen from .bashrc, Michael Parson, 2006/09/19
- Re: how to start screen from .bashrc, Peder Stray, 2006/09/19
- Re: how to start screen from .bashrc, Henry Nelson, 2006/09/19
- Re: how to start screen from .bashrc, Peder Stray, 2006/09/20
- Re: how to start screen from .bashrc, Software Groups, 2006/09/20
- Re: how to start screen from .bashrc, Buddy Burden, 2006/09/28
- Re: how to start screen from .bashrc, Germán Gutiérrez, 2006/09/28
- Re: how to start screen from .bashrc,
Phil!Gregory <=