In the Purdue doc files, the changes for vms are detailed below in Appendix 1. CAUTION ------- Optional parameters are case sensitive. 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 this 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. Hook it to a COM file that uses f$search() to get all files matching a wildcard. Redirected output ----------------- Redirected output using the unix style command line parameters is now supported. for example, co -p -q -r1.1 fred.c > fred.r1-1 stores version 1.1 of fred.c in fred.r1-1. See redirect_std*.c for details. 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. 16. Change filename strings in rcsclean.c so rcs is called correctly to unlock the file. 17. Wrote by.c to report locking information. 18. Got redirect_std*.c from rob riepel and installed redirected output and input to all programs and took command file interface away for co and gnu_diff. 21-feb-91 19. fixed rcsfnms.c so "ci testc" works as "ci testc." rtg 21-feb-91 20. Added code to do redirected output. Found bug in fwrite when writing to a EDT file opened with "rat=cr", "rfm=var". Found bug in GNUDIFF that causes it to quit on EDT files. 21. Added code to accept file wildcards. Need to propagate this to all programs.