On Sat, 11 Oct 2003 at 17:55 -0500, Callum Lerwick wrote: > IIRC, the problem with this is -R refuses to reattach if something's > already attached. It refuses to do 'multidisplay'. I always leave my > desktop machine attached, so there's always at least one machine > attached at all times. I want to be able to get in remotely, so this > makes -R rather useless to me. ;P Looks like the screen people are still one step ahead of you. :) -D (-r) Detach and logout remote (and reattach here). -D -RR Do whatever is needed to get a screen session. I tried -D -R, and it works like I think you want: if there's another session, it detaches it, then reattaches where you are. If there isn't another session, it starts one. I haven't tried -D -RR. I'm a bit afraid of that "whatever is needed" line... BTW, putting "screen -R" in my .bash_login works fine. No fork bombs or melted machines. Dan -- --- Dan Drake <drake at math.umn.edu> University of Minnesota ----- http://www.math.umn.edu/~drake School of Mathematics ------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20031011/c3b70c3d/attachment.pgp