home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d770 / uedit.lha / Uedit / Ustar.LZH / UstarDoc < prev    next >
Text File  |  1992-08-07  |  82KB  |  1,634 lines

  1.  
  2.                                   UstarDoc
  3.  
  4. Documentation for Ustar v0.90.  12/11/87.
  5. Ustar is a configuration file for Uedit and requires Uedit V2.3c
  6.                   
  7. Ustar is Copyright (c) 1987 by Kurt Wessels, 917 N. 87th, Seattle, WA 98103
  8.                   
  9. "Amiga" is a registered trademark of Commodore-Amiga, Inc.
  10.                   
  11. "WordStar" is a trademark of MicroPro International Corp.
  12.                   
  13. See Uedit-Policy for how to register and support Uedit.
  14.                   
  15.  
  16. -----------------------------------------------------------------------------
  17.  
  18.  
  19.                         Ustar Distribution Policy
  20.                   
  21. Ustar is freely distributable.  It may be included with any Uedit  files/disks
  22. .  It  may  be  posted to bulletin boards, included on public-domain/shareware
  23. disks, and generally be distributed for no charge or  a  small  handling  fee.
  24. All  rights reserved.  Contributions of freely distributable software or $ are
  25. welcome.
  26.  
  27. If  you want to be informed of updated versions of Ustar, send an SASE to me;
  28. send a disk and postage if you want the latest version.  
  29.  
  30. You  may modify the Ustar files and excerpt from them in any way for your own
  31. use,  but  do  not  then  redistribute them as Ustar.  Send any enhancements,
  32. bugs, ideas, etc. to me and I will consider them in later releases.
  33.  
  34. Ustar  is  provided  as-is.   There  are  no  warranties  or  guarantees   of
  35. performance.   I cannot be responsible for any damaged data or files.  Use at
  36. your own risk!!!
  37.  
  38.  
  39. -----------------------------------------------------------------------------
  40.  
  41.                   
  42.                             Table of Contents
  43.                   
  44.      Notices (above)
  45.      Ustar Distribution Policy (above)
  46.      Table of Contents (this)
  47.                   
  48.      Editorial    
  49.      Files comprising Ustar
  50.                   
  51.      About Ustar  
  52.      Important Points
  53.  
  54.      Getting Going (System Setup)
  55.      Learning to use Ustar
  56.                   
  57.      Conflicts with other programs
  58.      Enhancements compared to WordStar
  59.  
  60.      Features You Should Know About:
  61.           Click-loading
  62.           Reformat
  63.           Dot Commands
  64.           Repeat and Learn
  65.  
  66.      Differences & Details compared to WordStar
  67.                   
  68.                   
  69. -----------------------------------------------------------------------------
  70.  
  71.  
  72.                                 Editorial
  73.                   
  74. Be  an  Amiga  militant!   Call, or better yet write to every company you can
  75. think  of  whose  software you like or use on other machines, and ask them to
  76. port it to the  Amiga.   Support  Amiga  dealers.   Send  in  money  for  the
  77. shareware  that you use (esp. look at your startup-sequence and c:directory!)
  78. and write the authors as well with suggestions of improvements etc.   (unlike
  79. many  commercial  companies,  these  folks  will  often listen and even write
  80. back).  Attend and support your local user groups and Amiga bulletin  boards.
  81. The very best advertising for this machine is for people to be  AWARE  of  it
  82. and  to  actually  SEE and USE it.  It invariably blows them away!  Take your
  83. machine to work, to parties, and anywhere else there's people  and  somewhere
  84. to plug it in.  Then proceed to astound everyone and kick Amiga sales upUpUP!  
  85.                   
  86.  
  87. -----------------------------------------------------------------------------
  88.  
  89.                   
  90.                           Files comprising Ustar
  91.                   
  92.      When archived, name it Ustar90.arc (for ZOO, Ustar90.zoo).
  93.  
  94.  
  95.           Any distribution of Ustar MUST include these unaltered files:
  96.                   
  97.      UstarData!     Compiled configuration file
  98.      UstarDoc       Documentation - this file
  99.      UstarHelp!     Help file
  100.      ASCII          Chart/table
  101.      UstarTutor     Intro: how WordStar evolved; how to quickly learn it
  102.      PrintTest      Demos dot commands and print controls
  103.      UstarREADME    Brief "how to run" and last-minute info.
  104.      UstarKeyHelp   Data file for Teach Key mode (teacheswhat each key does)
  105.      MakeARCUstar   A batch file, to make ARC file via: execute makearcustar
  106.  
  107.  
  108.           Unless there is no room on your disk or ARC, these should also
  109.           be included:
  110.      UstarConfig!   Configuration file (source)
  111.      UstarDetails   Low-use reference info on Ustar
  112.      
  113.  
  114.           and you ought to include these files:
  115.      UeRef          A summary of Uedit commands, functions, flags, variables.
  116.      Promo          Promotional items to help sell Uedit.
  117.      AboutUE&US     General info
  118.  
  119.  
  120.           executable files that are used by a few Ustar commands (other  than
  121.           standard AmigaDOS commands) are:
  122.      AddBeep        Part of DispBeep.arc - to beep instead of flash display
  123.      RemBeep        "
  124.      Beep-ReadMe    "
  125.      avail          Shows memory usage
  126.      xe             Calculator
  127.      (various)      MicroSpell spell checking program & dictionaries
  128.                     (not usually included; available on Fish disk #101)
  129.  
  130.  
  131.           If it is the whole-disk distribution of Ustar, rather than just the
  132.           files, these will also be included:
  133.  
  134.      icons for each doc file:
  135.           UstarDoc.info       UstarHelp!.info     UstarTutor.info  Promo.info          
  136.           UstarREADME.info    UstarDetails.info   UstarConfig!.info
  137.           PrintTest.info      UeRef.info          AboutUE&US.info
  138.      tools for executing icons from workbench:
  139.           more                CLIcon              
  140.      custom icons:
  141.           disk.info           Ustar.info     
  142.      
  143.      Along with all of the current distribution of shareware Uedit,
  144.      including the UES executable Uedit shareware program and
  145.      the blank icon NoName.info.
  146.  
  147.  
  148. -----------------------------------------------------------------------------
  149.  
  150.  
  151.                                About Ustar
  152.  
  153.      Ustar is an emulation of the WordStar command key set and  most  of  its
  154. functions.   (I  wrote to both NewStar Software and MicroPro; they apparently
  155. aren't planning on porting WordStar to the Amiga.)  WordStar  here  may  mean
  156. either  version  3.3  or the newer WordStar Professional Release 4.  Previous
  157. versions of Ustar supported v3.3; this one  adds  many  v4  capabilities  and
  158. keys.  WordStar here is also abbreviated to WS; notes on the old/new versions
  159. may be abbreviated to WS3 or WS4.
  160.  
  161.      Ustar  is  a  configuration file that is used with Uedit, a programmable
  162. shareware text editor by Rick Stiles.  See the Uedit files for more info.  Be
  163. sure to read Uedit-Policy for how to register.  By  registering  your  Uedit,
  164. you  can  learn more about it, support an excellent piece of software, and be
  165. able to fine-tune it to your own needs.  
  166.  
  167.      Previous versions of Ustar provided  some  support  for  Scribble!   key
  168. commands.  As of this version, this is no longer true; I may write a separate
  169. Uedit configuration later for this, but  don't  hold  your  breath.   In  the
  170. meantime, you can of course remap keys to whatever you want.
  171.  
  172.      Since  this  is  an  emulation  of WordStar, anyone used to the standard
  173. Uedit  configuration  will  be  totally at a loss; most keys were remapped to
  174. avoid conflict with WordStar keys, and the way that the standard  Uedit  does
  175. some things (e.g.  Find/Replace & Blocks) is completely different than Ustar.
  176. However,  most  of  the  capabilities of the standard Uedit configuration are
  177. already present as defined key commands,  and  with  Learn  mode  and  custom
  178. commands  available,  everything  is possible.  When you register and get the
  179. Uedit manual, keep this in mind - trying  things  directly  from  the  manual
  180. won't usually work, you will have to translate into Ustar keys/commands.  
  181.  
  182.      Since  there  is  no  editing  vs.  non-editing mode, it feels different
  183. initially  than  WordStar.   However,  experienced  WordStar  (or  compatible
  184. command-key editor/word processor) users should feel at home very quickly.
  185.  
  186.      Ustar  is  more  friendly and easier to learn than it used to be.  Menus
  187. are  better-organized  and  now  include  virtually every key, due to Uedit's
  188. added submenu capability.  The Help key still shows you all of the  commands,
  189. organized  differently than the menus.  The new Teach Keys mode will tell you
  190. what each key or menu selection does when  pressed,  without  performing  any
  191. actions.
  192.  
  193.      I've written and included a tutorial to help teach you the basics of the
  194. WordStar  command set.  This should get you going quickly; then you can learn
  195. more about it as you use it productively.  See the UstarTutor file,  or  just
  196. choose it from the System Help menu.  For more info, any book on WordStar, or
  197. a friend who knows it, can help you learn more about it (but keep differences
  198. in mind).
  199.  
  200.      Not all commands and operations are noted or discussed in this document,
  201. primarily only those that are not part of WS or are different than WS.  
  202.  
  203.      Note  that  I  implement the STANDARD WordStar command-key set that uses
  204. the control key sequences.  NONE of the function  key  and  numeric  (cursor)
  205. keypad assignments that were tacked onto the Mess-DOS version of WordStar are
  206. implemented.   However,  they  are available in a section of the UstarDetails
  207. document and can be added to UstarConfig! and activated if desired.
  208.  
  209.      I have kept most of the ALT keys, virtually all of the  left  and  right
  210. Amiga  keys, and a couple of the function keys available for use in assigning
  211. your own temporary or permanent commands to them, since they are easy to  use
  212. and remember. 
  213.  
  214.      If  you  have  an  earlier  version  of  Ustar, see the Revision History
  215. section in UstarDetails for notes on what has changed.  
  216.  
  217.  
  218. -----------------------------------------------------------------------------
  219.  
  220.  
  221.                               IMPORTANT POINTS
  222.  
  223. Shareware
  224.      After Uedit version  2.0,  Uedit  was  split  into  shareware  and  non-
  225. shareware versions, the only difference being the  shareware  version  cannot
  226. compile  a  Config!  file or new commands (and is smaller).  This document is
  227. oriented towards  the  non-shareware  version,  in  that  it  often  mentions
  228. recompiling,  or  changing/adding commands.  Keep this in mind - and register
  229. your Uedit soon.  
  230.  
  231.      Note - as of Uedit V2.3c and Ustar v0.90, the maximum  number  of  files
  232. open at once has been  limited  to  5.   This  is  an  attempt  to  encourage
  233. registration  of  Uedit.   It  is  easily  changed once you have registered -
  234. search in UstarConfig!  for the 3 lines with !SHARE  in them  and  change  as
  235. instructed, then recompile UstarConfig!.
  236.  
  237.  
  238. Key Legends
  239.      Commands that use keys which have two legends on their keytops may  show
  240. in menus, help file, and here as either legend.  They mean the same thing,  I
  241. just use the more descriptive one.  
  242.  
  243.      For  instance,  the  Alt-? key sequence brings up the About information.
  244. This means to press an Alt key and the key with ? on it.  It does NOT mean to
  245. press  an Alt key, a Shift key, and the ? key.  In other words, Alt-?  is the
  246. same  as  Alt-/.   In  the  same  way,  Ctrl-=  means  the  same  as  Ctrl-+.
  247. Internally, Uedit commands always use the lowercase keytop ID.  
  248.  
  249.      There is only one exception to this "no shift" rule, involving a two-key
  250. WS4 sequence noted in details farther below.  
  251.  
  252.  
  253. Amiga Keys
  254.      The  "LeftAmiga"  key,  shown as "L-" prefix in menus, is the key to the
  255. left of the spacebar.  Some A500/A2000 machines have this relabeled with  the
  256. Commodore "C=" symbol.  It is functionally the same key.
  257.  
  258.  
  259. -----------------------------------------------------------------------------
  260.  
  261.  
  262.                         Getting Going (System Setup)
  263.  
  264. The  following  is oriented toward CLI users.  Workbench-only people can send
  265. me  $5  (or a disk and return postage) for the shareware version of the Uedit
  266. and Ustar system that is all set up to be used via icons from the Workbench.  
  267.  
  268. First, make a backup of the disk or archives.  You will probably be  changing
  269. things to suit yourself, and will need the original  files  for  distribution
  270. and reference.  
  271.  
  272. The  shareware  version  of  the executable Uedit program is called UES.  See
  273. Rick's Uedit documentation for complete info.  Briefly, Uedit  is  configured
  274. (told  what  to  do) by a separate file.  The source code (readable commands)
  275. for the configuration are in a Config! file.  This file is compiled by  Uedit
  276. to  a  more  compact Data! file, which is what it actually uses.  The Config!
  277. file would normally be compiled only after you have made some change to it.
  278.  
  279. As distributed, the UstarData! file is  provided.   As  an  example,  to  run
  280. Ustar, CD to the disk or directory its files are in, and do:
  281.      run ues -dUstarData!
  282. Note that Ustar is distributed along with the original  Uedit  configuration;
  283. to insure you are running Ustar rather than standard Uedit, give the  command
  284. above.
  285.  
  286. If no UstarData! file is present, compile a Data! file via:
  287.      run ues -cUstarConfig!
  288.  
  289. If you have room on your Workbench (boot) disk, do:
  290.      copy UstarData! s:Data!
  291. Then all you need to do later to run Ustar is: run ues
  292.  
  293. You can specify a list of files to load upon startup, e.g. load 3 files by:
  294.      run ues MyFile MyOtherFile YetAnotherFile
  295.  
  296. For  maximum flexibility in running other commands within Uedit, always start
  297. it  from  a CLI window rather than the Workbench; see Uedit documentation for
  298. details.  
  299.  
  300.  
  301. -----------------------------------------------------------------------------
  302.  
  303.  
  304.                             Learning To Use Ustar
  305.  
  306. If you are not familiar with WordStar, read UstarTutor and play with Ustar as
  307. it discusses it.  This will get you going at a basic working level quickly.
  308.  
  309. If you are familiar with WordStar, just use the regular WordStar commands  to
  310. do editing actions.  See the rest of this and other documents for details  on
  311. differences.
  312.  
  313. The best way to learn it in any case is just to use and play around with it.
  314.  
  315. If you don't know or forget how to do something,  there  is  a  lot  of  help
  316. available.  First, the pull-down menus list virtually every command.  Second,
  317. the  Help key (or ^J) will bring up the UstarHelp! file, which also lists all
  318. commands along with general information.  Third, there is a  TeachKeys  mode,
  319. where pressing a key sequence doesn't do anything except describe itself.  To
  320. activate  this mode, choose the System - Help - Teach Keys menu selection, or
  321. Alt-T.  Lastly, there is this and other files that go into detail  about  the
  322. commands.
  323.  
  324.  
  325. -----------------------------------------------------------------------------
  326.  
  327.  
  328.                  Conflicts With Other Programs & the System
  329.  
  330. PopCLI
  331.      PopCLI  (by  The Software Distillery) can conflict with Uedit.  PopCLI's
  332. default  "hot key" for popping up a new CLI window is LeftAmiga-ESC.  This is
  333. the same key used by Uedit as a general purpose "abort" key.   PopCLI  always
  334. sees the key sequence before Uedit, so you can never halt a Uedit action with
  335. it.
  336.  
  337.      There  are  two  ways  around  this.  The new version of Uedit has added
  338. RightAmiga-ESC (and a few other keys) to do the same abort as  LeftAmiga-ESC.
  339. And,  the  new  version  of  PopCLI, version III (available on Fred Fish disk
  340. #84), lets you remap the hot key, e.g.  remap  PopCLI  to  use  LeftAmiga-TAB
  341. via: "run popcli 300 66".  
  342.  
  343.  
  344. Mach
  345.      The  mouse  speedup  program called Mach, v1.0 by Brian Moats, conflicts
  346. with the Alt-Function keys.  Only the Alt-Function keys  are  affected,  i.e.
  347. Alt-Ctrl-Function  keys  and  other  combinations  are  OK.  It "eats up" the
  348. keystrokes so Uedit never sees them.  I've  found  no  way  to  prevent  this
  349. except  by not running Mach.  I wrote him about this; in the meantime, I have
  350. mapped the RightAmiga key to do the same thing as the Alt  key  for  the  few
  351. Alt-Function key combinations I do currently use.
  352.  
  353.  
  354. FuncKey
  355.      The function key macro program FuncKey, v1.01 by Anson Mah (available on
  356. Fred  Fish  disk #89), conflicts with the Ctrl-Function keys if it is active.
  357. In addition, any function keys you have  defined  in  it  will  override  any
  358. defined  in  Uedit  (undefined  ones  are  passed through untouched).  If you
  359. switch off FuncKey's actions with the  "FuncKey  OFF"  gadget,  there  is  no
  360. conflict  with  any  keys.   Mr.  Mah  has indicated that the next version of
  361. FuncKey will fix  the  Ctrl-Function  key  problem  and  perhaps  also  allow
  362. adjusting its priority level.
  363.  
  364.  
  365. SnipIt
  366.      There  is  a  small  potential  conflict  with SnipIt (a general purpose
  367. system cut/paste utility).  SnipIt  uses  the  Left  Amiga-Mouse  button  for
  368. clipping text, so if it is active, you can't use lAmiga-buttonDown or lAmiga-
  369. buttonUp  -  Uedit  won't ever see them.  You should also know that you can't
  370. cut text out of Uedit with SnipIt, but you CAN paste text (clipped from a CLI
  371. window or other CLI utility) into Uedit using normal SnipIt functions.  
  372.  
  373.  
  374. Amiga System
  375.      Uedit now will look in the current directory, as well  as  S:,  for  its
  376. important  files.   In  addition,  when you register Uedit, you get a utility
  377. that lets you use a U:  directory instead of S:.  See UstarDetails  for  more
  378. info on files and programs Ustar uses.
  379.  
  380.  
  381. -----------------------------------------------------------------------------
  382.  
  383.  
  384.                     Enhancements compared to WordStar
  385.  
  386.      General
  387.      
  388. It runs on the Amiga!
  389.    
  390. All the advantages of Uedit:
  391.      o    You can edit up to 30 (or even more) documents at once.
  392.      o    Multiple split-screen windows into the same or other documents.
  393.      o    Well-supported shareware
  394.      o    Completely reconfigurable Uedit environment.
  395.      o    You can add new commands anytime, and save if desired.
  396.      o    Learn any sequence of keys and play it back.
  397.      o    Toggle between interlace/non-interlace anytime.
  398.      o    Customizable help file.
  399.      o    See Uedit docs for further info
  400.  
  401. You  can  place  the cursor, or mark and manipulate blocks, with the mouse as
  402. well as the keyboard.  
  403.  
  404. You can use the arrow keys as well as the standard control-key diamond.   The
  405. arrow key functions are a fusion of the way various other Amiga editors work.
  406.  
  407. Most commands are listed in the pull-down menus.  Those few that aren't there
  408. are listed in the UstarHelp! file, which is brought up  when  you  press  the
  409. Help key.  
  410.  
  411. The status of most flag (toggled) type items (e.g. overwrite/insert mode) are
  412. shown  in  the pull-down menus.  They are distinguished from other menu items
  413. by having a background color  that  matches  the  background  color  of  your
  414. document.  If an item has a check-mark next to it, it is active (it is on).
  415.  
  416. Below, I have put an asterisk next to the keys that are not standard WordStar
  417. keys - those added by me.  
  418.  
  419.  
  420.      Block commands
  421.  
  422. Normal block commands are implemented, and new capabilities added:
  423.  
  424. ^KU *, ^U Undelete/Undo.  This has several uses.  
  425.      o    Recall  the last word(s) or line(s) deleted.  If you delete a bunch
  426.           of words/lines without moving the cursor, this  recalls  them  all.
  427.           If you move the cursor then delete a word/line, you can only recall
  428.           that  item.   In  other  words,  each  deleted item is added to the
  429.           recall buffer, until you move the cursor and do a delete elsewhere.
  430.      o    Recall the last block deleted.  Only one block is kept.   The  same
  431.           scratch  buffer  is  used, so doing a block operation will wipe out
  432.           any word/line deletes you may have had - unless you  are  in  Block
  433.           Column mode, which uses a different buffer.  
  434.      o    Use  with ^KG to transfer blocks between buffers (documents).  Mark
  435.           the block and get it with ^KG in  one  buffer,  switch  to  another
  436.           buffer  and  insert  it with ^KU.  So, it acts something like Block
  437.           Copy (^KC) but between buffers.  
  438.  
  439. ^KG *     Get.  Get a block into the Undo buffer.  This is needed so you  can
  440.           get a block marked in one file without altering that file, and copy
  441.           it  into  another file via Undo since normal WS block commands work
  442.           within the current file only.  
  443.  
  444. ^K] *     Speaks a block (Say command must be in c:, and libraries available).
  445.  
  446. ^KW       Write.  You can print a block by  using  this  normal  Block  Write
  447.           command,  then  giving  the  file  name of "prt:" (to print through
  448.           preferences) or "par:"  or  "ser:"  (to  print  direct  to  ports),
  449.           instead  of  regular  disk & file names.  However, printing in this
  450.           way WILL NOT properly interpret any Uedit  printer  control  codes.
  451.           Use  the  code  I  defined for printing a block, ^PO, in this case.
  452.           Also, printing in this way won't interpret any Ustar dot commands. 
  453.  
  454.  
  455. Mouse *   You can do many block actions with the mouse.  
  456.  
  457.           You can highlight a block (instead of using ^KB and ^KK):
  458.           o    Highlight a block of text by pointing  to  the  start  of  it,
  459.                holding  the  left  mouse button down, moving the mouse to the
  460.                end of the block, and releasing the button.  This is now  much
  461.                enhanced:   automatic  scrolling  now occurs when the mouse is
  462.                slid up to the top or bottom of the screen.  It has also  been
  463.                changed:   the  block  is no longer dynamically highlighted as
  464.                you move the mouse around the  screen.   The  version  of  the
  465.                normal-buttondown  command  that  does dynamic highlighting is
  466.                still in the UstarConfig! source file, but  inactive;  if  you
  467.                prefer  this feature, you can use this other version, but at a
  468.                great loss in scrolling speed.  
  469.  
  470.           Once a block is marked, via mouse or keyboard:
  471.           o    Move a block (equal to ^KV) by pointing the mouse to the place
  472.                where you want the start of the block to go, holding down  one
  473.                of the Shift keys, and clicking the left mouse button.  
  474.           o    Copy a block (^KC) as above but with an ALT key.
  475.           o    Delete a block (^KY) as above but with Shift + ALT key.
  476.  
  477. ^KI       Columnar  overwrite/insert  mode  toggle.   In  the  default  mode,
  478.           columnar block Move/Copy pushes aside existing text,  and  columnar
  479.           block Delete deletes (cuts out) text.  In its other mode, Move/Copy
  480.           overlays existing text, and Deleted blocks are space-filled instead
  481.           of being cut out.  
  482.  
  483. ^PO       Print  Block  (Printer cOpy).  Prints the highlighted block through
  484.           the current printer choice.
  485.  
  486. ^KM       Block Math - mark a column, row, or block of numbers, this will add
  487.           them all up (or subtract if leading minus sign present).
  488.  
  489.  
  490.      Files & Buffers
  491.  
  492.  
  493. There's no "No File Menu" ("Not Editing  Menu")  mode  in  Ustar;  thus  some
  494. commands, esp.  ^K, work differently; an attempt was made to maintain  smooth
  495. operation, consistency, and stay close to WS standards.  
  496.  
  497. The  terms "files" and "buffers" are used somewhat interchangeably.  A buffer
  498. in Uedit is normally the in-memory copy of a disk file that  you  loaded  in.
  499. "File"  may  mean  only  "disk  file"  to  some people.  I generally refer to
  500. buffers, but may also refer to files where it seems more appropriate.  
  501.  
  502. F1, S-F1, F2  *
  503.           F1 switches to the next buffer, if you  have  more  than  one  file
  504.           loaded  into  Ustar.   When it gets to the last buffer, the next F1
  505.           takes you back to the first file.  In other  words,  this  "visits"
  506.           each  file  you have loaded.  Shift-F1 does the same thing but goes
  507.           through the files in the opposite order - switches to the  previous
  508.           buffer.   F2  is  simply an equivalent to shift-F1 for ease of use.
  509.           See also F3 below.  
  510.  
  511. ^KL       Logged disk/directory. (Current Directory).   Default  is  whatever
  512.           the  system  directory  is  where you started up Ustar.  Entering a
  513.           path here will use that path in all ^KD file opens and  other  file
  514.           work, if no other path is specified in the filename.  
  515.  
  516.           DON'T  use  this  if you started from Workbench!! (see Uedit docs).
  517.           Does NOT affect the directory specified in mouse-loading operations
  518.           (see below).
  519.  
  520.  
  521. ^KD       Document Open.  This acts like the No-File D or N  (open  document)
  522.           functions  of  WS.  You specify a file name, optionally including a
  523.           path.  If the file is found it will be loaded; otherwise  an  empty
  524.           buffer  will  be  opened, with the name you gave it.  If no name is
  525.           specified, nothing occurs.  Unlike WS, ^KD doesn't do anything with
  526.           (doesn't save to disk) the buffer you were in prior to giving  this
  527.           command;  that  file  remains  in its own buffer and you can switch
  528.           back to it as usual with F1 or F2 - use ^KS, ^KQ, ^KT,  or  ^KX  to
  529.           save a file to disk.  
  530.  
  531. ^KS       Save/Resume  (Quicksave).   Save  document to disk.  However, it is
  532.           smart: if you haven't changed the buffer, it won't  save  it,  will
  533.           tell  you it is unchanged since last save.  This eliminates waiting
  534.           for unnecessary disk actions to finish.  Also, the  cursor  remains
  535.           where it was - no need for the old WS3 ^QP afterwards.  
  536.  
  537. ^KT *     Total Save.  Saves all changed buffers to disk without asking.  
  538.  
  539. ^KQ       Quit  Buffer.   If  buffer has changed, it tells you so and asks if
  540.           you want to save it (to the current filename only). It  then  frees
  541.           the buffer.  
  542.  
  543. ^KZ *     Zafety  (?!!).   AutoBackup  toggle.   Unlike WS, you can choose to
  544.           have or not have  backup  files  kept.   This  toggles  this  mode.
  545.           Currently,  I  have it default to no backups when Ustar started up;
  546.           you can easily change this by changing the default setting  at  the
  547.           start  of  UstarConfig!  and recompiling it.  Backups are different
  548.           than WS - see below.  
  549.           
  550. ^KA *     save As.  Use to save buffer as some other name.  This  leaves  the
  551.           current  buffer name and "changed" flag as is, and saves the buffer
  552.           to the specified filename.  It gives  an  initial  default  of  the
  553.           current  filename.   Typing  nothing  will abort the save.  To save
  554.           name shown, type its first character.
  555.  
  556. ^K= *     Read-Only  toggle.   This  will  disallow changes to the current or
  557.           buffer.  Useful for reference documents so you  don't  accidentally
  558.           ^OP  change  them,  for  example the Help file - press Help and try
  559.           changing it.  
  560.  
  561. ^K\ *     Icons toggle.  If on, when you save a file, an icon  will  also  be
  562.           saved  with  it.   There  must be a "template" icon file in your s:
  563.           directory called "NoName.info" for this to work.  If a backup  file
  564.           is also made, and this icon toggle is active, an icon is also saved
  565.           with the backup file.  
  566.  
  567. ^KX       eXit Ustar.  Same as closebox gadget.  If any buffers have changed,
  568.           you  have  a  choice  of saving all changed buffers, or just saving
  569.           user-selected ones; then it verifies that you want  to  quit.   So,
  570.           you  can  use  this  for  selective mass saving of files as well as
  571.           quitting.  See also ^KT.   For  a  very  dangerous  quit,  do  SAC-
  572.           closebox  (or  SAC-F1)  -  it will not ask, you will lose all edits
  573.           regardless of changes, quits immediately.   These  dangerous  quits
  574.           aren't listed on the pull-down menus, on purpose.
  575.  
  576. ^KP       Print file.  Like most Ustar/Uedit commands (where it makes sense),
  577.           you  can  repeat  this any number of times you want; very useful in
  578.           printing things like labels.  Only if ^PP Print Via is set to 2  or
  579.           3  will  any  Uedit/UStar  printer  control   codes   be   properly
  580.           interpreted.
  581.  
  582. Rename    The file manipulation commands ^KE, ^KO,  ^KJ,  and  ^KP  currently
  583. Copy      work  with buffers only, not disk files.  Note that these work with
  584. Delete    the current buffer, not a named buffer or file, i.e. none of  these
  585. Print     commands  ask  for the source file name.  Also note that ^KJ is the
  586.           same as ^KQ.  
  587.  
  588. Alt-O *   Open an empty no-name buffer (use ^KD  to  open  a  named  buffer).
  589.           Once opened, you can use ^KE to rename it.
  590.  
  591. ^KF       Files.   Get  a  directory listing like WS3.  Type in the directory
  592.           name at the prompt; if you leave it unchanged,  it  will  show  the
  593.           current  system  devices (via the Info command).  WS4 uses this for
  594.           DOS commands - use F5 for DOS commands in Ustar. 
  595.           
  596. Mouse *   Click-loading of devices or filenames anywhere via Ctl-Mousebutton.
  597.           Go up and down the directory structure, load several files, or load
  598.           all files in a list, all with the mouse.  See below for details.  
  599.  
  600. F3, S-F3: Favorites * 
  601.           If you have a bunch of files open, and are using just two or  three
  602.           at the moment, you can toggle the "favorite" flag with shift-F3 for
  603.           those  files;  then  use F3 to toggle between just those "favorite"
  604.           files, and you still have access to all the loaded files  as  usual
  605.           via  F1  or  F2.   Great  if  you have 15 files loaded and are only
  606.           working with two or three at the moment.  Excellent  for  comparing
  607.           two  files.   You can clear all of these flags in all files at once
  608.           with Alt-F3.  
  609.  
  610. A-F1 *    Alt-F1 swaps the current buffer with the "swap" buffer.   This  can
  611.           be  handy if you want to change the order of the files (although F3
  612.           is usually a handier way to view file  subsets);  it  can  also  be
  613.           useful  for  a  "notepad" when you have a lot of documents loaded -
  614.           press it, add to your notes, press again to come back to where  you
  615.           were.   ^KX  and the closebox check for this file not empty and let
  616.           you optionally save it on exit from Ustar.
  617.           
  618. ^F1, AC-F1 (F4), SA-F1 *
  619.           Control-F1 shows you all of  the  non-edit  buffers  that  are  not
  620.           empty.   These  buffers  are  used  for  things like search/replace
  621.           strings, scratch (undo) buffer, swap buffer, and temporary  use  by
  622.           internal  commands.   Alt-Control-F1  lets you directly specify the
  623.           buffer number that you want to  edit  (F4  does  the  same  thing).
  624.           Shift-Alt-F1 shows a summary list of all in-use edit buffers.  
  625.           
  626.  
  627. * Means a command added to Ustar by me, not a standard WS key sequence.
  628.  
  629.  
  630.      Windows 
  631.  
  632. Split-screen windows are a nice enhancement.  See the Uedit documentation for
  633. details,  or  just  play around with them.  Note that, currently, windows are
  634. lost if the display changes -  going  to/from  interlace  or  cram  mode,  or
  635. changing system fonts, will lose windows.  Note that this affects the display
  636. only - windows are just views into existing buffers, so no data is lost.  
  637.  
  638. Also  note  that, currently, multiple windows into the same document will all
  639. show the same location in the document.  A way around this is to make a  copy
  640. of  the document using ^KO and mark it read-only with ^OP, then use that as a
  641. reference document in a window while you work with your original.
  642.  
  643.  
  644.      A note on UE-DU
  645.  
  646. I decided not to implement any of the functions of,  or  try  to  make  Ustar
  647. compatible with, the UE-DU configuration that turns Uedit  into  a  disk  and
  648. file  utility.   This  is  because  I  utilize  the  machine's  multi-tasking
  649. abilities, having always either a CLI window, a shell, or if I'm  doing  lots
  650. of disk and file work, one of the zillion different versions of DU (DirUtil),
  651. a  public-domain  utility  very handy for this type of thing.  I just pop the
  652. Uedit window or screen to the back or to tiny window, do any file maintenance
  653. needed, and pop Uedit forward again.  I did add some "friendly" file  control
  654. - see section below on Click-Loading.
  655.  
  656.  
  657.  
  658.      Miscellaneous
  659.      
  660. The  Help  key brings in the s:UstarHelp! file from disk.  If you again press
  661. the Help key while viewing this file, it clears  the  help  file  buffer  and
  662. switches  you  back  to whatever document you were previously in.  If you are
  663. viewing the help file and instead use F1 to toggle to other files,  the  help
  664. file  is  not cleared, and the next time you press Help, it will switch to it
  665. instantly, since it is still in its buffer.  ^J is the same as the Help key.
  666.  
  667. ^OG Paragraph tab is now actually Auto-Indent, related but not the same.   It
  668. works  quite differently than WordStar but is usually more useful, especially
  669. if programming.  When in Auto-Indent mode, pressing Return (or  reaching  end
  670. of line in word wrap mode) will place the cursor (or words you were typing if
  671. in  word  wrap) below the first printable character in line above.  For cases
  672. where this doesn't work well for what  you  are  doing,  reformat  and  other
  673. commands usually will help.
  674.  
  675. You  can  insert  a space (via ctl-spacebar) without having to toggle between
  676. insert/overwrite modes.  
  677.  
  678. Normal backspace is destructive; shift-backspace is non-destructive. 
  679.  
  680. Delete  word  left  is  provided  via  control-backspace.    You   can   also
  681. destructively tab backwards via AltCtl-Tab.  
  682.  
  683. In Find, you have the added capability  of  specifying  two  separate  search
  684. strings in one command with the capability of the either/or character,  which
  685. is "$" by default.  
  686.  
  687. In  doing  a Global Replace, you can specify whether to update the display or
  688. not.   Not  updating  the  display typically runs in 1/3 the time.  Specify a
  689. lowercase "g" for displaying, uppercase "G" for no display update.  Note that
  690. other than this, Find/Replace options are case-insensitive.
  691.  
  692. If you try to center a line on the last line of a file,  it  will  work  fine
  693. (inserts an end of line for you) unlike WS, some versions of which  won't  do
  694. it.  
  695.  
  696. You  can  collect results from AmigaDOS and use them in your documents - very
  697. handy  for  showing  the  results  of  commands,  getting  directories into a
  698. document, etc.  
  699.  
  700. A few of the Ustar key definitions are still the same as standard Uedit - see
  701. UstarDetails for info.
  702.  
  703. Prefix keys can be done via single-command-key sequences, e.g.  ^KC can  also
  704. be issued as Shift-Ctrl-C.  The  functions  to  multiply,  count,  or  repeat
  705. commands will only do so with a single key-command, so you can't use WS 2-key
  706. commands  with  them.   For instance, to print a file 5 times, choose Command
  707. mult, enter 5, then press Shift-Ctrl-P, which is the same as  ^KP.   See  the
  708. key table in UstarDetails for key equivalents and more info.  
  709.  
  710.  
  711.      Programming Tools
  712.  
  713. Besides the overall excellent program editor environment provided by Uedit, I
  714. have included  the  following  to  help  me  (and  hopefully,  others)  in  C
  715. programming:  
  716.      o    ASCII chart online, toggle in/out (ShftCtl-Help)
  717.      o    Toggle the # at the cursor between hex (C style) and decimal (A-H)
  718.      o    Set editor flags and environment to my preferred C setup.
  719.      o    Save current buffer to vd0: (where I do my C work)
  720.      o    Put  the  "/* "  and  " */" comment delimiters into program with  a
  721.           single keystroke.
  722.      o    Reset editor flags and environment back to normal editing mode.
  723.      
  724. I  have  not  incorporated  commands  to  run C programs directly from within
  725. Uedit.   I  find it easier to take advantage of the Amiga's multitasking, and
  726. run Uedit/Ustar in its own screen in interlace, flipping forward to  a  shell
  727. CLI  window  on  the workbench screen to compile or make programs.  If you do
  728. want to compile, make, etc. from within Uedit, Tom Althoff created some  very
  729. good  configurations  to  do  this,  which you probably will receive when you
  730. register Uedit - ask for them.  
  731.  
  732. Speaking of programming, the UstarConfig!  (source) file  for  Ustar  is  not
  733. formatted for maximum readability.  I kept indentation, but merged a  lot  of
  734. lines  together,  especially  closing  brackets,  to keep down the length (in
  735. pages) of the file.  If you are tinkering with it and trying  to  figure  out
  736. long commands, you should "explode" them first, matching block-ends to block-
  737. starts, for better readability and illustration of logic flow.
  738.  
  739. For  those of you who have purchased Uedit and are customizing it or Ustar, I
  740. made a reference document to the Uedit command  language  called  UeRef,  and
  741. included  it  as a selection on the Help menu.  However, it is intended to be
  742. printed out as reference guide -  use  the  compressed  print  mode  on  your
  743. printer  or  in  Preferences  (I  didn't  include any formatting codes in the
  744. document).
  745.  
  746.  
  747.      Telecommunications Commands
  748.  
  749. I added two commands to assist when using bulletin boards.  One  converts  an
  750. entire buffer from carriage-return/line-feed pairs to just normal Amiga line-
  751. feeds.  This is handy for stuff  downloaded  using  a  dumb  (as  in  stupid)
  752. terminal  program.   The other does the opposite - turns all line-feeds in an
  753. entire buffer to carriage-return/line-feed pairs.   This  may  be  handy  for
  754. uploading documents to some bulletin boards.  
  755.  
  756. -----------------------------------------------------------------------------
  757.  
  758.                       Features You Should Know About
  759.  
  760.  
  761.  
  762.                          Click-Loading Files/Dirs
  763.  
  764.  
  765. This  is  very neat, and has been much enhanced.  
  766.  
  767. Normally,  you  first  issue  a  Directory  command (^KF).  However, it works
  768. anywhere.   Just  point  at a file, directory, or device name and click while
  769. holding down the CTRL key.  From then on, it's mouse city!  You can:  
  770.  
  771.      Click on a filename to load  it.   Now,  it  will  even  load  filenames
  772.      containing  spaces!  (1 space between characters max, and you must click
  773.      on the first word in the name).  Filenames  with  leading  spaces  won't
  774.      work  (anyone  purposely  using file or device names with leading spaces
  775.      should be shot!).  
  776.  
  777.      Hold down the Ctrl and Alt keys, and click on a filename, to delete  it.
  778.      This  is DANGEROUS - it doesn't ask for confirmation, just goes and does
  779.      it.  This actually deletes the file from the disk or device -  there  is
  780.      no  simple  way  to  undo it.  It only works when you are on a directory
  781.      list, since it prepends the directory name  to  the  filename  that  you
  782.      clicked  on.   It deletes only files, not directories, and only one at a
  783.      time.
  784.  
  785.      Click on a directory name (the name, not the "(dir)").   That  directory
  786.      will  be  loaded,  becoming  the  current  directory  for  these   mouse
  787.      operations, and will replace the one you were looking at.  
  788.      
  789.      Click on a device name, such as "DF1:" or "Letters:", to  get  the  root
  790.      directory  of  that  volume.   The  handy  list of devices shown on each
  791.      directory list can be changed by editing and recompiling UstarConfig!.
  792.  
  793.      Click on the "(Parent)" word to go back up the directory structure.  The
  794.      new directory will replace the one you were looking at.  
  795.      
  796.      Click on the "(All)" word to load all files in the directory.
  797.  
  798.  
  799. This last capability of "load all" is useful for making custom lists of  sets
  800. of files you want to load.  To do this:
  801.  
  802. First,  get  the  directory  you  want.  Then, edit the file list, leaving at
  803. least two spaces between filenames, or each name on its own line.
  804.  
  805. Be sure your list of files starts on line 6 or farther down,  or  "load  all"
  806. won't  work  correctly.  Also, leave line 2 (the Directory line) as is - this
  807. shows the directory that "load all" uses as the path for  the  files  in  the
  808. list.  You can put comments or notes on the blank lines (lines 1, 3, and 5).  
  809.  
  810. To  create a list of files that are in different directories, put an asterisk
  811. ("*")  in  the  directory  name  position (column 18 of line 2), replacing or
  812. inserting in front of the directory name shown.  This  tells  "load  all"  to
  813. ignore any directory shown.  Then edit your list of files to include the full
  814. pathname  of  each  file;  otherwise  Uedit  will  assume its current default
  815. directory is to be used.  
  816.  
  817. You can save these edited lists to  disk,  naming  them  appropriately,  e.g.
  818. "WorkFileList".  The next time you need that set of files, just load the file
  819. that contains the list and then click on the "(All)" word.  
  820.  
  821. This  method  is  an  alternative  to making a specific Uedit command to do a
  822. loadFile for each file in a custom set of files.  
  823.  
  824. Note - click-loading will not load files with ".info" in them.
  825.  
  826. Note  -  if you try to click-load an asterisk by itself, if you haven't asked
  827. for a directory yet, Uedit will try to get the CLI that it was  started  from
  828. and  appear to lock up.  Use the window back-gadget and type control-C in the
  829. proper CLI to unlock Uedit.  
  830.  
  831. NOTE - Getting a (dir) or (Parent),  or  getting  a  device  directory,  e.g.
  832. DF1:, will discard the buffer in which you clicked it, IF  and  only  if  the
  833. name  of the buffer starts with "Dir of", which it is set to by the directory
  834. command.  This is so a bunch of buffers aren't left hanging around as you  go
  835. up  and down a directory structure.  Normally, this is no problem; but if you
  836. want to keep a directory list around, rename it to something  else,  then  it
  837. won't be discarded.  
  838.  
  839. NOTE  -  This  click-load  capability  depends upon having the "Dir" and "CD"
  840. commands  available  to  Uedit,  so  they should be in your c:  directory, or
  841. available somewhere in your system's search  path  as  defined  by  the  Path
  842. command.  Also - they MUST be the original AmigaDOS "Dir" and "CD" commands -
  843. replacement commands probably will not let click-loading work correctly.  The
  844. "Info" command is also used, but is less critical - a DOS replacement command
  845. might  work  in place of it.  The click - file delete likewise depends on the
  846. "Delete" command.  
  847.  
  848. -----------------------------------------------------------------------------
  849.  
  850.                                  Reformat
  851.  
  852.      Reformatting works mostly like WS, but enhanced in  some  respects,  and
  853. lacking in others.
  854.  
  855.      Compared  to  the  "raw"  Uedit  reformat command, Ustar's reformat will
  856. handle indented and floating paragraphs nicely.  It also will properly format
  857. outlined items, even if they are adjacent to each other.
  858.  
  859.  
  860.           Reformat Details
  861.  
  862.      General
  863.  
  864. Formatting proceeds only from  the  cursor  line  downwards.
  865.  
  866. Formatting stops on:  a null line, an empty (spaces/tabs) line, a line with a
  867. control character (such as form feed), at end of file, or  upon  encountering
  868. an outline item (defined below).  
  869.      
  870. Examples  here  show  formatting  with  justification on; you can turn it off
  871. (with ^OJ) if you prefer ragged right margins.  
  872.  
  873.  
  874.      Paragraphs
  875.  
  876.      Paragraphs will be formatted as normal paragraphs (first  line  whatever
  877. indentation you set, rest of lines aligned to left margin) if auto-indent  is
  878. off.  This paragraph is an example.  
  879.      
  880.      Paragraphs will be formatted as floating paragraphs (left margin for all
  881.      lines  of the paragraph will be the same as the indentation of the first
  882.      line) if auto-indent is on.  This paragraph is an example.  
  883.  
  884.  
  885.      Outlined items
  886.  
  887. o    Outlined items have a specified  mark  or  ID  as  the  first  printable
  888.      character in their first line.  
  889. o    Bulleted items are defined as a lowercase letter "o".
  890. o    Numbered  items  are  defined  as:  one  or more digits (0-9), with a an
  891.      optional single period mixed between  numbers,  followed  by  a  period.
  892.      Thus, Roman numerals and letter/digit combos won't work.  
  893. o    Either item must be followed by at least one space.
  894. o    Auto-indent  mode  doesn't  matter  for outlined items - they are always
  895.      formatted to line up with the start of the text (not the mark or ID)  on
  896.      the first line.  
  897. o    This section contains outlined items. This line is an outlined item.  
  898.      1.   So is this line.  
  899.           234. This is another one.  They all format correctly.  
  900.                234.1.1.  And here's one with mixed periods.  
  901.      2.1. And another.  
  902.           
  903.  
  904.      Cursor column
  905.  
  906. Normally,  you would give the Format command with the cursor in column 1.  If
  907. you  have  the cursor in some other column, it will switch into outline mode,
  908. except that a bulleted/numbered format is not required.  This allows  you  to
  909. format  tables of keywords followed by descriptions, by putting the cursor at
  910. the start of the description. Example:  
  911.      
  912. Cursor Column       This is defined as the column that the cursor is in.   By
  913.                     setting  the  the  cursor  at the T of "This" in the line
  914.                     that starts  this  paragraph  before  giving  the  format
  915.                     command, this block formats in the way you see here.  
  916.  
  917.      You can also use this capability to format mixed paragraph types without
  918.      switching  auto-indent  mode  on  and off constantly.  First, turn auto-
  919.      indent off.  Then, for indented paragraphs, give the format  command  in
  920.      column  1.   For  floating  paragraphs, give the format command with the
  921.      cursor on the first character of the paragraph.  
  922.      
  923.  
  924.      Problems & Notes
  925.  
  926. The definition of outlined items might cause  a  problem  occasionally  if  a
  927. properly  formatted  number  happened to be at the left margin of a paragraph
  928. line, e.g.  "435."; the same applies to a lowercase letter "o".   The  rarity
  929. of  this  problem is insured by the requirement that these items be the first
  930. printable item on the line, and that they must be followed by  at  least  one
  931. space or tab.  
  932.  
  933. The reformat command will still run normal paragraphs together if there isn't
  934. at least one blank line (or an outline item) between  them.   Outlined  items
  935. won't run together - you can have them one after another as shown above.  
  936.  
  937. The speed of reformatting has improved dramatically as of Ustar v0.90, thanks
  938. to Rick's speedup of the raw reformat() function.  It is quite reasonable now.
  939.  
  940. Uedit's reformat command has a quirk:  occasionally, after formatting, if the
  941. last  line  of  a  paragraph/outline  completely  fills  the  line  plus  one
  942. character,  it  won't  wrap to the next line.  This rarely happens, but these
  943. are easy to spot visually if you are using right-justify in your  document  -
  944. just go through it looking for anything that sticks out beyond the margin the
  945. rest of the lines are aligned to, and fix manually.  
  946.  
  947. You can change the bullet character if desired  by  editing  and  recompiling
  948. UstarConfig!.  Search for the 3-character sequence "o" and change the  letter
  949. o  to  whatever  character you want.  It can be any lower or upper case alpha
  950. character, or any symbol or punctuation except  a  period;  no  digits.   The
  951. rules for format and use remain the same.  
  952.  
  953. You can do a global reformat on your document by using ^QU, ^QQB, or reformat
  954. a  certain  number of times using AC-1.  WARNING - Try this on a copy of your
  955. file first - it may give undesired results (which would require a lot of your
  956. time to manually put back to the correct format) if it  runs  into  something
  957. like a table, or a bunch of centered lines that are together.  
  958.  
  959. NOTE:   For  safety,  do  reformatting  with  a  normal  tab  table   active.
  960. Otherwise,  the  following  conditions can cause a problem:  No tab stops are
  961. defined in your current tab table, and there are tab characters in the  first
  962. line  of  a block and/or the second line of a block if an indented paragraph.
  963. If this is true, the reformat command  ^B  will  fail,  inserting  spaces  to
  964. replace  the  first  tab  character forever until you abort it manually or it
  965. runs out of memory.
  966.  
  967. If truetabs is on, reformat will work fine (as long as desired tab  table  is
  968. active),  and  will  use  tabs  where  possible on indented blocks instead of
  969. spaces (however, note that leading tabs on the first line and/or  the  second
  970. line will be converted into spaces).
  971.  
  972.  
  973. -----------------------------------------------------------------------------
  974.  
  975.  
  976.                        Printing and Dot Command Notes
  977.  
  978. Dot commands are now implemented.  
  979.  
  980. When  you invoke printing (via the ^KP Print command), you are first asked if
  981. you want to just print the file as is directly to the  printer.   If  you  do
  982. this,  none of the following applies - every line will be printed as it shows
  983. on-screen.
  984.  
  985. When not printed directly, a print processing sequence is performed.   First,
  986. the document being printed is copied to a work buffer, so that your  original
  987. is  not  altered.   Then,  all  dot  commands in the work copy are converted.
  988. Next, you can preview where page breaks will occur, and put  in  forced  page
  989. breaks if desired.  Finally, the work buffer is converted into a print image.
  990. You  are  then  given the option to print it or not, and also whether to keep
  991. the work copy or discard it.  This  all  may  sound  complicated,  but  isn't
  992. really.
  993.  
  994. The  print  preview  stage  is  intended for adjusting where page breaks will
  995. occur.  You can do most editing actions, but  the  typing  keys  won't  type.
  996. Typically,  you would move up a few lines to a logical break in the text, and
  997. insert a form feed via ^PL. (Don't put in any dot commands at  this  point  -
  998. they  have  already been processed and any new ones would simply print out as
  999. is).
  1000.  
  1001. Also, REMEMBER that you are in a COPY of your original file buffer that is in
  1002. temporary use for printing  -  if  you  see  something  you  want  to  change
  1003. permanently,  abort  from  the  print/preview, get rid of the temporary print
  1004. buffer, go and change your original document, then go to print again.
  1005.  
  1006.  
  1007. What are these "dot commands"?
  1008.  
  1009. Dot commands are lines in the text that start with a dot (period) in column 1.
  1010.  
  1011. (Since ordinary lines of text never start with a period, this  makes  for  an
  1012. easy way to distinguish them from other lines of text).
  1013.  
  1014. Following  the  initial  dot is a one or two character code that defines what
  1015. the dot command is and what it will do.
  1016.  
  1017. The power of the dot commands is that, although they appear  on-screen,  they
  1018. will  not appear on your printout.  For example, you can put comments in text
  1019. that you want to see while  editing,  but  not  print  out.   Also,  consider
  1020. placing  a  heading at the top of each page in a 40 page document, then later
  1021. wanting to remove it.  It would be a lot of work without dot  commands;  with
  1022. them, it is a matter of adding or removing one line from your document.
  1023.  
  1024. Dot  commands  are  used  in  Ustar  for comments and to control the way your
  1025. document will look when printed.
  1026.  
  1027. Here is a summary of the dot commands currently implemented in Ustar:
  1028.  
  1029.   ..           A comment line.  
  1030.   .ig          IGnore.  Same as ..
  1031.   .pa          PAge break. 
  1032.   .po #        Page Offset.  The left margin. 
  1033.   .pl #        Page Length.  Physical lines per page (usually 66).
  1034.   .mt #        Margin-Top. Lines in top margin.
  1035.   .mb #        Margin-Bottom. Lines in bottom margin
  1036.   .he text     HEader.  One line of header text.
  1037.   .fo text     FOoter.  One line of footer text.  
  1038.   .pi codes    Printer Initialization string.
  1039.   
  1040. (Note - dot commands can be upper or lower case - .PL works same as .pl)
  1041.  
  1042.  
  1043. Here's details about them:
  1044.  
  1045. o    ..  or  .ig (IGnore) - Comment lines are just that. Everything after the
  1046.      .. or .ig to the end of the  line  does  not  appear  in  the  printout.
  1047.      Here's an example of use:
  1048. The sales figures for this quarter show signs of improvement.
  1049. .. Actually, they're awful, but we're not saying that in this report!
  1050.  
  1051. o    .pa PAge break - inserts a form feed into the document on the line where
  1052.      it is.  Basically it has the same effect as using ^PL to insert  a  form
  1053.      feed  while  editing, except that it won't show the "page break" line as
  1054.      the current Uedit does.  
  1055.  
  1056. o    .po Page Offset - the left printing  margin.   If  not  specified,  your
  1057.      printer  will  use  whatever Preferences has defined as your left margin
  1058.      (if Print Via is 2 or  3).   Otherwise,  printing  will  start  in  this
  1059.      column.   Note  that  this uses the Amiga printer driver function to set
  1060.      left & right margins, and may not  work  with  all  printers.   You  can
  1061.      change  it  to  use  your  printer's  specific  code  by  changing   and
  1062.      recompiling UstarConfig! - search for the  4-character  string  "po"  to
  1063.      locate the definition.
  1064.  
  1065. o    .pl Page Length - the length of the physical page you are printing to in
  1066.      number of lines, considering the length of the paper, and how many lines
  1067.      per  inch  you  are using.  For standard 11" paper and 6 lines per inch,
  1068.      the value is 66.
  1069.  
  1070. o    .mt Margin, Top - The number of blank lines  desired  between  from  the
  1071.      physical  start  of  page (the edge of the paper, or the perforated edge
  1072.      between tractor feed sheets) to the first line of text from the document
  1073.      that will print on the page.  Note that this is  number  of  lines,  not
  1074.      inches.  
  1075.  
  1076. o    .mb Margin, Bottom - Like .mt but for the bottom margin.
  1077.  
  1078. o    .he  HEader (or heading) - This is one line of text to be printed in the
  1079.      top margin.  So, the top margin value must be  1  or  more  to  print  a
  1080.      header.   This  line  will  be  centered  in  the top margin, as much as
  1081.      possible.  If you have a 5 line top margin, the header line would  print
  1082.      in  the third line, surrounded by two blank lines above it and two blank
  1083.      lines below it.
  1084.  
  1085.      You can specify two special "macro" symbols anywhere in the header (only
  1086.      once each):
  1087.      @         This symbol is replaced with today's date at format time.  The
  1088.                date format is dd-mmm-yy.  Note that this overlays the footer
  1089.                text at the @ character, so allow 9 characters for the date.
  1090.      #         This symbol is replaced with the page number at format time.
  1091.      
  1092. o    .fo FOoter (or footing) - Like .he but for the bottom margin.
  1093.  
  1094. o    .pi Printer Initialization - This is not a standard WordStar command.  I
  1095.      added it so you can send printer initialization strings  before  sending
  1096.      anything  from  your document.  You would normally use it to put printer
  1097.      codes like ^PA in it, or a general printer code (see end  of  UstarHelp!
  1098.      file) using ^PG, such as 0 to initialize the printer; or use (with Print
  1099.      Via  set  to  print  direct  to  the  parallel or serial port) with your
  1100.      printer's escape and control codes inserted directly.
  1101.      
  1102.      
  1103.      
  1104. If you don't specify a value for the page length or margins (you  include  no
  1105. dot commands for them), the current default will be used, which normally will
  1106. be  the  settings  in  effect  in  the original document's buffer, but may be
  1107. different if other actions  in  other  buffers  have  changed  any  of  these
  1108. parameters' global values.
  1109.  
  1110. Note that, when dot commands are removed during print  processing,  they  are
  1111. completely removed, so if you wanted blank lines where they  were,  you  will
  1112. need to put in extra blank lines before or after them.
  1113.  
  1114.  
  1115.                       Differences compared to WordStar
  1116.  
  1117. Dot  commands  are  global.  For instance, unlike WordStar, you can have only
  1118. one footer line for the whole document.  If several are specified,  the  last
  1119. one  takes  effect.   The exception is .pa - you can put page breaks wherever
  1120. you want.
  1121.  
  1122. Note that .pa page breaks do not show a page-break line on the  screen  while
  1123. you are editing, unlike form-feeds in the document which do show the line.
  1124.  
  1125. Many  of  these limitations are a consequence of the need for a print preview
  1126. mode since Uedit doesn't support anything like dot commands.
  1127.  
  1128. See UstarDetails for info on unimplemented dot commands.
  1129.  
  1130.  
  1131. ----------------------------------------------------------------------------
  1132.  
  1133.  
  1134.                           Repeating and Learning
  1135.  
  1136.  
  1137. Commands can be automatically repeated three basic ways:   the  Command  Mult
  1138. (Multiplier), Count Cmd, and Repeat Cmd  functions.   These  only  work  with
  1139. single-key  commands - use the single-key equivalents to two-key sequences if
  1140. you want them to work in these commands.  Command Multiplier accepts a number
  1141. from you, then repeats the next single command that many times (or until  the
  1142. command  fails).   Learn mode allows you to learn any sequence of keys/menus/
  1143. mouse clicks, then you can repeat it (but see below).   Of  course,  you  can
  1144. also repeat just by doing some action manually a number of times.  
  1145.      
  1146. See  the  Uedit  documentation  for  complete  info  on command repeating and
  1147. learning.  I will mention some of the more important points.
  1148.  
  1149. System-type commands can't be Learned or Repeated.  This includes any kind of
  1150. Quit; Tiny  Window,  Abort  (LeftAmiga-ESC  or  RightAmiga-ESC),  and  moving
  1151. interlace  screens front/back.  Commands that use requesters can be used, but
  1152. you must respond to each requester manually - your response is  not  learned.
  1153. The same thing applies to commands that use the getKey function, e.g.  About.
  1154. Commands  that  use  inputKey  work  but  take input immediately, making them
  1155. useless.  However, inputCtlChar does work fine in a Learn sequence.
  1156.  
  1157. Display:  commands that are repeated via Command Mult or Count  Command,  and
  1158. commands within a Learn sequence, won't automatically update  the  display  -
  1159. they  usually  hold  off display updating until done, and appear either to be
  1160. doing nothing or zipping along.  Repeat Command does a display  refresh  each
  1161. time,  so  it  is usually OK in this respect, but also is slower for the same
  1162. reason.  In Learn mode, you can usually force  usable  displays  via  Refresh
  1163. Display and/or Find Cursor, combined with Delay so the user can see it before
  1164. the  next  command  executes.  However, some actions just won't display right
  1165. until the above commands have finished,  e.g.   trying  to  do  Go  To  Page#
  1166. several times in a Learn sequence won't update the display until it is done.  
  1167.      
  1168. Most  commands  will  run  in  a  repeated sequence until they encounter some
  1169. failure condition; for instance, Cursor Down Line works until the End-Of-File
  1170. is  encountered;  then  it  fails.  However, some commands won't fail because
  1171. there's no obvious thing that they should fail on.  These can be dangerous in
  1172. the Count Command and Repeat Cmd functions - you will have to stop  them  via
  1173. Amiga-ESC, and you can't get a count of them.  Similarly, in Command Mult, if
  1174. you  specify  a large multiplier, it has the same effect.  Be aware of this -
  1175. repeating something like Block Copy  for  a  while  will  fill  up  a  buffer
  1176. quickly,  and  you might run out of memory.  These commands never fail, so be
  1177. careful:  
  1178.      o    any Learn sequence
  1179.      o    many one-shot type commands, e.g. Cursor To Top of Screen
  1180.      o    any Toggle-type command, e.g. Insert/Overwrite
  1181.      o    anything that inserts, and some Block commands, i.e.:
  1182.           o    Tab  Return  Ctl-Space  Space  ^N  ^M 
  1183.           o    Block: Copy  Speak  Move  Undelete
  1184.      o    commands that require user input
  1185.      o    Up Scroll (^W)
  1186.      
  1187. Notes on special cases:
  1188.      o    Left Scroll (C-leftArrow) fails in Repeat, never fails in Count
  1189.      o    Down Page (^C) fails in Command Mult (does it one time only)
  1190.      o    Backspace fails in Repeat and Count
  1191.      o    Mouse click operations are usable in Learn but  depend  on  display
  1192.           screen  location,  not  location  in document, so normally they are
  1193.           used with scroll up/down, if used at all.  
  1194.           
  1195. Not usable or useful to Repeat/Count/Multiply:  
  1196.      o    most one-shot type of commands
  1197.      o    Learn mode start/end/abort
  1198.      
  1199. Not usable or useful in Learn: 
  1200.      o    mouse drag to highlight
  1201.      o    Continuous Up/Down Scroll (^QW/^QZ)
  1202.      o    Learn mode start/end/abort
  1203.  
  1204. Note: the details above were checked  in  Uedit  v2.0c,  and  have  not  been
  1205. rechecked in v2.2b or v2.3c, although there is probably no change.  
  1206.  
  1207. ----------------------------------------------------------------------------
  1208.  
  1209.                       Differences compared to WordStar
  1210.  
  1211.                                 Items of note
  1212.  
  1213. In  addition  to items mentioned above, here are some current limitations and
  1214. problems that may or may not be addressed as Uedit and Ustar evolve.  
  1215.  
  1216. Files edited with Ustar must be able to fit completely in memory,  unlike  WS
  1217. which uses "virtual memory" techniques to allow editing any  size  file  even
  1218. with little memory.
  1219.  
  1220. The  second  character  of  a WS 2-character command key sequence MUST be the
  1221. control character, not the plain character, e.g. ^K then ^R, not ^K  then  R.
  1222. Most people use WS this way anyway.  This could be changed if desired so that
  1223. a  normal  character  will  be  interpreted  as  a control character; I'm not
  1224. planning on doing this.  
  1225.  
  1226. Since Ustar has many more editing features than  WordStar,  I  assigned  some
  1227. unused  two-key  WordStar  key sequences to do new functions, such as ^KG for
  1228. Get Block.  I tried to keep the  meanings  similar,  e.g.   ^K  commands  for
  1229. block/file, ^O for formatting, etc.  
  1230.  
  1231. Backup files - if AutoBackup is on, Uedit will make a backup file ONLY if one
  1232. doesn't  already  exist.  If one exists, it is never touched.  This is unlike
  1233. WS, which deletes any old backup file, renames the current document  on  disk
  1234. to  be  the  backup  file,  and  then saves the current file to the filename.
  1235. Uedit will not help you if you don't make backups manually.  You  can  delete
  1236. the  current  BAK  file to force Uedit to make one at the next file save. You
  1237. can lose a lot of work if you mess up your file and discover  that  the  only
  1238. backup is a month old.  
  1239.  
  1240. The  WS4  main menu command C (change the write-protect flag of a file) isn't
  1241. implemented;  to  protect  a  file,  just  use  the AmigaDOS command "protect
  1242. filename"; to make it deleteable again, use "protect filename rwed".
  1243.  
  1244. The WS4 main menu command I (Index a doc) and  T  (make  Table  of  contents)
  1245. correspond to the Alt-B Build Index command in Ustar.  However, when building
  1246. indexes, there is no currently supported way to mark  them  so  the  markings
  1247. stay  with  the document (WS does this with ^PK, .IX and .TC) - you must mark
  1248. them interactively.  A possible way around this is to save  the  "raw"  index
  1249. file and reload it into buf41 before doing a re-index at a later time, though
  1250. I haven't tried this.
  1251.  
  1252. A  directory won't stay on-screen with the document as it can in WS; it is in
  1253. a separate buffer.  (You can copy a directory file list to the  document  you
  1254. are  working  in,  if you need to; or use split-windows; or flip to interlace
  1255. mode and pull down Uedit's screen to view the workbench screen; or...) 
  1256.  
  1257. Find/Replace options don't include the W (whole words) option; you will  need
  1258. to include a leading and/or trailing space with the word  you  are  searching
  1259. for  to  achieve  a  rough  equivalent.   They  also  don't include the WS4 R
  1260. (replace in rest of document) option;  you  can  easily  do  this  by  simply
  1261. specifying  a  large number in the S/R options entry.  Also, the WS4 A (align
  1262. paragraphs after a replacement) option is not implemented - you will need  to
  1263. manually reformat after search/replace, as with WS3.
  1264.  
  1265. The wildcard character (default is "?") in Uedit matches  one  occurrence  of
  1266. any letter.  There currently is no "match  anything"  wildcard  specification
  1267. like CP/M's "*" or AmigaDos's "#?".  
  1268.  
  1269. Ustar  is  essentially  in  Non-document  mode  always,  though you can enter
  1270. control characters directly. So, unless you directly enter them, there are no
  1271. hi-bits  or  other  control-type  characters  (except end-of-line) in a Uedit
  1272. file.  
  1273.  
  1274. Design notes:  I chose not to implement  auto-indent  (via  Return)  when  in
  1275. overstrike mode.  I chose not to implement auto-indent on ^Y (didn't like it).
  1276.  
  1277. Note  that the usual system-defined key combination of Alt-LeftAmiga does not
  1278. equal the left mouse button as far as Uedit is concerned.  It does  the  same
  1279. as  the  alt-buttonDown  command (if defined).  For Ustar, this means it does
  1280. Block Copy.  Otherwise, the Amiga's "keyboard mouse keys" work as usual.
  1281.  
  1282. ^JH is not implemented for  the  setting  of  help  levels  (pull-down  menus
  1283. eliminate the need for this) and no separately available ^Jx help  areas  are
  1284. implemented.  Only ^J itself is implemented, to call Ustar's Help file, which
  1285. you can change if desired.  
  1286.  
  1287. ^U  doesn't  usually  interrupt  a command; only ^QZ and ^QW are set up to be
  1288. interrupted  by  it.  RightAmiga-Escape (or LeftAmiga-Escape) is the general-
  1289. purpose command interrupter (abort key sequence).  
  1290.  
  1291. With Uedit V2.3, you can abort from any place that UE is requesting input via
  1292. the normal abort keys.  I have checked the code for possible problems - there
  1293. shouldn't  be  any  problem.  However, aborting during execution of a command
  1294. may cause peculiar things to happen, such as switching  you  to  a  different
  1295. buffer,  or  messing  up  the  display.   There should be no "fatal" effects,
  1296. though.
  1297.  
  1298. Setting the right margin is  actually  setting  the  word-wrap  line  length.
  1299. Under the limitations of the non-document mode that Uedit is always in, there
  1300. is no practical difference.  
  1301.  
  1302. Line  Length  (right  margin)  default  on entry is currently 77, not 65 like
  1303. regular WS.  Easily changed in UstarConfig! if desired.  
  1304.  
  1305. The Return key now works exactly like WS, except for differences inherent  in
  1306. Auto-Indent versus paragraph tabs.  
  1307.  
  1308. ^QV will go to the last find/replace ONLY if it is still marked via inverse.  
  1309.  
  1310. ^KH completely removes hiliting - you can't toggle it back on  by  doing  ^KH
  1311. again.  
  1312.                                                                       
  1313. If  cursor  goes  off-screen,  control-Return  will  find  it  (Uedit doesn't
  1314. currently  have entirely automatic screen refresh control, so performance can
  1315. remain good).  
  1316.  
  1317. Block Column mode uses a different buffer than normal block mode,  so  Undo's
  1318. won't work for word/line delete if you are in Column mode.   Switch  back  to
  1319. normal block mode to get them.  
  1320.  
  1321. To  cancel  a  Find  or Find/Replace: if at the Find string field entry, just
  1322. clear  it  - this always causes the search to fail right away.  Elsewhere, or
  1323. during a search, use the Uedit abort key.
  1324.  
  1325. Word Wrap is a rough word wrap function; like  WS,  it  does  quick  &  dirty
  1326. formatting  as you type; for final formatting use the Reformat command.  When
  1327. turned off, no forced word-wrap will occur.  When word-wrap is off, lines are
  1328. not limited to 512 characters like WS - you can have 10K long  lines  if  you
  1329. want  to!   With  it  on,  Uedit  limits  you  to  lines 200 characters long.
  1330. Reformatting always uses the current  line  length  regardless  of  word-wrap
  1331. toggle.
  1332.  
  1333. ^Z  works  just like WS, but ^W doesn't quite - the cursor attempts to remain
  1334. at  the  bottom  line of the screen once it reaches it, but it doesn't always
  1335. succeed.
  1336.  
  1337. Placemark ^K0 through ^K9,  and  corresponding  Placefind  ^Q0  through  ^Q9:
  1338. these only set/goto a particular line, not an exact  cursor  location  as  WS
  1339. does.  They are global; that is, if you switch files and then tell it to find
  1340. a  place  that  you had set in another file, it will simply try to go to that
  1341. same line # in  the  current  file.   Likewise,  if  you  delete  blocks  and
  1342. generally  change  your  document,  the placemarkers will put you to the same
  1343. line number, which is not necessarily the same area of text present when  you
  1344. set the marker.  
  1345.  
  1346. ^QQ  repeats:  you can now set the speed via setting system Delay value.  The
  1347. Delay value is 0 when Ustar is started, for fastest operation of this command.
  1348.  
  1349. ^QZ, ^QW - you can't set the scroll speed, it is fixed. If you want to try  a
  1350. variable speed, use ^QQ (command repeat) with ^Z or ^W.
  1351.  
  1352. ^OP  -  protect/preview - in Ustar, this just makes the buffer read-only - it
  1353. has no effect on how it displays.  Also, Uedit will  currently  display  page
  1354. breaks  as  a line across the page, but only when a form feed causes the page
  1355. break, not when caused by the page/row counter turning to next page.
  1356.  
  1357. ^QM - Math calculator mode.  I implemented this as the simple running  of  an
  1358. external calculator program.  So, you can change it to whatever you want.  To
  1359. achieve the cut/paste facilities of WS  in  getting  the  result  and/or  the
  1360. equation, into your document, use a utility like SnipIt, which is a shareware
  1361. program  that lets you copy CLI text and paste it into Uedit.  The calculator
  1362. I have running right now, named xe, is only an integer  calculator,  but  you
  1363. can run any one you want by naming it xe and copying it to your Ustar working
  1364. area (though not all calculators will be able to do cut/paste via SnipIt).
  1365.  
  1366. Delete  trailing  whitespace  -  this  deletes  extra space (spaces and tabs)
  1367. beyond  the  end  of  line.  This reduces the size of a document and can make
  1368. formatting tables etc. easier.
  1369.  
  1370. See alt char set - useful to check what's in the Amiga's alternate  character
  1371. set, so you can put characters like ¶ or © into text.
  1372.  
  1373. ^QX  -  In WS4, this command now puts the cursor to the lower right corner of
  1374. the  display.   I kept the WS3 usage of going to the lower left corner of the
  1375. display.
  1376.  
  1377. ^OP - Protect (same as ^K=): Uedit won't allow you to save a file  marked  as
  1378. ReadOnly (WS allows you to do  this).   Flip  the  flag  with  one  of  these
  1379. commands if you need to save it.
  1380.  
  1381. ^K' and ^K" convert a marked block to lower and uppercase, respectively, just
  1382. like WS4.  However, unlike all other two-key commands in Ustar, these are two
  1383. different commands that use the same keytop ID.  ^K' works normally by  doing
  1384. Ctrl-K then Ctrl-'.  But for ^K", you do ^K then Shift-".
  1385.  
  1386. The  WS4  ^6  command,  change  hard  carriage  returns  to  soft  ones,  was
  1387. implemented as much as can be, by causing it to delete the end-of-line of the
  1388. current line, thus bringing lines below up.  Given Uedit's lack  of  document
  1389. vs.   non-document  mode,  it  isn't  real  useful,  since  reformatting will
  1390. normally handle these needs, but is here for compatibility.
  1391.  
  1392. ^KY in WS4 moves the cursor to the position of the deleted block.   Likewise,
  1393. ^KW  in  WS4  moves  the  cursor to the beginning of the block to be written.
  1394. Ustar leaves the cursor alone in these cases, as does  WS3;  this  is  how  I
  1395. prefer it.
  1396.  
  1397. ^KC  in WS4 leaves the highlighting on the original block.  In Ustar and WS3,
  1398. it moves with the copied block; this is how I prefer it.
  1399.  
  1400. Print control toggles: ^PB, etc. - to keep track of the current on/off  state
  1401. of these toggles, Ustar uses one n# variable per edit buffer.  These are used
  1402. ONLY  if the print controls for that buffer are actually used; otherwise they
  1403. are not touched.  And, they apply only to the edit buffers, and won't work in
  1404. global buffers.  The n# used corresponds to the buffer#,  e.g.   using  print
  1405. controls in buffer 4 would change values in n4.
  1406.  
  1407. If  you  are using print control toggles, and you change documents in a given
  1408. buffer,  swap  buffers,  etc. the print control state will not be changed and
  1409. will proably be wrong.  To clear it, use Misc - Numbers -  Set  Variable  and
  1410. set  to  0.  WS is limited to editing one document at a time, so doesn't have
  1411. these potential problems with print control toggles.
  1412.  
  1413. ^PX toggle was redefined from the WS Strikeout usage to NLQ.  NLQ seems  more
  1414. useful, and strikeout isn't a standard Amiga printer driver function,  though
  1415. it could be done via backspacing (or carriage return) and typing dashes.
  1416.  
  1417. ^PC,  ^PO,  ^PG  were  remapped  to  new  uses.   ^PW, ^PQ user functions are
  1418. predefined.  ^PJ was remapped to new use.
  1419.  
  1420. ESC macros (Shorthand)  are  closely  emulated.   Due  to  basic  differences
  1421. between Uedit and WordStar, you can't see  or  edit  existing  macros  (Learn
  1422. sequences), but can usually otherwise do what you can do in WS.  The exit key
  1423. is  different,  there's  no  "enter  equation"  ESC  #, there's no difference
  1424. between ESC $ and ESC =, neither of which will enter results  from  the  math
  1425. calculator,  only  from  ^KM  or  alt-+/alt--.  The macros are represented by
  1426. Learn files saved on disk; basically this ESC function acts  as  a  shell  to
  1427. make Uedit macros a bit easier to manage.
  1428.  
  1429. When  defining  macros,  case doesn't matter for keys a-z - enter as upper or
  1430. lower  case.  Unlike other command keys, when in Macro mode, case DOES matter
  1431. for the symbols representing predefined macros - be sure to press  Shift  for
  1432. ?,!,@,$, and not press Shift for =.  If you enter something other than alpha,
  1433. digit,  or  one  of  the  defined  keys  listed, nothing will happen (same as
  1434. pressing Return).
  1435.  
  1436. ^OL is  not  implemented  -  you  can't  easily  change  the  on-screen  left
  1437. formatting column, although you can use ^B (reformat) to do this in some ways
  1438. (see above).  If you want to change the left column  for  printing,  see  the
  1439. section on dot commands elsewhere in this document.
  1440.  
  1441. I  have  not  added  menu  items to load other configurations, such as UE-DU,
  1442. standard  Uedit,  or  Scrawl.   If  you want these, select System - Commands/
  1443. Compile - Load Data!  and give the name of the Data! file.
  1444.  
  1445. I added a toggle for UseKeys, only for restoring the system to normal if  one
  1446. of the few commands that needs to toggle useKeys to work properly (ESC,  ^OI,
  1447. ^QG/H/T)  uses  it is aborted in the middle.  I don't remap any of the normal
  1448. typing keys to odd uses, so it shouldn't otherwise be necessary to  use  this
  1449. flag,  and  it  should  remain  off.   You  might notice useKeys is on by the
  1450. spacebar, Tab, and Return working differently than they usually do.  You  can
  1451. check its current status in the menu or with the global overview command, SA-
  1452. F1.
  1453.  
  1454. I  added  mouse-resizing  of  split  windows (SAC-mouse).  This may take some
  1455. getting used to: if there are several windows on screen, when you resize one,
  1456. the order of the windows will usually change.
  1457.  
  1458.  
  1459.      Primitive Mode
  1460.  
  1461. "Primitive" mode, used when entering  filenames,  search  strings,  etc.,  is
  1462. different  from  WordStar.   No  arrow  keys or other editing functions work.
  1463. Instead of ^S, use BS; instead of ^Y, use DEL and BS to clear  a  field;  use
  1464. shft-space and shft-BS to move transparently over the field; instead of ^U to
  1465. cancel  a  command, clearing the field will usually cancel its action, or use
  1466. Amiga-ESC to completely abort it.  There is no "undelete" character  (^D)  or
  1467. recall field (^R) equivalent.  
  1468.  
  1469. Uedit  v2.3c  allows  you  to  set  the control character that terminates the
  1470. Primitive mode input.  Previous versions of Ustar used ESC to  end  primitive
  1471. mode  input.   As of version v0.90 of Ustar, Return (or ^M) is now the key to
  1472. do this.  This makes it the same as WS.  You can change it with the System  -
  1473. Environment  menu's  pmESC selection to be ESC instead, if you prefer it that
  1474. way.
  1475.  
  1476. Insert/Overwrite mode in primitive  mode  string  inputs  (filenames,  search
  1477. strings, etc.) appears to be dependent only on the insert/overwrite  mode  in
  1478. effect  either  when Uedit was started or the buffer was opened.  There is no
  1479. way to choose the mode; if you are in overstrike and need to  type  something
  1480. in front of the existing text, you will need to retype the whole string.
  1481.  
  1482. No other commands, like file directory, will work while in primitive mode, so
  1483. do any directory viewing beforehand, or if in interlace, toggle to  Workbench
  1484. screen  to  get directories, or in non-interlace click and size a CLI window,
  1485. or pop up a CLI with PopCLI, or....  Or, use the mouse to  click-load  files/
  1486. dirs, or the AmigaDOS command to do a Dir, or...  
  1487.  
  1488.  
  1489.      Keys
  1490.  
  1491. It  is  recommended  that  you  don't  swap active keys, since there are many
  1492. interrelated keys, keys that run another key.  This  is  especially  true  of
  1493. Ctrl-keys.   I  would  recommend  swapping only those keys that are currently
  1494. unused which includes mouseUp and most Amiga keys.  To  see  which  keys  are
  1495. unused,  select  Misc,  Keys,  Keys InUse, and press candidate keys until you
  1496. find one that is free.
  1497.  
  1498. Warning: DON'T use "Kill key" command on prefix keys like ^K or you will lose
  1499. dozens  of  key  functions at once.  If you use them on a control key such as
  1500. ^D, you will lose all prefixed functions of that key, e.g. ^KD, ^QD, ^OD etc.
  1501. would no longer work.  There should be no need to kill keys, in general.
  1502.  
  1503. Be careful with the Swap Keys command - it won't  swap  WS  2-key  sequences;
  1504. even  if  you  specify  them as their single-key equivalents (see key table),
  1505. that will only affect the operation from  the  menu  or  by  that  single-key
  1506. equivalent, not the regular WS 2-key sequences.  
  1507.  
  1508.  
  1509.      Tabs
  1510.  
  1511. ^OI  and ^ON set tabs visually/interactively, and you can do a bunch at once,
  1512. instead of doing just one at a time.
  1513.  
  1514. ^OV selects which tab table to use.  Current Ustar default is one with simple
  1515. tab spacing of 5, the same as WS document mode.  For 8-stop tabs at any time,
  1516. use  ^PI  to tab to the next 8-stop tab stop, or just switch to use tab table
  1517. 0.  Tab table 3 is purposely empty so you can define your own.  Ustar assumes
  1518. that table 0 is the 8-stop tab table, and that table 2 is the one you use for
  1519. C programming.
  1520.  
  1521. ^OT shows the tab ruler line, but doesn't toggle it on/off -  it  only  shows
  1522. until a key/mouse action, then disappears.
  1523.  
  1524. ^Tab toggles the trueTabs mode on/off.  When off, tabs will act just like WS,
  1525. using spaces instead of tab characters.  When on, it uses tab characters, not
  1526. spaces, and tabs always insert, even  if  overstrike  mode  is  active.   (WS
  1527. always uses tab characters in non-document mode, and spaces in document mode).
  1528.  
  1529. NOTE: The Tab key won't work if trueTabs is off and no tab stops are defined.
  1530. If  you  type  the  Tab key in this case, it will appear to lock up.  This is
  1531. because it is inserting spaces up to the next tab stop, and there is  no  tab
  1532. stop, so it inserts spaces forever.  Use the abort key sequence to stop it if
  1533. this happens.
  1534.  
  1535. NOTE  ALSO: If your current tab ruler isn't the same one that you created the
  1536. document  with,  you  may get misaligned text, or hard tab characters (square
  1537. O's) may show up in your document, especially towards the ends of lines.
  1538.  
  1539. The Tab key now works like WS except: when tabs wrap, they wrap to column  1.
  1540. WS  wraps  to  the  first  tab  stop,  normally  column  6.   This  could  be
  1541. implemented, but I prefer the wrap to column 1.
  1542.  
  1543.  
  1544.  
  1545.      Spelling
  1546.  
  1547. Checking  of  spelling  in  a  document  is  very roughly implemented.  Uedit
  1548. doesn't provide  a  speller,  and  the  best  one  I  could  find  as  freely
  1549. distributable  software was MicroSpell, from Fred Fish disk #101.  MicroSpell
  1550. basically works, but needs a  lot  of  polishing  up.   Read  the  MicroSpell
  1551. documentation  for general info.  For the ^QL, ^QN, and ^QO functions to work
  1552. properly, the MicroSpell executable file "spell" must be in the system  path,
  1553. and  the  dictionaries  "dict.dct"  and  "common.txt"  must be in the current
  1554. directory,  as   must  the  document  to  be  spelled.   Unfortunately,  user
  1555. dictionaries  don't  work  with  the  current  version of MicroSpell (they're
  1556. supposed to).  
  1557.  
  1558. It is pretty much manual operations at this time - give  the  spell  command,
  1559. wait  quite  a  while  for  it  to  finish spelling (you can use Uedit in the
  1560. meantime, though it is slowed down), then get the file "spell.lst" from  disk
  1561. and check it against your document manually.  
  1562.  
  1563.  
  1564.                                 How it works
  1565.  
  1566. Since  Uedit  doesn't  directly support two-key commands, how did I implement
  1567. them?  I dedicated one n variable number, n84,  to  be  the  global  flag  to
  1568. indicate  whether a prefix key has been pressed and if so, which one.  So, if
  1569. you press ^K, n84 is set to 10; ^Q, set to 20, etc.  
  1570.  
  1571. Then, when any control key sequence is pressed that is part of the WS command
  1572. set, the code for that key checks to see what prefix is active, if  any,  and
  1573. takes  the  appropriate  actions.   For  instance,  if  ^D is pressed and the
  1574. current prefix value is 0, it moves the cursor right one character.   But  if
  1575. ^D  is pressed and the prefix is 10, then it does the ^KD action of getting a
  1576. file.
  1577.  
  1578. Almost every Ctrl key sequence that is a letter or number is intercepted this
  1579. way, as well as some others.  A very important point is that every successful
  1580. test, say the ^KD noted above, clears n84 back to 0, so that the next control
  1581. key  action is correct.  If the commands didn't clear it, then when you did a
  1582. ^X to go down a line, you might get a ^KX or ^QX instead!
  1583.  
  1584. This illustrates the power of Uedit - many editors and system utilities  will
  1585. let you map one key to another, but very few will allow complete emulation of
  1586. complex 2-key sequences to do whatever you want.
  1587.  
  1588.  
  1589. ----------------------------------------------------------------------------
  1590.  
  1591.  
  1592.              Currently Non-implemented WS commands/functions
  1593.  
  1594. Items of note (many differences, details, and remappings discussed elsewhere).
  1595.  
  1596. o    Dot Commands - some implemented; see separate section in this document.
  1597. o    ^QP  position before previous command.
  1598. o    Spell - spelling capabilities present but currently very limited.
  1599. o    Thesaurus - nothing included; could run external one like WS4 does.
  1600.  
  1601. o    Some ^P print control commands
  1602.      o    ^PH       Overprint Character (could be approximately implemented)
  1603.      o    ^Preturn  Overprint line                    "
  1604.      o    ^PO       Non-break space
  1605.      o    ^PF, ^PG  Phantom space and rubout
  1606.      o    ^PC       Print Pause
  1607.      o    ^PJ       Line feed without carriage return
  1608.      o    ^PE, ^PR  are undefined; ^PQ, ^PW  I have predefined
  1609.  
  1610. o    Margins / Ruler line / settable tabs stops / decimal tabs:
  1611.      o    ^OL  Left margin set        No capability
  1612.      o    ^OX  Margin release         Use WordWrap toggle, or line length set
  1613.      o    ^OF  Ruler from file line   No capability
  1614.      o    ^OO  Embed current ruler    No capability
  1615.      
  1616. o    Formatting:
  1617.      o    ^OS  Line Spacing           Must do manually (use Learn mode)
  1618.      o    ^OH  Hyphen help toggle     No capability
  1619.      o    ^OE  Soft hyphen togl/ins.       "    
  1620.      o    ^OB  Soft space display          "   and not applicable
  1621.      o    ^P@  Align columns               "      
  1622.      o    ^QU  (Non-doc) Strip hi bits    Haven't found a need for it;
  1623.                                           if need, see UstarDetails - tcmds
  1624.  
  1625. o    Other
  1626.      o    Alt-Fx  line/box drawing - characters not in Amiga character set to
  1627.           do this.  You could of course create your own  font  and  implement
  1628.           this.
  1629.  
  1630. --------------------------------------------------------------------------
  1631.  
  1632.  
  1633.                                End of UstarDoc
  1634.