home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 289.lha / Uedit_v2.5a / uedit-tutor < prev    next >
Encoding:
Text File  |  1989-10-09  |  33.1 KB  |  839 lines

  1.  
  2.  
  3.                                 Uedit-Tutor
  4.                     Copyright (C) 1986-89, Rick Stiles
  5.  
  6.                  ((See Uedit-Policy for purchasing info.))
  7.  
  8.  
  9.                             **** DISCLAIMER ****
  10. I can accept no responsibility, if you crash your Amiga or lose text files
  11. with Uedit.  No guarantees, either explicit or implied, are made as to
  12. Uedit's safety.  If you use it, it is at your own risk.
  13.                             **** ********** ****
  14.  
  15. Dear folks,
  16.  
  17. (See Getting Started, below, for immediate instructions.)
  18.  
  19. Uedit is an editor for technical users.  It has many wordprocessing features.
  20.  
  21. In developing and enhancing Uedit, the aims have been for the user to:
  22.    o Be able to work without bumping into limits of power and capacity;
  23.    o Be able to automate repetitive work, eliminate tedium, save time;
  24.    o Be rid of the irritation of wasted keystrokes and stodgy performance;
  25.    o Be able to customize the environment fully;
  26.    o Be able to create, on the spot, new capabilities that are needed.
  27.  
  28. Uedit is Shareware.  You can get a copy from a friend or off a computer
  29. network and try it out, in order to decide whether to purchase the real thing
  30. or not.  (See Uedit-Policy for purchasing info.)
  31.  
  32.  
  33.                        *** About This Version ***
  34.  
  35. This freely distributable Shareware version has the following limitations
  36. in order to enable you to "get the flavor" and use Uedit productively and
  37. yet to encourage you to register to get the real thing:
  38.     1. It has a 4-file limit.  The stacks have been omitted, because of the
  39.        4-file limit.  If the stacks were included, you'd be able to edit an
  40.        "infinite" number of files (to limit of memory) and maintain an
  41.        arbitrary number of buffers and numbers on the stacks.
  42.     2. It will not let you save a full or partial configuration to disk.
  43.        Thus you can customize while you're using Uedit, create and compile
  44.        new commands, even compile an entire config file, but cannot save a
  45.        custom configuration to disk for permanent use.
  46.     3. It won't let you save a learned sequence to disk.  You can use learn
  47.        mode as much as you want but cannot store the learned sequences for
  48.        permanent use.
  49.     4. The getBufAddr/attachBuf/detachBuf functions have been omitted, so
  50.        this version cannot exchange buffers with external programs or other
  51.        copies of Uedit running on your Amiga.
  52.  
  53.  
  54.                                About Uedit
  55.  
  56.  
  57. You can try Uedit immediately without reading beyond this paragraph.  The
  58. menus, Help, and Teach Mode should be enough for most users to get going.
  59.  
  60. When you use Teach Mode, be sure to try the shift/alt/ctrl/Amiga shift keys,
  61. to find out what the various combinations do with the keys and mouse-clicks
  62. and gadgets in the message line.  Abort out of Teach Mode with Amiga-ESC.
  63.  
  64. Goals in writing Uedit were openness, flexibility, power, friendliness -
  65. above all to give Freedom of Choice to the user.
  66.  
  67. Being able to edit 100 files (or more) is only the beginning of the depth
  68. Uedit has got.
  69.  
  70. Learn Mode adds a new dimension, providing instant automation for people who
  71. hate reading instructions and only want to know enough to get the job done.
  72.  
  73. The command language adds another dimension, letting you rewrite Every
  74. command, even the gadget and mouse button commands - on the fly.  Example:
  75. Put the cursor anywhere before the following command and press F6.
  76.              <normal-esc: putMsg("Welcome to Uedit!")
  77.                           alertUser("Click me") >
  78. Now press Esc.
  79.  
  80. Then there is the overall configurability and customizability, being able to
  81. swap and kill keys, change colors, customize the menus, etc.
  82.  
  83. Then there is the ability to switch configurations, changing the personality
  84. of Uedit in seconds, without interrupting editing.
  85.  
  86. Then there is the fact that it sleeps so that other tasks run efficiently and
  87. it can start other tasks and load in their results so that you can use them.
  88.  
  89. The ARexx interface allows you to send commands or text to Uedit from CLI or
  90. from host programs, thereby controlling Uedit from outside.  It allows Uedit
  91. to exchange data with ARexx host programs.
  92.  
  93. The "infinite" buffer and number stacks enable you to edit as many files or
  94. hold onto as many buffers or numbers as memory will hold.
  95.  
  96. Spooled file saving and spooled printing let you continue editing while
  97. saving and printing are in progress or when Uedit is in tiny window.
  98.  
  99. The spell-checking version of Uedit (see Uedit-Policy) allows you to spell-
  100. check documents, build dictionaries, create and use dictionary supplements,
  101. and so on.
  102.  
  103.                                  Features
  104.  
  105.  
  106. Uedit has too many features to go into here.  To name just a few, it has on-
  107. line Help facility as well as Teach Mode that teaches the purpose of keys,
  108. gadgets, clicks, and menu selections.
  109.  
  110. It has split windows, colored (hilite and invert) regions, interlace screen
  111. and RGB color tuning, mouse-scrolling and mouse cursor-placement, full sets
  112. of cut/copy/paste/clear capabilities for regular, inverted, or hilited as
  113. well as columnar text.
  114.  
  115. It lets you edit up to 100 or more files at once, has paragraph reformatting,
  116. page-making commands, printer selection and controls, undo-deletes, search-
  117. replace, edit-while-you-print up to 12 documents or regions, ctrl-click-
  118. loading of any filename anywhere, an interface that lets you use ARexx, and
  119. much more.
  120.  
  121. The main reason that Uedit's features can't be listed is that the user can
  122. create new ones anytime.
  123.  
  124. New commands can be typed into any buffer.  They are compiled in a fraction
  125. of a second typically, when you put the cursor in front of them and press f6.
  126. The command development and debugging work environment is extremely fast.
  127. New commands can be tested immediately after they have been written or
  128. changed.
  129.  
  130.                        Ignore the Technical Aspects
  131.  
  132. In order to discover how easy Uedit is to use productively, ignore
  133. anything technical in this tutorial for the moment.  Just use the program
  134. like you would any editor or wordprocessor.
  135.  
  136. Uedit was written for ordinary people, not for hackers, although it is true
  137. that most users are technical.  You don't need to memorize anything
  138. technical in order to do powerful and automatic things.
  139.  
  140. For instance, learn mode couldn't be simpler to use and it doesn't require
  141. any technical grasp or memorization.  Yet it offers benefits that rival those
  142. of the command language and overall customizability of the program.
  143.  
  144. Just try Uedit as an ordinary editor first, and see how you like it.
  145.  
  146. And remember:  Almost anything you don't like can be changed by the user.
  147.  
  148.  
  149.                               Getting Started
  150.  
  151.  
  152. Workbench and CLI:
  153.  
  154. You can run Uedit immediately in Workbench by clicking its icon.
  155.  
  156. You can run it immediately in CLI by typing "Run UES file1 file2 file3 etc".
  157.  
  158. To be able to run UES from any directory, run CLI and type the following:
  159.                 Copy    UES   C:
  160.                 Copy    NoName.info S:
  161.                 Copy    Data! S:
  162.                 Copy    Help! S:
  163.                 Copy    Key-Help S:
  164.  
  165.  
  166. Now you can run Uedit from any directory.  NoName.info must be in S:, if you
  167. are going to select "Make icons" so that Uedit will create file icons for
  168. you.  (You can create your own custom NoName.info icon, if you wish.)
  169.  
  170. Data! and Help! must either be in S: or in your current working directory.
  171.  
  172.  
  173. Here is what the key-prefixes mean in the menu selections:  S=Shift, A=Alt,
  174. C=Ctrl, L=leftAmiga, R=rightAmiga.  Keypad keys are abbreviated with "kp".
  175.  
  176.  
  177. If a menu selection says "L-0", it means that holding down the left Amiga key
  178. and pressing "0" will do the same thing as the menu entry.  If it says "SA-
  179. kp7", it means hold down Shift and Alt keys and press the 7 on the keypad.
  180.  
  181. Press Help as needed.  Select "Teach keys" to learn about Uedit's keys.  When
  182. finished with Teach Keys, press Amiga-ESC.
  183.  
  184. Amiga-ESC is Uedit's general purpose Abort key.  Use it to Abort any operation.
  185.  
  186. To slide Uedit's screen up/down, put the mouse at the far right of the title
  187. bar.
  188.  
  189. CLI command line:
  190.  
  191. The "Run UES" command line can have any number of file names in it, up to the
  192. maximum that you are configured to use.  (The Shareware UES program is
  193. wired for 4 files maximum.)
  194.  
  195. The following flags can be used in the CLI command line as well.  The flags
  196. must come BEFORE the file names in the command line.  Example:
  197.     Run UES -a0x0f0f0f0f -b12345678 -lMyLearnSeq -k300 -dDataFileName
  198.     -cConfigFileName file1 file2 file3 ....
  199.  
  200. The -a and -b flags initialize the global variables UserGlobalA and
  201. UserGlobalB.  The -l flag causes the learned sequence to be run after the
  202. files in the command line are loaded in.  The -k flag causes the key with the
  203. corresponding macro-number to be executed - after the files (if any) are
  204. loaded, and after the learned sequence (if any) is run.  The flags are
  205. handled in the following order:
  206.     -c config file is loaded and compiled, if named.
  207.     -d data file is loaded, if named & exists & -c flag not used.
  208.     The named files are loaded, if any.
  209.     -a and -b set the global user variables, if used.
  210.     -l runs the learned sequence, if named & exists.
  211.     -k runs the key, if named & exists.
  212.  
  213. The function keys, F1 thru F10, do the following (with no shift keys):
  214.  
  215.     F1 = next file
  216.     F2 = save file
  217.     F3 = close file
  218.     F4 = quit
  219.     F5 = swap next 2 commands
  220.     F6 = compile command following cursor
  221.     F7 = input search text and search fwd
  222.     F8 = input replace text
  223.     F9 = search fwd
  224.     F10 = replace & search fwd
  225.  
  226.  
  227. Files and buffers:  Uedit has 100 buffers, which can be used for holding
  228. documents and bits and pieces of text.  The lowest buffer numbers are used for
  229. holding documents.  Any number of buffers may also be stored on the buffer
  230. stack.  (The same is true of the number stack and the file-saving queue.)
  231.  
  232. How many files Uedit will let you load in is determined by the "Max files"
  233. menu selection.  (The Shareware UES is wired to 4 files max.)
  234.  
  235. Directories and Files:
  236.  
  237. The easiest way to load a file is to Ctrl-click its name in Uedit.  There are
  238. two "current" directories:
  239.  
  240.     One is the Current Directory in which the Uedit program is running.  This
  241.     is the directory you started up in, unless you change it.  (See AmigaDOS
  242.     menu.)
  243.  
  244.     The second is the click-loading directory that Uedit currently is using.
  245.     The default click-loading directory is also the directory you started up
  246.     in, but you can change it as described below.
  247.  
  248. If you ctrl-click a directory name such as myDir/ in any buffer, the
  249. directory name is added to the list of directories in buffer 38.  If you
  250. ctrl-click in whitespace in any buffer, a split window opens up showing
  251. you the directory list (buffer 38) with the current click-loading
  252. directory hilited.
  253.  
  254. In the split window (buffer 38), you can change the current directory, get a
  255. dir listing, edit or save the directory buffer, get the current directory
  256. (CD), or select a new click-loading directory.
  257.  
  258. You can also get a directory listing by selecting "Directory" in the menu.
  259. The directory name you give is put into the directory list and becomes the
  260. current click-loading directory.
  261.  
  262. The "Files" menu lets you load/insert/rename/restore/save/close files.
  263.  
  264. Miscellaneous:
  265.  
  266. To make the 4 invisible "gadgets" in the message line visible or invisible,
  267. press Ctrl-g.
  268.  
  269. To make the cursor page/row/column info visible or invisible, press ctl-2.
  270. (These are in the menus: "Mark gadgets" and "Row/Column".)
  271.  
  272.  
  273. Scrolling:  Scroll vertically by holding down the mouse button and moving the
  274. mouse.  The arrow keys also do vertical and horizontal scrolling.
  275.  
  276. For faster scrolls, either hold down the up/down arrow key or use Shift, Alt,
  277. or Ctrl with the arrow key.  For a slower scroll, use the up/down gadgets.
  278.  
  279.  
  280. Moving the Cursor:  Much of the time you may prefer placing the cursor by
  281. clicking the left mouse-button.
  282.  
  283. The keypad keys 2, 4, 6, & 8 move the cursor up/down/left/right by word/
  284. character/line/page depending on which shift key is used.
  285.  
  286. (Teach Keys will give you the sense of the keypad keys.)
  287.  
  288.  
  289. Scratch deletes & Undo:
  290.  
  291. Scratch deleting is what you'd normally use in meat & potatoes text work.  The
  292. following keys do scratch deletes at the cursor location:
  293.  
  294.     Ctrl-d deletes the cursor line.
  295.     Keypad-7 (unshifted) deletes word-left.
  296.     Keypad-9 (unshifted) deletes word-right.
  297.     Shift-kp7 deletes character left.
  298.     Shift-kp9 deletes the character under the cursor.
  299.     Alt-kp7 deletes to start of line.
  300.     Alt-kp9 deletes to end of line.
  301.     Ctrl-kp7 deletes to top of window.
  302.     Ctrl-kp9 deletes to bottom of window.
  303.  
  304. These are the "scratch" delete keys.  When you use them, the deleted material
  305. is stored in the scratch-delete (Undo) buffer.  Long as you don't move the
  306. cursor and make a delete somewhere else, you can store any number of scratch
  307. deletes.
  308.  
  309. Pressing keypad-0 inserts the Undo buffer at the cursor.  Thus, after doing a
  310. series of scratch deletes using the above keys, you can place the cursor
  311. somewhere, press keypad-0, and insert the deleted material.
  312.  
  313. If you move the cursor and do another scratch delete, the Undo buffer is
  314. cleared before the newly deleted text is stored.  You will find that you do
  315. most of your cut & paste the quick & dirty way, using scratch-deletes and the
  316. Undo key.
  317.  
  318.  
  319. If you select "Undo buffer" in the Split Window menu, you can monitor the
  320. contents of the Undo buffer and even type into it.  To adjust the size of any
  321. split window, activate the window by clicking it with the mouse and then
  322. press lAmiga-= and adjust the size by holding the left mouse-button and
  323. moving the mouse.
  324.  
  325. There can be up to 8 split windows in use.
  326.  
  327.  
  328. There are many ways to do cut/copy/paste operations with Uedit and to do them
  329. in parallel.
  330.  
  331. You can be doing cut & paste using scratch deletes, hilite region, invert
  332. region, and columnar data, all at the same time.  If these aren't enough,
  333. you've got 100 buffers to put bits and pieces into.  Any number of buffers
  334. can be put onto the stack using "Push buf", so you can maintain as many
  335. files and buffers as memory will hold.  (The Shareware UES program does
  336. not include the buffer & number stack functions.)
  337.  
  338.  
  339. Creating a hilite region:
  340.  
  341. There are 3 ways to mark a hilite region.  Press HELP and it will show them
  342. to you.
  343.  
  344. But rather than do that, try this:  Place the mouse high up in the text. 
  345. Hold down the Shift key and click the mouse.
  346.  
  347. Move the mouse to the lower right in the text.  Hold down the Alt key and
  348. click the mouse.
  349.  
  350. There should now be a hilited region.  This is one method of hiliting.
  351.  
  352.  
  353. Try this:  Select "Hilite buf" in the Split Window menu.  This shows you the
  354. contents of the copied hilite buffer.
  355.  
  356. Put the cursor anywhere in the colored, hilited region in the original buffer.
  357.  
  358. Now press keypad-Minus, the "-" key on the keypad.  This "cuts" the hilited
  359. region.  The region disappears.  (Don't move the cursor yet!)
  360.  
  361. Note that the cut material appeared instantly in the "Copied hilite" buffer.
  362.  
  363. Now press keypad-Enter.  This puts the "cut" text back where it was.  And it
  364. is hilited.  To unhilite it, press alt-h or select "Unhilite".
  365.  
  366.  
  367. To get rid of a split window, click the mousebutton in it, making it the
  368. active window-split.  Then select "Drop split" in the Split Window menu or
  369. press lAmiga-0.
  370.  
  371.  
  372. Columnar text operations:
  373.  
  374. Columnar regions are rectangular.  This means that when you create a hilite
  375. region to use for columnar text movement, the Start of the hilite region must
  376. be in a Lefthand column and the End of the hilite region must be in a
  377. Righthand column.  No region exists if the end of the region is not in a
  378. higher column number.
  379.  
  380.  
  381. Place the mouse high up in the text and to the left.  Press Shift and click
  382. the mousebutton.
  383.  
  384. Place the mouse low down and to the right, pointing to some word in the text.
  385. Press Alt and click the button.
  386.  
  387. Select "Col display" in the Edits menu.  Now the region should be displayed as
  388. rectangular.
  389.  
  390.  
  391. Select "Col copy" in the Columnar menu.  This makes a copy of the columnar
  392. region.
  393.  
  394. Put the cursor anywhere with the mouse.  Select "Col insert" in the Columnar
  395. menu and see what happens.
  396.  
  397. To remove the inserted, hilited columnar region, select "Col cut" in the menu.
  398.  
  399. (NOTE:  The keypad copy/cut/paste keys kpDot, kpMinus, and kpEnter also
  400. work as columnar keys when columnar display mode is used.)
  401.  
  402. You should experiment with columnar text in order to understand how to manage
  403. it.  (If you altered this Uedit-Tutor file just now, select "Restore" in the
  404. Files Open menu to restore it to the original.)
  405.  
  406.  
  407. When using columnar display mode, TABS are shown as "box" characters.  This is
  408. so that columns line up correctly when spaces and TABS are intermingled, as
  409. they often are.
  410.  
  411.  
  412. Tab Rulers:
  413.  
  414. There are 5 tab tables in Uedit, numbered 0 to 4.  You can change the tab
  415. table your document is using by selecting "Tab table" in the menu.
  416.  
  417. Individual documents can use different tab tables.  The tab ruler shows the
  418. tabs in the current document's tab table.
  419.  
  420. Select "See ruler" to see what the tab columns are or select "Set ruler" to
  421. set the tab columns.
  422.  
  423. If you have selected "Set ruler" and wish to set tabs at high columns beyond
  424. the right edge of the window, hold the mouse-button down and drag the mouse
  425. to the left, then release the button.
  426.  
  427. To slide the ruler to the right, drag the mouse rightward.
  428.  
  429. Tab columns can be set by clicking the mouse within 2 lines of the ruler, or
  430. by using the keys that the help message says to.
  431.  
  432.  
  433. Screens, colors, and RGB tuning:
  434.  
  435. The "Lace/Planes" submenu lets you select from 4 screens, which use 2 or 4
  436. colors, regular or interlace.  You can see the most lines of text by using
  437. an interlace screen.  Scrolling with the mouse is fastest when you use a
  438. regular 2 color screen.  Half as much memory is used when you use a 2
  439. color screen.
  440.  
  441. You can tune the RGB colors of Uedit's screen by selecting "Tune RGB";
  442. press ESC when you are finished with RGB tuning.  To rotate the 4 screen
  443. colors, press alt-HELP until you see a combination that you like.  Each
  444. buffer can use its own colors.  If you change the colors and want the menu
  445. colors updated, select "Do menus".
  446.  
  447.  
  448. Printing:
  449.  
  450. In the "Printing" menu, select "Print select" and put in a number 0 to 3,
  451. telling Uedit where you want your printing to go.  The message line tells you
  452. what the numbers 0-3 mean:
  453.     0 = raw text out the parallel port
  454.     1 = raw text out the serial port
  455.     2 = processed text using the Amiga's printer device
  456.     3 = raw text using the Amiga's printer device
  457.  
  458. If you embed Uedit's printer control codes in your text (such as for boldface,
  459. italics, etc) using the "Bracket hilite" or "Embed code" menu selections, you
  460. must set "Print select" to 2 or 3.
  461.  
  462. If you embed your own custom printer codes in the text, then you can use
  463. "Print select" values 0, 1, or 3, and they will be sent to your printer in raw
  464. form.  (Print-select value 2 allows the printer device to "strip out" any
  465. control codes that the Amiga printer device doesn't recognize.)
  466.  
  467.  
  468. (To embed CTRL characters, such as ESC, press ctl-c and then the desired
  469. character.  To identify any control character in the text, put the cursor on
  470. it and press ctl-/.)
  471.  
  472.  
  473. Print queue:  In the printing menu, you can select "Print hilite" or "Print
  474. file".
  475.  
  476. Long as the print-job will fit into memory, you can queue up as many as 12
  477. print-jobs and still go on editing while they print.
  478.  
  479.  
  480. You can even queue up print jobs to different printers, by changing "Print
  481. select" before selecting "Print hilite" or "Print file" for each print-job.
  482.  
  483. If the print-job is too big for memory, you will have to wait until printing
  484. is finished before you can continue editing.
  485.  
  486.  
  487. Save on idle:  By selecting "Save on idle" in the Local Modes menu, your file
  488. will be saved during pauses in your work, if it has been changed.
  489.  
  490. The length of the pause can be set by selecting "Idle timer".
  491.  
  492.  
  493. Margins, line-length, and lines-per-page:  In the Line/Page menu are
  494. selections for lines/page, line-length, top/bottom margins, and end-of-line.
  495.  
  496. If you want an "inner" left margin temporarily, simply indent the text and
  497. select "Autoindent", so that succeeding lines stay at the same indentation.
  498.  
  499.  
  500. To control the right margin, set line-length to the desired value.
  501.  
  502. If you set Left Margin in the Line/Page menu to any value greater than 0,
  503. typing will use the new left margin value.  Also, reformatting paragraphs will
  504. cause them to be reformated at the new left margin value.
  505.  
  506. Thus you can reformat an inset paragraph so that it is moved to the far left
  507. by setting Left Margin to 1 and reformatting it.
  508.  
  509.  
  510. Paragraph reformatting:  To reformat a paragraph, put the cursor in the line
  511. where you want reformatting to begin.  Then select "Paragraph" in the
  512. Reformats menu or press ctl-3.
  513.  
  514.  
  515. Paragraph reformatting ends when it reaches a blank line or a different
  516. indentation.  Different indentation says that you want a different left
  517. margin, hence it is not considered part of the paragraph being reformatted.
  518.  
  519.  
  520. Page formatting:  See the Paging menu.
  521.  
  522. Pages are determined by formfeeds in the text or by the line-count, using the
  523. current lines-per-page value.  To set the lines/page, see the Line-Page menu.
  524.  
  525.  
  526. The Page Formatting menu has selections for going to page#, going to top of
  527. page, going to bottom of page, inserting a page-division, deleting the next
  528. page-division, and auto-inserting page-divisions in your entire document.
  529.  
  530. When a page-division is inserted, the page number is automatically put in.
  531.  
  532. You can erase the page number by selecting "Del page #".
  533.  
  534. Page numbers are put 1/2 the bottom margin distance from the bottom of the
  535. page, where the bottom of the page is simply the lines/page setting (normally
  536. 66).
  537.  
  538. (Note that these are all user-customizable commands which you can modify
  539. and recompile.  Every command in Uedit is customizable.)
  540.  
  541. When a page-division is inserted, the top margin for the next page is also put
  542. in, after deleting any blank lines.
  543.  
  544. The formfeed causes the display to draw a line across the window, making page
  545. divisions easy to locate visually.
  546.  
  547. You can find page divisions quickly by using the "Bottom page" and "Top page"
  548. menu selections.  (These are lAmiga-b and lAmiga-H.)
  549.  
  550. To insert a page-division and page number at the cursor, press lAmiga-v or
  551. select "Divide page".
  552.  
  553. To remove a page division, put the cursor anywhere in the page above the page
  554. division and press lAmiga-d or select "Del page div".
  555.  
  556.  
  557.                               Odds and Ends
  558.  
  559.  
  560. To abort any operation, press Amiga-ESC.
  561.  
  562. Primitive Mode is used for special text and number inputs.  The Title Bar and
  563. the message line tell you what to do in Primitive Mode.
  564.  
  565. If you press F7 to input a search string, you'll be in Primitive Mode.  Type
  566. in the search text, then press ESC or click the mousebutton to terminate the
  567. input.
  568.  
  569. In Primitive Mode, you can type in Ctrl characters (such as ctl-m for
  570. carriage return) directly.  No need to press ctl-c first.
  571.  
  572. You can change the Primitive Mode terminator character from ESC to some other
  573. Ctrl character (such as the Return key) by selecting "PM terminator" in the
  574. menu or by pressing ESC.
  575.  
  576.  
  577. You can search for two things at once by putting a "$" dollar sign between
  578. two search strings.  This is the eitherOr delimiter.  To cause searching
  579. to skip a particular pattern, use the "all-but" delimiter which is "~".
  580.  
  581. The "?" question mark is used by search as a single-character wildcard.  The
  582. "*" is used as a multi-character wildcard.
  583.  
  584. You can change these special characters by selecting "Wildcards" or
  585. "Either-or" in the "Settings" menu.
  586.  
  587. "Search case" toggles on/off the upper/lower case-sensitivity of searching.
  588.  
  589.  
  590. In the message line are fake "gadgets" (if "Mark Gadgets" is turned On),
  591. such as "Next file", "Prev file", and so on.
  592.  
  593. These message-line gadgets are just like keys and mouse clicks.  They can be
  594. swapped, killed, reprogrammed, learned, used in menu selections, and so on.
  595. Gadgets can be used with shift-keys, so there can be many more than 4 gadgets.
  596.  
  597.  
  598. Menu selections are always attached to a key, gadget or mouse-button command.
  599. If you swap a menu selection, the key you swapped it with is run when you
  600. select that menu item.
  601.  
  602.  
  603. Bookmarks:  The Shift gadget keys allow you to place up to 8 bookmarks in any
  604. buffer and goto the next or previous bookmark.
  605.  
  606. Grep:  Uedit has an enhanced grep, in addition to the normal search & replace
  607. capability.  The grep commands are the following:
  608.     lAmiga-f7:  set grep /search/replace/ string
  609.     lAmiga-f9:  grep search forward
  610.     rAmiga-f9:  grep search backward
  611.     lAmiga-f10: grep replace & search forward
  612.     rAmiga-f10: grep replace & search backward
  613.  
  614.  
  615. Uedit sleeps when it can, so that other tasks will run faster.
  616.  
  617.  
  618. Clicking the Title Bar switches to the tiny window.  The tiny window comes
  619. up inactive, so you can type into CLI immediately.
  620.  
  621. This also lets the Amiga reopen the big window in a better memory location.
  622.  
  623.  
  624. If Uedit runs out of memory and the "Memory..." message appears, that means it
  625. is compacting its stuff in memory, creating a larger area for the Amiga to use
  626. for graphics.  If "Memory..." appears, you ought to save and close some
  627. documents.  Also it's a good idea to click the Title Bar and reopen Uedit's
  628. window.
  629.  
  630.  
  631. Uedit sleeps between inputs.  If you don't type anything for 4 seconds, it
  632. does housekeeping.  If you select "Busies", you'll see which buffer is
  633. being worked on.  When the housekeeping is done, it sleeps.
  634.  
  635.  
  636. In the window's Title Bar, brackets [buf#,flags] contain the buffer number and
  637. various flags.  If Learn Mode is currently learning, "L#" appears, where #
  638. is the number of steps in the learned sequence.  If you are in Teach Mode,
  639. "T" appears.  If documents are queued up for printing, "P#" appears, where
  640. # is the number of print jobs yet to be done, up to 12 maximum.  If file-
  641. saves are in the queue, "S#" appears, where # is the file-saves remaining.
  642.  
  643.  
  644. Uedit picks up font changes made with Preferences or SetFont.  It speeds
  645. up the displaying of sized 8 and 11 fonts, such as Topaz 8, Clean 8, and
  646. Topaz 11, but it will let you use any font.  When you first start Uedit,
  647. it uses the font that Workbench is currently using.
  648.  
  649.  
  650. It works with all known hardware add-ons.  Some people start Uedit in
  651. their Workbench df0:S/Startup-Sequence and do everything from inside it. 
  652. They let it run other tasks and continue editing or let it sleep in tiny
  653. window while they work elsewhere.
  654.  
  655.  
  656. To see the current settings for line-length, lines/page, tab-table, margins,
  657. Uedit Serial Number, etc, press shift-HELP or select "Show vals".  This also
  658. shows you the size of the current file.
  659.  
  660.  
  661. Some settings are global and others are local to the current file.
  662.  
  663. Changing a local setting like word-wrap changes the global setting for future
  664. files loaded in.
  665.  
  666.  
  667. To recover the original configuration after fooling with commands, colors,
  668. etc, select "Load data".
  669.  
  670. After making any of the changes discussed here, selecting "Save data" will
  671. save all current settings to disk.  (Note:  Save Data is not included in
  672. the Shareware UES program.)
  673.  
  674.  
  675.                               Editing Tricks
  676.  
  677.  
  678. If you are like me and hate reading instructions, and expect programs to be
  679. Easy Without Reading, then Learn Mode is for you.
  680.  
  681. No reading is necessary.  Learn Mode uses just the normal editing stuff.
  682.  
  683. It offers immense power and capacity to automate tedious, repetitive jobs.
  684.  
  685. If you need to search and replace misspelled names in 300 documents, you can
  686. teach Learn Mode how to do one and let it do them all while you take a break.
  687.  
  688. To set up for such automation takes only as many seconds as it takes you to do
  689. one operation yourself, showing Learn Mode what to do.
  690.  
  691.  
  692. Simply press ctl-s to start Learn Mode, do the sequence of operations, and
  693. press ctl-r to end Learn Mode.  (If you press ctl-s a second time, it
  694. aborts and wipes out the learned sequence.)
  695.  
  696. Then press ctl-r to see how it works.  If you did it right and it works
  697. right, press ctl-m to set the command multiplier and then press ctl-r to run
  698. it as many times as desired.
  699.  
  700.  
  701. The Manual has lots of Examples and Editing Tricks which show how to take
  702. advantage of Uedit's versatility and power.  It describes how to use Learn
  703. Mode to click-add numbers or click-bracket words, do a mail-merge, and so
  704. on.
  705.  
  706.  
  707. A useful trick is to swap "Run learn" (ctl-r) with the mouse's buttonUp
  708. operation.  (A menu selection "Swap mouseUp" lets you do this swap.)
  709.  
  710. Then when you click the button, buttonDown will deposit the cursor like it
  711. normally does, and buttonUp will execute a learned sequence!
  712.  
  713.  
  714. The learned sequence can be anything.  It can, for instance, click-bracket
  715. text with printer control codes.  The Manual's Editing Tricks presents such
  716. examples.
  717.  
  718.  
  719. Or you can swap the mouse's buttonUp operation with another key, such as the
  720. add-numbers key (ctl-=).  Just select "Swap mouseUp" and press ctl-=.
  721.  
  722. Then you can click-add numbers that are scattered in various documents.
  723. Pressing ctl-\ will put the running total into the text at the cursor.
  724.  
  725.  
  726. Learned sequences can be stored on disk as files.  They are stored in your
  727. current directory.  If you copy them to S:, Uedit will find them from any
  728. directory.  The "Learn" menu lets you start, terminate, run, load, and save
  729. learned sequences.  (Note:  Save Learn is not included in the Shareware
  730. UES program.)
  731.  
  732. A saved learn sequence might, for example, go to top of document and type in
  733. a header, or go to bottom of document and type your name and address.  You
  734. could save it to disk and select "Load & run" in the Learn menu to run this
  735. learned sequence anytime.  You can assign a special key that inserts a
  736. header in one keystroke:
  737.  
  738.         <normal-esc: if (loadLearn("MyHeader")) runLearn >
  739.  
  740.  
  741.                             Config! and Data!
  742.  
  743.  
  744. Config! is a configuration file which is the Source of every command Uedit
  745. currently uses.  (Except, of course, you can customize Uedit while you're
  746. using it.)
  747.  
  748. A configuration may consist of a series of files.  The current standard
  749. config consists of:  Config!  (defaults and menu selections) Config!M
  750. (misc) Config!P (printing & paging) Config!R (ARexx) and Config!S
  751. (spelling & split windows)
  752.  
  753.  
  754. Data! is a compiled copy of Config! which Uedit loads at startup.
  755.  
  756. Data! should be in your S: directory or in your current directory, along with
  757. Help!, the help file.  If Data! is in S:, you can run Uedit from any directory
  758. or disk drive.  (Normally S: is assigned to the DF0:S subdirectory.  To
  759. assign it to myDirectory, type "Assign S: myDirectory" in CLI.)
  760.  
  761. To make Uedit recompile the config file, in CLI type:  Run Ues -c
  762.  
  763. The Config!(A-Z) have to be in your current directory or in S:.
  764.  
  765. You can keep as many config and data files on hand as you want.  The "Save
  766. data" and "Load data" selections in the menu let you switch configurations or
  767. save changes to Uedit that you have made while editing.  Thus you can
  768. customize it while using it.  (Save Data is not included in the Shareware
  769. UES program.)
  770.  
  771.  
  772. You can load and save data files from/to any directory and under any name.
  773. By customizing Uedit, you can turn it into an emulation of a favorite program
  774. or a disk utility or even possibly a spreadsheet.  While editing, you can
  775. select "Load data" and load in an entirely different configuration, changing
  776. its appearance and behavior.
  777.  
  778.  
  779. If you run Uedit by typing "Run UES -dDataFile .." or "Run UES -cConfigFile .."
  780. in CLI, it will load DataFile or compile ConfigFile.
  781.  
  782.  
  783. You can have hundreds of commands on-line at the same time.  Keys can load,
  784. compile, run, swap, and kill other keys, so there really is no limit to how
  785. many commands can be available at the press of a key.
  786.  
  787. Also you can create Partial Data files which contain blocks of commands that
  788. can be loaded in collectively or individually.  (Note:  The saveKeys()
  789. function is not included in the Shareware UES program, but loadKeys() is
  790. included.)
  791.  
  792.  
  793. There can be up to 7 menus with up to 20 selections each with up to 12 submenu
  794. selections, for a total of 1680 submenu selections.
  795.  
  796.  
  797. The configurability of Uedit is extreme.
  798.  
  799. A directory utility configuration was written that, in some respects, is more
  800. powerful and useful than directory utility programs typically are.  It lets
  801. you load in up to 100 or more directory listings and copy/delete/rename files
  802. and directories.  And while using it you can hold onto the files you were
  803. editing before you switched over to the dir-util config, as well as load in
  804. various files to read, edit, and save them while in the midst of directory
  805. house-cleaning.  This dir-util config is available as an extra.
  806.  
  807. Kurt Wessels wrote a config called UStar which emulates WordStar (tm) and
  808. Scribble! (tm).  Kurt's UStar is available as an extra.
  809.  
  810. Eric Kennedy wrote a VI! config which emulates the famous Unix(tm) vi editor.
  811. Unix users can feel right at home, using VI! instead of Uedit's standard
  812. configuration.  VI! is available as an extra.
  813.  
  814. Kent McPherson has written a Gold Key configuration that emulates the famous
  815. EDT Gold Key (tm) editor on DEC (tm) minicomputers.
  816.  
  817. Others have written specialized configs for programming and emulations of
  818. popular programs.  These are available as extras or from the authors or in
  819. the public domain.
  820.  
  821.  
  822.                              Acknowledgements
  823.  
  824.  
  825. I wish to thank the many users who have given thoughtful feedback on Uedit
  826. since it came out or have uploaded it to networks for me at their expense
  827. or helped in other generous ways.  Most of the improvements since V1.0
  828. have been because of their feedback, and Uedit's survival is due to the
  829. generous assistance of many users.  Used to be, I included a list here,
  830. but I simply had to take it out.  To name even one person or to try to
  831. name all who deserve it is sure to leave out somebody who really helped a
  832. lot.
  833.  
  834.                       *****************************
  835.  
  836.  
  837. Your feedback will be appreciated.
  838.  
  839.