From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16137 invoked from network); 29 Mar 2004 10:54:09 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 29 Mar 2004 10:54:09 -0000 Received: (qmail 26635 invoked by alias); 29 Mar 2004 10:53:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7292 Received: (qmail 26622 invoked from network); 29 Mar 2004 10:53:48 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 29 Mar 2004 10:53:48 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.225.247.86] by sunsite.dk (MessageWall 1.0.8) with SMTP; 29 Mar 2004 10:53:48 -0000 Received: (qmail 8020 invoked from network); 29 Mar 2004 10:53:48 -0000 Received: from main.gmane.org (80.91.224.249) by a.mx.sunsite.dk with SMTP; 29 Mar 2004 10:53:46 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1B7uOn-0002d0-00 for ; Mon, 29 Mar 2004 12:53:45 +0200 Received: from cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com ([80.3.247.194]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Mar 2004 12:53:45 +0200 Received: from david by cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Mar 2004 12:53:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@sunsite.dk From: zzapper Subject: Re: zsh and line breaks Date: Mon, 29 Mar 2004 11:53:39 +0100 Message-ID: <1vvf60l9i7n4nlobcroik2le5ofe6v2rn4@4ax.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-oxfd4-4-0-cust194.oxfd.cable.ntl.com X-Newsreader: Forte Free Agent 1.93/32.576 English (American) Sender: news X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: * X-Spam-Status: No, hits=1.5 required=6.0 tests=RCVD_IN_SORBS autolearn=no version=2.63 X-Spam-Hits: 1.5 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. I haven't seen an explanation for this zzapper (vim, cygwin, wiki & zsh) -- vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?" http://www.vim.org/tips/tip.php?tip_id=305 Best of Vim Tips