From: nazgul@alphalpha.com (Kee Hinckley)
Subject: Re: Question for net.views column in UNIX Today!
Date: Tue, 21 Apr 92 15:33:39 GMT [thread overview]
Message-ID: <1992Apr21.153339.22615@alphalpha.com> (raw)
In-Reply-To: 1992Apr20.193758.1250@gateway.novell.com
[ I removed comp.unix.questions - long live the line eater.]
In article <1992Apr20.193758.1250@gateway.novell.com> terry@thisbe.Eng.Sandy.Novell.COM (Terry Lambert) writes:
>In article <1992Apr6.034323.27991@alphalpha.com>, nazgul@alphalpha.com (Kee Hinckley) writes:
>|> In article <1992Apr1.211848.21179@dsd.es.com> pmartz@bambam.dsd.es.com (Paul Martz) writes:
>|> >In article <1992Apr1.161010.11988@auto-trol.com>, marbru@auto-trol.com (Martin Brunecky) writes:
>|> >> The end user is tired of Unix promises. He wants stability, not
>|> >> a permanent revolution.
>|> >
>|> >The same thing could be said of the PC world. First CPM, then early
>|> >revs of DOS, then DOS 3.0 (finally something useable), DOS 5.0, the
>|> >Presentation Manager, now Windows NT... You call this stability?
>|> More stable than 15 different Unix platforms with 15 different sets
>|> of #ifdefs and 15 different install scripts and 15 different types
>|> of customer support questions, and in many cases even more stable
>|> than two sucessive releases on the same Unix platform.
>
> This is unfair:
>
> 1) DOS runs on only one platform
This is true, and makes the task of stability much easier, but that
doesn't excuse the instability found in Unix.
> 2) Most #ifdef's are a sign of poor programming if they are
> used for per-machine portability. This is generally not
> the case. #ifdef's generally refer to major architectural
> differences and refer to a class of machines rather than a
> single machine.
What would you propose we use instead?
long getTimeInSecs()
{
#if defined(AABSD) || defined(HP)
struct timeval tnow;
#if defined(sony)
tzset();
#endif
gettimeofday(&tnow, NULL);
return tnow.tv_sec;
#else
return time(NULL);
#endif
}
long getTZOffs(boolean dst) // return minutes west
{
#if defined(HP)
if (dst)
return (timezone/60) - 60;
else
return (timezone/60);
#else
#if defined(AABSD) || defined(IBM)
struct timeval junk;
struct timezone tz;
#if defined(sony)
tzset();
#endif
gettimeofday(&junk, &tz);
if (dst)
return tz.tz_minuteswest - 60;
else
return tz.tz_minuteswest;
#else /* SYS5 - I assume */
tzset();
if (dst)
return altzone/60;
else
return timezone/60;
#endif
#endif
}
int maxFileDescriptors()
{
#if defined(IBM) || defined(HP)
return NOFILE;
#else
#ifdef SYSV
//!! return v.v_nofiles;
return NOFILES_MAX;
#else
return getdtablesize();
#endif
#endif
}
int truncateFile( int fd, off_t len )
{
#if defined(SYSV) && !defined(MIPS) && !defined(IBM)
return chsize( fd, len );
#else
return ftruncate( fd, len );
#endif
}
/* getPassword
* Take a password entry and return the encrypted password.
* return "*" if we can't validate the password.
*/
char *getPassword( struct passwd *pw )
{
#if defined(SCO) && !defined(MIPS)
struct pr_passwd *pr = getprpwnam(pw->pw_name);
if (pr &&
pr->uflg.fg_encrypt &&
*pr->ufld.fd_encrypt)
return pr->ufld.fd_encrypt;
else
return "*";
#else
return pw->pw_passwd;
#endif
}
And that's the easy stuff, you should see the stuff we have to do
to deal with the fact that C++ header files are never correct on
a given platform (Domain/OS being perhaps the only exception). That
includes both vendor and third-party solutions. Junk!
> 3) UNIX is not a commodity market. DOS is. You don't see a
> zillion Pyramid/Mips/Vax knock-offs out there. UNIX hardware
> isn't commodity at all. UNIX itself is generally MADE at
> least slightly incompatible between boxes to differentiate
> vendors and to insure a user and his peripherals are locked
> into a single vendor. This is because money can't be made
> by volume (see MicroChannel).
That policy, if it truly exists, and it certainly didn't at places
I've worked, would only serve to guarantee that money can't be made
by volume. But that's the whole point of this argument isn't it?
Unix is not a commodity market - if you don't care then you don't
care what happens to NT. If you think that the continued survival
of Unix depends on its entering the commodity market then you care
a lot. I see the Unix pundits complaining a lot that the reason that
Unix hasn't taken off is that it doesn't have a killer app (or for
that matter, any large store of commodity apps). But there is a very
serious chicken and egg problem there, and I don't see a solution
(short of divine intervention :-).
> 4) Simple tools can be stable. Complex tools can not. Ever
> heard of someone needing to repair a hammer? An Acuna lathe,
> on the other hand, requires servicing. A more apt example
> of the DOS/UNIX dichotomy might be a skateboard vs a car.
This argument assumes that a) users need the complexity that Unix offers,
and b) that they can't perform complex tasks on their PCs. I don't believe
that either argument is true for the vast majority of the market.
> 5) Install scripts differ, again, for vendor differentiation;
> you can't seriously believe that the vendors currently in
> business could survive a "level playing field"?!?
I don't know if they could or not, but I don't think many of them are
going to survive the current playing field.
> 6) Technology benefits extensively through diversity. What was
> the last technical breakthrough for PC machines that resulted
> from a niche market demand? PC vendors are in it for volume
> and are not niche-market driven.
Back to the commodity argument again, but in any case... The Mac
has done a number of things that were "niche" driven - desktop
publishing, multi-media development, CD-ROM usage. Many of those
have then appeared in the next generation of PC products. Unix
machines have only very high-end versions of those products, but
it's notable that those high-end companies have all come out with
(equally high-end) PC versions.
> It sounds more like you just got bit by having UNIX machines from
>two different vendors and expecting them to act exactly the same. This is
I have four different Unix vendors' workstations on my desk. I never
expected them to be exactly the same; I did expect them to be paying
more than lipservice to that goal. I was wrong. This is great if you
are in the system integration business, it's lousy if you're in the
software business.
>similar to buying a PC and a Macintosh and expecting the same thing. It is
Ah, and therein lies the problem. The customer knows that if they buy
a Mac they are stuck with Apple. But if they buy a PC they can switch
vendors all they want and still run the same OS and same apps. But
they are limited - it's all basically the same hardware, and maybe it
doesn't do everything they need in terms of speed and OS features. Now
along comes Unix to the rescue. But now they discover (as you say)
that Unix is "snake oil". They are no more free to switch platforms
easily than if they had bought a Mac. Then along comes NT. It claims
to have the power of Unix, and the compatiblity of DOS. If it can do
half of what they claim those users will choose it over Unix.
Now you can argue that you don't care about those customers. I can
buy that argument (and I think to a certain extent that's what you
are saying - that Unix doesn't belong in the commodity market). I
don't like that argument though, and I don't think that Sun, HP, DEC
or IBM are building their businesses based on the assumption that
Unix has lost the war for the desktop - so if it *has* lost that
war I think you can look for some major upsets.
Frankly I've talked to people dealing with strategy at a number of
hardware companies and although many are trying last ditch defenses
against NT (usually by trying to come out with a low cost machine
bundled with lots of handy commodity software) they pretty much
conceed that they don't have much hope past the next three to five
years. Sun and USL don't seem to have given up yet, but elsewhere
I think the battle is shifting to the corporate server market - the
desktop has been conceeded to the the PCs and Macs.
>not possible to hide all architectural differences between two machines under
>a single blanket called "UNIX", nor is it possible to hide differences in
>software which in many cases are intentional (ala Tandy DOS not booting on
>non-Tandy machines.
First of all most software never touches the hardware - we don't
have a single #ifdef based on machine architecture (well, except
byte order, which is pretty trivial). Secondly I don't buy this
conspiracy theory of "we have to do it different". I have many
times seen "we have to do it better", which often gets translated
into the same thing. But I don't see people going out of their
way to be different - they just don't know how to go about making
it the same. OSF was an attempt. Unix International was another.
Neither seems to have done any good.
--
Alfalfa Software, Inc. | Poste: The EMail for Unix
nazgul@alfalfa.com | Send Anything... Anywhere
617/497-2922 | info@alfalfa.com
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
next prev parent reply other threads:[~1992-04-21 15:33 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-03-16 20:11 Question for net.views column in UNIX Today! root
1992-03-17 4:44 ` David Knapp
1992-03-20 0:25 ` Richard Eames
1992-03-20 23:12 ` Jon Caples
1992-03-21 16:58 ` Armando P. Stettner
[not found] ` <1992Mar22.082347.12023@aplcen.apl.jhu.edu>
1992-03-23 13:19 ` Jon Alperin
1992-03-23 15:33 ` DE Robertson james an 410-740-9172
1992-03-24 17:59 ` Anthony A. Datri
1992-03-25 17:01 ` Peter da Silva
1992-03-28 4:00 ` Chin Fang
1992-03-29 5:43 ` Amanda Walker
[not found] ` <STEINARB.92Apr1104825@tindved.idt.unit.no>
[not found] ` <1992Apr1.161010.11988@auto-trol.com>
1992-04-02 16:10 ` Peter da Silva
[not found] ` <1992Apr1.211848.21179@dsd.es.com>
1992-04-02 18:19 ` Peter da Silva
[not found] ` <1992Apr6.034323.27991@alphalpha.com>
1992-04-20 19:37 ` Terry Lambert
1992-04-21 15:33 ` Kee Hinckley [this message]
[not found] ` <ADAMS.92Apr1235516@PDV2.pdv2.fmr.maschinenbau.th-darmstadt.de>
1992-04-02 18:28 ` Peter da Silva
1992-04-06 3:47 ` Kee Hinckley
[not found] ` <1992Apr2.021133.19228@riacs.edu>
1992-04-02 18:35 ` Peter da Silva
1992-04-03 19:00 ` Van Snyder
1992-04-03 19:57 ` Chin Fang
1992-04-04 0:11 ` Anthony A. Datri
1992-04-04 0:50 ` Philip Anglin
1992-04-04 23:57 ` Crispin Cowan
1992-04-05 1:21 ` Anthony A. Datri
1992-04-05 5:18 ` Crispin Cowan
1992-04-05 23:17 ` Dave Kinchlea
1992-04-07 20:05 ` Darren Senn
1992-04-16 15:25 ` vi, the home row, and PC keyboards Mickey Boyd
1992-04-05 10:19 ` Question for net.views column in UNIX Today! Todd C. Williams
1992-04-06 21:22 ` Peter da Silva
1992-04-07 12:31 ` Matthew Farwell
1992-04-07 15:25 ` Dave Sill
1992-04-16 10:17 ` Christoph Splittgerber
1992-04-16 20:44 ` Bob English
1992-04-16 21:49 ` Ed Hall
1992-04-17 17:18 ` Larry Wall
[not found] ` <RG.92Apr17200626@nymph.msel.unh.edu>
1992-04-20 20:46 ` Larry Wall
[not found] ` <PRZEMEK.92Apr21131603@rrdstrad.nist.gov>
1992-04-22 17:06 ` Larry Wall
1992-04-21 1:56 ` Todd C. Williams
1992-04-17 0:58 ` Christopher Davis
1992-04-21 1:50 ` Todd C. Williams
1992-04-03 13:56 ` Bjorn Larsen
1992-04-03 15:45 ` Steinar Bang
1992-04-08 17:46 ` Kee Hinckley
[not found] ` <1992Apr3.002858.20527@sparky.imd.sterling.com>
1992-04-04 2:51 ` david d 'zoo' zuhn
1992-03-23 19:06 ` Any one interested in a real Unix magazine? Lawrence C. Foard
1992-03-23 22:25 ` Keith Bierman fpgroup
1992-03-24 0:13 ` Steve Hanson
1992-03-24 9:25 ` John Conover
1992-03-24 3:25 ` Question for net.views column in UNIX Today! Joseph G. Toth Jr.
1992-03-24 21:07 ` Holger Skok
1992-03-23 18:56 ` Darren Senn
1992-03-24 5:18 ` DE Robertson james an 410-740-9172
[not found] ` <1992Mar23.131948.15857@porthos.cc.bellcor <1992Mar23.153359.15991@aplcen.apl.jhu.edu>
1992-03-24 21:55 ` David S. Herron
1992-03-25 16:53 ` Doug Mohney
[not found] ` <1992Mar23.131948.15857@portho <1992Mar23.153359.15991@aplcen.apl.jhu.edu>
1992-03-28 2:13 ` Rex Ballard
1992-03-23 20:18 ` Rob Healey
1992-03-23 21:02 ` Mark Allyn
1992-03-24 16:11 ` Vivek Khera
1992-03-17 12:36 ` richard g. adair
1992-03-17 19:22 ` Van Snyder
1992-03-17 17:26 ` Damian Jackson
1992-03-25 16:22 ` Eric D. Smith
1992-03-26 14:19 ` Question from UNIX Today! - with a twist :-) Greg Pavlov
1992-03-26 22:03 ` Question from UNIX Today! - with a twist : -) Lawrence C. Foard
1992-03-30 18:28 ` The Old PCs vs Workstation Debate Rick Farris
1992-03-19 3:07 ` Question for net.views column in UNIX Today! Todd C. Williams
1992-03-19 8:31 ` Lawrence C. Foard
1992-03-20 17:49 ` Joel Kniaz
1992-03-19 15:59 ` Xinjun Hou
1992-03-19 21:07 ` Ajay Shah
1992-03-20 13:11 ` Geoff Lane
1992-03-21 7:42 ` Lawrence C. Foard
1992-03-22 7:38 ` A real UNIX magazine (was: net.views column in UNIX Today!) Don Libes
1992-03-24 5:00 ` Sean Fulton
1992-03-25 18:20 ` Rick Farris
1992-03-27 2:38 ` Larry Wall
1992-03-25 11:27 ` Question for net.views column in UNIX Today! Sean Gallaty
1992-03-28 6:36 ` Morgan Schweers
1992-04-01 2:57 ` Eric F.
1992-04-03 14:58 ` Mitch Wagner
1992-03-19 16:07 ` Bill Vermillion
1992-03-19 20:13 ` terryl
1992-03-24 4:39 ` Sean Fulton
1992-03-20 13:28 ` Larry Martell
1992-03-24 0:06 ` Jurgen Botz
1992-08-18 17:26 ` Stuart Jarriel
-- strict thread matches above, loose matches on Subject: below --
1992-03-29 1:04 David Mason
1992-04-06 0:08 Mark Allyn
1992-04-10 1:44 ` Richard L. Goerwitz
1992-04-11 22:11 ` Steve McDowell
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox