From owner-freebsd-questions@FreeBSD.ORG Fri Aug 3 18:57:53 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6148F16A41B for ; Fri, 3 Aug 2007 18:57:53 +0000 (UTC) (envelope-from idiotbg@gmail.com) Received: from smtp.studnetz.uni-leipzig.de (smtp.studnetz.uni-leipzig.de [139.18.143.252]) by mx1.freebsd.org (Postfix) with ESMTP id F31F213C459 for ; Fri, 3 Aug 2007 18:57:52 +0000 (UTC) (envelope-from idiotbg@gmail.com) Received: from localhost (localhost [127.0.0.1]) by smtp.studnetz.uni-leipzig.de (Postfix) with ESMTP id B262B251; Fri, 3 Aug 2007 20:57:51 +0200 (CEST) X-Virus-Scanned: by amavisd-new at studnetz-ul Received: from smtp.studnetz.uni-leipzig.de ([127.0.0.1]) by localhost (smtp.studnetz.uni-leipzig.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P6teLxyknPXg; Fri, 3 Aug 2007 20:57:51 +0200 (CEST) Received: from a144026.studnetz.uni-leipzig.de (a144026.studnetz.uni-leipzig.de [139.18.144.26]) by smtp.studnetz.uni-leipzig.de (Postfix) with ESMTP id 85043250; Fri, 3 Aug 2007 20:57:51 +0200 (CEST) From: Momchil Ivanov To: freebsd-questions@freebsd.org Date: Fri, 3 Aug 2007 20:57:48 +0200 User-Agent: KMail/1.9.7 References: <658266.20352.qm@web62405.mail.re1.yahoo.com> In-Reply-To: <658266.20352.qm@web62405.mail.re1.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1615013.NZhMQv91t5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200708032057.54915.idiotbg@gmail.com> Cc: Tim Judd Subject: Re: attaching a terminal to 'join' another? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Aug 2007 18:57:53 -0000 --nextPart1615013.NZhMQv91t5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =D0=9D=D0=B0 Friday 03 August 2007 00:02:51 Tim Judd =D0=BD=D0=B0=D0=BF=D0= =B8=D1=81=D0=B0: > Forgot to CC the questions ML. > > --- Tim Judd 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 > > Subject: Re: attaching a terminal to 'join' another? > > To: stapleton.41@gmail.com > > MIME-Version: 1.0 > > Content-Type: text/plain; charset=3Diso-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" > > Subject: attaching a terminal to 'join' another? > > To: freebsd-questions@freebsd.org > > Message-ID: > > <80f4f2b20708020819l69e054a1ia070efba2b04d2ad@mail.gmail.com> > > Content-Type: text/plain; charset=3DISO-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= =20 ssh session that initiated the process may die and then the process dies.=20 With screen the process will continue if his ssh session dies and he would = be=20 able to later reattach to the terminal in question. =2D-=20 PGP KeyID: 0x3118168B Keyserver: pgp.mit.edu Key fingerprint BB50 2983 0714 36DC D02E =C2=A0158A E03D 56DA 3118 168B =20 --nextPart1615013.NZhMQv91t5 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGs3qt4D1W2jEYFosRAse1AKClXPMVZy16qT8MJuFaaqvdMSABgQCgsu7N cd92XaQWrHYyTdoDZ4+QRcI= =E3wT -----END PGP SIGNATURE----- --nextPart1615013.NZhMQv91t5--