From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21330 invoked by alias); 24 Apr 2016 19:07:12 -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: 38329 Received: (qmail 1837 invoked from network); 24 Apr 2016 19:07:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Originating-IP: [86.21.161.213] X-Spam: 0 X-Authority: v=2.1 cv=OPvapnuB c=1 sm=1 tr=0 a=oo3MgO7t/4XyXFuSzI3dDQ==:117 a=oo3MgO7t/4XyXFuSzI3dDQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=8Rk-lOSDSn6s5fzMmG8A:9 a=CjuIK1q_8ugA:10 Date: Sun, 24 Apr 2016 20:01:32 +0100 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Possible ZSH bug with IO direction Message-ID: <20160424200132.7d0d00bc@ntlworld.com> In-Reply-To: <160424113644.ZM3576@torch.brasslantern.com> References: <571BBF3C.50402@matrix.ai> <160423151436.ZM6912@torch.brasslantern.com> <20160424131748.441d605f@pwslap01u.europe.root.pri> <160424113644.ZM3576@torch.brasslantern.com> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 24 Apr 2016 11:36:44 -0700 Bart Schaefer wrote: > On Apr 24, 1:17pm, Peter Stephenson wrote: > } > } Mounting the filesystem within Cygwin as binary works here. > > Really? That contradicts what the main.c comment asserts. So it seems like "binary" isn't quite what it's cracked up to be. The alternative might be to do something similar in the lower levels of zsh, i.e. map \r\n to \n when reading shell input. If done in input.c it's no worse than doing it in the OS abstraction, and doesn't affect fd's used by othe programmes. pws