home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d770 / uedit.lha / Uedit / Ustar.LZH / UstarTutor < prev   
Text File  |  1989-05-10  |  26KB  |  547 lines

  1.  
  2.                                  UstarTutor
  3.     
  4.        Being a Brief History and Quick Tutorial about WordStar & Ustar
  5.     
  6.                A Companion Document to the Ustar Documentation
  7.  
  8.                  Copyright (c) 1987 by Kurt Wessels.  v0.90
  9.  
  10.  
  11.  
  12. WordStar is a trademark of MicroPro International Corp.
  13.  
  14.  
  15. If  you  are using Uedit/Ustar for the first time, click on the "Down Scroll"
  16. gadget near the top of the screen to go through and read this  tutorial.   If
  17. you  scroll too far, click on the "Up Scroll" gadget (which usually shows the
  18. page:row,column counters, but is still an active gadget).
  19.  
  20.  
  21.                                 Introduction
  22.  
  23. This tutorial does not start at the "this is a keyboard" level -  it  assumes
  24. that you basically know how to use the Amiga, how to use diskettes,  and  how
  25. to  start  up  programs.  You should be familiar and comfortable with running
  26. Amiga programs, and it  is  helpful  to  have  used  other  editors  or  word
  27. processors (e.g.  NotePad).
  28.  
  29. This  will  cover the basics of Ustar/WordStar.  Any intricate details on how
  30. commands work are not discussed; for details, see UstarDoc and UstarDetails.
  31.  
  32.  
  33.                                  History
  34.  
  35. WordStar  was   designed  in  the  late  1970's.   Considering  the  hardware
  36. limitations it ran under, it was and still is  a  very  impressive  piece  of
  37. software.   It  grew  to  popularity on CP/M-80 systems, including Apple II's
  38. with CP/M cards in them.  It was later ported  directly  (with  virtually  no
  39. changes) to MS-DOS.
  40.  
  41. One  reason  for  the  popularity  of  WordStar  is that the key commands for
  42. editing are very efficient once you have learned them, as they let your hands
  43. stay on or close to the "home row" of keys for fast typing.  The catch-phrase
  44. here  is  "once  you  have  learned  them".   WordStar is notorious for being
  45. difficult to learn.  This is because of a large set of commands, and  usually
  46. non-intuitive key assignments.  However, the basic editing actions are easily
  47. and  quickly  learned,  and  I  have  tried  to  provide  mnemonics  (ways of
  48. remembering a key or action) whenever possible.  
  49.  
  50. The advantages to learning the WordStar key-sequences  for  editing  commands
  51. are that you can use them almost everywhere.  You can use it on CP/M and  MS-
  52. DOS  systems  under WordStar itself, NewStar, and other editors.  If you have
  53. Turbo Pascal, it (and I believe, the other Turbo languages) use a  subset  of
  54. WordStar  commands.   All  of  the dBASE series, and their clones, also use a
  55. subset of these key sequences.  On the Amiga, Scribble!  implements  a  small
  56. subset of the keys, as do some other editors.
  57.  
  58. Until  now  (as far as I know), Amiga owners have not had available an editor
  59. with  complete  WordStar  text-editing functions.  Being a long-time WordStar
  60. user on CP/M machines, I was frustrated at the lack of this environment on my
  61. Amiga.  
  62.  
  63. Some may ask, "Why are  you  interested  in  an  emulation  of  such  an  old
  64. editor?".   Sure, this machine has great capabilities, and I use its graphics
  65. and audio capabilities in many ways.  But when it comes to processing  words,
  66. you  want capability, not flashy & hard to use features; power, not gloss.  I
  67. wanted the ability to do word processing without even thinking about it.  For
  68. me, this meant either spending a year becoming expert on some other  powerful
  69. text  editor,  which  didn't  seem  very  feasible (this was well before Word
  70. Perfect ((tm) Word Perfect Corp.) was available),  or  write  my  own,  which
  71. would take years.  
  72.  
  73. Then,  I  found  Uedit.  It is an extremely powerful editor in its own right,
  74. but  it is also programmable!  I quickly realized its capabilities to do what
  75. I wanted to do.  So, I sat down and wrote Ustar.  
  76.  
  77. Ustar makes Uedit act like WordStar as far its  text  editing  functions  go.
  78. The  design  philosophy  of  Uedit  is  to  be  an excellent text editor, not
  79. sacrificing performance and flexibility to be a  full  word  processor.   So,
  80. Ustar  doesn't  do  everything  that  WordStar  does, and some things it does
  81. differently, but  I'd  say  about  90%  of  it  is  implemented.   Primarily,
  82. Mailmerge isn't implemented, and the spelling function is very raw.
  83.  
  84. Note  that  Uedit  is  capable  of  doing  these things in many ways - ALWAYS
  85. remember it is programmable!  - but I felt it was unwieldy and  difficult  to
  86. try  to  implement  these  particular  functions   within   Uedit's   current
  87. capabilities.  If you need to do Mailmerge, Uedit's manual (which you receive
  88. when you register) has an example of how to do it.  
  89.  
  90.  
  91.                                  WordStar
  92.  
  93. OK, let's get an overview of WordStar from the standpoint of editing text.
  94.  
  95. WordStar evolved on machines with only  a  basic  keyboard.   There  were  no
  96. function keys, number keypads, cursor keys, or even Alt keys.  Keep  in  mind
  97. that this was a decade ago!  Also that video displays varied wildly, and most
  98. were plain - no underlining, no color, etc.  
  99.  
  100. The designers knew a good word processor would need to do a lot of functions,
  101. probably over 100.  There aren't 100 keys on a keyboard, especially  a  basic
  102. one.  So, they looked at their options.  
  103.  
  104. The  scheme  they  came up with is to use the control key in conjunction with
  105. one or two letter keys to perform editing functions.  
  106.  
  107. These control-key actions are done by holding down the  Control  (CTRL)  key,
  108. then pressing a letter or number key, then releasing both.  The  control  key
  109. is  often  abbreviated to the caret symbol, "^", and is shown adjacent to the
  110. key pressed along with it.  So, "^K" means "while holding  down  the  control
  111. key, press and then release the K key, then release the control key".  
  112.  
  113. While  editing a document, experienced WordStar users typically just keep the
  114. control  key  held  down  (with  their  left  little  finger),  and  hit  the
  115. appropriate letter keys to move around, delete, and do other stuff, releasing
  116. the  control  key  if  they need to type.  For most actions, this can be done
  117. without moving either hand from its normal typing position.  The location  of
  118. the  Caps  Lock  key  between the CTRL and A keys on the Amiga A1000 keyboard
  119. cause a bit of stretching for the CTRL  key,  but  it's  not  too  bad  (some
  120. machines'  keyboard  location  of  the  CTRL  key is ridiculous and virtually
  121. unusable).  
  122.  
  123. Anyway, the designers organized the various editing functions into groups  of
  124. related commands.  The prefixes  for  these  groups,  the  use  of  which  is
  125. introduced farther below after discussion of the more basic keys, are:  
  126.  
  127.  
  128.      --        (no prefix) Basic editing functions like cursor movement
  129.      ^K        Block and File commands
  130.      ^Q        Quick commands - extending basic actions & miscellaneous items
  131.      ^O        On-Screen commands - setting display & format options
  132.      ^P        Print commands - set print attributes
  133.      ^J        Help
  134.  
  135. (The  Ustar  menus  aren't  organized this way; they are grouped into related
  136. actions.  The menus include virtually every command available.)
  137.  
  138. They also came up with dot commands, where a dot (period) in column 1 of  any
  139. line, followed by a command code, would  activate  yet  more  formatting  and
  140. printing functions.  Some of these are implemented for printing, see UstarDoc
  141. for details.
  142.  
  143.  
  144.  
  145.                              Basic movements
  146.  
  147.      Set-up
  148.  
  149. It's  best  to learn "hands-on".  So if you're not already reading this using
  150. Ustar,  first  load  up Ustar (which is the Uedit editor running in the Ustar
  151. configuration).  See UstarREADME for how to get it running.  
  152.  
  153. Be sure you are running the Ustar, and not the standard Uedit, configuration.
  154. Standard Uedit works totally different than what this document describes.  
  155.  
  156. Once  it  has  loaded,  you  should  see a requester reminding you to pay for
  157. Uedit.   Click  on the Okay box to continue.  At the top of the screen is the
  158. title bar saying Uedit; the line below it is for messages and  gadgets.   The
  159. cursor  will  be  sitting on the next line; it and the rest of the screen are
  160. the active window of the editor, where you do your work.  
  161.  
  162. We need some text on screen to mess around with.  If you are already  reading
  163. this  with  Ustar, you're all set (use a backup of your Uedit/Ustar disk, not
  164. the original).  Otherwise, type a few lines of anything, just like you  would
  165. on a typewriter.
  166.  
  167.  
  168.  
  169.      Cursor Movement - the cursor diamond
  170.  
  171. For basic cursor movement, there is the "cursor diamond".  This refers to the
  172. (sort of) diamond shape made by the E, S, D, and X keys.  
  173.  
  174. Hold  down the control key and press the S key a few times.  The cursor moves
  175. left.  If you keep pressing it, and reach the start of the line, note how  it
  176. jumps  to the end of the previous line.  Basically, this moves up towards the
  177. top of the document one character at a time.  
  178.  
  179. Now, do ^D.  The cursor moves similarly, but the other direction - right  and
  180. toward the bottom of the document.  
  181.  
  182. Now, do ^E.  This move up one line.  Try ^X.  This moves down one line.  
  183.  
  184. Notice how these directions of travel correspond to the points on the "cursor
  185. diamond".   You  might  also  think of it as points on a compass.  Try moving
  186. around some more with these keys.  
  187.  
  188.  
  189.      Cursor movement - related keys
  190.  
  191. Now we'll learn some related keys close to the diamond.
  192.  
  193. Use  ^F  to go forward a word at a time.  It's easy to remember as it is next
  194. to the D key, which moves by one character, and is easy mnemonically as the F
  195. in Forward (or maybe For Word?).  
  196.  
  197. Use ^A to go backward a word at a time.  This is also easy to remember, being
  198. adjacent to the S key.  Perhaps you can think of it as the A in bAckward.  
  199.  
  200. You will need more text on the screen to see the effect of the next  actions.
  201. If necessary, type a bunch more lines (they don't need to  be  long;  include
  202. some blank lines) so you have a couple of screenfulls of text.  
  203.  
  204. Now  try  ^R to go upwards in a document by about a half-screenful at a time.
  205. Use  ^C to go downwards in the same fashion.  Notice that these keys are near
  206. E and X, respectively, so they're easy to remember as extensions of going up/
  207. down by one line.  
  208.  
  209. What if you want to see some text that's just beyond the upper or lower  edge
  210. of the display, but don't want to move the cursor from where  it  is  in  the
  211. text?  Use ^W to scroll up, and ^Z to scroll down the document without moving
  212. the  cursor  (until  the  cursor  reaches  the edge of the window).  "Up" and
  213. "down" here refer to the direction of movement of the display window (screen)
  214. OVER the text as if it were a viewing  window  moving  over  a  long  scroll.
  215. (Older  WordStar  versions  used it to mean the opposite, the movement of the
  216. text THROUGH the display window.  Think of it however you  wish.)  Note  that
  217. again, these are near the E and X keys, lending a hand to remembering them.  
  218.  
  219.  
  220.      Two-key cursor movements
  221.  
  222. Now  we will learn the first of the two-key commands.  Remember, to do these,
  223. hold  down  the  control  key,  type  the  first  character,  type the second
  224. character, then you can release the control key.  
  225.  
  226. What if you press a prefix key such as ^Q, then decide that's not really what
  227. you  wanted  to do?  The spacebar means "forget it" and cancels the effect of
  228. any prefix key.
  229.  
  230. Following are some of the "Quick" keys.  As you will  see,  they  extend  the
  231. basic cursor keys to work as if you had pressed them a bunch of  times;  they
  232. make actions "Quick".  
  233.  
  234. Do  ^QD.   This sends the cursor to the end of the current line.  You can see
  235. how this is a logical extension to the ^D key, moving right to the end of the
  236. line instead of just one character.  
  237.  
  238. Do ^QS.  This likewise puts the cursor at the beginning of the current line.
  239.  
  240. Do  ^QX.   This takes the cursor to the bottom of the current display screen.
  241. ^QE does it in the opposite direction.  
  242.  
  243. ^QC takes you all the way to the bottom (end) of the document.  ^QR takes you
  244. to the top.  
  245.  
  246. ^QW and ^QZ do continuous line by line scrolling up or down.   (You  can  use
  247. the Down Scroll and Up Scroll gadgets for smoother, faster scrolling).
  248.  
  249. In  Ustar,  the  cursor  (arrow) keys are set up to do the same as the cursor
  250. diamond, and various shift/alt/control combinations do similar actions to the
  251. above  WordStar  ones.   I'd  recommend  learning and using the control-keys,
  252. though, for efficiency and standardization.  
  253.  
  254. Also, you can just point the mouse to the text where you want it,  and  click
  255. to place the cursor there.  
  256.  
  257.  
  258.      Deleting 
  259.  
  260. Now  for  some basic editing.  Move the cursor to a word.  You can delete the
  261. character the cursor is on with ^G.  Try it.  This deletes the  character  at
  262. the  cursor, leaving the cursor where it was, and moving the rest of the line
  263. past the cursor to the left to take up the space.  If you do it right at  the
  264. end of a line (the invisible last character on a line), it will move the line
  265. below  up to join the current line.  This ^G key does the same as the DEL key
  266. of the keyboard.  
  267.  
  268. For mistakes made while typing, you'd be more likely  to  use  the  Backspace
  269. key.  It deletes the character to the left of the  cursor,  then  moving  the
  270. cursor and all the characters at and beyond it to the left.  Try this too.  
  271.  
  272. To  delete  a word, use ^T.  This deletes from the cursor to the start of the
  273. next word, including the character the cursor is on.   But,  if  you  are  on
  274. space  between words, it only deletes up to the next word, getting rid of the
  275. space(s).
  276.  
  277. To delete a line, use ^Y.  This deletes the  line  that  the  cursor  is  on,
  278. leaving the cursor at that same line position and moving all lines  below  up
  279. to take up the space.  
  280.  
  281. To delete from the current cursor position to the end of a line, use the two-
  282. key Quick sequence of ^QY.  
  283.  
  284. A couple of less-used deletes are ^QDEL (^Q then the ^DEL key) to delete from
  285. the  current  cursor  position  to  the  beginning of the line; and I added a
  286. delete-word-backwards function as  ^Backspace  (Control  key  with  Backspace
  287. key).  See also tab keys (below).  
  288.  
  289. You  can undo any deletes, other than single characters, with ^U or ^KU.  See
  290. UstarDoc for details.  
  291.  
  292.  
  293.      Modes & Basic Keys
  294.  
  295. ^V toggles between oVerstrike and insert modes.  Overstrike is where you type
  296. over  existing  text,  replacing it.  Insert is where text is inserted at the
  297. cursor position, pushing the cursor, and any text to the right of the cursor,
  298. off to the right.  
  299.  
  300. You may have noticed that you can't move all over the entire screen with  the
  301. cursor keys.  Uedit uses one of the two basic ways that an editor can let you
  302. move around the screen -  it  only  lets  you  go  where  there  is  actually
  303. something in the document.  This "something" is usually text, but can also be
  304. spaces.   This  is the same way that WordStar works.  The last character in a
  305. line, which is also the last character that you can move the  cursor  to,  is
  306. the invisible end-of-line character.  
  307.  
  308. Don't  worry  if  your  sentence  goes off-screen to the right as you type in
  309. insert mode - the text is still there.   Also,  don't  worry  if  the  cursor
  310. disappears  -  for  performance  reasons,  screen  refreshing  isn't  totally
  311. automatic in Uedit; to find where the cursor is at any time  and  center  the
  312. screen on it, use ^Return.  I added the ability (not in WordStar) to insert a
  313. space  while  in  overstrike  mode.  Use ^spacebar to do this.  It leaves the
  314. cursor where it is and inserts a space in front of it.  
  315.  
  316. You can start a new line (enter an end-of-line character) by simply  pressing
  317. Return.   (If you are in Overstrike mode, this will just move to the start of
  318. the next line - you must be in Insert mode for it to insert an  end-of-line.)
  319. The Enter key on the numeric keypad does the same thing, as does ^M.
  320.  
  321. You  can  also insert an end-of-line WITHOUT moving the cursor down a line by
  322. pressing  ^N.   This  is  better  than Return for inserting new lines between
  323. others.
  324.  
  325.  
  326.      Tabs
  327.  
  328. The tab key will tab over to the next tab position.  If  you  are  in  insert
  329. mode,  tabbing  will  push  text  ahead;  if  in  overtype  mode,   it   will
  330. transparently tab over any existing text.  Note that ^I is the  same  as  the
  331. Tab key.  
  332.  
  333. You  can  view the current tab stops ("tab ruler" settings) with ^OT.  Choose
  334. one of several tab tables to use with ^OV.  Set your own tabs with ^OI or ^ON
  335. by clicking on the tab ruler.
  336.  
  337. I added some tabbing functions (not part of WordStar).  You can transparently
  338. tab over text regardless of the insert/overtype mode by using Shift-Tab.  You
  339. can  transparently back-tab with Alt-Tab.  And you can destructively back-Tab
  340. with Alt-Control-Tab.  
  341.  
  342.  
  343.      Formatting
  344.  
  345. The editor starts up in word-wrap mode.  This means that when you  reach  the
  346. end  of  a line, as defined by the current line length, the text that you are
  347. typing will be wrapped down to start a new line below the one you were typing
  348. on.  This eliminates the need to press Return all the time like you  must  do
  349. on  a typewriter, letting you flow your words onto the screen; you can easily
  350. format them later.  You can turn word wrap off if desired - it is toggled via
  351. ^OW.  If off, you can type lines as long as you  like  -  even  thousands  of
  352. characters long.  
  353.  
  354. If  you are typing indented items like outlines, turn on the Auto Indent mode
  355. via ^OG.  This works quite different from the way WordStar does  it,  but  is
  356. the same basic idea - as you type along, when you reach the end of a line and
  357. Uedit  wraps  around  to start the next line, the indent will match the first
  358. printable character on the line you were on.  
  359.  
  360.                     So as I type this line, when it reaches the  end  of  the
  361.                     line,  there,  it  wrapped  to  start just below the "So"
  362.                     above.  See UstarDoc for more details.  
  363.  
  364. You can manually match the indent of an already-typed line  to  that  of  the
  365. line above it via Shift-Return (added by me - not a WordStar capability).  
  366.  
  367. You can reformat paragraphs and outlines via ^B.  See UstarDoc for details on
  368. how this is used.  
  369.  
  370. The Right-Justification toggle, ^OJ, controls whether reformatting produces a
  371. ragged right margin, or an even right  margin  (achieved  by  putting  spaces
  372. between words within each line).  
  373.  
  374. You can center lines within the current line width with ^OC.  
  375.  
  376.  
  377.      Blocks
  378.      
  379. Blocks  in  WordStar are what you use for doing operations on blocks of text.
  380. Other  editors  often call this "cut and paste", but it is somewhat different
  381. under the WordStar method; I like it better.  
  382.  
  383. First, you define a block.  The start of a block is marked with ^KB (think of
  384. it as the Beginning, or the B in Block); the end is marked with ^KK (think of
  385. it  as  the  ending  K  in  blocK).   Once  a  block  is  defined, it becomes
  386. highlighted.
  387.  
  388. (In Ustar, I have also made the mouse usable to mark a block.  Put the  mouse
  389. pointer at the start of the block, click and hold the left  button,  drag  to
  390. the  end  of  the block, and release.  The screen will scroll if you move the
  391. mouse to the bottom or top.  The block will be highlighted once  you  release
  392. the button.)
  393.  
  394. Second, you choose the operation to do to the block.
  395.  
  396. To Copy it somewhere else, move the cursor to where you want the start of the
  397. copy to be, and do ^KC (for Copy).  
  398.  
  399. To  Move  it somewhere else, place the cursor where you want the start of the
  400. block to be, and do ^KV (for moVe).
  401.  
  402. To Delete it (doesn't matter where the cursor is), do ^KY (for  Yank,  as  in
  403. pull).  
  404.  
  405. There  are  mouse  equivalents for the above 3 actions - see UstarDoc on this
  406. and other Block commands not listed here.
  407.  
  408. There are variations on the normal block mode.  You can put  it  into  column
  409. mode,  handy for reformatting tables - moving columns of text around, instead
  410. of lines or paragraphs.  You toggle this with ^KN.  Note that for a column to
  411. be visible, the column of the end of the  block  must  be  greater  than  the
  412. column of the start of the block.  
  413.  
  414. When  in  Column  mode, there is an additional mode choice you can make.  ^KI
  415. toggles  whether the block will insert or overwrite, or if you are deleting a
  416. block, whether it will be deleted or space-filled.  
  417.  
  418. ^KU or just ^U (Undelete or Undo) will bring back the  last  block  that  was
  419. deleted (assuming you haven't deleted some lines or words in the meantime).
  420.  
  421. A  Uedit-specific  feature  I added is ^KG to Get a block to the Undo buffer.
  422. This  is  needed because WordStar only works with one file at a time - it has
  423. no key for getting a block without doing anything else with it.  
  424.  
  425. In Uedit/Ustar, you typically have several files in  use  at  one  time.   To
  426. transfer between them, you mark the block you want, do ^KG, use F1 to get  to
  427. the file you want it to go into, put the cursor where you want it, and do ^KU
  428. to "paste" it in.
  429.  
  430. The  above  actually  give you a way to do Cut & Paste in addition to blocks.
  431. In Cut & Paste terms, you use ^KY to Cut a block, or ^KG to Copy it, into the
  432. scratch buffer.  Then you use ^KU to Paste it.  
  433.  
  434. To hide (unhilite) a block, do ^KH (Hide).
  435.  
  436. Use  ^KR  to  Read  a  disk  file  into  your  document at the current cursor
  437. position, that is, to insert the file.  This is handy for "boilerplate" text,
  438. such as a standard letter header; and  for  bringing  in  a  bunch  of  small
  439. documents  or  pieces to make a big one. Use ^KW to Write a marked block to a
  440. file.  This is useful in the opposite way.  
  441.  
  442. Both the above commands, and any others that need you to specify  a  filename
  443. or other string, use Uedit's Primitive mode input.  Normal editing keys don't
  444. work  in  this  mode; you use only shift-spacebar and shift-BackSpace to move
  445. transparently over text, and DEL and backspace to delete characters.  In most
  446. cases, pressing Return without doing anything  else  will  cause  nothing  to
  447. happen, cancelling the action.
  448.  
  449. Due to the way the Primitive mode works, I find it handy to set a fairly high
  450. key-repeat rate with Preferences, so I can quickly move over text  or  delete
  451. it when in Primitive mode.  
  452.  
  453. An Amiga feature I added is to speak a block.  Use ^K] (^K then ^], the right
  454. bracket  symbol; think of it as a sideways smile :-] ).  The Say command will
  455. need to be in your current C directory for this to work; and  your  Workbench
  456. disk (for libraries and devices) will need to be available to the system.  
  457.  
  458.  
  459.      Files
  460.  
  461. Files are something like blocks, so they also use the ^K prefix.  Briefly:  
  462.  
  463. Use ^KD to load a Document.  You will need to type in the filename, including
  464. (if necessary) the drive and path.  
  465.  
  466. You  can  also  load  via the mouse - point at a filename in any document and
  467. hold down the Control key while clicking the left mouse button.  
  468.  
  469. Use ^KS to Save a document.  This will save without quitting the buffer.   If
  470. the document hasn't changed, it won't save it - this saves you time  (waiting
  471. for useless disk activity).
  472.  
  473. Use ^KQ to Quit (discard from Ustar) a document.  If the file has changed, it
  474. will tell you so and ask if you want to save it before throwing it away.
  475.  
  476. See  UstarDoc  for complete info on all the file and mouse commands; refer to
  477. the menus and the UstarHelp file (Help key) for quick reference.  
  478.  
  479.  
  480.  
  481.      Find & Replace
  482.  
  483. ^QF is the Find (search) command.  It will prompt you for the string to find.
  484.  
  485. ^QA  is  the  find  &  replAce command.  It will prompt you for the string to
  486. find, then for the string to replace it with.
  487.  
  488. Both of these commands then prompt you for options.  You  can  enter  several
  489. options, or none.
  490.  
  491. The  U  option  causes searches to be case-insensitive; if the U option isn't
  492. present, then your string will have to match upper and lower case exactly  to
  493. be  found.   Ustar  starts  up with the U option present, 'cause that's how I
  494. like it.
  495.  
  496. The B option causes Backward searches, otherwise they are forward.
  497.  
  498. The G option causes Global operation. 
  499.  
  500. For Finds, the G option means that the search begins at the beginning of  the
  501. file (end of the file if  the  B  option  is  active).   Otherwise,  searches
  502. commence from the cursor location.  
  503.  
  504. For  Find  &  Replace,  the  G option means that the entire file is searched.
  505. Otherwise, only the first search match is acted on.
  506.  
  507. Instead of G, you can specify a specific number of times to do a Find or Find
  508. &  Replace.  For instance, if you know that you want to replace only the next
  509. 7 instances of "Amiga" with "Amiga 2000", put a number "7" in the options.
  510.  
  511. The N option is for No-ask.  It is used only when doing Find &  Replace.   If
  512. this option is not present, you will be asked on each Find whether to do  the
  513. replacement or not.  If this option is present, you won't be asked.
  514.  
  515. Be  careful  - you might accidentally change things you don't want changed if
  516. you  use  this  N  option.   For instance, if you did the "Amiga" replacement
  517. noted above with the N and G options, it will go through the whole  file  and
  518. replace  any  occurrence  of  the "LeftAmiga" key name with "LeftAmiga 2000",
  519. which is probably not what you want!
  520.  
  521. To stop a search at anytime, or while entering options or  strings,  use  the
  522. general-purpose abort key sequence of LeftAmiga-ESC or RightAmiga-ESC.
  523.  
  524. You can repeat the last Find or Find & Replace command with the ^L key.
  525.  
  526.  
  527.                                 Conclusion
  528.  
  529. That  about  covers this quick run-through of WordStar commands.  They should
  530. suffice  for  90% of your needs.  There are dozens of other features, some of
  531. which are part of WordStar, and many (such  as  Split  Windows  and  multiple
  532. files open at once) that aren't.  See the menus and UstarHelp!  files for all
  533. the  commands.   BE SURE to read UstarDoc for extensive information on Ustar.
  534. Mainly, play with and use the editor to see how it works.  
  535.  
  536. There are details of WordStar, Uedit, and Ustar that aren't documented.   For
  537. example, the definition of just exactly what is considered  to  be  a  "word"
  538. when  moving forward with ^F or deleting with ^T.  You will just need to find
  539. out little things like this on your own, otherwise these documents  would  be
  540. many times as large.  You can look at the UstarConfig!  file to see what each
  541. command  is actually doing.  If you are a registered Uedit user, you have the
  542. version of Uedit that  includes  the  programming  language  and  can  change
  543. anything about it that you don't like it.  
  544.  
  545. Now  go  and start using and enjoying the world's most popular word processor
  546. interface in the world's best editor on the world's best personal computer!!!
  547.