From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,32c594a83e2d8db X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,32c594a83e2d8db X-Google-Attributes: gid1164f8,public X-Google-Thread: 111308,32c594a83e2d8db X-Google-Attributes: gid111308,public X-Google-Thread: 114b0c,32c594a83e2d8db X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1993-10-15 17:01:01 PST Xref: gmd.de comp.client-server:1583 comp.os.vms:32800 comp.sys.dec:10945 comp.sys.hp:26312 Path: gmd.de!xlink.net!howland.reston.ans.net!vixen.cso.uiuc.edu!moe.ksu.ksu.edu!mccall!mccall!tp Newsgroups: comp.client-server,comp.os.vms,comp.sys.dec,comp.sys.hp Subject: Re: Move from VMS to Open VMS or to HP-UX? Advice Message-ID: <1993Oct15.165716@mccall.com> From: tp@mccall.com (Terry Poot) Date: Fri, 15 Oct 1993 16:57:16 CDT Reply-To: tp@mccall.com (Terry Poot) References: <1993Sep24.171336.19927@gordian.com> <29i491INN8u@gap.caltech.edu> <1993Oct14.140420.2280@ivax> Distribution: world Organization: The McCall Pattern Co., Manhattan, KS, USA Nntp-Posting-Host: mis1 Nntp-Posting-User: tp In article <1993Oct14.140420.2280@ivax>, imhw400@indyvax.iupui.edu (Mark H. Wood) writes: >If I want to SET something or DELETE something, what else would I use? > Well, OSes I have used have used the following verbs, or abbreviations thereof in the case of unix, to get rid of a file on disk: eliminate, remove, erase, expunge, purge, and delete. If you didn't already know the right one, none of these seems more likely than another. The average person would ask the knowlegeable user "how do I get rid of this file?". Yet I've never seen one that'd handle "GET RID OF filename". :-) While set is the most obvious verb for many of the things it does in DCL, MODIFY, ALTER, or CHANGE would be equally or more obvious for many of them, and in many cases a more specific verb would be more obvious, but that would, of course, lead to many more verbs to learn and remember. The best example may be SET MAGTAPE, where most of the qualifiers don't _set_ anything, they _do_ things, like rewind, skip forward or backwards, unload the tape, etc. Unix has an mt "verb" for this, which is clearer. The few actual set options could be moved to SET DEVICE. Is the fact that DCL uses rename to move a file from one directory to another any clearer than the fact that unix uses mv (move) to rename a file within the same directory? (I've had novices who understand rename ask me how to move a file, it isn't obvious if you don't know about it.) And of course, the verb to move a file to another device on VMS is BACKUP/DELETE (COPY/DELETE doesn't exist), whereas unix uses mv (move), which is definitely clearer. Now, if I delete a queue with DELETE/QUEUE, a symbol with DELETE/SYMBOL, and a batch job with DELETE/ENTRY (there's an obvious one), then I delete a file with DELETE/FILE, right? Sorry. The command set started out with more consistency than it has today. On a SET command, you have all the following forms: SET option value SET option/qual value SET [NO]option (the NO is optional) SET option=value SET option/qual=value Only the first 2 make any sense relative to each other. A weak case can be made for the third, but wouldn't SET option {ON|OFF} be more obvious? On other commands, it's very often not at all obvious whether something will be a parameter or a qualifier. SET VOLUME requires the volume name (if you are changing it) as a qualifier value (the parameter is the device containing the volume), whereas MOUNT requires it as a parameter. DCL commands are getting longer as time goes on. Compare SET SECURITY/CLASS=DEVICE/PROTECTION=(...) MUA0: to SET PROTECTION=(...)/DEVICE MUA0: (This is a typical example of a definite trend.) It is now possible (easy, even) to overrun DCL's tiny input buffer with a perfectly reasonable command. CREATE/TERMINAL with lots of options comes immediately to mind, as well as some of the things you wish you could do in a makefile, and I know it's happened in other cases as well. Ironically, the system with longer commands has smaller buffers to hold them. Unix, becuase the shell expands wildcards, and because of the backquote mechanism, tends to support command buffers of 10K and up. DCL's input buffer is 256 bytes, with the internally expanded command limited to 1K. (Hope those are right, if not I'll get flamed, but they are close.) Sorry, DCL is _not_ a perfect command language. DCL's commands are easier to remember once you know them, because they are almost all english words, and most are to some degree mnemonic, at least once you know the logic behind them. unix commands, on the other hand, are way easier to type. As an expert user, I'd prefer unix. As a novice, I'd prefer DCL. But on neither system can a novice intuit the correct command to do anything at all. (Thanks to the DCL HELP facility, which provided most of the ammunition for this article, and is in many ways vastly superior to its typical unix counterparts.) -- Terry Poot The McCall Pattern Company (uucp: ...!rutgers!depot!mccall!tp) 615 McCall Road (800)255-2762, in KS (913)776-4041 Manhattan, KS 66502, USA