home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / PROGRAMS / WSTAR / WS-KAMAS.AZT / WS_KAMAS.ART
Text File  |  2000-06-30  |  12KB  |  221 lines

  1. WS/KAMAS:  The WordStar - KAMAS Affair
  2.  
  3. by Dick Ezzard
  4.  
  5. Introduction 
  6.  
  7.      The new version of KAMAS (release 1.2) has been slimmed down 
  8. and made more compatible with WordStar. It is therefore much more 
  9. useful to me and I believe I will be working with KAMAS more and 
  10. more now. I am now able to use WordStar to take notes on a 
  11. general topic over a period of time, and then use KAMAS to 
  12. structure-edit such notes by putting them in a logical order for 
  13. presentation or study. 
  14.  
  15.      This article is about how to expedite the movement of text 
  16. material back and forth between WordStar and KAMAS. Such 
  17. operations are necessary if one wants to take advantage of the 
  18. respective strengths of both programs. KAMAS is good for 
  19. rearranging files of text, not so good on text entry, editing, 
  20. output formatting and printing. WordStar does those jobs well but 
  21. is a bear on rearrangement. Together KAMAS and WordStar provide a 
  22. complete set of tools for the text manipulator.  Although 
  23. WordStar and KAMAS are not yet married, they now seem to be 
  24. stepping out together.  
  25.  
  26.      The rest of this article pre-supposes a working knowledge of 
  27. both KAMAS and WordStar. The operations are described in general 
  28. terms and you will have to translate those operations into actual 
  29. command keystrokes yourself. This is not a "how to run KAMAS 
  30. article" but rather a how to do something with KAMAS after you 
  31. know how to run it article. 
  32.  
  33. Note Entry 
  34.  
  35.      First enter your notes in "manuscript" or "journal" files 
  36. using WordStar. Enter notes in any convenient order, as ideas 
  37. occur to you, or as you come across relevant material while 
  38. reading or researching. You may format notes as you enter them 
  39. or, if more convenient, go back and format notes later. My 
  40. "manuscript" files have minimum formatting since they are 
  41. designed for editing, not for output. 
  42.  
  43.      A good format for WordStar notes: Set margins to wrap at a 
  44. convenient screen width. 80 columns crams more context on the 
  45. screen, but may be difficult to read. I use 65 which looks fine 
  46. and is often a good width for printing to paper at a later stage. 
  47.  
  48.      The vertical format is predicated on the notion that a note 
  49. should be like a paragraph, the expression of a single idea. 
  50. Separate your one-idea notes by two strikes of the <RETURN> key 
  51. at the end of each note. This puts a blank line between notes, so 
  52. that each note has a top and bottom edge for handling as a 
  53. separate building brick in some larger edifice. 
  54.  
  55.      Put descriptive titles on your notes. This can be done as 
  56. you enter during original entry, or at a later time. Sometimes it 
  57. is expeditious to enter stuff in one massive block, typing as 
  58. fast as you can. Then later you go back and break out the 
  59. individual notes and add titles. 
  60.  
  61.      A title is conveniently entered as a WordStar double dot 
  62. comment line (a line which begins with two periods) on a line 
  63. directly above the note itself. For KAMAS a title should include 
  64. a short unique classifying key and optionally, an explanatory 
  65. subtitle which is indicative of what the note is about. Adopt the 
  66. Kamas convention of separating the key and the subtitle with the 
  67. backslash \ character. 
  68.  
  69.      Although KAMAS literature states that a too-long key or 
  70. subtitle will be automatically truncated, during my operations I 
  71. have found it necessary to take care to keep keys under 31 
  72. characters in length and to keep subtitles under 63 characters. 
  73. Otherwise KAMAS aborts during the process of importing the file. 
  74.  
  75.      Your notes should now look like this: A double dot line with 
  76. a key and a subtitle separated by a backslash, followed by a 
  77. paragraph-like note which starts on the very next line after the 
  78. title and ends with two carriage returns, so that a blank line 
  79. separates the end of one note from the double dot header line of 
  80. the next note. Followed by another note. And so forth. 
  81.  
  82.      By-the-way, this format is a good format for the keeping of 
  83. notes even if you are not going to use KAMAS as your main 
  84. rearrange tool. The blank line between notes expedites the block 
  85. marking of notes within WordStar, since you can then mark the 
  86. beginning and end of notes using just vertical motions of the 
  87. cursor. (When the cursor encounters the blank line it snaps to 
  88. the leftmost column automatically). Once a note is marked as a 
  89. block there are several techniques you can use to throw it to 
  90. various locations in a file. 
  91.  
  92. Transition to KAMAS
  93.  
  94.      However, KAMAS is a very good tool for rearrangement of a 
  95. text file which has notes headed by keys and titles. And most of 
  96. my notes need rearrangement from time to time, since the original 
  97. order of entry was seldom the most interesting order for 
  98. presentation. And the original order of entry has never yet been 
  99. the most logical order for remembering as an organized body of 
  100. knowledge. KAMAS can structure and organize my notes. 
  101.      
  102.      To prepare a file for export to KAMAS you use three special 
  103. dot commands. They are ..IN (insert next), ..ID (insert down), 
  104. and finally ..GU (go up). The simplest way to prepare a file is 
  105. to use the ID command on the top three or four notes to establish 
  106. several levels in your logical hierarchy. Then just use IN for 
  107. the rest of the notes. When you get into KAMAS it is a simple 
  108. matter to just promote and demote notes to their correct logical 
  109. level. 
  110.  
  111.      Since your notes are all preceded by a double dot header 
  112. line, just add those special commands to the header lines. Use a 
  113. WordStar Find and Replace to find ^N.. and replace it with 
  114. ^N..ID<sp>, for the three or four top notes. Then do find ^N.., 
  115. replace with ^N..IN<sp> for 99 or 999 notes (pick a number bigger 
  116. than you have notes). Your notes now have titles and KAMAS dot 
  117. commands so they can be exported to a KAMAS file. 
  118.  
  119.      After your existing notes are configured, you can enter a 
  120. list of supertitles, main headings which will have no individual 
  121. note attached, but which will be a higher order heading under 
  122. which you will want to group several notes. For example, if you 
  123. have notes on roses, peonies, and snapdragons you may wish to 
  124. make a heading called "Flowers." Enter your list of main headings 
  125. anywhere in your WordStar file, configuring each header as a 
  126. double dot IN line. (..IN Flowers, for example.) You can group 
  127. your notes under these main headings after you get everything 
  128. into a KAMAS file. If you don't have any main headers in mind 
  129. right now, don't worry, you can always add them after you get to 
  130. the reorganization stage in KAMAS. 
  131.  
  132. On the KAMAS Side
  133.  
  134.      Exit WordStar and run KAMAS. Open a KAMAS topic large enough 
  135. to hold your notes. This should be at least three times the size 
  136. of your raw text file. (If the text file was 20k, open a 60k 
  137. KAMAS topic.) Use the new KAMAS FINPUT utility and bring the 
  138. formatted WordStar note file into your new empty KAMAS topic at 
  139. the top level (give the TOPIC name at the Branch prompt). 
  140.  
  141.      Then use the outline editing facilities of KAMAS to massage 
  142. and re-order your notes by moving the titles around. 
  143.  
  144.      Depending on how many levels you descended, your note file 
  145. will now appear as a list of headings, probably most on one level 
  146. of indentation. Use your KAMAS commands to promote, demote, move 
  147. and shuffle the headers. Expand and collapse your outline as 
  148. desired for manipulation. Of course your notes are dragged around 
  149. with their headers during this structure editing. However, unless 
  150. it is absolutely necessary, you will do well to avoid editing the 
  151. notes themselves (called "leafs" in KAMAS parlance). Save note 
  152. editing for WordStar. Do Outline Editing in KAMAS. 
  153.  
  154.      When you are ready to send the now-structured and arranged 
  155. notes back to WordStar for polishing and formatting, select the 
  156. KAMAS Outfile Branch command to do it. Yes, KAMAS has several 
  157. alternative commands which will export a file to CP/M and 
  158. WordStar. But each export method has its own output format, 
  159. differing on such things as the number of blank lines between 
  160. major headings and subheadings, headers and their notes, etc. 
  161. Experimentation has shown that for purposes of restoring the file 
  162. to a nice WordStar-editable configuration, the KAMAS OB command 
  163. from within the topic outline, with the cursor at the top of the 
  164. topic, is the best solution. Do it. 
  165.  
  166. Back in WordStar
  167.  
  168.      When you leave KAMAS and again edit the file with WordStar, 
  169. you will find some changes have taken place. All carriage return 
  170. line endings will be "hard" as far as WordStar is concerned. 
  171. There will be two blank lines between notes and between major 
  172. headings. There will be one blank line between a note and its own 
  173. header. The double dots designating headers have disappeared and 
  174. so have the backslashes which separated keys from subtitles in 
  175. headers. Perhaps the file is usable in its present configuration. 
  176. If so, just edit it for format and output and be done with it. 
  177.  
  178.      If you want to restore the file to its previous (prior to 
  179. KAMAS) condition, use the public domain utility ENSOFT.COM to 
  180. make the notes themselves reformable. Then edit the file with 
  181. WordStar's D mode and find and replace ^N^N with a single ^N. Do 
  182. this throughout the file and you will end up with all major 
  183. headers separated by single blank lines, and notes once again 
  184. attached to their noteheaders. This single Find and Replace 
  185. wouldn't work to restore the spacing if you selected one of 
  186. KAMAS's other output modes. You could get there, but it will take 
  187. more editing. 
  188.  
  189.      To restore all the headers to their double dot comment line 
  190. configuration, just do find and replace ^N^N, replace with ^N^N.. 
  191. That's two line endings, two dots. Voila, your WordStar 
  192. manuscript file is back in shape, ready for re-transport to KAMAS 
  193. and another re-organization if you add the appropriate KAMAS dot 
  194. commands. 
  195.  
  196.      For printing or electronic presentation, I usually leave my 
  197. manuscript file alone, open a file with the extension PRN, and 
  198. read the manuscript into it. Then I gussie up this PRN copy with 
  199. whatever special formatting, printer control characters, dot 
  200. commands, hyphenation, etc, seems to be required for this 
  201. particular occasion of presentation.  If I don't want all those 
  202. little double dot headers (which were convenient aids to 
  203. organization, but may be clutter to a reader), I strip 'em out by 
  204. printing the file to a PRN disk file.  
  205.  
  206.      At some point I may have too many versions of a file.  There 
  207. will be the KAMAS topic, and one or more dolled up PRN versions 
  208. for outputting to the printer or via modem to a typesetter, or 
  209. whatever.  Plus the minimum format, signposted manuscript file.  
  210. When the time comes to cull the redundant files I always decide 
  211. in favor of my personal manuscript working copy.  The manuscript 
  212. is still simple, standard, eminently editable, and easily 
  213. transported back to KAMAS should the need arise.  Or copied for 
  214. fixing up to print in some special way.  
  215.  
  216.      It turns out that KAMAS is a great partner for WordStar to 
  217. visit once in a while to get files reorganized.  Maybe marriage 
  218. is not in the offing, but the relationship is getting serious.  
  219.  
  220.      END OF WORDSTAR/KAMAS AFFAIR ARTICLE
  221.