zsh-workers
 help / color / mirror / code / Atom feed
* BSD_ECHO
@ 1996-08-14 23:47 Zefram
  0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 1996-08-14 23:47 UTC (permalink / raw)
  To: Z Shell workers mailing list; +Cc: hzoli

|+ #ifdef SH_USE_BSD_ECHO
|      {"bsdecho", 		0,    0,    OPT_EMULATE|OPT_SH},
|+ #else
|+     {"bsdecho", 		0,    0,    0},
|+ #endif

There are two problems with this.  Firstly, BSD_ECHO should have the
OPT_EMULATE flag, regardless of its default state.  Secondly, as I've
said before, it's a really bad idea to try to emulate the native sh --
on some OSes, such as the one I'm using here, the results of the
configure test depend on what the installer's $PATH is set to.  I
suggest you revert this patch for the final final 3.0 release, or at
least add the OPT_EMULATE flag to the second case.

-zefram


^ permalink raw reply	[flat|nested] 2+ messages in thread
* Re: Final 3.0.0 test release
@ 1996-08-14 20:45 Richard Coleman
  1996-08-15  0:32 ` BSD_ECHO Zoltan Hidvegi
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Coleman @ 1996-08-14 20:45 UTC (permalink / raw)
  To: zsh-workers

> } I've put together the final 3.0.0 release but before I release it I'd like
> } some other people to try it.
> 
> I still object to having a configure test for the default behavior of
> BSD_ECHO when run as "sh".  This should NOT be something that varies
> from one installation to the next!
> 
> For one thing, people who already have an older version of zsh linked
> to sh will end up with the same (possibly wrong) behavior that they had
> before.
> 
> For another, it breaks the whole notion of being able to rely on the
> consistent behavior of the shell following "emulate -R ...".

I completely agree...

The options for zsh when called as sh, should not depend on
your current configuration.  It is especially bad for us sysadmins
who work on heterogenous environments.... I don't want zsh working
one way on one machine, and another way on another machine.

One of the reasons people install third party shells is to get
consistency across their various platforms.

rc


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

end of thread, other threads:[~1996-08-15  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-08-14 23:47 BSD_ECHO Zefram
  -- strict thread matches above, loose matches on Subject: below --
1996-08-14 20:45 Final 3.0.0 test release Richard Coleman
1996-08-15  0:32 ` BSD_ECHO Zoltan Hidvegi

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