home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 037.lha / Uedit / Uedit-ReadMe < prev    next >
Text File  |  1987-05-17  |  16KB  |  532 lines

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