From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28734 invoked by alias); 5 Oct 2014 20:40:33 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33361 Received: (qmail 28971 invoked from network); 5 Oct 2014 20:40:31 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fZ9exuV7G9/6OuQcjxket/pnzDJSHPgWtD5ecjSoeYY=; b=TXdPnPCSbwNnMfrnHjNBROuPLIUqpP1G2ysZZYbw+6AeaegdYgypJ7dxLK7lMmSye8 justOGLlAJLS/N4vAS2AXt7fiIZ8Tci39UlB6qo6DMYT8JusX+GoRHz44+PUi8K67VEw KekxBRfQ3zDcIqqURobU59Ooxa2FcmhIHM5rASyx99hjaaD8XYgUxF+1V67OqUQavelT KgxGtIkQ89k3ueOqLRT3t/ZNzBsWzynWooXxVACUR6VSVtHLNcCtzYOtMKOIeNrbUC81 Upuy6wF3d81UDiSyQazMLTekB++7YqLrC13pPWJtbaqArhz06hVObImo8xGj87gqkE9C RtMg== MIME-Version: 1.0 X-Received: by 10.42.205.19 with SMTP id fo19mr23929235icb.52.1412541624743; Sun, 05 Oct 2014 13:40:24 -0700 (PDT) In-Reply-To: <141005100453.ZM16753@torch.brasslantern.com> References: <1412259225.3798.0@numa-i> <141003082330.ZM15100__40912.263657856$1412349949$gmane$org@torch.brasslantern.com> <87mw9bu94f.fsf@gmail.com> <141005100453.ZM16753@torch.brasslantern.com> Date: Sun, 5 Oct 2014 22:40:24 +0200 Message-ID: Subject: Re: piping question From: Mikael Magnusson To: Bart Schaefer Cc: zsh workers Content-Type: text/plain; charset=UTF-8 On 5 October 2014 19:04, Bart Schaefer wrote: > On Oct 5, 2:17pm, Mikael Magnusson wrote: > } Subject: Re: piping question > } > } On 4 October 2014 17:50, Christian Neukirchen wrote: > } > Bart Schaefer writes: > } > > } >> On Oct 3, 4:42pm, Mikael Magnusson wrote: > } >> } > } >> } echo hi there | { xterm -e 'most <& 7' 7< <(cat) } > } >> > } >> I avoided that because I was concerned that some terminal emulators > } >> would close all the descriptors above 2 when launching the command. > } > > } > Unfortunately, all these hacks don't work with urxvt. If anyone has an > } > idea how to do it, I'd like to see. > } > } It works fine for me > > > Curious. It does NOT work for me -- rxvt v2.6.4 on ubuntu 12.04.5 -- > and "strace -ff" shows rxvt closing file descriptors from 3 through > something over 300 (I got tired of watching the output scroll by). These days urxvt hardly shares any code with rxvt, the fork happened over ten years ago. -- Mikael Magnusson