home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 026.lha / Ue2.0_ReadMe < prev    next >
Text File  |  1987-04-02  |  16KB  |  523 lines

  1. *****************************************************************************
  2. DO THIS NOW in CLI:        Copy  Config! S:
  3.                            Copy  Help!   S:
  4.                            Run UE
  5.                            Click Yes on "Save data" question
  6.  
  7. Use Shift or Alt Down-Arrow to read this file.
  8. *****************************************************************************
  9.  
  10.                                 Uedit V2.0
  11.                     Copyright (C) 1986-87, Rick Stiles
  12.                         2420 Summit Springs Drive
  13.                             Dunwoody, GA 30350
  14. 3/27/87
  15.  
  16. Dear folks,
  17.  
  18. See Uedit20-News for info on new features, registering for Uedit, getting the
  19. Manual, a Serial #, and a $5 bonus for each person who registers using your
  20. Serial #.
  21.  
  22.  
  23.  
  24.                                About Uedit
  25.  
  26.  
  27. Uedit is Extremely flexible and powerful.
  28.  
  29. You can use it immediately.  The menus and Help are all you need.
  30.  
  31.  
  32. The goals in writing Uedit were openness, flexibility, power, friendliness -
  33. above all to give Freedom of Choice to the user.
  34.  
  35.  
  36. Being able to edit 20 files is only the beginning of the depth Uedit has got.
  37.  
  38. Learn Mode adds a new dimension, providing instant automation for people who
  39. hate reading instructions and only want to know enough to get the job done.
  40.  
  41.  
  42. The command language adds another dimension, letting you rewrite Every
  43. command, even the gadget and mouse button commands - on the fly.
  44.  
  45. Then there is the overall configurability and customizability, being able to
  46. swap and kill keys, select colors, customize the menus, etc.
  47.  
  48. Then there is the ability to switch configurations, changing the entire
  49. personality of Uedit, without interrupting editing.
  50.  
  51. Then there is the fact that it sleeps so that other tasks run efficiently and
  52. can start other tasks and load in their results so that you can use them.
  53.  
  54.  
  55. The biggest flaw in Uedit is (still) text displaying speed.
  56.  
  57.  
  58. I was going to do a faster version, but since BlitzFonts is in ShareWare for
  59. only $10, there wasn't as much need.  So I worked on V2.0's features.
  60.  
  61. Use BlitzFonts with Uedit V2.0 to get faster text displaying.  It is surely
  62. available on your bulletin board.  If it isn't, send $6 for a Uedit V2.0 disk
  63. and it will be included.
  64.  
  65. If you use BlitzFonts, be sure and send Hayes Haugen $10 for his program.
  66.  
  67.  
  68.  
  69.                             Config! and Data!
  70.  
  71.  
  72. Config! is a configuration file which is the Source of every command Uedit
  73. currently uses.
  74.  
  75. Data! is a compiled copy of Config! which Uedit loads at startup.
  76.  
  77. These need to be in your S: volume, along with Help!, the help file.
  78.  
  79.  
  80. You can keep as many config and data files as you want.
  81.  
  82. Configuration files are written in command language which reads like English.
  83.  
  84.  
  85. The "Save config" and "Load config" commands in the menu let you switch
  86. configurations and save changes to Uedit that you have made while editing.
  87.  
  88. Thus you can customize Uedit while using it.
  89.  
  90.  
  91. The menu selections say "config", but in fact it is a Data file you are
  92. loading or saving.
  93.  
  94. You can load and save data files from/to any directory and under any name.
  95.  
  96.  
  97. Config! and Data! are the default configuration and data files and must be in
  98. the S: volume.
  99.  
  100.  
  101. The command language was not created to give you something you'd have to read
  102. about and learn to use.
  103.  
  104. Ignore the command language.  It only exists in order to provide the openness
  105. that Uedit's philosophy demands.
  106.  
  107.  
  108. If you can't use Uedit productively right off using only the menus and Help
  109. file, then Uedit has failed miserably.
  110.  
  111. Uedit V1.0 wasn't friendly enough.
  112.  
  113. But after much improving in response to user feedback, people started saying
  114. that they chose Uedit because of its friendliness.
  115.  
  116.  
  117.  
  118.                               Editing Tricks
  119.  
  120.  
  121. If you are like me and hate reading instructions, and expect programs to be
  122. Easy Without Reading, then Learn Mode is for you.
  123.  
  124. No reading necessary.  It uses only the normal editing stuff.
  125.  
  126. It offers immense power and capacity to automate tedious chores.
  127.  
  128.  
  129. For instance, it has been used to convert as many as 40 program modules from
  130. BASIC or Pascal to C.  It could as easily have been 400 modules.  Setting up
  131. took about a minute, then Uedit did them all, one by one.
  132.  
  133.  
  134. The Manual has lots of Examples and Editing Tricks which show how to take
  135. advantage of Uedit's flexibility and power.
  136.  
  137.  
  138. The Manual describes how to use Learn Mode to click-add numbers or click-
  139. bracket words, do mail-merges, and so on.
  140.  
  141.  
  142. If you need to search and replace misspelled names in 300 documents, you can
  143. teach Learn Mode how to do one and then let it do them all.
  144.  
  145.  
  146. To set up for such chores takes maybe thirty seconds.
  147.  
  148.  
  149. You could easily write simple commands which run tasks on the Amiga at the
  150. press of a key.
  151.  
  152. But you could more quickly teach Learn Mode to do it.
  153.  
  154.  
  155. Anything you'd write a command for, Learn Mode can probably be set up to do
  156. in seconds.
  157.  
  158.  
  159. A useful trick is to swap "Run learn" (ctl-r) with the mouse's buttonUp
  160. operation.
  161.  
  162. Then when you click the button, buttonDown will deposit the cursor like it
  163. normally does, and buttonUp will execute a learned sequence!
  164.  
  165.  
  166. The learned sequence can be anything.
  167.  
  168. It can, for instance, click-bracket words with printer control codes.  The
  169. Manual's Editing Tricks present such examples.
  170.  
  171.  
  172. Or you can swap the mouse's buttonUp operation with another key, such as
  173. the add-numbers key (ctl-=).
  174.  
  175. Then you can click-add numbers that are scattered in various documents.
  176. Pressing ctl-\ will put the running total into the text at the cursor.
  177.  
  178.  
  179. Note that if you want to swap the mouse's buttonUp operation with a key,
  180. gadget, or menu selection, you need to keep buttonDown from getting into the
  181. swap.
  182.  
  183. You should press the mouse button and hold it, select "Swap keys", then
  184. release the button and press the key you're swapping it with.
  185.  
  186.  
  187. If you select "Swap keys" and click the mouse button, you'll be swapping the
  188. buttonDown and buttonUp operations.
  189.  
  190.  
  191. Learned sequences can be stored on disk as numbered files.  They are stored
  192. in the S: volume.
  193.  
  194. You can easily write key-commands which load and run learned sequences stored
  195. on disk.  A command to load & run learn sequence #3 would look like this:
  196.  
  197.            <shftAlt-3: if (loadLearn(3)) runLearn >
  198.  
  199.  
  200. Type it anywhere in any buffer.  Select "Compile" (F6) to compile it.  Select
  201. "Save config" to make it available next time as part of Uedit's configuration.
  202.  
  203. Learn sequence #3 might go to top of document and type in a header, or go to
  204. bottom of document and insert your name and address.
  205.  
  206.  
  207.  
  208.                                Customizing
  209.  
  210.  
  211. You can customize Uedit virtually to the point of redesigning it.
  212.  
  213. You can customize it while using it, or by editing and compiling a config
  214. file.
  215.  
  216.  
  217. If you run Uedit by typing "Run UE -dDataFile .." or "Run UE -cConfigFile .."
  218. in CLI, it will load DataFile or compile ConfigFile.
  219.  
  220. You can switch configurations while editing by selecting "Load config".
  221.  
  222.  
  223. The configurability of Uedit is extreme.
  224.  
  225.  
  226. One user made Uedit a disk housekeeping utility by cloning commands off of
  227. the click-loading command.  (Type a filename anywhere, then press Ctrl and
  228. click the filename.)
  229.  
  230. His commands click-delete and click-copy files.
  231.  
  232.  
  233. Tom Althoff, a user in NY, has written Uedit commands which behave like
  234. Borland's Turbo Pascal (tm) editor.
  235.  
  236. Click a gadget, and Uedit will save changes, tell DOS to compile modules,
  237. detect errors, reload the offending module, and put the cursor On The Error!
  238.  
  239. The compiler's error message is displayed in the message line!
  240.  
  241.  
  242. Tom's commands work with the Manx Aztec C (tm) compiler and assembler, but
  243. they're easy to modify for other compilers.
  244.  
  245. If you can't find his commands on your bulletin board, contact Tom Althoff,
  246. P O Box K-43, Greenwood Lake, NY 10925.  He will send you them to you, along
  247. with other tools he has written to use with Uedit.
  248.  
  249.  
  250.  
  251.                               Odds and Ends
  252.  
  253.  
  254. Here are some odds and ends to help get you started.
  255.  
  256.  
  257. To abort any operation, press Amiga-ESC.
  258.  
  259.  
  260. Primitive Mode is what Uedit is when it has no config.  The Title Bar and the
  261. message line tell you what to do in Primitive Mode.
  262.  
  263. Primitive Mode is used for text and number input.  If you press F7 to input a
  264. search string, you'll be in Primitive Mode.
  265.  
  266.  
  267. Primitive Mode is also used when compiling the config file at startup and an
  268. error is found.  Uedit puts you on the error spot so you can correct it.
  269.  
  270. At that point it has no commands, so you are stuck using the bare bones until
  271. the config has finished compiling.
  272.  
  273.  
  274. You can search for two things at once by putting a "$" dollar sign between
  275. two search strings.
  276.  
  277. The "?" question mark is used by search as a wildcard.
  278.  
  279.  
  280. You can change these by editing Config! or by selecting "Set wildcard" or
  281. "Set eitherOr".
  282.  
  283. "Search caps" lets you toggle on and off the case-sensitivity of searching.
  284.  
  285.  
  286. Using all key, mouse and gadget Shft/Alt/Ctl prefix-combinations, you can
  287. have more than 800 commands on-line at the same time.
  288.  
  289. Keys can load, compile, run, swap, and kill other keys, so there really is no
  290. limit.
  291.  
  292.  
  293. Everything - including the Close Box - can have up to 8 commands attached, by
  294. using all combinations of Shft, Alt & Ctl.
  295.  
  296.  
  297. There are 4 "invisible" gadgets in the message line.  You can mark or unmark
  298. them by selecting "Mark gadgets".
  299.  
  300. Using Shft, Alt and Ctl, there are 32 gadgets in all.
  301.  
  302. Gadgets are just like keys and mouse clicks.  They can be swapped, killed,
  303. reprogrammed, learned, used by menu selections, and so on.
  304.  
  305.  
  306. Menu selections are always attached to a key, gadget or mouse button command.
  307.  
  308. If no command exists - or if you kill it and select "Save config" - the menu
  309. selection won't appear next time, but a warning box will remind you.
  310.  
  311.  
  312. If you swap a menu selection, the key you swapped it with will be executed
  313. whenever you select that menu item.
  314.  
  315.  
  316. You can run other programs from inside Uedit and have the results loaded in
  317. ("DOS + result") or ignored ("AmigaDOS").
  318.  
  319.  
  320. Uedit sleeps when it can, so that other tasks will run faster.
  321.  
  322.  
  323. Clicking the Title Bar will switch to the tiny window.  It comes up inactive,
  324. so you can type into CLI immediately.
  325.  
  326. This also lets the Amiga reopen the big window in a better memory location.
  327.  
  328.  
  329. If Uedit runs out of memory and the "Memory..." message appears, that means
  330. it is compacting its stuff in memory, creating a larger area for the Amiga to
  331. use for graphics.
  332.  
  333. If "Memory..." appears, you ought to save and close some documents.
  334.  
  335. Also it's a good idea to click the Title Bar and reopen Uedit's window.
  336.  
  337.  
  338. Uedit sleeps between your inputs.
  339.  
  340. If you don't type anything for 4 seconds, it will do housekeeping.
  341.  
  342. If you select "Busies", you'll see which buffer is being worked on.
  343.  
  344. When the housekeeping is done, it sleeps.
  345.  
  346.  
  347. Uedit displays twice as many lines of text when Interlace is used.
  348.  
  349. It picks up font changes made with Preferences immediately.  It works with
  350. all known hardware add-ons.  It looks for the most recent Amiga libraries.
  351.  
  352.  
  353. Some people start Uedit in their Workbench Startup-Sequence and do everything
  354. from inside it.  They let Uedit run other tasks and continue editing or
  355. let Uedit sleep.
  356.  
  357.  
  358. To see the demo, press shift-alt-ctrl-d.  The file "demo" will need to be in
  359. your current directory.
  360.  
  361. The demo is useless, except as an example.  It compiles and runs commands,
  362. then reloads the original config after the demo has finished.
  363.  
  364.  
  365. All flag settings, such as "Favorite" and "Word wrap" toggle like a light
  366. switch.  If "Word wrap" is Yes, selecting "Word wrap" switches it to No.  And
  367. vice versa.
  368.  
  369.  
  370. To see the current Settings, press shift-HELP or select "Show flags".
  371.  
  372.  
  373. Some settings are global and others are local to the current document.
  374.  
  375. Changing a local setting like word-wrap changes the global setting for future
  376. files loaded in.
  377.  
  378. Selecting "Save config" saves the current settings.
  379.  
  380.  
  381. To print a region, hilite it and press ctl-p.
  382.  
  383.  
  384. Hilite can be created in 3 ways.  Invert can be created in 2 ways.  Press
  385. HELP to see how.
  386.  
  387.  
  388. If "Print Pref" is Yes, printing will go through Preferences, which can be to
  389. a serial or parallel printer.
  390.  
  391. If "Print Pref" is No, printing goes to the parallel port in raw form, so
  392. Preferences can't filter your text.
  393.  
  394.  
  395. By choosing Serial Printer in Preferences, you can select either a parallel
  396. or serial printer by toggling "Print Pref" in Uedit.
  397.  
  398.  
  399. To set Colors, press alt-HELP until you see a combination that you like.
  400.  
  401. Then select "Save config".
  402.  
  403.  
  404. When choosing colors, you should create a hilited region which overlaps an
  405. inverted region, so that you can watch their colors.
  406.  
  407.  
  408. Menus keep their old colors until they're rebuilt.  To force them to be
  409. rebuilt, click the Title Bar and then the tiny window.
  410.  
  411.  
  412. To save changes in defaults, or after compiling commands, or after swapping
  413. or killing keys, you must select "Save config".
  414.  
  415.  
  416. To recover the original config after fooling around with commands, colors,
  417. etc, select "Load config".
  418.  
  419.  
  420. To make something happen automatically at startup, write a command like this:
  421.  
  422.     <ShftAltCtl-z: LoadFile("Manual.Table") LoadFile("Uedit-ReadMe") >
  423.  
  424.  
  425. You must use ShftAltCtl-z, unless you change the startup command in the
  426. config file.
  427.  
  428. Select "Compile" (F6).
  429.  
  430. Uedit will find the "<" angle bracket and compile the command.  Select "Save
  431. config" to save it.
  432.  
  433.  
  434. Then each time you start up, Uedit will run the command.
  435.  
  436.  
  437. You can make it load a config other than S:Data! by compiling a command like
  438. this:
  439.  
  440.                   <shftAltCtl-z: loadConfig("NewData")>.
  441.  
  442. Select "Save config", and Uedit will load and use NewData next time.  Pressing
  443. shftAltCtl-z would load it anytime.
  444.  
  445.  
  446. When Uedit comes up, it loads S:Data! first thing.
  447.  
  448. You can make it load NewData by typing "Run UE -dNewData ..." in CLI.
  449.  
  450. This would be faster than the above command would, since Uedit wouldn't have
  451. to load S:Data! first.
  452.  
  453.  
  454. To kill the startup auto-command (and make Uedit-ReadMe stop auto-loading),
  455. select "Kill key", press shftAltCtl-z, and select "Save config".
  456.  
  457. If you kill the wrong key and haven't saved it yet, select "Load config" and
  458. try again.
  459.  
  460.  
  461. The arrow keys are used for vertical and horizontal scrolling.  The shift
  462. keys determine the level of "power" of the scroll.
  463.  
  464.  
  465. The number-keypad keys are arranged logically and are easy to remember.
  466.  
  467.  
  468. The "5" key always "finds" the cursor.
  469.  
  470.  
  471. The 4, 6, 8 & 2 keys move the cursor left, right, up and down.  Again, the
  472. shift keys determine the level of "power".
  473.  
  474.  
  475. The 7 & 9 keys delete left and right.  Again, shift keys determine the
  476. "power".  (Ctl-d deletes lines of text.)
  477.  
  478. The 0 key is the Undo delete key.
  479.  
  480.  
  481. The 1 & 3 keys set start/end of hilite or invert regions.  Ctrl 1 & 3 are for
  482. invert.  Normal, Shft & Alt are for hilite.
  483.  
  484.  
  485. The ".", "-" and Enter keys are for Copy, Cut and Paste of hilite or invert
  486. regions.  Again, Ctrl is for invert and the rest are for hilite.
  487.  
  488.  
  489. To deactivate the keypad commands to use the keypad for number entry, select
  490. "Use keys".
  491.  
  492.  
  493.                              Acknowledgements
  494.  
  495.  
  496. I wish to thank the users who have given helpful feedback on Uedit since it
  497. came out.
  498.  
  499. Most of the improvements since V1.0 have been because of their input.
  500.  
  501. I especially want to thank Tom Althoff, Mike Davenport, Tim Jones, and John
  502. Youells for all of their help, encouragement, and willingness to spend money
  503. on long distance calls in order to help Uedit in ShareWare.  They have been
  504. an inspiration, to say the very least.
  505.  
  506.  
  507.  
  508.                       *****************************
  509.  
  510.  
  511. Your feedback will be appreciated.
  512.  
  513. And if you write a config or useful commands, send them to me and they'll be
  514. included with future releases.  If you don't send them to me, put them in the
  515. public domain.
  516.  
  517.  
  518.            Rick Stiles
  519.            2420 Summit Springs Drive
  520.            Atlanta, GA 30338
  521.  
  522.  
  523.