From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-ArrivalTime: 1994-03-08 05:34:05 PST Xref: gmd.de comp.org.decus:2704 comp.os.vms:41776 comp.sys.dec:13994 comp.unix.advocacy:922 Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Path: gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!howland.reston.ans.net!EU.net!CERN.ch!dxcern!lishka From: lishka@dxcern.cern.ch (Chris Lishka) Subject: Re: Is VMS Dying? Message-ID: <1994Mar8.133405.15471@dxcern.cern.ch> Organization: CERN European Laboratory for Particle Physics References: <1994Feb26.204059.4068@mixcom.mixcom.com> <2lafhn$46u@gap.cco.caltech.edu> <1994Mar6.154156.17891@dxcern.cern.ch> Date: Tue, 8 Mar 1994 13:34:05 GMT I wrote: > * Program-centerred command syntax. VMS uses a mechanism > to hide the actual programs being run from the user. For > example, the "SET" and "ANALYZE" commands actually run > several different executables depending on what you > choose (i.e. "ANALYZE DISK" vs. "ANALYZE CRASH"). Raul D. Miller replied: # This is poorly stated [e.g. what about cc?]. Yes, I did state it rather poorly. See my reply to Carl Lydick for a better explanation. # cc calls a variety of sub-programs, but it calls them as # modules. Agreed. Plus, when you run "cc" you use the "cc" interface (a zillion command line switches and all). "cc -c" does not end up presenting you with a different interface than "cc -g". # SET or ANALYZE seem to be nothing more than a giant switch # statement. This implies something about the mental model # one must build to understand each of these commands. Yes. VMS hides the executables underneath a command language, and a given command verb (e.g. ANALYZE) can end up invoking different programs with varying interfaces. I think the "mental model[s]" of Unix and VMS commands are fairly different, although both are equally valid. For some (many? most?), VMS' model is preferable. # In my opinion, unix provides a much higher level of # modularity than VMS. I'm not sure how to quantify this. Possibly because Unix takes a plug-and-play approach to programming. An executable binary image is only one of many types of programs -- others include shell scripts (pick your favorite shell language), awk (for record processing), sed (for stream editing), perl (for system management programing), and whatever else you want to add to the environment. All programs are run with the same basic mechanism (in contrast to VMS, where you can RUN an image, @ a script, FOO:==$BAR.EXE for a foreign command and then say FOO to run it, etc.). Plus, Unix provides basic concepts/mechanisms in its command-line user interface (shells) to allow "pipes" of different commands where the stream-output of one program flows into the stream-input of another. Note that one can do similar things in VMS (there are many languages available), but it isn't as smooth (in my humble opinion). Executable images are treated differently from command scripts. Command language (i.e. .CLD files) work differently from foreign commands. Pipes aren't provided in basic VMS (although they can be retrofitted to some extent with PD utilities). Stream input and stream output as concepts have not been applied to as many areas: one typically uses RMS to access files, rather than treating file I/O as a stream of bytes (i.e. file I/O and program input/output in Unix are very similar, and interchangable in many cases). [Yes, yes, VMS does allow files to be treated as streams, but this is not as commonly used as in Unix.] VMS cetainly has some great programming tools, but how they fit together is different than Unix. A caveat: this Unix view is great for programmers (especially C and shell programmers). It is lacking somewhat for general users who don't know as much about computers. # I know it's not even true for the system administrator. I # suspect that the system administrator has an easier time of # it on VMS because users are more restricted. Of course, VMS # is so well designed that users don't have any reason to have # the restrictions lifted... I don't agree with the this. Our users on our VMS system are not restricted much at all. We rely more on a community sense here than any VMS security. VMS can be configured to restrict users, but one doesn't have to run it that way. .oO Chris Oo. -- I hear the endless murmur, Christopher Lishka Every blade of grass that shimmers in the breeze PPE Division, CERN And the sound that comes to carry me lishka@dxcern.cern.ch Across the land and over the sea. -- Crowded House vxaluw::lishka