From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25519 invoked from network); 30 Mar 2004 18:52:30 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 30 Mar 2004 18:52:30 -0000 Received: (qmail 23629 invoked by alias); 30 Mar 2004 18:52:02 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7302 Received: (qmail 23617 invoked from network); 30 Mar 2004 18:52:01 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 30 Mar 2004 18:52:01 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 30 Mar 2004 18:52:1 -0000 Received: (qmail 3300 invoked from network); 30 Mar 2004 18:52:00 -0000 Received: from ip-66-80-62-153.dsl.sca.megapath.net (HELO ripple.fruitbat.org) (66.80.62.153) by a.mx.sunsite.dk with SMTP; 30 Mar 2004 18:51:58 -0000 Received: (from daemon@localhost) by ripple.fruitbat.org (8.10.2/8.8.8/PAC-1.3) id i2UInoH24563; Tue, 30 Mar 2004 10:49:50 -0800 Received: from ming.fruitbat.org(192.168.1.2) by ripple.fruitbat.org via smap (V2.1/2.1+anti-relay+anti-spam) id xma024561; Tue, 30 Mar 04 10:49:47 -0800 Received: from gremlin.fruitbat.org (IDENT:202@gremlin.fruitbat.org [192.168.1.4]) by ming.fruitbat.org (8.10.2/8.10.2/PAC-1.6) with ESMTP id i2UJkci10435; Tue, 30 Mar 2004 11:46:38 -0800 Date: Tue, 30 Mar 2004 10:46:43 -0800 (PST) From: "Peter A. Castro" To: zzapper cc: zsh-users@sunsite.dk, cygwin@cygwin.com Subject: Re: zsh and line breaks In-Reply-To: Message-ID: References: <1vvf60l9i7n4nlobcroik2le5ofe6v2rn4@4ax.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=0.0 required=6.0 tests=none autolearn=no version=2.63 X-Spam-Hits: 0.0 On Tue, 30 Mar 2004, zzapper wrote: > On Mon, 29 Mar 2004 14:46:15 -0800 (PST), wrote: > > >On Mon, 29 Mar 2004, zzapper wrote: > > > >> On Wed, 24 Mar 2004 18:16:00 +0100, wrote: > >> > >> >I'm having some trouble with zsh (4.0.6) and line breaks. It seems that > >> >it does not accept "\n" as a line break. This results in some > >> >uncomfortableness when using it as a login shell, such as this output > >> >from Emacs: > >> > > >> >[bkhl@ackusativ ~/kurser/vt04/lp1/lab1]% latex \\nonstopmode\\input rapport.tex > >> >latex \\nonstopmode\\input rapport.tex\n > >> > > >> >Apparently, zsh is not interpreting \n as EOL. > >> > > >> >Is there some setting that might fix this? > >> > >> I run zsh on Cygwin, unlike bash zsh gets very upset if it sees dos > >> returns. I have to run dos2unix on my zsh scripts. > >> > One thing, are you running your scripts off of a text or binary mount > filesystem? And, are you running in DOS or Unix mode? I'll need to > know which combinations don't work. > > > Where fred has a few empty lines and an echo "hello" > fred.sh > fred > fred.sh:2: command not found: ^M > fred.sh:3: command not found: ^M > fred.sh:4: command not found: ^M > fred > fred.sh:5: command not found: ^M > > >mount > C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type > system (binmode) > C:\Cygwin\bin on /usr/bin type system (binmode) > C:\Cygwin\lib on /usr/lib type system (binmode) > C:\Cygwin on / type system (binmode) > type user (binmode) > c: on /c type user (binmode) Ok, so you're using all bin mounts. I'll check into this and report back. > zzapper (vim, cygwin, wiki & zsh) -- Peter A. Castro or "Cats are just autistic Dogs" -- Dr. Tony Attwood