From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 16:09:04 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 A793316A419 for ; Thu, 2 Aug 2007 16:09:04 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from outbound-mail-04.bluehost.com (outbound-mail-04.bluehost.com [69.89.21.14]) by mx1.freebsd.org (Postfix) with SMTP id 7D71413C428 for ; Thu, 2 Aug 2007 16:09:04 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: (qmail 15443 invoked by uid 0); 2 Aug 2007 16:09:04 -0000 Received: from unknown (HELO box183.bluehost.com) (69.89.25.183) by mailproxy1.bluehost.com with SMTP; 2 Aug 2007 16:09:04 -0000 Received: from c-24-9-123-251.hsd1.co.comcast.net ([24.9.123.251] helo=demeter.hydra) by box183.bluehost.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.66) (envelope-from ) id 1IGdEV-0003C5-Nk for freebsd-questions@freebsd.org; Thu, 02 Aug 2007 10:09:03 -0600 Received: from demeter.hydra (localhost [127.0.0.1]) by demeter.hydra (8.13.6/8.13.6) with ESMTP id l72G92Cp092187 for ; Thu, 2 Aug 2007 10:09:02 -0600 (MDT) (envelope-from perrin@apotheon.com) Received: (from ren@localhost) by demeter.hydra (8.13.6/8.13.6/Submit) id l72G910V092186 for freebsd-questions@freebsd.org; Thu, 2 Aug 2007 10:09:01 -0600 (MDT) (envelope-from perrin@apotheon.com) X-Authentication-Warning: demeter.hydra: ren set sender to perrin@apotheon.com using -f Date: Thu, 2 Aug 2007 10:09:01 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Message-ID: <20070802160901.GA92156@demeter.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <80f4f2b20708020819l69e054a1ia070efba2b04d2ad@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80f4f2b20708020819l69e054a1ia070efba2b04d2ad@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {737:box183.bluehost.com:apotheon:apotheon.net} {sentby:bopbeforesmtp 24.9.123.251 authed with apotheon.com} X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box183.bluehost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [737 12] / [47 12] X-AntiAbuse: Sender Address Domain - apotheon.com 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: Thu, 02 Aug 2007 16:09:04 -0000 On Thu, Aug 02, 2007 at 11:19:21AM -0400, Jim Stapleton wrote: > 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? Step 1: Go back in time to before you started the build. Step 2: Install a utility called "screen" on that machine. Step 3: Start a screen session, and start your build from within that. Step 4: Detach from that screen session by typing ^A then pressing D. Step 5: Reattach to that screen session at any time with `screen -r`. Sorry about the "go back in time" part. I guess you'll know for next time. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] W. Somerset Maugham: "The ability to quote is a serviceable substitute for wit."