Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #70927

Re: OT? using screen via ssh

From Jolly Roger <jollyroger@pobox.com>
Newsgroups comp.sys.mac.system
Subject Re: OT? using screen via ssh
Date 2015-03-12 12:57 +0000
Organization People for the Ethical Treatment of Pirates
Message-ID <cmdgqaFu491U3@mid.individual.net> (permalink)
References (4 earlier) <cmbmg0Fg4rvU6@mid.individual.net> <slrnmg1aiu.2870.g.kreme@kreme.eternal-september.org> <mdqado$bip$1@news.datemas.de> <cmbp6iFhvu1U1@mid.individual.net> <slrnmg3343.30bf.g.kreme@kreme.eternal-september.org>

Show all headers | View raw


On 2015-03-12, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> Okay, so one time? In band camp? Jolly Roger <jollyroger@pobox.com> 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

Back to comp.sys.mac.system | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT? using screen via ssh Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-03-10 21:48 +0000
  Re: OT? using screen via ssh billy@MIX.COM - 2015-03-11 04:33 +0000
    Re: OT? using screen via ssh Jolly Roger <jollyroger@pobox.com> - 2015-03-11 14:10 +0000
    Re: OT? using screen via ssh tmo1138 <tmo1138@tmo1138.org> - 2015-03-11 15:11 -0700
  Re: OT? using screen via ssh Barry Margolin <barmar@alum.mit.edu> - 2015-03-11 12:34 -0400
    Re: OT? using screen via ssh Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-03-11 19:24 +0000
      Re: OT? using screen via ssh Alan Baker <alangbaker@telus.net> - 2015-03-11 13:13 -0700
        Re: OT? using screen via ssh Jolly Roger <jollyroger@pobox.com> - 2015-03-11 20:22 +0000
          Re: OT? using screen via ssh Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-03-11 20:48 +0000
            Re: OT? using screen via ssh Alan Baker <alangbaker@telus.net> - 2015-03-11 14:00 -0700
              Re: OT? using screen via ssh Jolly Roger <jollyroger@pobox.com> - 2015-03-11 21:08 +0000
                Re: OT? using screen via ssh Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-03-12 12:53 +0000
                Re: OT? using screen via ssh Jolly Roger <jollyroger@pobox.com> - 2015-03-12 12:57 +0000
                Re: OT? using screen via ssh Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-03-12 13:29 +0000
        Re: OT? using screen via ssh Barry Margolin <barmar@alum.mit.edu> - 2015-03-11 16:32 -0400
          Re: OT? using screen via ssh Alan Baker <alangbaker@telus.net> - 2015-03-11 13:40 -0700
      Re: OT? using screen via ssh Barry Margolin <barmar@alum.mit.edu> - 2015-03-11 16:32 -0400

csiph-web