home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d770 / uedit.lha / Uedit / RogerHand.LZH / RH-Read.Me < prev    next >
Text File  |  1991-04-08  |  7KB  |  175 lines

  1.  
  2. Here are some UEDIT enhancements that I have developed and used.  You'll
  3. notice that I didn't come anywhere near offering a "complete" UEDIT
  4. customization.  When I ordered the Extras disk myself I ended up picking and
  5. choosing a few features from assorted different people's config files; none
  6. of them really hit the spot in all the areas I wanted.  By the same token, I
  7. would assume that if I shipped off my complete configuration it would be
  8. found wanting in various ways by people.
  9.  
  10. Feel free to take what I've come up with and put in your own changes as they
  11. suit you.  In particular, I think my method of Marking/Moving/Deleting/
  12. Copying text should make life much easier for anyone who adopts it.
  13.  
  14. *************
  15.  
  16. MARKING TEXT:
  17.  
  18. As someone who believes word processing speed is important, I really shudder
  19. at some of the methods people use to move around their document, mark
  20. text, etc.  Pressing arrow keys, function keys, or, worse yet, SHIFT plus
  21. function keys, etc., is nonsense if you're serious about word processing
  22. efficiently.
  23.  
  24. As you may have guessed, I use WordStar commands to move around.  [Cntl-f =
  25. forward one word, cntl-a = back one word, etc.]  I've come up with an equally
  26. speedy method of marking text.  I would DIE if I couldn't configure a program
  27. to act like this!
  28.  
  29. To MARK text: ctl-L at beginning or end (either can be marked first -- the
  30. computer can figure out which is the beginning and which the end.)  Marked
  31. text is hilighted.  
  32. (Mnemonic is "Location", I guess, but I really chose it because Ctl-L is
  33. particularly easy to hit.)
  34.  
  35. To MOVE marked text to cursor position: ctl-M
  36.  
  37. To COPY marked text to cursor position: ctl-K
  38.  
  39. To mark text for DELETION: press ctl-N to mark at both ends, at which time
  40. area is shown in reverse video.
  41. If you want to go ahead and delete the text marked in reverse video,
  42. press ctl-N a third time.
  43. (Mnemonic = No, or None, or Na Na Na, Hey, Hey, GoodBye, or something . . .)
  44.  
  45. IMHO, these methods for marking/moving/copying/deleting text are an
  46. improvement on other techniques I've seen because:
  47.  
  48.     - They're FAST on the fingers!  You don't have to take your touch-typing
  49.     fingers off the keys to hunt for arrow keys, function keys, etc.
  50.  
  51.     - They're easy to remember (fewer keys, too)
  52.  
  53.     - With deletion, you get one last chance to see exactly what you're
  54.     deleting before you go thru with it.  If you don't want to, you can clear
  55.     all regions and go on your way.
  56.  
  57. To implement this, throw my "Marking" file into one of your config files.
  58.  
  59. Also take a look at the "Clear" function I use . . . I use number variables
  60. n66 and n67 for the Marking shenanigans, and these should be cleared when you
  61. clear your hilite and reverse video areas.
  62.     
  63. *********
  64.  
  65. BOOKMARKS:  I've gotten used to using the text reader MuchMore, where
  66. Bookmarks are set with the function keys, and found my fingers kept reaching
  67. for the function keys in UEDIT in order to set bookmarks or goto different
  68. places.
  69.  
  70. Of course the function keys are used for various other important functions in
  71. UEDIT, so I used the Tilda key as a 3-way "sticky" shift key.
  72.  
  73. In other words:
  74.  
  75. Pressing a Function Key under normal circumstances gets you the same function
  76. it always did.
  77.  
  78. In order to SET a bookmark, press the Tilda key twice ("SET . . . {F-Key}"
  79. is message in message bar.) and press a function key.  One of the locations
  80. locC thru locJ will be set.  The function keys will return to normal.  (And a
  81. message in the message bar confirms this.)
  82.  
  83. To GOTO various bookmarks, press the Tilda key ONCE ("GOTO . . . {F-key}")
  84. and then press any function keys.  As long as you continuously press function
  85. keys you will GOTO different preset locations.  As soon as you move the
  86. cursor the function keys will revert to normal usage at the next press.
  87.  
  88. F1 is always set to the BEGINNING of the file.  F10 is always set to the END.
  89.  
  90. If you accidentally GOTO someplace when you didn't want to, CTL-1 will get
  91. you back to where you were before the GOTO.
  92.  
  93. This seemed like the best solution to me -- it combines ease of use (not
  94. having to stretch your hand to hold down one or more shift key; easy access
  95. to multiple bookmarks) without getting in the way of any other UEDIT
  96. functions (unless, of course, you're using locC thru locJ for something.)
  97.  
  98. In order to implement this, you'll need to:
  99.  
  100. Insert the special Tilda and Ctl-tilda ( = regular tilda character ) commands
  101. in one of your Config files.
  102.  
  103. Insert the Template.Fx Bookmark code at the BEGINNING of each F-key
  104. definition.  If the special GOTO or SET Bookmark conditions are not met,
  105. control drops thru to the normal function key code, whatever that may be.
  106.  
  107. My F5 definition ("Clear") is included so you can see how this should be done.
  108.  
  109. ************
  110.  
  111. ProPage Conversion:
  112.  
  113. My ALT-P command does various conversions so that text may be imported into
  114. Professional Page.
  115.  
  116.  
  117. Strip VT100 Code:
  118.  
  119. ALT-V strips VT100 codes, converting the proper codes to LineFeeds, Hi-Lite
  120. On and Off.  After a VT100 online session, I use UEDIT to clean up the
  121. capture buffer, which is then MUCH more readable using MuchMore than it would
  122. be otherwise.
  123.  
  124. These last two conversions might run into problems because I may have
  125. tinkered with the UEDIT search commands a bit . . . but you can build on the
  126. raw UEDIT code to customize your own if you want.
  127.  
  128.  
  129. PROBLEMS:
  130.  
  131. The "Strip VT100 Code" works just fine.  The search and replace goes on for
  132. quite a while, and the "Done!" message pops up.  A few seconds later the
  133. message line changes to ". . . 1" and UEDIT is dead.  LeftAmiga-Escape does
  134. nothing, and pressing the right mouse button CRASHES THE COMPUTER!
  135.  
  136. ((NOTE:  This bug no longer exists.  Ignore this discussion of Uedit hanging
  137. or crashing or whatever.  It is NEVER supposed to!  And this bug was fixed as
  138. soon as it was discovered.  Uedit V2.6e & later do not have this bug.))
  139.  
  140. If you keep away from the right mouse button, then after a few minutes UEDIT
  141. recovers, and everything proceeds normally.
  142.  
  143. The UEDIT docs mention massive Search and Replaces as eating up a lot of
  144. memory that UEDIT will recover later.  The problems are that 1) the message
  145. line doesn't say what's happening, and 2) the right mouse button will crash
  146. the machine (pointer freezes).
  147.  
  148. The Search and Replaces use up a LOT of memory -- stripping codes from a 250
  149. kByte Capture Buffer eats up several Meg!  
  150.  
  151.  
  152. SUGGESTIONS FOR MORE ENHANCEMENTS:
  153.  
  154. On my PC I use PC-Write that I have customized.  Of course, UEDIT gives me
  155. much more power to customize, and I really appreciate that!  One feature PC-
  156. Write has that I haven't found yet in UEDIT is the ability to automatically
  157. renumber items.
  158.  
  159. As an example of this feature's usefullness, I use PC-Write to make up all my
  160. tests.  (I'm a teacher.)  For each question I put a certain control
  161. character.  Just before printing, these control chars can be converted to
  162. numbers that increment in sequence throughout the test.  If I decide to add a
  163. question, or combine parts of two tests, I never have to worry about manually
  164. renumbering.  (The control character stays on as part of the number even
  165. though it doesn't print.)
  166.  
  167. Now a command could be written to do this, but I've haven't had the time to
  168. get around to it myself.  If someone got this function to work I'm sure a lot
  169. of people would appreciate having it.
  170.  
  171.  
  172. Roger Hand
  173.  
  174. rhand@well.sf.ca.us    CIS: 73520,3506       PLink: Roger Hand
  175.