attaching a terminal to 'join' another?

Tim Judd tjudd2k at yahoo.com
Fri Aug 3 16:04:19 PDT 2007


--- Momchil Ivanov <idiotbg at gmail.com> wrote:

> На Friday 03 August 2007 00:02:51 Tim Judd написа:
> > Forgot to CC the questions ML.
> >
> > --- Tim Judd <tjudd2k at yahoo.com> wrote:
> > > From Tim Judd Thu Aug  2 15:01:18 2007
> > > Received: from [68.35.175.118] by web62407.mail.re1.yahoo.com via
> > > HTTP; Thu, 02 Aug 2007 15:01:18 PDT
> > > Date: Thu, 2 Aug 2007 15:01:18 -0700 (PDT)
> > > From: Tim Judd <tjudd2k at yahoo.com>
> > > Subject: Re: attaching a terminal to 'join' another?
> > > To: stapleton.41 at gmail.com
> > > MIME-Version: 1.0
> > > Content-Type: text/plain; charset=iso-8859-1
> > > Content-Transfer-Encoding: 8bit
> > > Content-Length: 2291
> > >
> > > I'm on the digest list, so I copy/paste the message to quote:
> > >
> > > ---------------------QUOTE:
> > > Message: 16
> > > Date: Thu, 2 Aug 2007 11:19:21 -0400
> > > From: "Jim Stapleton" <stapleton.41 at gmail.com>
> > > Subject: attaching a terminal to 'join' another?
> > > To: freebsd-questions at freebsd.org
> > > Message-ID:
> > > 	<80f4f2b20708020819l69e054a1ia070efba2b04d2ad at mail.gmail.com>
> > > Content-Type: text/plain; charset=ISO-8859-1
> > >
> > > Sorry if my question is a bit confusing - I'm not even sure the
> > > proper
> > > terminology, so I don't know what the best way to start looking
> is.
> > >
> > > I'm rebuilding a system at home, and I'd like to check how the
> build
> > > is going at a slow time at work sometimes. I can connect to the
> > > system
> > > from work (ssh into my main box, and then from there, ssh to the
> > > system I'm working on). I have a terminal opened on that system
> > > (actually, another ssh session fron the main box), and I'd like
> to
> > > have my new connection attach to that terminal session, if
> possible,
> > > so that I can just pick up where I left off, and monitor it from
> > > here.
> > > Is this possible?
> > >
> > > Sessions
> > > main desktop terminal A [ssh]--> workstation terminal A (where
> builds
> > > are currently being processed)
> > >
> > > work desktop terminal [ssh]--> main destop terminal B [ssh]-->
> > > workstation terminal B
> > >
> > >
> > > I would like to have workstation terminal B intercept workstation
> > > terminal A, or main desktop terminal B intercept main desktop
> > > terminal
> > > A. Can it be done? Where do I start looking, what are the words
> and
> > > phrases of interest? I tried looking at both the bash and xterm
> > > commands/man page, but they are rather long, and I'd miss what I
> was
> > > looking for without having a clue in advance.
> > >
> > > I'm guessing something like /dev/?tty?? might work, but how do I
> > > figure out which tty to use?
> > >
> > > Thank you,
> > > -Jim Stapleton
> > > --------------/QUOTE
> > >
> > > Can't the OP, Jim, use watch(8) with the -W option to interact w/
> the
> > > terminal?
> > >
> > > Nothing wrong with screen, but a built-in utility exists.
> 
> It`s possible, but he`d better use screen for updating/upgrading,
> since his 
> ssh session that initiated the process may die and then the process
> dies. 
> With screen the process will continue if his ssh session dies and he
> would be 
> able to later reattach to the terminal in question.


Yes, very true.  I think that's a good point and shouldn't be overlooked.

If opportunity doesn't knock, build a door.
"I can" is a way of life.
More and Bigger is not always Better.
The road to success is always uphill.


       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433


More information about the freebsd-questions mailing list