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 / KEYSTOWS.AQT / KEYSTOWS.ART
Text File  |  2000-06-30  |  30KB  |  668 lines

  1.  
  2. ==============================================================================
  3. [  THE KAY*FOG RBBS  |  KEYSTOWS.ART  |  published  22/12/85  | 665 lines 30k]
  4.  
  5.               KEYS TO WORDSTAR:  The Use of Macros
  6.                          by Dick Ezzard
  7.                        Copyright (C) 1985
  8.  
  9.  
  10. __________INTRODUCTION__________
  11.  
  12. WHY USE MACRO COMMANDS?
  13.  
  14.      Macros make WordStar into a much more powerful tool than 
  15. most people realize.  To speed up your text editing automate 
  16. strings of WordStar commands with a keyboard enhancer such as 
  17. Xtra-Key, SmartKey, ProKey, ManyKey, QuikKey, SuperKey or the 
  18. public domain FK.COM.  Then the touch of a single key can cascade 
  19. several WordStar commands, speeding up the performance of some 
  20. desirable process which would be slow and cumbersome if you had 
  21. to enter each command separately.  (The WordStar command buffer 
  22. can receive and store a number of commands faster than any human 
  23. can type.)  
  24.  
  25.      Accuracy is an important benefit: pre-set strings of 
  26. commands eliminate typographical errors when keying-in complex 
  27. sequences -- no small advantage since mistakes made when entering 
  28. complex WordStar commands can damage important files.
  29.  
  30.      While the number of potential combinations is astronomical, 
  31. you'll probably come up with a small set of favorites that you 
  32. know well and use often.  I keep these tools in "sets" which are 
  33. appropriate to particular kinds of activities, one set for use 
  34. during high speed text entry, another set for editing existing 
  35. text.  I find especially useful a set I use for re-arranging 
  36. mishmash text files.  
  37.  
  38. OTHER IMPROVEMENTS
  39.  
  40.      In addition to macros, there are two more ways to 
  41. supercharge WordStar: Using a ram disk, and eliminating some of 
  42. WordStar's files.  Both are discussed below.
  43.  
  44. MACRO OVERVIEW
  45.  
  46.      Let's take a look at some of my favorite macro types:
  47.  
  48. * Text entry keys (reversing two transposed letters, fetching 
  49. special ruler lines, deleting a word to the left);
  50.  
  51. * Editing keys used when traversing a file (jumping cursor to the 
  52. next paragraph, jumping a given number of lines, jumping a given 
  53. number of paragraphs);
  54.  
  55. * Massive deletions (delete from cursor to beginning of file, 
  56. delete from cursor to end of file, delete to end of paragraph, 
  57. delete to beginning of paragraph, delete a block with retrieval 
  58. option);
  59.  
  60. * Re-arranging text (mark current sentence as a block, mark 
  61. paragraph as a block, move block to cursor and swap, move line to 
  62. end of file, move block to end of file, install several sorting 
  63. bins, move block to bin);
  64.  
  65. * Indexing a file (copy line to end of file, copy block to top of 
  66. file);
  67.  
  68. * Multiple file editing (view another file, add a note to another 
  69. file);
  70.  
  71. * Other editing aids (tag marked block for later re-marking, re-
  72. mark a tagged block)
  73.  
  74. * Miscellaneous keys (remove ghost lines from screen, print 
  75. marked block, remove carriage returns not followed by line 
  76. feeds);
  77.  
  78. * Formatting keys (re-form current paragraph, underline a single 
  79. word);
  80.  
  81. * Finally, supercharging WordStar: Using a ramdisk to get the 
  82. most out of these macros; eliminating WordStar's WSMSGS.OVR, 
  83. MAILMERG.OVR overlays; and removing WS.COM to make space on a 
  84. disk.
  85.  
  86.  
  87. __________TEXT ENTRY KEYS__________
  88.  
  89. REVERSE TWO TRANSPOSED LETTERS     ^Kk^S^Kb^S^Kv^Kh
  90.  
  91.      This reverses two letters entered in transposed fashion, a 
  92. common occurrence.  For example, if you type the sequence teh, 
  93. you can use this key to correct it to "the." It may be useful 
  94. during high speed text entry if this is one of your common 
  95. mistakes.  However, it is probably more trouble than it is worth 
  96. since it requires that you position the cursor carefully just to 
  97. the right of the two transposed letters.  
  98.  
  99.      The quickest ways to correct errors detected during text 
  100. entry: 
  101.  
  102.      If you are still in the word where the error occurred, use 
  103. your deleting backspace to erase back to the error is and retype 
  104. the error.  
  105.  
  106.      If the error is several words back on the same line, use ^A 
  107. to jump back to the beginning of the word which contains the 
  108. error, then retype the whole word (unless it is a monster like 
  109. Brzeniski or something) inserting it in front of the error, then 
  110. use ^T to delete the word with the error.  
  111.  
  112.      If you notice an error back further on your screen, let it 
  113. go till you go through on your proof read.  Especially if you are 
  114. going to do a spell check anyway.  
  115.  
  116. FETCH SPECIAL RULER LINES          ^Qs^Kb<CR>^KK^Qb^KrR<CR>
  117.  
  118.  This baby marks a tiny empty block, then reads in a file called 
  119. R which is where you keep formatting stuff like special ruler 
  120. lines.  This is very useful to people who have to adjust their 
  121. tabs and margin settings often, like script-writers and people 
  122. who make up highly formatted tables and lists.  Also useful if 
  123. you edit directly on data base files which have to line up.  
  124.  
  125.      Your collection of ruler lines comes in as a marked block.  
  126. Place the cursor on the example ruler line of your choice and do 
  127. ^Of to reset your margins and tabs.  Then do ^Ky to erase the 
  128. ruler line collection out of your current file until you need 'em 
  129. again.  
  130.  
  131. DELETE WORD LEFT         ^A^T
  132.  
  133.      Another error corrector for use during text entry.  Will 
  134. "eat up" words to the left, as many times as you hit it.  If you 
  135. want to start over just a little way back, comes in handy.  
  136.  
  137.  
  138. __________EDITING KEYS__________
  139.  
  140. JUMP CURSOR TO NEXT PARAGRAPH       ^Qf^N^N<CR><CR>
  141.  
  142.      This actually does a find of two cr/lf line endings in a 
  143. row, so it jumps to the next paragraph only if your standard 
  144. format is to include a blank line between paragraphs.  As a 
  145. matter of policy it is quite useful to standardize a format for 
  146. your own "manuscript" files, to work in conjunction with a 
  147. collection of special function keys.  Postpone matters of 
  148. formatting for printing until the last thing you do to a file.  
  149. When doing text entry and conceptual editing, leave justification 
  150. off, and hyphen help off -- those "features" will just slow you 
  151. down.  
  152.  
  153.      After you have used this key once to jump to the top of the 
  154. next paragraph, you can just hit ^L to repeat and traverse your 
  155. file paragraph by paragraph.  
  156.  
  157. JUMP N LINES        ^Qf^N<CR>
  158.  
  159.      This is the front stub of a FIND command that looks for line 
  160. endings.  After hitting the key, you enter a number to tell 
  161. WordStar how many lines to find, then hit the <RETURN> key again.  
  162. For example, after hitting the defined function key enter 
  163. 55<RETURN> and you will jump 55 lines, the normal length of a 
  164. WordStar page.  To go to the 10th page enter 550.  After one use, 
  165. if you want to jump the same number of lines use ^L.
  166.  
  167. JUMP N PARAGRAPHS        ^Qf^N^N<CR>
  168.  
  169.      Similar to the previous two keys, this one jumps paragraphs 
  170. if they are delimited by double carriage return/ line feed 
  171. sequences.  After hitting the defined key, enter the number and 
  172. <CR>.  Repeat by ^L.  
  173.  
  174.  
  175. __________MASSIVE DELETIONS__________
  176.  
  177.      There are two useful ways to make deletions so that the 
  178. deleted material can be retrieved later if needed.  The first is 
  179. simply to shift the "deleted" material to the end of the file.  
  180. At the end of the editing process, it's a simple matter to clean 
  181. up the end of the file. The second method:  Set up a "delete" 
  182. macro so that the file is first saved before the deletion takes 
  183. place.  Use another macro to yank back the earlier version if the 
  184. deletion proves unsatisfactory.  Both methods are described 
  185. below.
  186.  
  187. DELETE FROM CURSOR TO BEGINNING OF FILE      ^Kk^Qr^Kb^Ky
  188.  
  189.      Dangerous.  It picks out a small section of text or data for 
  190. retention, from a larger file.  For example, say you have 
  191. captured a log of messages from KAY*FOG and there is one in there 
  192. you want to keep for future reference.  You could use WordStar to 
  193. browse down to the file until your cursor is at the top of the 
  194. material you want to retain.  Hit this key and everything above 
  195. it in the file disappears.  
  196.  
  197.      This key is so dangerous that I have taken it off my 
  198. keyboard, preferring to in the command sequence myself when I 
  199. really want to do a massive delete.  An accidental delete from 
  200. the bottom of a valuable file could be trouble, when you haven't 
  201. yet backed up the fresh work.  
  202.  
  203. DELETE FROM CURSOR TO END OF FILE       ^Kb^Qc^Kk^Ky
  204.  
  205.      This cleans out everything in a file below the material you 
  206. want to retain.  Another example of a useful application for 
  207. massive deletion is boilerplating.  You keep a monster file of 
  208. all the paragraphs you might use in a business letter.  Open a 
  209. new file in which to write a current letter.  Then read in the 
  210. file which is your collection of boilerplates.  Select the few 
  211. paragraphs you want to use this time, move them to the top of the 
  212. file, and delete the rest using this special function key.  
  213.  
  214.      Like its sister which deletes everything to the top of the 
  215. file, I find this too dangerous to have around.  I use the 
  216. command sequence a lot, but don't want to be able to do it with 
  217. one key!  Would rather just type the commands as fast as I can.  
  218.  
  219. DELETE TO END OF PARAGRAPH    ^Kb^Qf^N^N<CR><CR>^Kk^Ky
  220.  
  221.      This will get everthing from where the cursor is to the end 
  222. of the paragraph, if you format your paragraphs with double <CR>s 
  223. as recommended.  Note that it uses both block operations and find 
  224. operations which are in separate incompatible parts of the 
  225. WordStar overlay file, so your disk will be accessed a couple of 
  226. times with this one.  However, it is not bad with a RAM disk.  
  227. Note also that where your cursor lands after a find operation 
  228. differs slightly between versions of WordStar.  
  229.  
  230.      Probably more trouble than it's worth.  I get the same 
  231. effect just as fast with a sequence of ^Qy to lop off the current 
  232. line, followed by repositioning the cursor down and hitting ^Y 
  233. the required number of times.  
  234.  
  235.      Paul St. John notes that ^Kb^B^Kk^Ky does the same thing 
  236. just as effectively.
  237.  
  238. DELETE TO BEGINNING OF PARAGRAPH       ^Kb^Qf^N^N<CR>B<CR>^Kk^Ky
  239.  
  240.      Similar to the just preceding key, only the FIND operation 
  241. searches with the B for backwards option to find the double 
  242. <CR>'s which define a paragraph.  Again, maybe not worth the 
  243. trouble in most cases.  
  244.  
  245. DELETING A BLOCK, WITH RETRIEVAL OPTION ^Ks^Qp^Ky   ^KqYD^R<CR>
  246.  
  247.      When performing a block-delete, it's nice to have the 
  248. ability to yank back the deleted portion if you change your mind.  
  249. These two macros give you just this ability.
  250.  
  251.      The first macro, ^Ks^Qp^Ky, first saves the file in its pre-
  252. delete form before making the actual block deletion.  If you 
  253. don't like the result, and want to return to the previous version 
  254. of the file, the second macro, ^KqYD^R<CR>, takes you out of the 
  255. file and back in so fast that the effect is nearly like yanking 
  256. back the deleted text.
  257.  
  258.      This nifty key was added to the collection by David Lewiston 
  259. who says he picked it up from a Kaypro User's Group file.  
  260.  
  261.  
  262. __________RE-ARRANGING TEXT__________
  263.  
  264. MARK CURRENT SENTENCE AS BLOCK  ^Qf  <CR>B^D^D^Kb^Qf  <CR><CR>^Kk
  265.  
  266.      Note that there are two spaces after each ^Qf.  This key is 
  267. dependent on the user being consistent in ending each sentence 
  268. with two space characters.  Does not work on the first sentence 
  269. in a paragraph.  Probably more of a stunt than anything useful.  
  270.  
  271. MARK PARAGRAPH AS BLOCK   ^Qf^N^N<CR>B<CR>^X^X^Qf^N^N<CR><CR>^Kk
  272.  
  273.      The lazy man's block marker.  Provided your paragraphs are 
  274. configured separated with double carriage returns as recommended, 
  275. place the cursor anywhere in a paragraph and hit this key.  The 
  276. paragraph will be blocked for you, ready to move.  
  277.  
  278.      Some cautions: Won't work unless the paragraph is preceded 
  279. and followed by double <CR>, which is usually not the case for 
  280. the first and last paragraphs in a file.  And may not be the case 
  281. at all if you don't format your manuscript files the same way I 
  282. do.  Then re-design of this key may be necessary.  Also, this key 
  283. works with WordStar version 2.26.  The positioning of the cursor 
  284. after a find operation differs slightly for some other versions 
  285. of WordStar so some tinkering will be required.  
  286.  
  287.      I don't use this one anymore because I am proficient enough at 
  288. block marking to make better time just zinging the cursor up and down 
  289. to mark blocks.  
  290.  
  291. MOVE BLOCK TO CURSOR          ^Kv^Qv
  292.  
  293.      Proceeding through a file you can mark and move blocks in 
  294. sequence.  After you mark the first block, you prowl around 
  295. moving the cursor till you find where you want the block to 
  296. light.  Hit this key and the block comes to the cursor location, 
  297. the cursor snaps back to where the block was and you are ready to 
  298. mark your next block.  
  299.  
  300.      You may not wish to tie up a special function key for a 
  301. command sequence as simple as ^Kv^Qv which is easy to type.  
  302.  
  303. MOVE LINE TO END OF FILE (HOLD OFF ERASE) ^Qs^Kb^X^Kk^Qr^Kv^Qv^Kh
  304.  
  305.      Provides an option on erasing lines: Marks the current line 
  306. as a block and moves the marked line to the end of the file, for 
  307. later consideration, instead of permanently obliterating the 
  308. line, as with ^Y.  It then returns the cursor to where you are 
  309. working.  
  310.  
  311.      This jewel is the prototype for text re-arrangement.  If 
  312. your file is short enough to exist entirely in RAM, it is very 
  313. quick indeed, and you can move several lines by hitting this key 
  314. several times in quick succession.  
  315.  
  316.  Since each line goes to the end of the file, it appears under 
  317. the one which was previously moved.  Since you return to the 
  318. place you just came from, you are on the very next line.  So hit 
  319. this key five times in a row and you move a five line paragraph 
  320. to the bottom of the file.  
  321.  
  322.      About five or six lines seems to be the limit of WordStar's 
  323. command buffer and you will be signaled that the buffer is full 
  324. by a beep and the appearance of some !!!!! marks at the top of 
  325. the screen.  Not to worry.  Just slow down a little and then you 
  326. can move some more lines.  
  327.  
  328.      One of WordStar's stickiest pitfalls is the ^Y erase key.  
  329. David Giunti has an ingenious solution to this problem if you use 
  330. a full-fledged keyboard redefiner: program this sequence to the 
  331. ^Y key so that the line is moved to the end of the file and Word 
  332. Star never finds out that a ^Y was entered!  This can save the 
  333. day for the heavy-handed typist, because holding ^Y down for just 
  334. a little too long results in WordStar deleting more than one 
  335. line.  
  336.  
  337.      When you end your edit, use ^Qc to go to the end of file, 
  338. and delete the really unwanted lines from the bottom of the file 
  339. (with Block mark and delete).  First you throw stuff in the 
  340. wastebasket, later on you get a chance to reconsider before you 
  341. irrevocably burn it up.  
  342.  
  343. MOVE BLOCK TO END OF FILE     ^Qr^Kv^Qv^Kh
  344.  
  345.      Used after you manually mark a block, this will move that 
  346. block to the end of the file.  And bring you back to where you 
  347. are working.  Aids tremendously in the re-arrangement of text.  
  348.  
  349.      For example, let's say you have a file which is a mishmash 
  350. of notes on roughly the same subject, but in no particular order.  
  351. Starting at the top of the file, mark blocks that you think 
  352. belong in the middle of the file and use this key to send them to 
  353. the end.  When you get done with the first pass, go back to the 
  354. top and go through again sending down stuff that you think 
  355. belongs to the end of the file.  You have just done a rough sort.  
  356.  
  357.      The stuff that "belongs to the beginning" you never touched 
  358. so it is in the front of the file.  The middle stuff went down 
  359. first but was bumped back up to the middle when you sent the end 
  360. stuff down on the second pass.  Now you can do the same kind of 
  361. sort on just the beginning stuff.  Pretty soon you will see some 
  362. kind of sequence.  
  363.  
  364.      Use this one as an alternative to deletion.  As you edit a 
  365. file throwing stuff to the bottom is equivalent to putting it in 
  366. the wastebasket.  Use this technique as the poor man's "UNDO" 
  367. command.  
  368.  
  369. SETTING UP SORTING BINS       ^K1 ^K2 ^K3 ^K4 ^K5 
  370.  
  371.      All this key does is post a sequence of WordStar's place 
  372. markers.  This is preparatory to using the markers as targets for 
  373. text block movements.  Note that there is a space between each of 
  374. the markers.  
  375.  
  376. MOVE BLOCK TO A BIN      ^Q1^Kv^Qv^Kh        ^Q2^Kv^Qv^Kh
  377.  
  378.      This set of keys moves marked blocks to pre-designated place 
  379. markers.  I have these key definitions installed on some of my 
  380. number keys.  When I want to move text to more locations than 
  381. just the top or bottom of the file, I set up place markers, then 
  382. move through the file marking blocks as I go.  After a block is 
  383. marked (by the lazy man's block marker key if you like) just hit 
  384. the appropriate dispatcher key and the block will be moved to the 
  385. corresponding place marker and the cursor will snap back to where 
  386. you are working.  
  387.  
  388.  
  389. __________INDEXING A FILE__________
  390.  
  391. COPY LINE TO END OF FILE      ^Qs^Kb^X^Kk^Qr^Kc^Qv^Kh
  392.  
  393.      This very useful key is sister to the key which moves lines 
  394. to the end of file.  This one sends a copy of the current cursor 
  395. line to the end of file and leaves you ready to continue prowling 
  396. the file.  
  397.  
  398.      Why copy lines to the bottom of the file? It is an easy way 
  399. to make a table of contents for a text file.  Every so often I 
  400. signpost my manuscript files with headlines (usually using  
  401. WordStar's double dot comment line format).  After a file is more 
  402. or less complete I start at the top and place the cursor on each 
  403. heading line, hit this key and send a copy to the bottom of the 
  404. file.  After browsing through the entire file I find a collection 
  405. of the headings at the bottom.  When they are moved to the top 
  406. they become a table of contents for the file and help me to jump 
  407. down to a specific location by use of the ^Qf find operation, by 
  408. showing me what I'm looking for.  
  409.  
  410. COPY BLOCK TO TOP OF FILE     ^Qr^Kv^Qv
  411.  
  412.      After markig a block, this key will send it to the top of 
  413. the file.  Often used to move a collection of redundant headings 
  414. to the top of the file to serve as a table of contents for the 
  415. file.  
  416.  
  417.  
  418. __________MULTIPLE FILE EDITING__________
  419.  
  420.      These macros create "window shades." The first, View Another 
  421. File, uses O as the name for the Outline file relating to the 
  422. project in progress.  The second, Add a Note to Another File, 
  423. uses N as the name of the file containing Notes, to which 
  424. additional material can be added.  The same techniques can be 
  425. used with other files, omitting O and N from the macros, and 
  426. simply entering the wanted filename.  
  427.  
  428. VIEW ANOTHER FILE             ^Kb<CR>^Kk^Qb^KrO<CR>
  429.  
  430.      This key pulls down a "window shade" into a pre-marked 
  431. block.  The shade it pulls down is a file called, by convention, 
  432. "O".  I always keep my outline for my current project in a file 
  433. called O so when I use this key I get to glance at my outline.  
  434. It appears in the text file in which I am working and is 
  435. distinguished from the current text by being pre-marked as a 
  436. block.  When I am done looking at the outline, I hit ^Ky and the 
  437. outline goes away until I want to glance at it again.  
  438.  
  439. ADD A NOTE TO ANOTHER FILE    ^Qb<CR>^KrN<CR>^KwN<CR>Y^Ky
  440.  
  441.      This allows writing to the tag end of a file different than 
  442. the one you are working in.  By convention the other file is 
  443. called N.  If I am working away and think of something not 
  444. pertinent to my current project, or if I get a phone call and 
  445. want to remember something about it, I make a note right in the 
  446. file I am working in.  Mark the note, whatever it is, as a block 
  447. and then hit this key.  
  448.  
  449.      The file N will be read into the block at the top, and the 
  450. file N will be written out again, as an entire block and 
  451. therefore encompassing the new note.  It happens so fast you 
  452. won't see file N come in, just the blocked note will disappear.  
  453. But when you later look at File N, all notes will be in there in 
  454. the order you sent them out.  
  455.  
  456.      There must be a file N in existence before you use this key 
  457. the first time, even if that file consists of only one <CR>.  
  458.  
  459.      You need not send just "odd notes" to that N file.  I often 
  460. use this key in culling operations, to run through a copy of a 
  461. mishmash file and extract the paragraphs which pertain to a 
  462. particular topic.  After extracting all material on one topic, 
  463. you can rename N, start a new N, and go through the mishmash to 
  464. cull out notes on a second topic.
  465.  
  466.  
  467. __________OTHER EDITING AIDS__________
  468.  
  469. TAG MARKED BLOCK FOR LATER REMARKING    ^Qb^K0^Qk^K9^Kh
  470.  
  471.      This key gets around the fact that WordStar only permits one 
  472. "active" marked block at a time.  Sometimes you will want 
  473. WordStar to be able to "remember" the current marked block while 
  474. you do something with another block.  This often arises for me 
  475. when I read in an outline as a marked block, then want to move 
  476. some text around to conform to the outline, but know I will want 
  477. to erase the outline again in a little while.  
  478.  
  479.      Hit this key and the block markings are removed, but the 
  480. "old block" is tagged with place marker 0 at the beginning of the 
  481. block, place marker 9 at the end.  I select these place markers 
  482. because I often use the lower place markers, 1, 2, 3, 4, as 
  483. targets for block moves when re-arranging text.  Thanks to Ed 
  484. Greenberg of MicroPro for this "chipping off the old block" 
  485. capability.  
  486.  
  487. RE-MARK A TAGGED BLOCK        ^Q0^Kb^K0^Q9^Kk^K9
  488.  
  489.      This key is the sister to the previous one, re-marks the 
  490. previously marked old block, after you are done with block 
  491. operations elsewhere in the file.  If the old block was an 
  492. outline or notes which have now served their purpose, they are 
  493. now ready for a ^Ky delete.  
  494.  
  495.  
  496. __________MISCELLANEOUS KEYS__________
  497.  
  498. GHOSTBUSTER--CLEAR GHOST LINES     ^K0^Qe^Qs^Kb^Qx^Qd^Kk^Q0^K0 or 
  499.                                    ^K0^Qe^Qs^Kb^Qx^Qd^Kk^Q0^K0^KH
  500.  
  501.      This key marks the entire screen as a block, moving the 
  502. cursor to the top left, then to the bottom right, but remembering 
  503. where it was in the beginning and going back there after marking 
  504. the block.  
  505.  
  506.      Once in a while when WordStar is being run fast, its screen 
  507. display buffer will get caught with a duplicate line in it.  
  508. These extra characters are _not_ in the file, they are just in 
  509. the stuff that WordStar is showing on the screen, and will 
  510. disappear if the area they are in is marked as a block -- an 
  511. operation which modifies the contents of the screen buffer (on 
  512. most systems).  
  513.  
  514.      To unmark the block, either hit ^KH or hit the ghostbuster 
  515. SFK a second time; it works as a toggle.  The same idea can be 
  516. used to delete an entire screenful, or to dump a screenful to the 
  517. printer.
  518.  
  519. PRINT MARKED BLOCK            ^KwP<CR>Y^KpP<ESC>^X
  520.  
  521.      This will send a marked block to the file called P and then 
  522. print the file called P.  Unless you have included formatting dot 
  523. commands in the block, the block will print as a page in WS's 
  524. default format.  
  525.  
  526.      Note that if you use this one in conjunction with the 
  527. previous full screen block marking, you get what amounts to a 
  528. screen dump to the printer at the touch of two keys, while in 
  529. WordStar.  
  530.  
  531. REMOVE CRs NOT FOLLOWED BY LFs      ^Qa^P^M^P^O^P^J<CR><CR>GN<CR>
  532.  
  533.      This is an example of the highly specialized filtering which 
  534. can be accomplished from within WordStar.  This was the answer to 
  535. a guy who had to process some files which had been downloaded 
  536. from a remote system in a format which did not include linefeeds 
  537. on many lines.  By knocking off the odd carriage returns he was 
  538. ready to re-form the files in a more standard manner.  This 
  539. solution came from Mojo Jones of MicroPro.  
  540.  
  541.  
  542. __________FORMATTING KEYS__________
  543.  
  544. REFORM CURRENT PARAGRAPH      ^Qf^N^N<CR>B<CR>^X^X^B
  545.  
  546.      This will re-form the paragraph you are working in.  Often 
  547. when editing text you will add new words, delete something so 
  548. that the lines have changed in length and the paragraph needs 
  549. reformation.  This key will do it.  
  550.  
  551.      Presupposes you follow the convention to separate paragraphs 
  552. with two CR/LF sequences (blank line between paragraphs).  
  553.  
  554.      This one is for WordStar version 2.26.  Some versions of 
  555. WordStar may put the cursor in a different location after a 
  556. backwards Find operation looking for two CR/LF.  If so, the 
  557. number of ^X's in the key definition may vary.  
  558.  
  559. UNDERLINE A WORD              ^A^P^S^F^P^S
  560.  
  561.      This puts the printer control codes ^S for underscore at the 
  562. beginning and end of a word just typed.  A variation might be to 
  563. put the underscore or boldface or alternate type size controls at 
  564. the beginning and end of a marked block -- left as an exercise 
  565. for the reader.  Thanks to Ted Silveira for this formatting key.  
  566.  
  567.      A note concerning formatting in general:  this is often best 
  568. left to be the final task before a file is output for printing.  
  569. Such matters as justification, hyphen-help and underscoring or 
  570. boldfacing, just slow you down during the "manuscript" drafting 
  571. phases of word processing.  My standard manuscript files are 
  572. configured to be easy to work with, standardized so I can use 
  573. certain special function keys I find useful (especially block 
  574. marking and moving to place marker targets), and jam as much 
  575. context as possible onto the limited screen window.  
  576.  
  577.      It is only later that I bother to make a copy of the file 
  578. which is then gussied up for display with printer control gadgets 
  579. like underlining and boldfacing, centering, justification, etc.  
  580.  
  581.  
  582. __________SUPERCHARGING WORDSTAR__________
  583.  
  584. RAM DISKS AND WORDSTAR
  585.  
  586.      Because WordStar was originally built for use on computers 
  587. with limited memory space for holding programs, it consists of 
  588. the COM file (the program proper) and some overlay files.  The 
  589. COM file holds the basic nut of WordStar, the most-used 
  590. functions.  The overlay files hold auxiliary routines and 
  591. materials portions of which are loaded into memory when needed.  
  592. For example, many of the help menus are located in the file 
  593. called WSMSGS.OVR.  
  594.  
  595.      Due to this overlay construction, WordStar makes frequent 
  596. disk accesses.  When you use a sequence of commands that come 
  597. from different parts of the overlay file, you will be subjected 
  598. to annoying disk accesses.  The FIND or FIND AND REPLACE 
  599. functions are incompatible with BLOCK MOVE functions, and if you 
  600. are continually finding, then block moving, then finding and 
  601. moving again, you will be listening to a lot of disk accesses.  
  602.  
  603.      On top of that, although WordStar is very fast (especially 
  604. on 8-bit CP/M computers), and can buffer a sequence of commands 
  605. for later execution, as fast as you can type them in, it is NOT 
  606. able to receive commands while an actual disk access, a read or a 
  607. write, is going on.  So although you can usually type ahead a 
  608. sequence of commands for WordStar to perform in turn (no, you 
  609. don't have to wait for each step to be completed before giving 
  610. the next command) pauses for disk access will slow you down.  
  611.  
  612.      The solution to this disk access problem is a RAM disk--
  613. either a portion of memory configured as a disk or an add-on 
  614. piece of hardware.  Macros really shine when you operate them on 
  615. a RAM disk.
  616.  
  617. NAKED WORDSTAR RUNS FASTER
  618.  
  619.      Make yourself a lightweight working WordStar disk using only 
  620. WSOVLY1.OVR and WS.COM.  If you are accustomed to WordStar you 
  621. don't need WSMSGS.OVR file which contains only help menus, 
  622. command menus, and messages which are posted during execution of 
  623. some commands.  
  624.  
  625.      Leaving out WSMSGS.OVR speeds WordStar operations 
  626. considerably.  After the first attempt to access that file, 
  627. WordStar modifies itself to remember that the messages are not 
  628. available and will not go to the disk for that particular kind of 
  629. stuff during the rest of the session.  If you make a cribsheet of 
  630. common WordStar commands and keep it and a WordStar book close to 
  631. your computer, you will soon have the most-used commands well 
  632. memorized.  Continuing to rely on the menus will only train you 
  633. to use menus.  The practiced WordStar user no more looks at menus 
  634. than a touch-typist looks at typewriter keycaps.  
  635.  
  636.      Okay, the WordStar expert is down to two files for booting: 
  637. WS.COM and WSOVLY1.OVR.  If you really need all the disk space 
  638. you can find, you can erase the MailMerge file MAILMRGE.OVR, and 
  639. even erase WordStar itself!  After WordStar is booted up and 
  640. esconced in RAM, use the WordStar command Y at the main WordStar 
  641. menu and instruct the system to erase the file WS.COM.  Now you 
  642. are down to the nub: WordStar is in RAM and the one file it 
  643. needs, WSOVLY1.OVR is on the disk.  And you are still in the word 
  644. processing business.  
  645.  
  646.      The ability to run WordStar without WordStar may just save 
  647. your neck if a drive goes bad and you are forced to operate on a 
  648. single drive temporarily.  Also, if you ever back yourself into a 
  649. corner and end up with a "disk full" error or a bad disk, and 
  650. have to save some new work, you can create some emergency space 
  651. by erasing that WS.COM file.  (To erase WS.COM from within a 
  652. file, use the ^KJ command.)  This trick should be especially 
  653. useful to people who are operating with single density disks.  
  654.  
  655.      A final tip:  WordStar is powerful.  The power requires many 
  656. commands to control, so many that the new user can be overwhelmed 
  657. at first.  Even the well versed WordStar user forgets commands she 
  658. hasn't used for a while.  Take a clue from high performance 
  659. sports:  the best batters take the most batting practice.  Before 
  660. a WordStar session, take a few minutes to think ahead about what 
  661. operations you will be using for the task in mind.  Then take a 
  662. few cuts at the ball before the game.  To groove any skill takes 
  663. practice and what we know how to do best is what we practiced 
  664. most recently.  It pays to warm up.  
  665.  
  666. -------------------------  End of KEYSTOWS.ART Text  ------------------------
  667.  
  668.