From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6596 invoked from network); 7 Oct 2003 14:32:25 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 7 Oct 2003 14:32:25 -0000 Received: (qmail 5939 invoked by alias); 7 Oct 2003 14:32:18 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 19173 Received: (qmail 5922 invoked from network); 7 Oct 2003 14:32:18 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 7 Oct 2003 14:32:18 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.189.183.235] by sunsite.dk (MessageWall 1.0.8) with SMTP; 7 Oct 2003 14:32:18 -0000 Received: from EXCHANGE02.csr.com (unverified) by MAILSWEEPER01.cambridgesiliconradio.com (Content Technologies SMTPRS 4.3.10) with ESMTP id ; Tue, 7 Oct 2003 15:26:16 +0100 Received: from csr.com ([192.168.144.127]) by EXCHANGE02.csr.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 7 Oct 2003 15:28:06 +0100 To: Alexey Savelyev cc: zsh-workers@sunsite.dk Subject: Re: new line In-reply-to: "Alexey Savelyev"'s message of "Tue, 07 Oct 2003 16:57:04 +0300." <3F82C630.2010008@sovic.com.ua> Date: Tue, 07 Oct 2003 15:27:35 +0100 Message-ID: <21511.1065536855@csr.com> From: Peter Stephenson X-OriginalArrivalTime: 07 Oct 2003 14:28:06.0062 (UTC) FILETIME=[3921D4E0:01C38CDF] Alexey Savelyev wrote: > > [root@Home]/root:perl -e 'print "ff\n"' > ff > [root@Home]/root:perl -e 'print "ff"' > [root@Home]/root: > > Am I doing anything wrong? > > in tcsh it work > > zsh 4.1.1-dev-1 You need to set the option NO_PROMPT_CR. This is explained in the FAQ: zsh usually prints a carriage return before the prompt, so that it knows where the screen line wraps. Long lines can't be edited properly otherwise and right prompts don't display in the same place. If you're not worried about either of those, you can safely setopt nopromptcr -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 692070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************