home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / cvs-1.8.7-src.tgz / tar.out / fsf / cvs / macintosh / README.MacCVS < prev    next >
Text File  |  1996-09-28  |  4KB  |  100 lines

  1. __________________________________
  2. MacOS / Concurrent Versions System (CVS)
  3.  
  4. CVS version: 1.8.6
  5. Mac port version: 2.31
  6.  
  7. Mike Ladwig <mike@twinpeaks.prc.com>
  8. __________________________________
  9.  
  10. This is a port of the CVS client to MacOS.
  11.  
  12. 1. Setup
  13.  
  14. In order to use this, you must be willing to consider the Macintosh 
  15. a trusted host to the UN*X box where the CVS server resides.
  16. This is a really dumb thing to do if you have security concerns.
  17. I don't, so I can live with the problem.  Until there is reasonably
  18. trustworthy security in MacOS, there is not a good solution.
  19.  
  20. For the following example, "twinpeaks" is the repository host, and
  21. "cicily" is the Macintosh client.  "maggie" is the login account on
  22. twinpeaks 
  23.  
  24. * 'twinpeaks' must have a login account which trusts 'cicily'. For
  25. me this is 'maggie', and 'maggie' has a .rhosts file that contains
  26. the line 'cicily joel'.
  27.  
  28. * 'cicily' must have the Sharing Setup control panel configured
  29. to have "Owner Name" set to "joel" and "Macintosh Name" set to
  30. 'cicily'.
  31.  
  32. If (and *only* if) you want to use a non-standard port for the shell
  33. connection (the normal port for such connections is 514), then you
  34. must copy the included 'services' file to the "Preferences" folder in
  35. your System Folder.  You must rename this file to '/etc/services'.
  36.  
  37.  
  38. 2. Usage
  39.  
  40. MacCVS can either be launched from the finder or via AppleEvents.
  41.  
  42. Do Command: Execute a CVS command
  43.     Do Command  string  -- Command to execute
  44.         [Mode  AE/File]  -- Mode (AE, File).
  45.         [Environment  string]  -- Environment variables.
  46.         [Filename  string]  -- Output file path.
  47.         [Pathway  string]  -- Starting pathway.
  48.         [NoLineBuffer  boolean]  -- if true, send each result line as separate AE.
  49.  
  50. The enclosed MacPerl script (AE_example.pl) provides all the information
  51. necessary to roll your own MacCVS front end.  In order to test code in the
  52. AE_example.pl script, you must have MacPerl 5.0.7r1m and
  53. MacPerlToolbox_10Apr96 (or later).  The fragments make use of the new
  54. Toolbox interface, and plain MacPerl will not work.
  55.  
  56. The AE support in MacCVS does not (yet) provide for getting user input (e.g. log
  57. messages).  Make sure you provide that info via a file directive or "-m".
  58.  
  59. If you launch MacCVS from the finder, it allows you to enter the command
  60. line and redirect the output of CVS to the screen or to a file.  If you send it
  61. to the screen, you can choose to save it to a file when you quit.
  62.  
  63. Due to the strange way it is implemented in CVS, the 'release'
  64. command does not work.  Tell me if fixing this should be a priority.
  65.  
  66. Gzip compression works if the server supports 'Gzip-stream'.  This support was
  67. added to the CVS source on July 12, so you need cvs-1.8.6 from that date or newer.
  68.  
  69. Due to the braindead way I worked around a problem in the CodeWarrier ANSI library,
  70. you can't have file names on the Macintosh longer than 21 characters.  If I don't see
  71. a fix from MetroWerks soon, I'll devise a better workaround.
  72.  
  73. To change the file type and creator of files that MacCVS creates, you
  74. need ResEdit 2.1.3.   Edit the MacCVS application, and open the GUZI resource
  75. and make the changes you want.
  76.  
  77.  
  78. 3. Building MacCVS
  79.  
  80. I have included the MacCVS CW project files as a binhex stuffit archive ('maccvs.projects.sit.hqx').
  81.  
  82. I have a "Projects" folder, where I keep the cvs folder and the CWGUSI folder. If
  83. you have a different arrangement, you will need to modify the access paths in
  84. "preferences" in order to find GUSI include and library files.
  85.  
  86. You will need CodeWarrier 9 and GUSI 1.7.2.  I have a report of a successful build
  87. under MPW, but don't support it directly.
  88.  
  89. There are problems with the CodeWarrier Plum-Hall ANSI libraries and CW9
  90. compilers that I have worked around.  Certain failure and exit modes (most nobably,
  91. exiting after help and usage commands) trigger the problem, which manifests itself as
  92. the DONE flag not being set in result AppleEvents, and loss of the last data packet.  Metrowerks has reproduced the problems, and hopefully will have a fix soon.
  93.  
  94.  
  95. 4. Feedback
  96.  
  97. Please tell me how this works for you (criticism, praise, flames, etc.).
  98. Any ideas for improvements, stuff for the 'README.MacOS' file, or
  99. anything else would be appreciated.
  100.