From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14104 invoked by alias); 4 Nov 2014 15:57:34 -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: 33599 Received: (qmail 17612 invoked from network); 4 Nov 2014 15:57:29 -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.5 required=5.0 tests=BAYES_00,RCVD_IN_BRBL_LASTEXT, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-Biglobe-Sender: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Test failures on MacOS with latest pull from git From: "Jun T." In-Reply-To: <141103101835.ZM31940@torch.brasslantern.com> Date: Tue, 4 Nov 2014 23:59:41 +0900 Content-Transfer-Encoding: 7bit Message-Id: <66F59275-AF1C-40B7-82B2-535B538829A7@kba.biglobe.ne.jp> References: <141103101835.ZM31940@torch.brasslantern.com> To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.1878.6) X-Biglobe-Spnum: 52092 2014/11/04 03:18, Bart Schaefer wrote: > That's a good hypothesis, but a little strange because the zsh that > starts up on the pty ought to be resetting that (just as one starting > in a terminal window would). Yes, the slave zsh should set up the slave tty properly when it starts. But Zle would change the tty mode between canonical and non-canonical modes back and forth. It seems the slave tty is still in the canonical mode when it should not be (i.e., when reading the command line character by character). But I don't know why this happens only with BSD-based pty. Currently I have no time to go into any more detail, but I must say I would not be able to get any real fix even if I have enough time. The following is another possible workaround (X02zlevi.ztst need not be patched if this patch is used). Jun diff --git a/Test/comptest b/Test/comptest index 4655f3b..b6256cc 100644 --- a/Test/comptest +++ b/Test/comptest @@ -34,7 +34,7 @@ comptestinit () { "fpath=( $fpath )" \ "bindkey -$comptest_keymap" \ 'LISTMAX=10000000 -stty 38400 columns 80 rows 24 +stty 38400 columns 80 rows 24 werase undef TERM=vt100 setopt zle autoload -U compinit