zsh-workers
 help / color / mirror / code / Atom feed
* Re: ZSH's future - POSIX
@ 1995-10-27  8:20 Geoff Wing
  0 siblings, 0 replies; 3+ messages in thread
From: Geoff Wing @ 1995-10-27  8:20 UTC (permalink / raw)
  To: zsh-list

:>> Zoltan Hidvegi(Z) wrote:
:>> The code should conform to the IEEE POSIX 1003.1 standard and to
:>> the proposed ANSI-C standard so that it should be portable to all
:>> such
:Z> Thanks to Richard, zsh is one of the most portable program I've
:Z> ever seen.  I think ksh could'n beat it.
:Yes, I agree. Richard should take a bow here ;-).
	
I seem to remember there was a problem with some of the stat() and associated
stuff.  Mainly because POSIX doesn't support all the S_I*() stuff used.
There would need to be a large rewrite of one part of code to make it fully
POSIX compatible.  One really big drawback with POSIX compatibility is its
lack of support for things like symbolic-links, sockets, etc.
-- 
Mason [G.C.W]  mason@werple.mira.net.au    "Hurt...Agony...Pain...LOVE-IT"


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

* Re: ZSH's future - POSIX
  1995-10-27  8:16 ` ZSH's future - POSIX Geoff Wing
@ 1995-10-27 22:53   ` Richard Coleman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Coleman @ 1995-10-27 22:53 UTC (permalink / raw)
  To: zsh-workers

> > The code should conform to the IEEE POSIX 1003.1 standard and to
> > the proposed ANSI-C standard so that it should be portable to all
> > such
> 	
> I seem to remember there was a problem with some of the stat() and associated
> stuff.  Mainly because POSIX doesn't support all the S_I*() stuff used.
> There would need to be a large rewrite of one part of code to make it fully
> POSIX compatible.  One really big drawback with POSIX compatibility is its
> lack of support for things like symbolic-links, sockets, etc.

There are two notions of POSIX compatibility here.

The first is whether the code itself uses only POSIX features.  Zsh is
fairly good in this respect.  This was one of the reasons I rewrote the
signals code a while back.  But I don't think zsh would compile in a strict
POSIX environment.  Most of the problems would probably be because zsh
assumes the existentence of things not covered in the POSIX standard,
but available on most all unix machines (such as symbolic links).
This could probably be easily fixed if necessary, but I don't really
see the need for this.  If every vendor supports a feature, then it is
standard enough for me.  The goal after all is portability.

The second is whether zsh comforms to the POSIX standard concerning
shell syntax.  I believe this was what the ksh literature for ksh93
was referring to.  I believe ksh93 is supposed to be a conforming
superset of the POSIX shell standard.  I assume that zsh doesn't
conform to this standard.  It might be worth investigating what
parts of zsh don't conform.

rc






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

* Re: ZSH's future - POSIX
  1995-10-26 22:44 ZSH's future [longish] ? Mark Borges
@ 1995-10-27  8:16 ` Geoff Wing
  1995-10-27 22:53   ` Richard Coleman
  0 siblings, 1 reply; 3+ messages in thread
From: Geoff Wing @ 1995-10-27  8:16 UTC (permalink / raw)
  To: Mark Borges

:>> Zoltan Hidvegi(Z) wrote:
:>> The code should conform to the IEEE POSIX 1003.1 standard and to
:>> the proposed ANSI-C standard so that it should be portable to all
:>> such
:Z> Thanks to Richard, zsh is one of the most portable program I've
:Z> ever seen.  I think ksh could'n beat it.
:Yes, I agree. Richard should take a bow here ;-).
	
I seem to remember there was a problem with some of the stat() and associated
stuff.  Mainly because POSIX doesn't support all the S_I*() stuff used.
There would need to be a large rewrite of one part of code to make it fully
POSIX compatible.  One really big drawback with POSIX compatibility is its
lack of support for things like symbolic-links, sockets, etc.
-- 
Mason [G.C.W]  mason@werple.mira.net.au    "Hurt...Agony...Pain...LOVE-IT"


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

end of thread, other threads:[~1995-10-27 23:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-10-27  8:20 ZSH's future - POSIX Geoff Wing
  -- strict thread matches above, loose matches on Subject: below --
1995-10-26 22:44 ZSH's future [longish] ? Mark Borges
1995-10-27  8:16 ` ZSH's future - POSIX Geoff Wing
1995-10-27 22:53   ` Richard Coleman

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