zsh-workers
 help / color / mirror / code / Atom feed
* PS1 covers output of previous program
@ 2000-02-01 23:56 Michal Kuratczyk
  2000-02-02  3:38 ` Dan Nelson
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Kuratczyk @ 2000-02-01 23:56 UTC (permalink / raw)
  To: zsh-workers

Hi,

Is this bug or feature that PS1 covers the text before?

~ % echo -n "foo"
~ %

In bash, tcsh and pdksh the second line would look like this:
foo~ %

-- 
Michał 'kura' Kuratczyk <kura@pld.org.pl>
GC{S,M} d- s+:+ a18 C+++ UL++ L+++ E--- W
P- N++ w-- O- t--- X+ b- DI+ e- h* r++ y?


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

* Re: PS1 covers output of previous program
  2000-02-01 23:56 PS1 covers output of previous program Michal Kuratczyk
@ 2000-02-02  3:38 ` Dan Nelson
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Nelson @ 2000-02-02  3:38 UTC (permalink / raw)
  To: zsh-workers

In the last episode (Feb 02), Michal Kuratczyk said:
> Is this bug or feature that PS1 covers the text before?
> 
> ~ % echo -n "foo"
> ~ %
> 
> In bash, tcsh and pdksh the second line would look like this:
> foo~ %

Feature.  It's required so that zsh's enhanced commandline editor works
right.  Without it, zsh doesn't know what column the cursor is on, and
can't set RPROMPT right.  To disable, "setopt nopromptcr".

-- 
	Dan Nelson
	dnelson@emsphone.com


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

end of thread, other threads:[~2000-02-02  3:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-01 23:56 PS1 covers output of previous program Michal Kuratczyk
2000-02-02  3:38 ` Dan Nelson

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).