zsh-workers
 help / color / mirror / code / Atom feed
* new line
@ 2003-10-07 13:57 Alexey Savelyev
  2003-10-07 14:27 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Savelyev @ 2003-10-07 13:57 UTC (permalink / raw)
  To: zsh-workers


[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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: new line
  2003-10-07 13:57 new line Alexey Savelyev
@ 2003-10-07 14:27 ` Peter Stephenson
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Stephenson @ 2003-10-07 14:27 UTC (permalink / raw)
  To: Alexey Savelyev; +Cc: zsh-workers

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@csr.com>                  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.
**********************************************************************


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-07 14:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-07 13:57 new line Alexey Savelyev
2003-10-07 14:27 ` Peter Stephenson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).