🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #63073

Re: NNTP and YENC

#63073
From: Claus Färber
Date: Mon, 13 Jan 2003 20:08
44 lines
3231 bytes
Frank Slootweg <franks@neth.hp.com> schrieb/wrote:
>   No, it does not define an operating system, but, *as you have quoted*,
> it defines an operating system *interface*! That is a big difference!

Well, the *only* difference here is that if I say "operating system" you
can intentionally misunderstand it in order to avoid to see the point of
the whole discussion... even if it was clear that "operating system" was
used by me as a shorthand for "os environment".

>   So the *interface* and the *utility programs* (i.e. sed/grep in this
> case), are POSIX conformant/standard/compatible/<whatever>, but the
> *underlying operating system* is *not* *neccessarily* POSIX conformant/

And this is where you are wrong: The POSIX standard only defines these
utility programmes as *part* *of* *the* standardised *os* *environment*,
not on themselves. So it says that systems that claim POSIX conformance
(and only those) must have utilities named 'sed' and 'grep' that behave
as specified.

It does not say that any utility named 'sed' or 'grep' must behave in a
compliant way. (Nor could it; that's simply out of scope for the POSIX
specification.)

If you want to have 'sed' and 'grep' on "non-POSIX" systems like
Windows, there are actually two possibilities:

* Implement a full POSIX environment. This enables you to run software
  designed for POSIX environments but you can't use utilities from that
  environment to handle files on the same system that don't follow POSIX
  conventions.
* Port the tools to local conventions, i.e. change the behaviour of the
  utilities so that they can handle files on the same system.

There's nothing wrong with either approach; they just fulfill different  
needs.
Cygwin tries to do both by being just enough POSIX-compliant to run
(most) programmes desgined for a POSIX environment and not so POSIX-
compliant that the utilities would not work with local files.

Claus
-- 
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Technical Details
Message-ID: <8dm3vz8ocDD@3247.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!news-mue1.dfn.de!news-nue1.dfn.de!uni-erlangen.de!lmu.de!news.muc.de!faerber.muc.de!claus
References: <BXLR9.432835$pN3.48082@sccrnsc03> <20030104215829.905$Rh@newsreader.com> <j8TR9.568229$WL3.160487@rwcrnsc54> <avc1qb$or1$1@support.neth.hp.com> <8dNZce3ZcDD@3247.org> <aveac2$at3$3@support.neth.hp.com> <8dZhBbs3cDD@3247.org> <avk7bk$qfm$1@support.neth.hp.com> <8d$RsTMocDD@3247.org> <avue8c$t7m$1@support.neth.hp.com>

Show Full Headers
Complete Article Headers
Message-ID: <8dm3vz8ocDD@3247.org>
Subject: Re: NNTP and YENC
Date: Mon, 13 Jan 2003 20:08:00 +0000
From: claus-usenet-20030113@faerber.muc.de (Claus Färber)
References: <BXLR9.432835$pN3.48082@sccrnsc03> <20030104215829.905$Rh@newsreader.com> <j8TR9.568229$WL3.160487@rwcrnsc54> <avc1qb$or1$1@support.neth.hp.com> <8dNZce3ZcDD@3247.org> <aveac2$at3$3@support.neth.hp.com> <8dZhBbs3cDD@3247.org> <avk7bk$qfm$1@support.neth.hp.com> <8d$RsTMocDD@3247.org> <avue8c$t7m$1@support.neth.hp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.vmunix.org!news-mue1.dfn.de!news-nue1.dfn.de!uni-erlangen.de!lmu.de!news.muc.de!faerber.muc.de!claus
Newsgroups: news.software.nntp
User-Agent: OpenXP/32 v3.9.3 (Win32) alpha @ 2003-01-13-2006d
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Organization: NOYB
Lines: 43