From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29783 invoked by alias); 24 Mar 2015 00:54:53 -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: 34771 Received: (qmail 26450 invoked from network); 24 Mar 2015 00:54:51 -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.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=ml+zTv+mf0QtQerFkv6y3GYkCstdxB5CQ0o/SD4OnPg=; b=VFeNS6XCNNsHAJULoeba6ao9WmFINKFa5XYb02oCDu19N98wWP3s5KYYo31Z2fe96m zr5be+ls4/JIgJCNdbODaMrTn4flPmVNZGbhGiSVduFDf1Ikqf+hoSLz3jZAHHahlr8n BKn3lG7M9wSRSGaLhH4mVEMXh1XmTQpoPWpww4lCeKrSJhjtAGjZy6zw7Aflxe+klG5K BVIMo0P7gAosHxmNGyCHvdJuvi2fzHsmc7gQc7gJW7L6u2eEy58jO5WuZOK1hZ7Jfhmu q3dWuaRYdl62RA91hXsW6N9aw+Y2rtFjfGL9tz5QrUXguKywuR6QM39vfFqZsLH7ngmu U9TA== X-Gm-Message-State: ALoCoQm1ACm/cnDVxBIs23lyX2zZUjVFH3FwzWFp6ZiLGw7/zObJyuDFQtwAi0//rbUIHA+pXKxX X-Received: by 10.202.98.197 with SMTP id w188mr1367362oib.6.1427158488046; Mon, 23 Mar 2015 17:54:48 -0700 (PDT) From: Bart Schaefer Message-Id: <150323175445.ZM32519@torch.brasslantern.com> Date: Mon, 23 Mar 2015 17:54:45 -0700 In-Reply-To: <20150323213426.21fd79c8@ntlworld.com> Comments: In reply to Peter Stephenson "Re: capturing output of !! not working" (Mar 23, 9:34pm) References: <20150319105716.620cd931@pwslap01u.europe.root.pri> <20150319125351.1e270c2d@pwslap01u.europe.root.pri> <20150320105703.2754b6af@pwslap01u.europe.root.pri> <150320090420.ZM21908@torch.brasslantern.com> <20150322183556.1fa0f143@ntlworld.com> <150322162235.ZM1728@torch.brasslantern.com> <20150323213426.21fd79c8@ntlworld.com> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: Testing interactive features (Re: capturing output of !! not working) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 23, 9:34pm, Peter Stephenson wrote: } Subject: Re: capturing output of !! not working } } Bart Schaefer wrote: } > Here's a test, which I have dropped in the previously-unused "W" } > category for "builtin interactive commands and constructs". If that } > doesn't seem correct, rename to D10history. } } Looks fine. I'll try to expand it when it appears. Since writing it, I noticed that history aggressively directs output to /dev/tty. I haven't come up with any way to suppress that, and if you run it without a tty the stderr pattern does not match. However, that's not the only test that has problems if there is no tty: *************** *** 0 **** --- 1,3 ---- + not interactive and can't open terminal + not interactive and can't open terminal + not interactive and can't open terminal Test ../../zsh-5.0/Test/X02zlevi.ztst failed: error output differs from expected as shown above for: zpty_run 'bindkey -r "\e~"' zletest $'\e' $'~aI\e' $'~o\e' \~ Was testing: swap case on a blank line I'm surprised that hasn't come up in anyone's automated build system yet.