zsh-workers
 help / color / mirror / code / Atom feed
* zsh overwrites non-newline-terminated output?
@ 1999-04-23 17:40 Jon McAuliffe
  1999-04-24 17:51 ` Jos Backus
  0 siblings, 1 reply; 4+ messages in thread
From: Jon McAuliffe @ 1999-04-23 17:40 UTC (permalink / raw)
  To: zsh-workers; +Cc: jonm


i read the FAQ and manpage but could not determine how to adjust the following
behavior:


host:~/work [15] /bin/zsh
host:~/work [1] echo -n fafa
host:~/work [2] exit

host:~/work [16] /bin/sh
$ echo -n fafa
fafa$ exit

host:~/work [17] /bin/bash
bash$ echo -n fafa
fafabash$ exit

host:~/work [18] /bin/csh
csh% echo -n fafa
fafacsh% exit

host:~/work [19] /usr/local/bin/tcsh
host:~/work [2] echo -n fafa
fafahost:~/work [3] exit


how do i tell zsh not to overwrite the output? please email replies to me
directly, as i am not a member of this list.

thanks
jon.



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

* Re: zsh overwrites non-newline-terminated output?
  1999-04-23 17:40 zsh overwrites non-newline-terminated output? Jon McAuliffe
@ 1999-04-24 17:51 ` Jos Backus
  1999-04-24 20:16   ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Jos Backus @ 1999-04-24 17:51 UTC (permalink / raw)
  To: Jon McAuliffe; +Cc: zsh-workers

On Fri, Apr 23, 1999 at 10:40:32AM -0700, Jon McAuliffe wrote:
> how do i tell zsh not to overwrite the output? please email replies to me
> directly, as i am not a member of this list.

setopt nopromptcr

> thanks
> jon.

This should really go into the FAQ :-) (I asked it a few weeks ago).

Cheers,
-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
Jos.Backus@nl.origin-it.com  _/_/  _/_/_/      use Std::Disclaimer;


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

* Re: zsh overwrites non-newline-terminated output?
  1999-04-24 17:51 ` Jos Backus
@ 1999-04-24 20:16   ` Bart Schaefer
  1999-04-24 20:26     ` Jos Backus
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 1999-04-24 20:16 UTC (permalink / raw)
  To: Jos Backus, Jon McAuliffe; +Cc: zsh-workers

On Apr 24,  7:51pm, Jos Backus wrote:
} Subject: Re: zsh overwrites non-newline-terminated output?
}
} On Fri, Apr 23, 1999 at 10:40:32AM -0700, Jon McAuliffe wrote:
} > how do i tell zsh not to overwrite the output?
} 
} setopt nopromptcr
} 
} This should really go into the FAQ :-) (I asked it a few weeks ago).

If it does go in the FAQ, it should include a note that RPROMPT (RPS1)
does not work correctly unless PROMPT (PS1) starts at far left.  Thus
if you use RPS1, you either need setopt promptcr, or you need a newline
in PS1 somewhere.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


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

* Re: zsh overwrites non-newline-terminated output?
  1999-04-24 20:16   ` Bart Schaefer
@ 1999-04-24 20:26     ` Jos Backus
  0 siblings, 0 replies; 4+ messages in thread
From: Jos Backus @ 1999-04-24 20:26 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: Jon McAuliffe, zsh-workers

On Sat, Apr 24, 1999 at 01:16:54PM -0700, Bart Schaefer wrote:
> If it does go in the FAQ, it should include a note that RPROMPT (RPS1)
> does not work correctly unless PROMPT (PS1) starts at far left.  Thus
> if you use RPS1, you either need setopt promptcr, or you need a newline
> in PS1 somewhere.

Excellent.

Cheers,
-- 
Jos Backus                          _/ _/_/_/  "Reliability means never
                                   _/ _/   _/   having to say you're sorry."
                                  _/ _/_/_/             -- D. J. Bernstein
                             _/  _/ _/    _/
Jos.Backus@nl.origin-it.com  _/_/  _/_/_/      use Std::Disclaimer;


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

end of thread, other threads:[~1999-04-24 20:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-04-23 17:40 zsh overwrites non-newline-terminated output? Jon McAuliffe
1999-04-24 17:51 ` Jos Backus
1999-04-24 20:16   ` Bart Schaefer
1999-04-24 20:26     ` Jos Backus

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