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-13 17:28:42 PST Xref: gmd.de comp.client-server:1550 comp.os.vms:32607 comp.sys.dec:10865 comp.sys.hp:26199 Path: gmd.de!xlink.net!howland.reston.ans.net!agate!ames!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) 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 sought! Date: 13 Oct 1993 23:50:57 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <29i491INN8u@gap.caltech.edu> References: <1993Sep24.171336.19927@gordian.com> <1993Oct1.170740.2114@NMC.ED.RAY.COM> <1993Oct4.135550.359@acs.eku.edu> <1993Oct6.165221.8897@NMC.ED.RAY.COM> <2930i7$cra$1@cs.widener.edu>, Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu In article , jennings@alph01.triumf.ca (Byron Jennings) writes: = $ set file/version=n filename.ext = =Actually I thought when I switched to UNIX one of the problems would be the =lack file versions. Instead I found it more convient. I must admit I did not =know that the number of versions that are kept could be controlled. Even if it =is zero one has to remember the ;* when deleting files. I can not tell you the =number of times I screwed that up. = =The example above also shows one of the problems with VMS. The commands tend to =be overloaded. Commands such as set and delete do too many things. Using help =to find that command would have been almost impossible. Oh? Only if you're unable to read. $ HELP HINTS HINTS Type the name of one of the categories listed below to obtain a list of related commands and topics. To obtain detailed information on a topic, press the RETURN key until you reach the "Topic?" prompt and then type the name of the topic. Topics that appear in all upper case are DCL commands. Additional information available: Batch_and_print_jobs Command_procedures Contacting_people Creating_processes Developing_programs Executing_programs Files_and_directories Logical_names Operators_in_expressions Physical_devices System_management Terminal_environment User_environment HINTS Subtopic? Files_and_directories HINTS Files_and_directories Saving and cataloging information on storage devices. (Also see Developing_programs and Executing_programs) APPEND Appends one file to another. COPY Creates a copy of an existing file or files. CREATE Creates a new file. DELETE Deletes a file or files. DIFFERENCES Displays differences in content between two files. DIRECTORY Displays the names of the files in a directory. EDIT Creates (optionally) and edits a file. MERGE Merges sorted files. PRINT Prints the contents of a file. PURGE Deletes old versions of a file or files. RENAME Recataloges an existing file. SEARCH Locates a character string within a file or files. SORT Sorts the data in a file. TYPE Displays the contents of a file. SET DEFAULT Changes the default device and directory. SHOW DEFAULT Displays the default device and directory. ANALYZE/RMS_FILE Analyzes the internal structure of a file. CONVERT Changes the attributes of a file. CONVERT/RECLAIM Reclaims unused space in an indexed file. CREATE/DIRECTORY Creates a new directory or subdirectory. CREATE/FDL Creates a new file with tailored attributes. DUMP Displays the uninterpreted contents of a file. EDIT/FDL Creates a file definition file. EDIT/SUM Updates a file with multiple files of edit commands. EXCHANGE Reformats files formatted by other operating systems. LIBRARY Creates or modifies various kinds of libraries. RUNOFF Formats one or more documents (text files). SET DIRECTORY Changes the characterisitcs of a directory. SET FILE Changes the characteristics of a file. SET PROTECTION Changes the protection of a file. SET PROTECT/DEF Changes the default protection given to files. SET RMS_DEFAULT Changes the default block and buffer count values. SHOW PROTECTION Displays the default protection. SHOW QUOTA Displays your quota of space on a disk volume. SHOW RMS_DEFAULT Displays the default block and buffer count values. UNLOCK Closes a file accidentally left open. Type ? to display the list of HINTS. Type FILES_AND_DIRECTORIES to redisplay this particular hint. Press the RETURN key before typing a command or topic name. HINTS Subtopic? Topic? SET FILE SET FILE Modifies the characteristics of one or more files. See the qualifier descriptions for restrictions. Format SET FILE filespec[,...] Additional information available: PARAMETER QUALIFIERS /BACKUP /BEFORE /BY_OWNER /CONFIRM /CREATED /DATA_CHECK /END_OF_FILE /ENTER /ERASE_ON_DELETE /EXCLUDE /EXPIRATION_DATE /EXPIRED /EXTENSION /GLOBAL_BUFFER /LOG /MODIFIED /NODIRECTORY /OWNER_UIC /PROTECTION /REMOVE /SEMANTICS /SINCE /STATISTICS /TRUNCATE /UNLOCK /VERSION_LIMIT Examples /AI_JOURNAL /BI_JOURNAL /RU_ACTIVE /RU_FACILITY /RU_JOURNAL SET FILE Subtopic? /VERSION_LIMIT SET FILE /VERSION_LIMIT /VERSION_LIMIT[=n] Specifies the maximum number of versions for the specified file. If you do not specify a version limit, a value of 0 is used, indicating that the number of versions of a file is limited only to the Files-11 architectural limit of 32,767. When you exceed that limit, the earliest version of the file is deleted from the directory without notification to the user. For example, if you set the version limit to three when there are already five versions of that file in your directory, there will continue to be five versions of the file unless you specifically delete some or purge the directory. Once the number of versions is equal to or less than the current version limit, the version limit is maintained. =I really miss the =equivalent of man -k from UNIX (or is it there and I could not find because I =did not know what it was). Gee. From your response above, it shouldn't surprise me that you're too goddamned lazy to actually READ the stuff that's been posted in this thread. Someone posted a pointer to a program called LIBSEARCH that does what you want. Get off your ass and review the thread to find the article in question. -------------------------------------------------------------------------------- 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.