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 / WSMAGIC.TXT < prev    next >
Text File  |  2000-06-30  |  11KB  |  239 lines

  1.                     RE-VIEW.FYL
  2.                                        by Jim Holmes
  3.  
  4. THEY  HELD A "SHOWBIZ EXPO last weekend (June 27-29,
  5. 1985) at the Santa Monica (CA) Civic Auditorium.  My
  6. interest in going was primarily to see the demo that
  7. my friend Rowby Goren was giving.  "WordStar Magic",
  8. was a 40-minute "chalktalk"  (using a marvelous wide
  9. screen projection system and laser "pointer") on how
  10. to "speed up" editing tasks, etc. in WordStar.  This
  11. seemed a good time to "recap" Rowby's tips; I'd also
  12. like to ask YOU to send me your favorites.  If I get
  13. enough response, I'll do another column on this in a
  14. month or two.
  15.  
  16. YOU CAN SPEED THE PROCESS of loading WordStar  quite
  17. a bit by getting "patches" from your Club Librarian;
  18. ask him/her what the various ones DO (It's amazing),
  19. then decide on which you want. Another speedup is to
  20. hit an <ESC> (after the <CR>), as WordStar starts to
  21. load.  And you can go directly "to a file" if you'll
  22. just   type  "A:WS  B:filename<cr>" when loading.
  23.  
  24. FROM THE "NO FILE" MENU you can call OTHER programs,
  25. using WordStar's "R" command.  You may wish to check
  26. your  spelling,  transfer  files (to a second  disk,
  27. even  between systems),  print a file (as  you  edit
  28. another) or store a "squeezed" version of your just-
  29. completed  file in an Archive or Library file.   You
  30. can do all this (and more) without leaving WordStar.
  31.  
  32. ARE YOU GOING TO PRINT (or MergePrint) using default
  33. settings only? After typing in the filename, hit the
  34. <ESC> key; WordStar will take over from there.  When
  35. you're doing several different things in one session
  36. you may want to have WordStar "retype" filenames for
  37. you, using the "^R" command.  This works "inside the
  38. file you're editing, or from the "No File" menu, but
  39. you should be careful of it; WordStar always "finds"
  40. the LAST FILENAME associated with the command... not
  41. necessarily the filename currently in use.
  42.  
  43. WITHIN A FILE, USE "BOOKMARKS" (".." comment symbol)
  44. to insert non-printing "notes" and place markers.  I
  45. like to end interim revision sessions with a marker,
  46. ".. 85/07/05 &LAST".  Next time I "work on" the file
  47. I can start with a "^QF &LAST", which shows me where
  48. I "left off"; I replace the "&LAST" with a reference
  49. to the CURRENT session.  This procedure may not help
  50. in fairly small files or short-term projects (though
  51. it "couldn't hurt"), but it's a real life-saver when
  52. I'm working on a major project.
  53.  
  54. WHEN DOING "SEARCHES" (especially in a long file) it
  55. speeds things up if you BEGIN at "top of file"; some
  56. like to search Backwards, but it's much slower.  You
  57. may know "^QR" puts you at "top of file"; "^KS" does
  58. too, but the latter's faster (& it "saves your work"
  59. at the same time).
  60.  
  61. GLOBAL FIND & REPLACE operations go much faster when
  62. you hit <ESC> (rather than <CR>) after entering your
  63. original and replacement "strings".  The search will
  64. be done without "showing it" on the screen, but it's
  65. many times faster.
  66.  
  67. USE "^QP" TO FIND YOUR PLACE after doing a paragraph
  68. reform (^B)... or ANY cursor move.  I find it useful
  69. when I want to jump "back & forth" between 2 screens
  70. for comparative purposes.
  71.  
  72. AFTER A BLOCK MOVE, use "^Qv" to put the cursor back
  73. to where the block "originally" was.  Would you like
  74. to "undo" that last move?  Just enter "KV" to return
  75. the block to it's original location.
  76.  
  77. YOU  MAY PRINT A FILE as you edit (unless  you  have
  78. "patched" your system,  which reduces memory).  Just
  79. do  a "^KS" (to be certain) then a "^KP",  to "bring
  80. up"  the same List of Options you see from  the  "No
  81. File"  Menu.   If you are printing a different  file
  82. than the one you're "in", type in it's name, etc.
  83.  
  84. YOU CAN MAKE ROOM to save a file, if you get a "DISK
  85. FULL" error message; just delete unnecessary file(s)
  86. with a "^KJ".  If you need a list of filenames, type
  87. "^KF"; you can even change logged disks using a "KL"
  88. (though you may not REPLACE a disk, under CP/M 2.2).
  89. In a pinch, where there ARE no unnecessary files (on
  90. EITHER drive), delete WordStar's "message file"; you
  91. can close the text file you are working on, transfer
  92. it to a "new" disk, and then re-copy the "messages",
  93. from your original (or "backup") WordStar disk.
  94.  
  95. A FEW MORE HANDY HINTS about those "dot-commands"; I
  96. like to use them in a "Header File" ( you could have
  97. SEVERAL of these), to "set up" different jobs.  With
  98. a little forethought, you can even create letterhead
  99. and "closing statement" files (to be "read in" in at
  100. the proper places, using "^KR") when editing a file.
  101.  
  102. I KEEP A "CORRESPONDENCE DISK", and when I write the
  103. FIRST letter to firms (& individuals) I realize I'll
  104. correspond with often, I "save" my entire heading to
  105. a disk file (using "KW").  Next time I write, it's a
  106. simple matter to "^KR" that heading in; I change the
  107. date, then type the body of the letter.  Sometimes I
  108. must correspond with more than one person at a firm.
  109. I'd like to credit Mike Rulison from the Raleigh, NC
  110. Osborne  Club (ROCC)with the solution.   Enter  EACH
  111. NAME as if it were a note (using "..", so they won't
  112. print) into the heading.   When you write someone at
  113. that firm, delete the ".." before the name you want.
  114.  
  115. HAVE YOU EVER had to "fix" a line of text that won't
  116. print, because it starts out with a "..."?  WordStar
  117. doesn't know what you're thinking; when you do that,
  118. it treats it as a non-printing "comment".  If you've
  119. decided the line MUST BEGIN that way, simply type in
  120. "^PS^PS" in column one, like this:
  121. ... as you see, the line will print now.
  122.  
  123. IN A FAIRLY LENGTHY DOCUMENT, you can be certain the
  124. final draft will have been revised at least once.  I
  125. like to "look at" hard copy now and then, and put in
  126. "page separators" for logical (& cosmetic) purposes.
  127. Beware, however, of "moving text" to fit the page; I
  128. recommend you use instead the ".PA" command to force
  129. a page break where you want it.  That way, re-writes
  130. can BEGIN with a "search and replace" operation that
  131. removes the pagination.  First, enter "QA"; when the
  132. prompt asks what to search for, enter ".PA"; just do
  133. a <CR> at the prompt for a "replacement string"; now
  134. enter "GN" (global/don't ask first) at the prompt to
  135. limit operations; finally, hit <CR><ESC>. That's it!
  136.  
  137. WHEN YOU WANT TO "MOVE TEXT" on the printed page, do
  138. it with the "dot-commands".  WordStar comes with the
  139. "built in" assumption that you're using paper that's
  140. 8 1/2 by 11 inches.  it further assumes top, bottom,
  141. left & right margins that (for many) are usually the
  142. most attractive and practical settings.
  143.  
  144. Sometimes a special job requires different settings.
  145. I suggest (unless you KNOW you'll be repeating it on
  146. a VERY regular basis) leaving the "default settings"
  147. As-Is;  use dot-commands instead.  You COULD indent,
  148. use  "blank" lines,  etc.,  but this wastes too much
  149. "disk space".   You'll recall that WordStar needs AT
  150. LEAST  twice the space,  on disk,  the file uses  in
  151. memory.   That's because of the .BAK file [Actually,
  152. it needs MORE; there's also a "work" file it writes,
  153. which you never see].
  154.  
  155. When using dot-commands to "structure" your finished
  156. output, the file begins at line 1, column 1.  Please
  157. note that the "status line" (top-of-screen)  DOESN'T
  158. CHANGE when entering a dot-command line.  It will do
  159. it's job (without requiring "extra" disk space), but
  160. any text which follows will not be displaced (as per
  161. the CRT) when printed [also true of "embedded" (that
  162. means "typed into text") "control characters].
  163.  
  164. Well,  I've already "used up" over 8k (before a good
  165. editor takes "scissors" to my copy), so I'll have to
  166. end this... but not before getting in a "final tip".
  167. If you ever need to know (while editing) how big the
  168. file you're working in IS, just "turn off" the "page
  169. break display" toggle (it's "^OP").  The status line
  170. at top-of-screen will THEN display an FC (file char-
  171. acter) and FL (file line) number.  At the exact sign
  172. of the *, mine tells me I've used 8,880 bytes.  Now,
  173. if I could just get PAID for doing this....
  174.  
  175.                     RE-VIEW.FYL
  176.                                        by Jim Holmes
  177.  
  178. A while back I ran a column on WordStar Magic, and I
  179. promised more tricks, "soon". I always wondered just
  180. how long soon was; now I know. As before they're not
  181. usually original with me (I forget which one's ARE).
  182. What's important is, they may help you do a faster,
  183. better job. I'd like to hear if these suggest some
  184. others that you'd care to share; I will be happy to
  185. include them in a future column.
  186.  
  187. Last time, I mentioned that using ^R after a command
  188. (from the "no file" menu) causes WordStar to "retype
  189. the filename" of the LAST file using the command. I
  190. neglected to tell you that the Right Arrow Key does
  191. the same thing, one character at a time. Sometimes
  192. this is preferable, as when you wish to change the
  193. filename slightly (CHAPTER1, CHAPTER2, etc.).
  194.  
  195. The other night, a new user asked me how to set up
  196. print-time margins for a thesis; it had to have top
  197. & bottom margins of 1 inch on all pages EXCEPT the
  198. 1st; that page required a 2 1/2 inch top margin. A
  199. left margin of 1 1/2 inches & a 1 inch right margin
  200. were standard for all pages.  She was really upset,
  201. and about to have someone type it for her. She just
  202. couldn't understand the book on .LM n/DIS, etc.
  203.  
  204. I suggested she forget all that, for the time being
  205. anyhow. I told her to set the top margin to 1 inch
  206. (.MT 6), and to simply enter 9 <cr>'s (following her
  207. dot commands) for page 1. The bottom margin was easy
  208. (.MB 6). Then we used .PO 15 for a 1 1/2 inch Margin
  209. on the left. I had her enter a ruler line (beginning
  210. with two ..'s), ----R ending in column 60, then told
  211. her to use ^OF ("set margins to cursor line") each
  212. time she entered the file (it seemed less confusing
  213. than remembering to enter a ^OR 60 every time) to
  214. get her margin of 1 inch on the right side. If page
  215. #1 had been a title page (no text/page length to be
  216. concerned about), she could have opened a separate
  217. file for it, and used .PN 2 to start page numbering
  218. with #2 for her text file; since the first page was
  219. also filled with text, I did it this way.
  220.  
  221. Sometimes, when entering data in tabular form, you'd
  222. like to see "how it looks" on paper, yet don't want
  223. to wait for a printout. Just do a ^OD, to turn off
  224. (it's a toggle) the screen display of embedded print
  225. control commands. Things will line up just the way
  226. they they're going to print.
  227.  
  228. The final tip (for now) involves embedded text from
  229. other sources... a lengthy quote, etc. I like to set
  230. these off with different margins. I find it easier
  231. to "leave a marker" (using ..## at the left margin)
  232. where I plan to (later) insert the embedded text. A
  233. separate file is created for each inclusion (NOTE1,
  234. NOTE2, etc.), with appropriate Left Margin (.PO ##)
  235. and line length (^OR ##). These inserts are read in
  236. (^KR) to the main file after editing is completed.
  237. Be sure each "insert" ends with a (.PO ##) return to
  238. the main file's margin setting.
  239.