In the Purdue doc files, the changes for vms are detailed below in Appendix 1. CAUTION ------- Optional parameters are case sensitive. The VMS C Run Time Library will lowercase all parameters UNLESS they are in quotes. Ex: If you want to send -NFred to a program: -NFred will arrive as -nfred, so use "-NFred" instead..... Contents of the [.doc] directory -------------------------- RCS.MAN is a paper by Dr. Tichy. It is formatted for the editor or printer. 60K rcsspec.man is a synopsis of functions. It is formatted for the editor or printer. 4.2K *.doc - man pages from Purdue. Appendix 1 - Changes in VMS programs that are not documented in the Purdue doc. set. VMS Symbols Needed: See setup.com File Names ---------- RCS commands only accept the source code file names, rather than the working file name. The work file name is constructed using the RCS_REFERENCE_DIRECTORY symbol. RCSCLEAN.EXE only does one file at a time. No wildcards are supported, but they are coming soon. Hook it to a COM file that uses f$search() to get all files matching a wildcard. Work File --------- In reference directory with "_V" suffix. So bb.c is stored as "BB.C_V". RCS documentation for unix says ",v" rather than "_V". Locking ------- Done in reference directory with suffix "_LOCK". So when bb.c is checked out, there is a file "BB.C_V_LOCK" in the reference directory during the time that the checkout is being done. code chgs. from unix version ---------------------------- 1. #include 2. char *Klog = "log"; vs char Klog[] = "log"; extern char Klog[]; extern char *Klog; 3. Keyword array of struct including pointer to "Author", "Log", etc. 4. hardcoded directories "." "/bin/sh" "/tmp/" 5. lock suffix, RCS file suffix, RCS file directory 6. subroutine fastcopy(), getusername() modified 7. run() uses com files for redirected output. 8. tmp file names standardized to RCS__*.tmp 9. mail interface on unlock fixed for vms/mail 10. advanced Suffix in initadmin() in rcsfnms.c so proper comment header is guessed. 11. use vax rtl routines fprintf and fputs 12. chg curlogmsg from extern char *curlogmsg to char curlogmsg[logsize] for error in rcs when deleting revision.... 13. Remove all chmod calls. CO without lock doesn't give you a read-only copy of the file. 14. Add vms rename() fxn as a system call to a com file. When on diff. devices, do a system call to a Copy command in a com file. 15. Make the Lock file a temporary file that is deleted on closure by vms.