home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / dev / cpump-1.7.lha / CPump-1.7 / ReadMe.txt < prev   
Encoding:
Text File  |  1994-04-05  |  12.8 KB  |  323 lines

  1.                    C P u m p
  2.  
  3. An Amiga Intuition-based C development environment.
  4.  
  5. © Copyright 1992, 1993, 1994, David A. Faught, All right reserved.
  6. This program is provided "as is", no warranties are made.
  7. All use is at your own risk. No liability or responsibility
  8. is assumed.
  9.  
  10. Several other products are mentioned in this document. Each
  11. trademark is owned by it's respective owner.
  12.  
  13. The right to freely distribute this program at no cost is
  14. hereby granted, as long all files listed below are included
  15. and all files included remain UNALTERED. These files may be
  16. included in a collection of freely distributable software,
  17. as long as the cost of that collection is previously deemed
  18. reasonable by the author. Fred Fish is specifically given the
  19. right to distribute these files.
  20.  
  21. The files included are:
  22.  
  23. -----rwed       1      961 Apr  4 21:42 CPump
  24. -----rwed      18    18340 Apr  4 21:42 CPump17
  25. -----rwed      26    26312 Apr  4 21:42 CPump17.c
  26. -----rwed      17    16636 Apr  4 21:42 CTags
  27. -----rwed      25    25179 Apr  4 21:42 CTags.c
  28. -----rwed       9     8428 Apr  4 21:42 CTagSel
  29. -----rwed       8     7290 Apr  4 21:42 CTagSel.c
  30. -----rwed       1      505 Apr  4 21:42 EdErr.rexx
  31. -----rwed       1      826 Apr  4 21:42 EdTag.rexx
  32. -----rwed      13    13137 Apr  4 21:47 ReadMe.txt
  33. Dirs:0    Files:10   Blocks:119   Bytes:117614
  34.   
  35. -----------------------------------------------------------
  36.  
  37. If you like this program, or would like to support my future
  38. developments, please send a monetary or Amiga hardware gift
  39. (not deductible) to:
  40.  
  41.     David Faught
  42.     8701 North 64th Street
  43.     Brown Deer, WI  53223
  44.  
  45. You will be added to my mailing list for a fee of $10
  46. or more, and will be notified of my future developments.
  47.  
  48.  
  49. This program requires AmigaDos 2.04 or better. It will not
  50. function at all with 1.3.
  51.  
  52.  
  53. I can also be contacted by email only (no files shipped please) at:
  54.    akcs.dfaught@vpnet.chi.il.us
  55.  
  56. ------------------------------------------------------------
  57. Version 1.7, April 1994
  58.  
  59. Enhanced some utilities so that their output is redirected to a
  60. temporary file that can be browsed.  Enhanced CTags so that it
  61. accepts an Amiga wildcard pattern as the input file(s) and
  62. Edtag.rexx to use this facility.  This will also work for ".cxx"
  63. and ".cc" files.  Upgraded GCC support so that it works with
  64. version 2.5.8 of C and C++.  Other little things here and there
  65. that I have forgotten about.
  66.  
  67. Version 1.6, January 1993
  68.  
  69. Several enhancements including EdTag facility, better environment
  70. variable handling, smaller CPump window to allow better view of
  71. shell window being driven. Also added the Amiga "E" compiler for
  72. the heck of it.
  73.  
  74. Version 1.5, January 1993
  75.  
  76. The Open and Save functions were fixed so that any number of
  77. selected files will be copied. Also added the keyboard equivalents
  78. for all the main functions and the ARexx Test tool.
  79.  
  80. Version 1.4, December 1992
  81.  
  82. The "CPump.env" environment variable was added to the CPump script
  83. and to the main program to select initial settings for the four
  84. cycle gadgets. These settings start with 0 (zero) and specify the
  85. element of each of the four cycle gadgets to initially display.
  86. The gcc (GNU C Compiler) and the Textra editor were added.
  87. I think there were a few other minor things fixed too.
  88.  
  89. Version 1.3, August 1992
  90.  
  91. This is to fix a bug with the "initcc" script. This did not work
  92. as distributed. Now you MUST edit the script file "CPump" for your
  93. environment and execute it to start up the program. The "initcc"
  94. script was replaced by this. It happens that this change actually
  95. makes it easier to run CPump from the WorkBench than from the
  96. shell.
  97.  
  98. Version 1.2, August 1992
  99.  
  100. I have added support for (old) version 4.0 of the SAS/Lattice
  101. C compiler. This may work for newer versions, too.  I did this
  102. mainly because I found it gathering dust in an old box of disks.
  103.  
  104. An icon and script for the AmigaDos IconX command now allow
  105. CPump to be run from the WorkBench.
  106.  
  107. I have changed the "Utility" gadgets to be a single list-type
  108. selector. Just click on the utility you want to use.
  109.  
  110. The zoom gadget in the upper right now "iconifies" the CPump
  111. window.
  112.  
  113. Running all commands is now done using the new "System()" call
  114. instead of the old "Execute()". This allows the proper return
  115. code to be displayed.
  116.  
  117. Source code is now included. You may make modifications for
  118. your own personal use only. The unregistered version of DICE
  119. along with the NDU from CATS will work to compile this program.
  120. I highly recommend registering DICE.
  121.  
  122. Various other minor modifications have been made.
  123.  
  124. Version 1.1
  125.  
  126. Not released.
  127.  
  128. Version 1.0
  129.  
  130. This little utility was born from my frustrations with
  131. using the CLI for compiling and testing my C programs. Even
  132. with the shell command history, it just seemed like too much
  133. trouble to remember the right commands and options,
  134. especially after one of my attempts would get the guru's boot
  135. and a reboot.
  136.  
  137. This program is an easy to use shell that invokes a number
  138. of other programs. These other programs are not included
  139. here, but are easily accessible in collections of freely
  140. distributable software for the Amiga. It is not necessary to
  141. have ALL of the programs listed here. For example, there is
  142. no real reason to use both the DICE and PDC compilers, but
  143. one or the other is required.
  144.  
  145. If you have them, this program will make use of:
  146.   ED & MEmacs text editors included with AmigaDos,
  147.   Dillon's Integrated C Environment (DICE) - including the
  148.     DME text editor and ANSI C compiler available on Fred
  149.     Fish disk 491,
  150.   Publicly Distributable C (PDC) - compiler and several
  151.     utilities with complete source available on Fred Fish
  152.     disk 351,
  153.   MuchMore - text display program available on Fred Fish
  154.     disk 560 (and several others in the :c directory),
  155.   CRef - C cross reference lister available on Fred Fish
  156.     disk 166,
  157.   Indent - provides consistent indentation of C source
  158.     available on Fred Fish disk 262.
  159.  
  160. It is also highly recommended that you get a copy of the
  161. Native Developer Update (NDU) from Commodore Amiga Technical
  162. Support (CATS) as it contains all the Amiga specific headers
  163. needed to take advantage of the great Amiga features. It
  164. also contains lots of examples, development tools,
  165. debugging tools, and the AutoDocs. Information on how to
  166. acquire the NDU is included with both PDC and DICE.
  167.  
  168.  
  169. --------------------------------------------------------
  170. INSTRUCTIONS:
  171.  
  172. This program can be used from the CLI or the Workbench. It
  173. must be started using the CPump script. When started from the
  174. Workbench, iconx is used to execute the CPump script.
  175. Consider the CPump script included to be a starting point
  176. that you should edit to reflect your own Amiga's environment.
  177. In particular, the directory containing either the DICE or PDC
  178. commands (or both) must be added to the command search path
  179. using the "path add" command.
  180.  
  181. When you run this program, it presents a window with a bunch
  182. of gadgets on it. These gadgets define the steps that I use
  183. when developing a C program, along with the tools used at
  184. each step and a few options. Down the left side of the window
  185. are 6 pushbuttons which execute the 6 development steps.
  186. Down the middle are some cycle gadgets which determine
  187. the tool to be used for each step. In a line across the
  188. middle are some boxes you can check to set certain options
  189. for the Compile step.
  190.  
  191. Select the tools you wish to use by clicking on the cycle
  192. gadgets on the right. You should probably do this first,
  193. before you attempt to execute any of the 6 steps on the
  194. left. Then, when you push any of the 6 pushbuttons to
  195. execute a step, a filerequester will appear so that you can
  196. select the file(s) you wish to use for that step.
  197.  
  198. Some steps allow multiple files to be selected, and other
  199. steps only allow a single file. Sometimes, the filerequester
  200. will have a pattern selector that filters the files you see
  201. to include only those with certain suffixes. You can edit
  202. this selection pattern on the filerequester, if you wish.
  203.  
  204. When you have selected the file(s) for that step, push the
  205. "OK" button on the filerequester. The tool that you have
  206. selected for that step will be executed with the file(s)
  207. you have selected. Pretty simple, huh? You can also double-
  208. click on a filename in the filerequester.
  209.  
  210. While the tool you have selected is executing, the Status
  211. indicator in the upper right of the window will say
  212. "Running". If no tool is executing, it will say "Waiting".
  213.  
  214. OPEN:
  215. This step will copy all .c and .h files that you select
  216. from where they are to the working directory. The working
  217. directory is either RAM: or RAD: as selected by the cycle
  218. gadget to the right. Note that this step also saves the
  219. directory where the files originally were in the bottom
  220. right string gadget, so that the files can be saved back
  221. where they came from.
  222.  
  223. EDIT:
  224. This step runs the text editor you have chosen with the .c
  225. or .h file you select. Note that you can change the pattern
  226. for selection or just type a specific file name, if you
  227. wish. The editor is executed with the RUN command, so that
  228. it has its own task and this program doesn't wait for it to
  229. end. This allows the editor to stay on the screen while you
  230. proceed to the other steps, or execute 2 or more editors at
  231. the same time.
  232.  
  233. COMPILE:
  234. This step executes the cc-like processor for the compiler
  235. you have chosen. The check-box options just below this
  236. gadget are interpreted properly for the chosen compiler.
  237. The Verbose option affects not only the compile step, but
  238. also allows you to see the commands that this program uses.
  239.  
  240. TEST:
  241. This step is minimally implemented at this time. It will
  242. execute the program you just compiled to try it out. I tend
  243. to be a printf-in-the-source-code debugger, so I'm not very
  244. familiar with some of the tools available.
  245.  
  246. UTILITY:
  247. Several handy utilities can be executed from here. Most are
  248. C language specific. Currently, all of these utilities will
  249. print their output on the screen. In a future version of
  250. this program, they will probably be redirected to create
  251. output files instead, which can then be browsed.
  252.  
  253. SAVE:
  254. This step will copy the file(s) you select back to the
  255. directory that they came from. You can also directly edit
  256. the target directory name to the right of this gadget. This
  257. program will only remember the one most recent directory that
  258. you "OPENed" a project from, so if you "OPEN" files from
  259. several different directories, you will have to remember
  260. where to put them back.
  261.  
  262. ---------------------------------------------------------
  263. NEW UTILITIES:
  264.  
  265. The CTags and CTagSel programs are now included (with source)
  266. along with a couple of ARexx programs to interface them to
  267. CPump. CTags is a (very slightly) modified version of the
  268. program available on Fred Fish disk #197 by Ken Arnold, Jim
  269. Kleckner, Bill Joy, and G. R. (Fred) Walter. The CTags program
  270. builds a list of procedure names defined within a C source
  271. program.
  272.  
  273. The EdTag.rexx drives this program to collect a list
  274. of procedures in ALL the .c source programs in the working
  275. directory and feeds this list to the CTagSel program. The CTagSel
  276. program then builds a ListView gadget in a new window to allow
  277. you to scroll through the list of procedure names and select one
  278. for editing. The EdTag.rexx then takes the output of the CTagSel
  279. program and invokes the AmigaDos "Ed" editor on the proper
  280. source program and positions the display to the procedure name
  281. that you selected. At this time, the "Ed" editor is the only one
  282. supported for this process.
  283.  
  284. The "EdTag Bld" entry in the edit tools list invokes this entire
  285. process. The "EdTag" entry in the Utility list bypasses the CTag
  286. build and invokes CTagSel using the tag list built by a previous
  287. use of "EdTag Bld". This can be usefull when working on a large
  288. project when you don't want to rebuild the tag list for every
  289. edit.
  290.  
  291. The "EdErr" entry in the Utility list does a similar type of
  292. thing with the error listing file from the DICE compiler. This
  293. entry only works with DICE at this time. This allows you to
  294. select an error message and start the "Ed" editor at the line
  295. of the error you select.
  296.  
  297. The CTagSel program is actually a pretty handy little utility.
  298. It can be invoked with basically any text file as input and will
  299. present this file in a ListView gadget. The text of the line you
  300. select is put in the Arexx clip list under the name CTagSel. There
  301. are hard-coded limits in the program of 1000 lines of text and
  302. 40000 characters of text.
  303.  
  304. ----------------------------------------------------------
  305. Future Plans:
  306.  
  307. Planned improvements are:  including either the HCC or NorthC
  308. compiler, and redirecting certain utility outputs to files for
  309. later browsing.
  310.  
  311. I thought about adding an ARexx port, but if you could make good
  312. use of it, you could just drive the programs that this one
  313. does directly from ARexx and be better off. I would also like
  314. to figure out how to use the DMEMacros from Fred Fish disk 146
  315. or possibly rewrite them for the new ED 2.0, now that it talks
  316. ARexx. I have also thought about making use of the Revision
  317. Control System (RCS) on Fred Fish disk 451 as an option for the
  318. Open and Save functions. CWeb from Fred Fish disk 551 is also a
  319. possibility.
  320.  
  321. END OF README.TXT
  322.  
  323.