Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Jolly Roger Newsgroups: comp.sys.mac.system Subject: Re: OT? using screen via ssh Date: 12 Mar 2015 12:57:46 GMT Organization: People for the Ethical Treatment of Pirates Lines: 35 Message-ID: References: X-Trace: individual.net FmJXGYJ++k7ioB1S0i3bjQzTMOsHbPPlIT2UIjyuQAgaz6nagr Cancel-Lock: sha1:G9y6m6nY0fmftzIshYdi0tiHGC8= X-Face: _.g>n!a$f3/H3jA]>9pN55*5<`}Tud57>1Y%b|b-Y~()~\t,LZ3e up1/bO{=-) User-Agent: slrn/1.0.1 (Darwin) Xref: csiph.com comp.sys.mac.system:70927 On 2015-03-12, Lewis wrote: > Okay, so one time? In band camp? Jolly Roger was all, like: >> This isn't what Lewis wants, but I have this code in my shell startup >> files (.bashrc) that shows me a list of available screen sessions when I >> have one or more already running during login: > >> # login greeting for screen > > [Script snipped] > > That's not bad, but having it execute on login wouldn't work since I use > rsync and sftp nearly as much as I use ssh. It only interferes when one or more screen sessions are *detached*. For me, it's a rare enough occasion that doing this at login is not much of an inconvenience. Different strokes. : ) > It wouldn't be bad as a shell script that could be run manually though. I ain't stopping you. : ) >> 37134.ttys001.server (Detached) > >> To reattach, type: screen -r pid.tty.host > > I use: screen -DRRS server to reattach (or detach and reattach her if > the screen is not detached), but I do name all my screens. I'm not a heavy user of screen, and am way too lazy for that. : D -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR