From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8274 invoked from network); 15 May 2008 16:37:02 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 15 May 2008 16:37:02 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 97321 invoked from network); 15 May 2008 16:36:57 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 15 May 2008 16:36:57 -0000 Received: (qmail 18671 invoked by alias); 15 May 2008 16:36:54 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25042 Received: (qmail 18658 invoked from network); 15 May 2008 16:36:53 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 15 May 2008 16:36:53 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [217.69.20.190]) by bifrost.dotsrc.org (Postfix) with ESMTP id 5DD9380589A4 for ; Thu, 15 May 2008 18:36:48 +0200 (CEST) Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly47d.srv.mailcontrol.com (MailControl) with ESMTP id m4FGaXOH015954 for ; Thu, 15 May 2008 17:36:47 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Thu, 15 May 2008 17:36:36 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.2/8.13.4) with ESMTP id m4FGaaFx019103 for ; Thu, 15 May 2008 17:36:36 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id m4FGaaVG019100 for ; Thu, 15 May 2008 17:36:36 +0100 Message-Id: <200805151636.m4FGaaVG019100@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: * Re: zpty woes In-reply-to: <22C7A43F-E19E-451D-A980-E79140BF8B3A@mac.com> References: <34AE8142-F5DA-44FD-96BA-61BDE12BC74E@mac.com> <200805151318.m4FDIvKS015244@news01.csr.com> <20080515145054.GC5190@sc.homeunix.net> <22C7A43F-E19E-451D-A980-E79140BF8B3A@mac.com> Comments: In-reply-to Jaime Vargas message dated "Thu, 15 May 2008 12:25:44 -0400." Date: Thu, 15 May 2008 17:36:36 +0100 From: Peter Stephenson X-OriginalArrivalTime: 15 May 2008 16:36:36.0853 (UTC) FILETIME=[D7EEAA50:01C8B6A9] X-Scanned-By: MailControl A-08-50-03 (www.mailcontrol.com) on 10.68.0.157 X-Virus-Scanned: ClamAV 0.91.2/7129/Thu May 15 18:00:53 2008 on bifrost X-Virus-Status: Clean Jaime Vargas wrote: > Still doesn't work for me. Below is the modified script and the debug >... > I changed my credentials for security. Basically it now hangs waitng > for password and doesnt' do anything. -- Jaime I don't think it does... > +./zpty-test.zsh:16> result+='1> scp hello.world > '\''jvargas@aoma6000-4-9.aoma.rhbss.com:~/'\'' > > ' > +./zpty-test.zsh:14> zpty -r scppty line This is where it's asking for the password, and it hasn't hung. > +./zpty-test.zsh:14> zpty -r scppty line > > > ..... it waits forever here. At *this* point it will wait if it doesn't get a complete line because of my previous point. Try adding "*" (including quotes) to the end of the `zpty -r' command. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070