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: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-09 17:30:32 PST Xref: gmd.de comp.org.decus:2824 comp.os.vms:41928 comp.sys.dec:14073 comp.unix.advocacy:968 Path: gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!ctc.com!news.mic.ucla.edu!library.ucla.edu!ihnp4.ucsd.edu!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Date: 10 Mar 1994 01:30:32 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <2llt7o$713@gap.cco.caltech.edu> References: <1994Feb26.204059.4068@mixcom.mixcom.com> <1994Feb28.140951.24948@mcnc.org> <2ksvt2$g9c@mail.fwi.uva.nl> , <2l31n1$j1@gap.cco.caltech.edu>, Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu In article , lmulcah@da_vinci.ecte.uswc.uswest.com (Larry Mulcahy) writes: =Another consideration worth mentioning here: the excessive size of VMS' =documentation is caused by the excessive size of VMS. VMS is cluttered =with features and needless complexity. How many parameters does QIO =have, 12? 14? Twelve, of which the first six are device/function independent, and six are device/function dependent. The first six are: 1) Event flag; Used to let you know when an asynchronous operation completes; of course, since Unix doesn't have support asynchronous I/O, Unix wouldn't have such an argument. 2) Channel; serves the same purpose as an fd under Unix; 3) Function code; unix breaks up its I/O routines into several different system calls, including read, write, and the assorted *ctl functions (notably fcntl and ioctl), so instead of picking a function, you pick a system call. Of course, each system call has its own syntax.... 4) I/O status block; place to return status when the I/O completes; again, since Unix doesn't do async I/O it doesn't need it. 5) AST address; again, for async I/O; 6) AST parameter; once again: for async I/O. Of the device/function-specific parameters, the first two are generally: P1 Address of the buffer to be used for I/O; and P2 Number of bytes to be transferred. So, if you want to use the equivalent of Unix's brain-dead I/O system, you need specify only five arguments to SYS$QIOW: Channel, function code, iosb, buffer address, and byte count. You can leave all the rest zero. As I've said time and again: IF YOU WANT TO EMULATE UNIX'S DEFICIENCIES WITH VMS, YOU CAN DO SO, BY NOT USING THE ADDITIONAL FEATURES OF VMS. It's really NOT that hard to do. If, on the other hand, you want to emulate some of VMS's functionality under Unix, you've got to write your own libraries to do it, AND IN SOME CASES REWRITE THE KERNEL. And you see that as an ADVANTAGE for Unix? Sheesh! -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.