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-06 11:37:24 PST Xref: gmd.de comp.org.decus:2630 comp.os.vms:41613 comp.sys.dec:13889 comp.unix.advocacy:839 Path: gmd.de!newsserver.jvnc.net!netnews.upenn.edu!msuinfo!agate!library.ucla.edu!europa.eng.gtefsd.com!gatech!swrinde!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: 6 Mar 1994 19:37:24 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <2ldbdk$h4r@gap.cco.caltech.edu> References: <1994Feb26.204059.4068@mixcom.mixcom.com><1994Feb27.1 ,<1994Mar5.000438.18751@avatar.montagar.com> Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu In article <1994Mar5.000438.18751@avatar.montagar.com>, davidc@avatar.montagar.com (David L. Cathey) writes: =In article , rockwell@nova.umd.edu (Raul Deluth Miller) writes: => My complaint was where subcommands under "help" did not paginate. = That means to me that VMS did not know how big your screen was or =even if you were on a CRT. On Unix you have to set your terminal type =to clue the system about your viewing environment. VMS is no different. Again, I think what he's actually talking about is the HELP command within utilities not paginating. That's because they use LBR$OUTPUT_HELP, which, by default, uses LIB$PUT_OUTPUT and LIB$GET_INPUT for it's I/O to the terminal. These two routines do NOT support pagination. Compare the behavior of the commands: $ MAIL MAIL> HELP with that of the command: $ HELP/LIBR=MAILHELP and you'll see what I think he's tlaking about. => One more question? How do I get a list of all disks? For that => matter, how do I get a list of all configured devices? [What do I => need that information for? Mostly, curiosity. I can't very well talk => about a subject intelligently when I have no experience with that => subject.] = = "$ SHOW DEVICE/MOUNT" typically will provide this for you. It will also list any tapes that are mounted. As somebody else has pointed out, "SHOW DEV D" won't necessarily show all disks on your system . For that, you'd need a DCL procedure like: $ LOOP: DEV = F$DEVICE("*","DISK") $ IF DEV .EQS. "" THEN EXIT $ WRITE SYS$OUTPUT DEV $ GOTO LOOP = "$ 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. = As for "extra meg", VMS disk quotas provide for "overdraft" protection =that grants you some disk to allow your to finish your current operation, =such as finishing saving a file or a compile. *IF* the utility in question was written to retry the write in the case of running out of diskquota. If the utility doesn't retry the write, you're out of luck. =It lets you go over your =limit to some higher value. Also, I've seen many systems with a "public" =directory much like a /tmp for users to play or used as some other type of =common area. Yup. It's not at all uncommon, though generally, instead of making a publicly writeable directory, I set up directories for individual users on a disk that doesn't have quotas and doesn't get backed up. -------------------------------------------------------------------------------- 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.