Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: new line
- X-seq: zsh-workers 19173
- From: Peter Stephenson <pws@xxxxxxx>
- To: Alexey Savelyev <i@xxxxxxxxxxxx>
- Subject: Re: new line
- Date: Tue, 07 Oct 2003 15:27:35 +0100
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: "Alexey Savelyev"'s message of "Tue, 07 Oct 2003 16:57:04 +0300." <3F82C630.2010008@xxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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 <pws@xxxxxxx> 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.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author