zsh-users
 help / color / mirror / code / Atom feed
* zsh version and echo -n
@ 1996-02-16 20:53 Chris Dean
  1996-02-16 21:07 ` Zefram
  1996-02-18  4:15 ` matthew s messner
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Dean @ 1996-02-16 20:53 UTC (permalink / raw)
  To: zsh-users


I'm a new user to zsh and was wondering what version I should be
using.  I am currently using zsh 2.5.03 on Solaris 2.4.  

Using this version, "echo -n foo" doesn't work as expected.  I
expected echo -n to print without a newline, instead nothing is
printed:

        zen% echo foo
        foo
        zen% echo -n foo
        zen% 

Is it worth moving to the current Beta?  Is it stable enough for every
day use?

Thanks,
Chris Dean


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

* Re: zsh version and echo -n
  1996-02-16 20:53 zsh version and echo -n Chris Dean
@ 1996-02-16 21:07 ` Zefram
  1996-02-18  4:15 ` matthew s messner
  1 sibling, 0 replies; 3+ messages in thread
From: Zefram @ 1996-02-16 21:07 UTC (permalink / raw)
  To: Chris Dean; +Cc: zsh-users

>Using this version, "echo -n foo" doesn't work as expected.  I
>expected echo -n to print without a newline, instead nothing is
>printed:
>
>        zen% echo foo
>        foo
>        zen% echo -n foo
>        zen% 

Try "setopt nopromptcr".  This is a feature, not a bug.  (Try "echo -n
foo; echo bar".);

>Is it worth moving to the current Beta?  Is it stable enough for every
>day use?

The latest beta, 2.6-beta13, has a couple of annoying display bugs in
ZLE, but it's stable.  It's more stable than 2.5.03.  You might want to
move to beta12.

-zefram


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

* Re: zsh version and echo -n
  1996-02-16 20:53 zsh version and echo -n Chris Dean
  1996-02-16 21:07 ` Zefram
@ 1996-02-18  4:15 ` matthew s messner
  1 sibling, 0 replies; 3+ messages in thread
From: matthew s messner @ 1996-02-18  4:15 UTC (permalink / raw)
  To: zsh-users; +Cc: Chris Dean


On Fri, 16 Feb 1996, Chris Dean wrote:

> Using this version, "echo -n foo" doesn't work as expected.  I
> expected echo -n to print without a newline, instead nothing is
> printed:
> 
>         zen% echo foo
>         foo
>         zen% echo -n foo
>         zen% 
> 

i had this "problem" once before myself.  i believe it is your
prompt that is masking the output.  for example:

          Trout-871:~> echo -n foo                      p0 02/17/96 23:11
          Trout-872:~> echo -n foo; echo                p0 02/17/96 23:11
          foo
          Trout-873:~> echo -n foo; notacommand         p0 02/17/96 23:11
          foozsh: command not found: notacommand
          Trout-874:~> bob=`echo -n foo`                p0 02/17/96 23:11
          Trout-875:~> echo $bob                        p0 02/17/96 23:11
          foo
          Trout-876:~>

please pardon my excessive prompt.

sync'pely,
-s


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

end of thread, other threads:[~1996-02-18  4:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-16 20:53 zsh version and echo -n Chris Dean
1996-02-16 21:07 ` Zefram
1996-02-18  4:15 ` matthew s messner

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