home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: karish@mindcraft.com (Chuck Karish)
-
- In article <1991Jul23.065617.20086@uunet.uu.net> brnstnd@KRAMDEN.ACF.NYU.EDU
- (Dan Bernstein) writes:
- >karish@mindcraft.com (Chuck Karish) writes:
-
- >I like to think that if POSIX hadn't tried to standardize
- >job control, some vendors would have implemented my model, some programs
- >would have been written to use it, and eventually the sheer simplicity
- >of the interface would win most vendors and programmers over within five
- >or ten years.
- >And you, Chuck, tell me that this is how it should be.
-
- Sorry, Dan. No more straight lines from me. You'll have to
- provide your own soapbox.
-
- >I consider every solution to this problem to be a poor
- >candidate for standardization, because (drum roll):
- >
- > The Market Hath Not Chosen A Solution.
- > The Market Hath Hardly Even Considered The Problem.
- >
- >Can you name a single vendor which has a solution to the problem of a
- >secure path for installed utilities? I'm listening.
-
- The 1003.2 committee doesn't even see the same problem that
- Dan Bernstein does. _CS_PATH is there for usability, not
- for security.
-
- Market forces tend to cause divergence on many technical
- points, rather than agreement. UNIX systems have been able
- to stay reasonably compatible through the years because of
- a lack of market forces in shaping the basic system: AT&T
- owned it and sold it at reasonable rates with few restrictions.
- Over the last four years competition has splintered the
- market for UNIX-based workstations.
-
- >> There's a simple fix that makes [getconf-using] scripts work: install
- >> getconf.
- >
- >But that requires work on the part of *everyone* who wants to use the
- >script!
-
- Not everyone; just every system administrator who wants to
- run new software on an obsolete operating system. Good
- scripts will be written to work properly with or without
- getconf, anyway.
-
- >> The issue of script portability is something of a red herring,
- >> because it has never been possible to write really portable
- >> scripts.
- >
- >Uh, say what? People *do* write scripts all the time which work on lots
- >of systems; Configure is a supreme example, but nearly every script is
- >portable to similar machines.
-
- If they require "similar machines", what does "portable" mean?
- UNIX utilities vary quite a bit in syntax, return status, and
- undocumented internal limits. The goal of POSIX.2 is to get
- rid of a lot of these pitfalls. getconf is there to make
- visible those differences that aren't to be eliminated.
-
- "Configure" is a particularly ironic example, because it makes
- inferences about the host that don't always stand up on
- machines that have multiple universes or lots of compatibility
- features. It has unbounded potential (and need) for increase
- in complexity as it's developed to handle new environments.
- That is exactly why standards are needed. getconf is intended
- to provide definitive answers to some of the questions that
- Configure has to guess about.
-
- Configure could be used to write an implementation of getconf
- for an OS that fits its preconceptions.
-
- >> getconf, sysconf(), pathconf() and fpathconf() exist to make it
- >> possible to allow programs to make full use of system
- >> capabilities without being re-compiled for differently-
- >> configured members of a binary-compatible family and without
- >> being crippled down to a lowest common denominator.
- >
- >Here's your unstated assumption again: that the standard *has* to
- >provide some way to do anything that systems code might want to do.
- >Why?
-
- Hyperbole aside (though I'm sure you could implement job
- control from the POSIX.2 shell, Dan ;-), it's because software
- developers and end users want software that doesn't have to be
- hacked every time they want to run it on a new platform.
-
- >Why is this sort of invention better than letting the market come
- >to a consensus on each feature first?
-
- There's no way to unbundle the features so that market feedback
- on each individual feature can be meaningful. "The Market"
- seems to be demanding shrink-wrap software for workstations.
- This sort of standardization helps make that possible.
- --
-
- Chuck Karish karish@mindcraft.com
- Mindcraft, Inc. (415) 323-9000
-
-
- [ Moderator's note: The previous message, by Peter da Silva, went out with
- the wrong number. It should have been Volume 24, Number 62. I apologise
- for the error -- mod ]
-
- Volume-Number: Volume 24, Number 63
-
-