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: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-03-08 19:58:19 PST Xref: gmd.de comp.org.decus:2830 comp.os.vms:41968 comp.sys.dec:14088 comp.unix.advocacy:975 Path: gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!csn!ncar!gatech!howland.reston.ans.net!cs.utexas.edu!convex!seas.smu.edu!mic!montagar!davidc From: davidc@avatar.montagar.com (David L. Cathey) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Is VMS Dying? Message-ID: <1994Mar8.225820.18778@avatar.montagar.com> Date: 8 Mar 94 22:58:19 CDT References: <1994Feb26.204059.4068@mixcom.mixcom.com><1994Feb27.1 <2ldbdk$h4r@gap.cco.caltech.edu> Distribution: world Organization: Montagar Software Concepts, Plano TX In article <2ldbdk$h4r@gap.cco.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) writes: > In article <1994Mar5.000438.18751@avatar.montagar.com>, davidc@avatar.montagar.com (David L. Cathey) writes: > = "$ SHOW DEVICE" will show all devices on the system (kindof a "ls /dev" > =except that everything really exists). > > No, it won't show, e.g., mailboxes, unless you pass it an argument. To show > ALL devices on the system, the DCL procedure: > > $ LOOP: DEV = F$DEVICE("*") > $ IF DEV .EQS. "" THEN EXIT > $ WRITE SYS$OUTPUT DEV > $ GOTO LOOP > > does the trick. In both this case, and the one above, you could, of course, > write a program in a compiled language calling SYS$DEVICE_SCAN. True, but the original question was more related to the peripherals connected to the system. Mailboxes and several other "devices" are virtual and don't have an actual piece of hardware tied to them. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - David L. Cathey |INET: davidc@montagar.lonestar.org Montagar Software Concepts |UUCP: ...!montagar!davidc P. O. Box 260772, Plano TX 75026-0772 |Fone: (214)-618-2117 NOTE: Due to circumstances beyond my control, please use the new Internet address until further notice.