From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 17:02:54 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F3A516A46B for ; Tue, 5 Jun 2007 17:02:54 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: from smtp5.wlink.com.np (smtp5.wlink.com.np [202.79.32.52]) by mx1.freebsd.org (Postfix) with SMTP id 3592013C455 for ; Tue, 5 Jun 2007 17:02:51 +0000 (UTC) (envelope-from teklimbu@wlink.com.np) Received: (qmail 55960 invoked from network); 5 Jun 2007 17:02:49 -0000 Received: from unknown (HELO smtp8.wlink.com.np) (202.79.32.38) by 0 with SMTP; 5 Jun 2007 17:02:49 -0000 Received: (qmail 80641 invoked by uid 98); 5 Jun 2007 17:02:49 -0000 Received: from 202.79.32.77 by smtp8.wlink.com.np (envelope-from , uid 1004) with qmail-scanner-1.25 (clamdscan: 0.88.7/3343. Clear:RC:1(202.79.32.77):. Processed in 0.136747 secs); 05 Jun 2007 17:02:49 -0000 X-Qmail-Scanner-Mail-From: teklimbu@wlink.com.np via smtp8.wlink.com.np X-Qmail-Scanner: 1.25 (Clear:RC:1(202.79.32.77):. Processed in 0.136747 secs) Received: from smtp2.wlink.com.np (202.79.32.77) by smtp8.wlink.com.np with SMTP; 5 Jun 2007 17:02:49 -0000 Received: (qmail 28520 invoked by uid 516); 5 Jun 2007 17:02:48 -0000 Received: from [202.79.38.83] (HELO [202.79.38.83]) by smtp2.wlink.com.np (qmail-smtpd) with SMTP; 05 Jun 2007 17:02:46 -0000 (Tue, 05 Jun 2007 22:47:46 +0545) Message-ID: <46659748.3030001@wlink.com.np> Date: Tue, 05 Jun 2007 22:48:04 +0545 From: Tek Bahadur Limbu User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Pieter de Goeje References: <87f7f4170706020423x6f67e84bv366cc765d21529a6@mail.gmail.com> <200706021346.05267.pieter@degoeje.nl> In-Reply-To: <200706021346.05267.pieter@degoeje.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Check-By: smtp2.wlink.com.np Spam: No ; 0.3 / 7.0 X-Spam-Status-WL: No, hits=0.3 required=7.0 Cc: Jeremy Gransden , freebsd-questions@freebsd.org Subject: Re: See output of local xterm session on remote ssh session. 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: Tue, 05 Jun 2007 17:02:54 -0000 Pieter de Goeje wrote: > On Saturday 02 June 2007, Jeremy Gransden wrote: >> Hello, >> >> I have been searching Google for a few days for this but have not been >> coming up with the correct answer. Then again maybe I am asking the wrong >> question... If I start a process, i.e. compile a kernel, on my desktop, how >> can I then connect to it from my laptop and see the output of that process >> via the ssh session? >> >> thanks, >> Jeremy > screen(1) is the tool for this. You can find it in the ports collection > (sysutils/screen). > > For example: > $ screen > $ cd /usr/src; sudo make buildworld > (now press CTRL+A D) > > On the other machine, ssh into the desktop > $ screen -r > (press CTRL+A D if you've seen enough) > > Also, this will protect the running job from accidental (or purposefully) > closure of the terminal. Wow, always thought of learning how to learn this "magic". Thanks for sharing this wonderful tip! Thanking you... FreeBSD Rocks! > > HTH, > Pieter de Goeje > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > >