From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5576 invoked by alias); 12 Aug 2013 11:29:38 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17918 Received: (qmail 3595 invoked from network); 12 Aug 2013 11:29:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_NUMERIC_HELO,SPF_HELO_PASS autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at m.gmane.org designates 80.91.229.3 as permitted sender) X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Yuri D'Elia Subject: Re: Really into the backgroung... Date: Mon, 12 Aug 2013 13:29:10 +0200 Message-ID: References: <20130811124756.GA23837@solfire> <20130811134102.GA2688@blacky.xomit.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.106.183.18 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 In-Reply-To: On 08/11/2013 07:56 PM, Benjamin R. Haskell wrote: > The problem with `tmux`, `screen`, and `dtach` is that you have to use > it before your process is running. If you've forgotten to tmux- or > screen-ify the process beforehand, you might try `reptyr`³ (It "re-" > "pty"'s a program.) It's Linux-only, and uses ptrace(2) hackery to > attach a process running on a different pty to a new one. reptyr is awesome. Though a big limitation is that currently can only re-attach processes without children (which happens a lot more than one might expect).