home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d770 / uedit.lha / Uedit / Ustar.LZH / UstarDetails < prev    next >
Text File  |  1989-05-10  |  49KB  |  1,004 lines

  1.  
  2.                              UstarDetails v0.90
  3.  
  4. Details and low-use stuff about Ustar.
  5.  
  6. Ustar is Copyright © 1987 Kurt Wessels.  See UstarDoc for distribution info.
  7. Uedit is Copyright © 1986, 1987 by Rick Stiles.  See Uedit-Policy for info.
  8.  
  9.  
  10.                               Table of Contents
  11.  
  12. revhist   Revision History for Ustar
  13. keymap    Keymap Table - summary of use of every key combination 
  14. tcmds     Miscellaneous extra commands
  15. WS4fk     WS4 Standard Function Key assignments
  16. uedifs    Keys that are the same for Ustar as Uedit; differences between them
  17. usfiles   Details on files/programs used by Ustar, and paths
  18. dotcmds   Unimplemented WS dot commands
  19. refmt     Info on how the Ustar reformat command works
  20.  
  21. ============================================================================
  22.  
  23.  
  24. revhist
  25.                              Revision History
  26.  
  27. Other than this section, Ustar documentation always  refers  to  the  current
  28. version of Ustar.  This  information  is  for  informational  and  historical
  29. purposes.
  30.  
  31. Newest revisions listed first.
  32.  
  33.  
  34.                       Ustar v0.90     (for Uedit V2.3c)
  35.  
  36. Release date: 12/11/87 is official date; released at  WAG  meeting  and  also
  37. mailed to Rick Stiles 12/12/87
  38.  
  39.      Summary:
  40. Extensive changes to take advantage of stronger word processing  features  of
  41. Uedit v2.3a.  Extensive changes to update to  WS  release  4.   Changes  were
  42. extensive enough that no attempt was made to flag them in UstarConfig!.
  43.  
  44.      Of major note: 
  45. Reorganized  menus into submenus; set up all new defaults.  Took advantage of
  46. various  new  language  features.   20 file limit gone - commands now look at
  47. MaxFiles.  All n#s and var#s remapped.  Rick sped up the  reformat()  command
  48. so reformatting time is quite reasonable now.  Split Windows added.  Enhanced
  49. UstarTutor.   Updated  descriptions of keys in UstarConfig! so TeachKeys mode
  50. is useful.  Now  distributing  UstarConfig!   even  with  shareware  version.
  51. Major  dot commands used in printing now supported.  Major print controls now
  52. supported.  Reorganized docs to put detail stuff into new UstarDetails file.
  53.  
  54.      Removed:  
  55. All Scribble! equivalents.  Buffer size ^QN  (now  in  buffer  status);  Doc.
  56. interchange  ^KI;  setLocals AC-kp3; "Quick find" F9 removed - never used it;
  57. Col.  functions SA-kp3 & SC-kp3 due  to  colToLoc  etc.   avail;  virtual-kp-
  58. (language  problem  fixed);  Runkey  notes  in  UstarHelp  (just  search   on
  59. runKey(keyname) to check on any key  change);  open/close  line  ^OO  (former
  60. scribble F10) 
  61.  
  62.      Remapped/duplicated keys: 
  63. 1st  5 func keys: F3 del., all F2 functions to F3; F4 del., now edit buf#; F5
  64. del., now AmigaDOS cmds; F2 now Prev. Bufr.  ^H now = BS;
  65.  
  66.      Remapped to avoid WS4 conflict: 
  67. Pagelines ^PI to ^PJ; InputCtlChar ^PK to ^P=; Speak block ^KM to ^K]; 
  68.  
  69.      Remapped to WS4: 
  70. Block Insert/overlay ^K-to ^KI; Goto Page ^QP to ^QI;
  71.  
  72.  
  73.     Mach workarounds: 
  74. F3 = AC-F1; R-F6 = A-F6; R-F1 = A-F1; R-F3 = A-F3;
  75.  
  76.  
  77.      Added WS4:   
  78. 8-col.   tab ^PI; Elim. EOL ^6; Reformat to EOF ^QU; Spelling check cmds ^QL/
  79. ^QN/^QO  (rough);  Fwd/Back  by  Char  ^QG/^QH; Del Fwd to Char ^QT; Bytes to
  80. cursor ^Q?; Block lower/uppercase ^K'/^K"; ^PK index  word  mark;  Insert  FF
  81. ^PL; ^U now = to ^KU; Ruler tab display ^OT; Preview/Protect ^OP to equal ^K=
  82. read-only  closest equivalent; ^QM calculator; Column math ^KM; ESC Shorthand
  83. macros;^PB, ^PS etc.  printer  control  toggles  and  ^PA  etc.  non-toggles;
  84. function  key mapping like WS4 (inactive); added the most common dot commands
  85. and print processing/previewing for them in ^KP;
  86.  
  87.  
  88.      Changed for WS4: 
  89. ^OI, ^ON now both set tab ruler interactively; ^H now does backspace
  90.  
  91.  
  92.      Added other:  
  93. Set Speech params AC-kp5; Del.  Whitespace AC-kp3; Show Alt.  Chars.  AC-kp4;
  94. Teach modes A-T, A-D; Auto-save ^K>; Swap mouseup AC-kp6; Keys in use AC-kp7;
  95. System memory AC-kp8; Abort print ^PU; Abort all prints  ^P0;  restart  print
  96. ^P1;  set  Idle time AC-kp9; UstarTutor A-U; load defaults AC-F6; tiny window
  97. R-Help; typeChar ^OY; set Maxfiles AC-kp0; Changed toggle ^K[ ; mapChars  SA-
  98. kp3;  DOS  w/no  results S-F5; markGadgets SA-kp6; QuickRef A-Q; displaybeep/
  99. audiobeep toggle SA-kp7; ^PF find printer ctl code; ^PO print block; external
  100. command that builds a "keys in use" table; useKeys toggle in  case  abort  of
  101. tab ruler,ESC, or ^QG/^QH/^QT done; 2.3c mouse window resizing, pmESC setting
  102. added;
  103.  
  104.  
  105.      Changed: 
  106. ^KL  does  ChangeDir  now,  not prefixed pathname; C commands mapping from F8
  107. only  to  F7  &  F8,  also easier to use; Quit eliminated from S/R opts since
  108. abort will work now; sped up & added speed control to ^QQ;  quit  actions  on
  109. buf41  &  asking;  prepared  locate/goto  place  markers  to  use  new  Index
  110. functions, once they are working; ^Tab was hard tab, now is  truetab  toggle;
  111. ^OV  now selects tab table instead of global tab spacing; QuickRef renamed to
  112. UeRef; 
  113.  
  114.      Improved: 
  115. ^W a bit;  enhanced  error  msgs,  mostly  file-related,  many  w/beepDisplay
  116. shftCtl-F  &  othercode  inputString uses for false return; search strings to
  117. literals, where applicable; goto label() stuff in 2-key section  &  elsewhere
  118. with  return, where applicable; blocks manipulations for changed highlighting
  119. that stays with normal & col. blocks, ^U/^KU now  highlight  block;  Checked/
  120. fixed/streamlined  Return  key,  spacebar, shft-return, and various tab keys'
  121. code, especially using new locToCol, sTab etc. & different algorithms  -  all
  122. faster/better;^OC  & several other commands to handle FF's correctly; ^F, ^T,
  123. ^A - closer to WS, except  for  punctuation,  not  skip  certain  punct  now;
  124. reformat command checked/fixed/streamlined; added code everywhere to consider
  125. tab  char as well as space to be blank space; discovered display problems and
  126. found ways around them, e.g.  virtual-kp3, shftAlt-f1; decided to keep mod(n)
  127. method of S/R options instead of separate n numbers; was  able  to  eliminate
  128. all  sLine/sFile  special  display  checking  -  yay!; decided not to convert
  129. runKeys() to minimize key conflicts, there are too many and would  be  slight
  130. performance  &  size  penalty,  what  really is needed is dupKeys() function;
  131. deleted big "PopCLI Conflict" section &  added  smaller  section  on  general
  132. conflicts; put a Dvorak keymap into UstarConfig! defaults (inactive); decided
  133. to  leave  index  buffer as buf41 instead of remapping to its own buffer, for
  134. both safety & convenience; reference files now looked  for  in  current  dir,
  135. then  s:; ^KQ acts slightly different now; Edit Buf # now will accept name as
  136. well as number; ^T, ^F, ^A now work exactly like WS; Space bar is faster now;
  137. tab key wraps properly; "last-specified" defaults for block names, edit  buf,
  138. var# see/set, DOS cmd added; 2.3c tabsToSpaces replaced; 
  139.  
  140.  
  141.  
  142.                       Ustar v0.83     (for Uedit V2.2b)
  143.  
  144. To be released approximately 8/22/87; all dated 8/21/87.
  145.  
  146. Primary  change  is  update  to  work  with  Uedit  version   2.2b.   
  147.  
  148. Updated  documentation to correspond.  Rearranged - moved editorial to top of
  149. doc, other changes.  Updated QuickRef for new commands.  Wrote a couple more 
  150. letters to Rick and included this version.  Distributed on Rick's  disks  and
  151. locally via disk copies and ARCS to BBS's.
  152.  
  153. Updated documentation to reflect availability of new version of PopCLI  (III)
  154. - how to use it with Uedit.  
  155.  
  156.  
  157. Brief notes on numerous changes: 
  158.      * Refamiliarized self with code.   *  Fixed  header  to  work  with  new
  159.      version.   *  Fixed  "load all" where 1st file in list wouldn't load.  *
  160.      Changed gadgets, icons defaults due to 2.2b changes.   *  Made  Help  go
  161.      back to doc were editing.  * Fixed ^Z weirdness - added a refreshDisplay
  162.      statement * Changed F10 code for better operation.  *  Researched  other
  163.      language  changes,  documentation  updates.  * Found that the version of
  164.      "More" using in iconized version was bad (would  say  "No  memory"  when
  165.      there  was  plenty)  and switched to newer, smaller, working version.  *
  166.      Used typeChar to put in copyright symbol in a couple places.  *  Created
  167.      a tutorial
  168.  
  169.      *  Changed  docs  to  reflect  PopCLI  III  availability. * Added "clear
  170.      favorites" as alt-f2.  * Virtual keys implemented where using  keys  for
  171.      internal  functions.  * Added icon control.  * Added kp Enter = Return *
  172.      Added spaces-to-tabs.  * tabColumn changed again - changed Ustar code to
  173.      work  properly  with it * Added LF->CRLF, CRLF->CR functions as ShftCtl-
  174.      kpEnter, Alt-kpEnter * Changed SA-F1 dangerous quit to something  harder
  175.      to  hit  -  SAC-F1; likewise changed S-closebox quit to SAC-closebox.  *
  176.      Up/down page replace with up/down scroll.  *  Added  Untab  (destructive
  177.      back-tab)  as  AltCtl-tab  * Add C setup config.  * Added mouseXY use so
  178.      mouse marking of text blocks beyond  screen  automatically  scrolls.   *
  179.      Implemented  Rich  O'Brien's idea of a "quick find".  * Added ^KF mouse-
  180.      click on devs:.  * Added altCtl- buttondown for file delete.  *  Changed
  181.      file  ops so usually return to correct previous buffer after ^KQ, etc. *
  182.      ^KQ,  ^KT  now  check for swap buffer (41), save if not empty. * Swapped
  183.       F5, S-F5: F5 now goes to previous file, S-F5  goes  to  next  file.   *
  184.       Added SA-F1 which gives overview of all in-use Edit buffers.  
  185.  
  186.  
  187.  
  188.                       Ustar v0.80     (for Uedit V2.0c)
  189.  
  190. To be used with Uedit 2.0c  only.
  191.           
  192. Extensive Reformat command upgrades - much closer to WS and much more useful.
  193.  
  194. Extensive mouse directory/file load operation enhancements.
  195.  
  196. Fixed  tabs (extensive rework of code) due to Uedit 2.0c correcting an offset
  197. present in older  Uedit  tab  functions.   Also  enhanced/corrected  all  tab
  198. functions,  esp.  line-length  wrapping.   Uedit's  tabsToSpaces  now   works
  199. correctly.  
  200.  
  201. Brief notes on other fixes & enhancements:
  202.      *  Learned  language  better  *  Cleaned  up  the  code:  checked use of
  203.      getKey/inputKey,  thisKey,   abort,   returnTrue/False,   add/sub    vs.
  204.      incNum/decNum,  word/char  regions,  indentation  & formatting.  * Added
  205.      ASCII Table * Added Auto-start  "Policy"  requester  *  Updated  to  the
  206.      "About" text from 2.0c * Fixed Shft-Space at sFile quirk * Added Quit to
  207.      Find/Replace options * Added F2 Favorites Set/Toggle * Fixed ^KR  cursor
  208.      *  Added  NoName buffers try to eliminate on file loads * Fixed Spacebar
  209.      display quirk * Added edit buffer# * Added Column Overlay mode toggle  *
  210.      Added  setLocals  for  tabSpacing, pageLines, lineLength * Added dynamic
  211.      mouse drag highlighting * Fixed ^N cursor location  *  Fixed  ^Z  cursor
  212.      movement  *  Improved  ^W  cursor movement * Added to ^KA the default of
  213.      curFile name * Added ^KL default  dir  for  use  with  ^KD/^KI  *  Fixed
  214.      Find/Replace  options  G,  B,  and  #  *  Added  no-display  option   to
  215.      Find/Replace G option * Added rest of placemarkers ^K3-9/^Q0-9  *  Fixed
  216.      quirks in reformat command where could * Added "safety" to "build index"
  217.      command since uses same  buffer  as  swap  command  *  Cleaned  up  user
  218.      messages  *  Remapped  all  F5  functions  to  F1  (F5 still does toggle
  219.      forward/back  via  runKey  if  Scribble  options active) * shft-F6 (Make
  220.      Command) now toggles * Fixed  Alt-F  (shftAltCtl-kp3)  EOF  lockup  *  *
  221.      Checked  Learn/Repeat operation, fixed keys as needed, documented quirks
  222.      in this doc * Improved the  documents.   *  Implemented  better  version
  223.      update  procedures.   * Distribution disk updated: Xfrd 2.0c files incl.
  224.      new Uedit-Policy, added more tools, utilities and configs.  
  225.  
  226.      Released above at NSAUG meeting 05/06/87 (only 1 copy)
  227.  
  228.      Changed two items and re-released as same version number 5/8/87:
  229.      * Fixed  problem  related  to  inputString()  in  ^KF - now  works fine. 
  230.      * Changed keys: insert a space function switched from shft-space to ctl-
  231.      space;  shft-space  now  is  transparent  space  (cursor right) to match
  232.      primitive mode.  
  233.  
  234.      This version sent AMUSE, and to Stiles with 2nd letter.
  235.  
  236.  
  237.  
  238.  
  239. (Versions below were for Uedit 2.0 or 1.8)
  240.  
  241.  
  242.                                    v0.74a
  243.  
  244. (4/26/87) Found that UstarData! wasn't correct on below revision - had copied
  245. old  version  0.72  to  0.74 disk.  Copied correct one to it today.  OK other
  246. than that.  Also, put old WPtools disk contents onto Uedit disk, updated  its
  247. AboutUeditDisk  doc.   Redid  crc.chk,  new  one  on UeditWORK disk now named
  248. crc.chk-v0.74a.  
  249.  
  250.  
  251.                                     v0.74
  252.  
  253. File  commands  changed  somewhat from v0.72; other small changes. 4/23/87 at
  254. WAG, lots of copies.
  255.  
  256.  
  257.                                     v0.72
  258.  
  259. Smoother functioning; updated docs.  4/18/87 at AMUSE (Amiga Users Eastside).
  260. Also  4/20 to Althoff, Stiles, TSD.  First version that appeared on a Stiles-
  261. distributed disk.
  262.  
  263.  
  264.                                     v0.7
  265.  
  266. Initial  release  4/11/87  at WAG (Washington Amiga Group) meeting to several
  267. people.  CRC, etc. not recorded.  
  268.  
  269.  
  270. -----------------------------------------------------------------------------
  271.  
  272. keymap
  273.                                Keymap Table
  274.  
  275.  
  276.                                K E Y M A P
  277.  
  278. CODES USED
  279.      (blank, no code) WS std, same or close to WS function (letter keys only)
  280. +    Not WS standard, added to WS-like command set; noted only for characters
  281.      and numbers, not noted for Alt- key prefix
  282. *    key intercepted in order to give standard  WS functioning
  283. --   Not WS standard, not in use; noted only for characters
  284. !    WS std, not implemented, planning to later
  285. =    WS std, not implemented, not planning to 
  286. ~    WS std, implemented, but somewhat or very different from WS; or not
  287.      fully implemented yet.
  288. @    WS std, remapped to new use (new use shown)
  289. <    Internal-use (called by other keys only)
  290. >    Temporary
  291.  
  292. Notes on Left-Amiga and Right-Amiga keys added in Uedit v2.3
  293.      (Note that these prefix keys can't be used with other shift keys).
  294. &    Amiga system-defined key - don't use for keyboard cmd.
  295. ^    Amiga system-defined key - shouldn't use, but can since not use in UE.
  296. %    Conflicting key - don't use from Keyboard; OK use for internal cmds.
  297.  
  298. NOTE - shifted(alt/ctl/shft/amiga) DEL/BS/ENTER/RETURN/TAB act as REAL key
  299.         unless they've got a command attached.
  300.  
  301.  *****> Note: table goes beyond 80 columns; print in condensed print ----->
  302.  
  303.   WS use:   -          -         -         -        ^K        ^Q        ^O         ^P        ---           ---       ---
  304.   n84:      0          0         0         0        10        20        30         40        ---           ---       --- 
  305.  
  306.   Menus:    x         S-x     C-x,^x      A-x      SC-x      SA-x      AC-x       SAC-x      V-x           L-x       R-x      
  307.                                                                                                                               
  308.   Key->   normal      shft      ctl       alt     shftCtl   shftAlt   altCtl    shftAltCtl virtual       lAmiga     rAmiga    
  309.                                                                                             (none)                            
  310.   Func:   Normal    Shifted   Control   Alternate  Block     Quick   OnScreen     Print    Internal     LeftAmiga  RightAmiga 
  311.                                                                                                                               
  312. A         Normal Typing Use   LeftWord            +F-SavAs   Find/rpl  --        AltPitch                                     
  313. B                |            Reformat  BldIndx    B-Beg     ToBlkBeg +BusiesTg  BoldTogl  <GetBufNm#  ^Req.NO/OK             
  314. C                |            UpScreen             B-Copy    ToEOF     LnCenter @PrtColor                                     
  315. D                V            RightChr  TeachKey   F-Open    ToEOL     CtlChars  DoublTog  <GetDate                           
  316. E                             UpLine               F-Renam   ToTOS     Hyphen!  =UserDef                                      
  317. F                             RightWrd  RightAln   F-Dir     Find     !RulrTxt  @PtrCodeFnd                                   
  318. G                             CharDel             +B-Get     FindCh.F ~Par.Tab  @GenlPrtCode                                  
  319. H                             BackSpc   HexDecml  ~B-Hide    FindCh.B @ASCIIval =OverPrtC                                     
  320. I                             TabRight             B-Ins/Ovl GotoPage ~TabsSet   8col.Tab                                     
  321. J                             Help                 F-Del       --     ~Justify  +Lines/pg                                     
  322. K                             prefix    WindoKlone B-End     ToBlkEnd +CramMode  Word->Ndx                                    
  323. L                             RptFind              CDlogDir ~FindSpel !LeftMarg  InsertFF                                     
  324. M                             Return               B-Math    MathCalc +VarSet   =OverPrtL              %Scrn Fwd              
  325. N                             PutEOL    WindoNext  ColMode  ~SpelWord ~TabClr    PicaPtch  <Pfmt-Dots  %Scrn Back             
  326. O                             prefix    OpenBuf    F-Copy   ~SpelWrdC !EmbdRulr @PrintBlk  <PrintFmt                        
  327. P                             prefix               F-Print  =LastCrsr ~Prot/Vue +PrtPref   <PtrCtlCd                          
  328. Q                             prefix    QuickRef   F-QuitSav RptCmd~  +VarSee   ~ComprsdPrt                        ^ReqStrUndo
  329. R                             DownScrn             B-Read    ToBOF    ~RtMarSet =UserDef                                      
  330. S                             LeftChar             F-Qsave   ToBOL    !LineSpcg  UndrScor  <GlobStat                          
  331. T                             WordDel   TeachMode +F-AllSave DelChFwd ~RulerDsp  SuperTog                                     
  332. U                             Undo      UstarTutr +Undo      RfmtEOF  +FlipCase +Abort1Prt                                    
  333. V                             InsrtTogl WindoSplit B-Move    ToLfind  ~VariTabs  SubscTog              ^Req. YES              
  334. W                             ScrolLup             B-Write   ScrollDn  WordWrap ~WidePrt                                      
  335. X                             DownLn               QuitSafe  ToBOS    !Mar.Rel   StrikTog                          ^ClrReqStr 
  336. Y                             LineDel   WindoClose B-Del     DelToEOL +TypeChar  ItalicTog                                    
  337. Z                             ScrolLdn  WindoSize +F-B/U     ScrollUp +RowColTg +AutoExec                                     
  338. 0                   )                   ZeroTotal  PlMark    PlcFind            +AbortAllPrt                                  
  339. 1                   !         LearnTogl SaveLearn  PlMark    PlcFind   CmdMult  +RestartPrt                        %(abort)?  
  340. 2                   @         RunLearn  GetRunLrn  PlMark    PlcFind   LoadLearn   --                              %(abort)?  
  341. 3                   #                              PlMark    PlcFind                                                          
  342. 4                   $                              PlMark    PlcFind                      <SavBuf41                           
  343. 5                   %                              PlMark    PlcFind                                                          
  344. 6                   ^         DelEOLs              PlMark    PlcFind                                               %
  345. 7                   &                              PlMark    PlcFind                                               %
  346. 8                   *                              PlMark    PlcFind                                                          
  347. 9                   (                              PlMark    PlcFind                                               %(abort)   
  348. -                   _                   Subtract                                                         Split-               
  349. =                   +                   Add       +F-R/O                         +InCtlCh <Math-Add      Split+    %(abort)   
  350. \                   |                   InsertTot +F-Icon                                                                     
  351. [                   {                             +B-Chnged                                                                   
  352. ]                   }                             +B-Speak                                                                    
  353. ;                   :                                                                                              %(abort)   
  354. '                   "                   Menu-^K"   B-lcase/Ucase                                                   %(abort)   
  355. ,                   <                                                                                              %
  356. .                   >                              F-AutoSave                                                                 
  357. /                   ?         Demo      About                Bytes@crsr                                            %(abort)   
  358. `                   ~                                                                     <FindMarker                         
  359. kp0                           = 0                  KillKey   SwapKeys  MaxFiles           <ClkFileName                        
  360. kp1                           = 1                  SetWcard  SetEiOr   SetEOL             <DelimitCk               %(abort)?
  361. kp2                           = 2                  SetDelay  DoDelay   CountCmd           <RefmtCtl                %(abort)
  362. kp3                           = 3                            MapChars  DelWhtSpc          <LoadAll                            
  363. kp4                           = 4                  SpkMsgs   SpkAlrts  ShowAltChrs        <GetDir                             
  364. kp5                           = 5                  lc->UC    UC->lc    SpeechParms        <S/R-opts                           
  365. kp6                           = 6                            MarkGadg  SwapMouseUp        <S/R rpt                 %
  366. kp7                           = 7                            AddBeep   KeysInUse          <NotWsCmd                % ?
  367. kp8                           = 8                  TopMargn  UseKeys   MemoryUse          <WSnoImpl                           
  368. kp9                           = 9                  BotMargn            SetIdleTime                                 %(abort)   
  369. kp-                                                                                                      =L--                 
  370. kp.                           = .                                                                                             
  371. kpEnter   = Return  = Return  = Return  CRLF->LF   LF->CRLF                                                                   
  372.                                                                                                                               
  373. Gadget1   NextFile                                                                                                            
  374. Gadget2   PrevFile                                                                                                            
  375. Gadget3   DownScroll                                                                                                          
  376. Gadget4   UpScroll                                                                                                            
  377. ButtonDn  Plc/Hilit BlkMove   LoadFile  BlkCopy   IndxBld   BlkDel    FileDel   WindowResize                                  
  378. ButtonUp                                                                                                           
  379. Closebox  Save/Quit                                                             QuitNoSav                                     
  380. ESC       Macros    Interlace pmESCset  LaceColor                                                       UE Abort    UE Abort  
  381. Tab *     Tab       TransTabF TrueTabs  TransTabBk TabToSpc SpcToTab  DstBakTab           <SeeHardTabs             %(abort)   
  382. Space *   Spc       TransSpc  SpcInsert                                                   <routine V-S                        
  383. Return *  Rtn       MchIndent FindCursr                                                                                       
  384. Backspace BS        NonDesBS  DelWrdL                                                                              %(abort)   
  385. Del       Del                                                                             <DelDirBuf                          
  386. F1        ToglCfile PrevFile  SeeGbufs  SwapBuf   AmigaDOS  SeeEbufs  EdBuf#    QuitNoSav                          = A-F1     
  387. F2        PrevFile                                                                                                 = A-F2     
  388. F3        TogFavFil TogFavFlg           ClrFaves                                                                              
  389. F4        EditBuf#                                                                                                            
  390. F5        AmigaDOS  DOSnoRslt                                                                                                 
  391. F6        CompileCmd MakeCmd  LConfig   SConfig                       Ldefaults                                    = A-F6     
  392. F7        C-ins /*  C-setup   C-SavVD0:                                                                                       
  393. F8        C-ins */  C-unsetup C-comntLn                                                                                       
  394. F9                                                                                                                            
  395. F10       
  396. Help      HelpFile  ShowVals  Refresh   Colors    ASCIIhelp                                                                   
  397.                                                                                                                               
  398. UpArrow   UpLine    UpScreen  CursrTOS  CursrTOF                                                       %move       %move      
  399. DnArrow   DownLine  DnScreen  CursrBOS  CursrEOF                                                       %mouse      %mouse     
  400. LtArrow   LeftChar  LeftWord  LeftScrl  CursrBOL                                                       % "         % "        
  401. RtArrow   RightChar RightWord RightScrl CursrEOL                                                       % "         % "        
  402.  
  403.  
  404. ----------------------------------------------------------------------------
  405.  
  406. tcmds
  407.                         Miscellaneous extra commands
  408.  
  409. Temporary command: loading of Amiga files
  410. <alt-a: loadFile("s:Amiga/T2") loadFile("s:Amiga/Reference&History")
  411.         loadFile("s:Amiga/Articles") loadFile("s:Amiga/PDS")
  412.         loadFile("s:Amiga/Products") >
  413.  
  414. Load notes file
  415. <shftAltCtl-z: loadFile("sys:MiscNotes")>
  416.  
  417. Temporary command: loading of Ustar files
  418. <alt-l: loadFile("s:UstarConfig!") loadFile("s:UstarDoc")
  419. loadFile("s:UstarHelp!") >
  420.  
  421.  
  422. hilite-left-one-space
  423. <alt-m:
  424. moveCursor(curFile,sHilite)
  425. if (not is(curFile,sLine)) moveCursor(curFile,sLine)
  426. label(1)
  427. if (is(curFile,space)) clearChar(curFile)
  428. if (not is(curFile,eLine)) moveCursor(curFile,eLine)
  429. moveCursor(curFile,eChar)
  430. if (gtLoc(curFile,eHilite,atCursor)) goto label(1) >
  431.  
  432. hilite-right-one-space
  433. <alt-m:
  434. moveCursor(curFile,sHilite)
  435. if (not is(curFile,sLine)) moveCursor(curFile,sLine)
  436. label(1)
  437. if (gtLoc(curFile,eHilite,atCursor)) {
  438.    insertChar(curFile," ")
  439.    if (not is(curFile,eLine)) moveCursor(curFile,eLine)
  440.    moveCursor(curFile,eChar)
  441.    goto label(1) } >
  442.  
  443.  
  444. Give character set and loc info for character at cursor (a debugging tool)
  445. <alt-m:
  446. freeBuf(buf99)
  447. if (is(curFile,whiteSpace)) insertRgn(buf99,sFile,"whiteSpace  ",all)
  448. else insertRgn(buf99,sFile,"NOTwhiteSpace  ",all)
  449. if (is(curFile,ctlChar)) insertRgn(buf99,atCursor,"ctlChar  ",all)
  450. if (is(curFile,alpha)) insertRgn(buf99,atCursor,"alpha  ",all)
  451. if (is(curFile,digit)) insertRgn(buf99,atCursor,"digit  ",all)
  452. if (is(curFile,space)) insertRgn(buf99,atCursor,"space  ",all)
  453. if (is(curFile,9)) insertRgn(buf99,atCursor,"tab  ",all)
  454. if (is(curFile,formFeed)) insertRgn(buf99,atCursor,"formFeed  ",all)
  455. if (is(curFile,eLine)) insertRgn(buf99,atCursor,"   eLine  ",all)
  456. if (is(curFile,sLine)) insertRgn(buf99,atCursor,"   sLine  ",all)
  457. if (is(curFile,eFile)) insertRgn(buf99,atCursor,"eFile  ",all)
  458. if (is(curFile,sFile)) insertRgn(buf99,atCursor,"sFile  ",all)
  459. if (is(curFile,ePage)) insertRgn(buf99,atCursor,"ePage  ",all)
  460. if (is(curFile,sPage)) insertRgn(buf99,atCursor,"sPage  ",all)
  461. if (is(curFile,eForm)) insertRgn(buf99,atCursor,"eForm  ",all)
  462. if (is(curFile,sForm)) insertRgn(buf99,atCursor,"sForm  ",all)
  463. if (is(curFile,blankLine)) insertRgn(buf99,atCursor,"blankLine  ",all)
  464. if (is(curFile,tabColumn)) insertRgn(buf99,atCursor,"tabColumn  ",all)
  465. if (eqLoc(curFile,atCursor,locA)) insertRgn(buf99,atCursor,"locA  ",all)
  466. if (eqLoc(curFile,atCursor,locB)) insertRgn(buf99,atCursor,"locB  ",all)
  467. putMsg(buf99)
  468. >
  469.  
  470.  
  471. Strip Hi bits from file
  472. <alt-m: equateLoc(curFile,locA,atCursor) moveCursor(curFile,sFile)
  473. putMsg("Stripping all hi bits, wait...")
  474. while (copyChar(curFile,n99)) {
  475.   if (gtNum(n99,127)) { sub(n99,n99,128) swapChar(curFile,n99) }
  476.   moveCursor(curFile,eChar)
  477. }
  478. putMsg("Hi bit stripping done") 
  479. equateLoc(curFile,atCursor,locA) refreshDisplay
  480. >
  481.  
  482. Test what getChar works on 
  483. <alt-m: putMsg("Test getChar() - press keys - active?  Amiga-ESC aborts")
  484. while(nothing) { freeBuf(buf99) 
  485. getchar(n99) toWord(buf99,n99) putMsg(buf99) }>
  486.  
  487.  
  488. Show actual Uedit keycode of a key
  489. <alt-m: putMsg("Press keys to see their raw keycode (Amiga-ESC aborts)") 
  490. while (nothing) {
  491.   freeBuf(buf99)
  492.   getKey(n99) toWord(buf99,n99) putMsg(buf99)
  493. }>
  494.  
  495.  
  496. Make an in-use keytable
  497. <alt-m:
  498. putMsg("Creating key table, please wait...")
  499. freeBuf(buf99)
  500. insertRgn(buf99,sFile,
  501. "1 !      1 
  502. 2 @      2 
  503. 3 #      3 
  504. 4 $      4 
  505. 5 %      5 
  506. 6 ^      6 
  507. 7 &      7 
  508. 8 *      8 
  509. 9 (      9 
  510. 0 )     10 
  511. - _     11 
  512. = +     12 
  513. \ |     13 
  514. --------14 
  515. kp0     15 
  516. Q       16 
  517. W       17 
  518. E       18 
  519. R       19 
  520. T       20 
  521. Y       21 
  522. U       22 
  523. I       23 
  524. O       24 
  525. P       25 
  526. [ {     26 
  527. ] }     27 
  528. --------28 
  529. kp1     29 
  530. kp2     30 
  531. kp3     31 
  532. A       32 
  533. S       33 
  534. D       34 
  535. F       35 
  536. G       36 
  537. H       37 
  538. J       38 
  539. K       39 
  540. L       40 
  541. ; :     41 
  542. ' \"     42 
  543. --------43 
  544. --------44 
  545. kp4     45 
  546. kp5     46 
  547. kp6     47 
  548. --------48 
  549. Z       49 
  550. X       50 
  551. C       51 
  552. V       52 
  553. B       53 
  554. N       54 
  555. M       55 
  556. , <     56 
  557. . >     57 
  558. / ?     58 
  559. --------59 
  560. kp.     60 
  561. kp7     61 
  562. kp8     62 
  563. kp9     63 
  564. Space   64 
  565. BS      65 
  566. Tab     66 
  567. kpEnter 67 
  568. Return  68 
  569. ESC     69 
  570. DEL     70 
  571. --------71 
  572. --------72 
  573. --------73 
  574. kpMinus 74 
  575. --------75 
  576. upArrow 76 
  577. downArrow  
  578. rightArrow 
  579. leftArrow  
  580. F1      80 
  581. F2      81 
  582. F3      82 
  583. F4      83 
  584. F5      84 
  585. F6      85 
  586. F7      86 
  587. F8      87 
  588. F9      88 
  589. F10     89 
  590. --------90 
  591. --------91 
  592. --------92 
  593. --------93 
  594. --------94 
  595. Help    95 
  596. buttonDn96 
  597. buttonUp97 
  598. Gadget1-98 
  599. Gadget2-99 
  600. Gadg3--100 
  601. Gadg4--101 
  602. CloseBx102 
  603. ` ~    103 
  604. ",all)
  605. editBuf(buf99) 
  606. equateNum(n99,0)  .. outer loop prefix counter
  607. do (n99,0,10) {
  608.    moveCursor(buf99,sFile) vScroll(sFile) refreshDisplay
  609.    do(n98,1,103) {  .. inner loop key counter
  610.       mul(n97,n99,104)  .. prefix,
  611.       add(n97,n97,n98)  .. plus key, gives value
  612.       moveCursor(buf99,eLine)
  613.       if (inUse(n97)) insertChar(buf99,"X") else insertChar(buf99,"-")
  614.       insertRgn(buf99,atCursor,"    ",all)
  615.    }
  616. }
  617. insertRgn(buf99,sFile,"
  618.  
  619.              Master keytable for current status of Uedit
  620.  
  621.     X Key in use     - Key not in use     ---- Non-key or Europe
  622.  
  623.           Any specific key value is: (prefix * 104) + KeyCode       
  624.  
  625. KeyName    Norm Shft Alt  SA   Ctl  SC   AC   SAC  lAmi rAmi Virtual
  626. |          |0   |1   |2   |3   |4   |5   |6   |7   |8   |9   |10    {-- Prefix 
  627. v  KeyCode |    |    |    |    |    |    |    |    |    |    |
  628.          v
  629. ",all)
  630. vscroll(sFile) refreshDisplay
  631. putMsg(" ")
  632. >
  633. If a key isn't in use, such as normal letter keys, it will  do  its  "normal"
  634. thing.
  635.  
  636.  
  637.  
  638. -----------------------------------------------------------------------------
  639.  
  640.  
  641. WS4fk
  642.                       Wordstar 4 Default Function Keys
  643.  
  644. A set of optional commands for Ustar to add WS4 function & numeric keypad
  645. equivalents.
  646.  
  647. Duplicates WS4 use of function and cursor keys, but thus knocks out
  648. most all Ustar function keys.  Also remaps two arrow keys.
  649.  
  650. Alt-function  keys  for  line/box  drawing not implemented, since the default
  651. Amiga  character  set doesn't include them.  Of course, you could design your
  652. own font and add this capability if desired.
  653.  
  654. Normally inactive.  Append this section to UstarConfig! if you want to use it.
  655.  
  656. ..To activate, change below all ..! sequences to < and compile these cmds
  657. ..To deactivate, change below all < characters to ..! and compile UstarConfig!
  658.  
  659. ..!normal-f1:  runKey(normal-help)>       .. help
  660. ..!normal-f2:  runKey(ctl-u)>             .. undelete (doesn't do abort func)
  661. ..!normal-f3:  runKey(shftAltCtl-s)>      .. underline
  662. ..!normal-f4:  runKey(shftAltCtl-b)>      .. bold
  663. ..!normal-f5:  runKey(ctl-y)>             .. line del
  664. ..!normal-f6:  runKey(ctl-t)>             .. word del
  665. ..!normal-f7:  runKey(shftAlt-u)>         .. reformat rest
  666. ..!normal-f8:  runKey(altCtl-i)>          .. closest thing to embed ruler
  667. ..!normal-f9:  runKey(shftCtl-s)>         .. save file
  668. ..!normal-f10: runKey(shftCtl-d)>         .. get file (closest equal)
  669.  
  670. ..!shft-f1:  runKey(altCtl-d)>            .. ctl char display
  671. ..!shft-f2:  runKey(altCtl-c)>            .. center line
  672. ..!shft-f3:  runKey(shftAlt-l)>           .. spell rest
  673. ..!shft-f4:  runKey(shftAlt-n)>           .. spell word
  674. ..!shft-f5:  runKey(shftCtl-y)>           .. delete block
  675. ..!shft-f6:  runKey(shftCtl-h)>           .. hide block  (not toggle)
  676. ..!shft-f7:  runKey(shftCtl-v)>           .. move block
  677. ..!shft-f8:  runKey(shftCtl-c)>           .. copy block
  678. ..!shft-f9:  runKey(shftCtl-b)>           .. block start mark
  679. ..!shft-f10: runKey(shftCtl-k)>           .. block end mark
  680.  
  681. ..!ctl-f1:  runKey(shftAlt-f)>            .. find
  682. ..!ctl-f2:  runKey(shftAlt-a)>            .. find/replace
  683. ..!ctl-f3:  runKey(shftAlt-l)>            .. repeat  find/replace
  684. ..!ctl-f4:  runKey(shftAlt-i)>            .. goto page
  685. .. ctl-f5: no equal                     .. left margin
  686. ..!ctl-f6:  runKey(altCtl-r)>             .. right margin
  687. ..!ctl-f7:  runKey(altCtl-g)>             .. rough equal to .pm
  688. ..!ctl-f8:  runKey(shftAltCtl-l)>         .. pagebreak
  689. ..!ctl-f9:  runKey(shftAlt-s)>            .. sol
  690. ..!ctl-f10: runKey(shftAlt-d)>            .. eol
  691.  
  692. keypad stuff  (normal arrows already OK)
  693. ..!normal-kp4: moveCursor(curFile,sChar)> .. left char    {--
  694. ..!normal-kp6: moveCursor(curFile,eChar)> .. right char   -->
  695. ..!normal-kp8: moveCursor(curFile,upLine)>        .. upline         ^
  696. ..!normal-kp2: moveCursor(curFile,downLine)>      .. downline       v
  697.  
  698. ..!ctl-rightArrow: runKey(ctl-f)>         .. right word   ^-->
  699. ..!ctl-kp6: runKey(ctl-f)>                .. right word   ^-->
  700. ..!ctl-leftArrow: runKey(ctl-a)>          .. left word    ^{--
  701. ..!ctl-kp4: runKey(ctl-a)>                .. left word    ^{--
  702.  
  703. ..!normal-kp9: runKey(ctl-r)>             .. pageup       PgUp
  704. ..!normal-kp3: runKey(ctl-c)>             .. pagedn       PgDn
  705. ..!normal-kp7: runKey(shftAlt-e)>         .. top screen   Home
  706. ..!normal-kp1: runKey(shftAlt-x)>         .. bot screen   End
  707. ..!ctl-kp9: runKey(ctl-w)>                .. up scroll   ^PgUp
  708. ..!ctl-kp3: runKey(ctl-z)>                .. down scroll ^PgDn
  709. ..!ctl-kp7: runKey(shftAlt-r)>            .. top doc     ^Home
  710. ..!ctl-kp1: runKey(shftAlt-c)>            .. bot doc     ^End
  711.  
  712. ..!normal-kp0: runKey(ctl-v)>             .. ins          Ins
  713.  
  714. ..ctl-kp/: runKey(shftCtl-s) runKey(shftCtl-p)>         ^PrtSc A2000 - future
  715.  
  716.  
  717. If the function keys above are implemented under Ustar, you should 
  718. add these additional commands as well, at a minimum, to replace 
  719. important Ustar Function keys normally used.
  720.  
  721. So can toggle num lock
  722. ..shft?-kp(: .. for A2000 key, once available
  723. ..!shft-kpMinus: flipFlag(curFile,useKeys)  .. use this key for now
  724. if (getFlag(curFile,useKeys)) putMsg("Numeric Keypad")
  725. else putMsg("Cursor Keypad")->
  726.  
  727. Next file F1 function:  (could just use Next Buffer gadget and not use this)
  728. ..!lAmiga-f1: 
  729. getBufNum(n99)  
  730. getMaxFiles(n98)
  731. if (geNum(n99,n98)) {
  732.    editBuf(buf[n82])
  733. }
  734. else {
  735.    toggle(curFile) 
  736.    getBufNum(n82)
  737. }> 
  738.  
  739.  
  740. Compile Cmd F6 replacement:
  741. ..!lAmiga-f6: compile>
  742.  
  743.  
  744. Load Config C-F6 replacement:
  745. ..!lAmiga-f7: if (askYesNo("Load Data File?")) {
  746.    putMsg("Filename (none for Data! or last saved):")
  747.    freeBuf(buf99) inputString(buf99) 
  748.    if (not loadConfig(buf99)) {
  749.       putMsg("ERROR - Couldn't get Data! file.") beepDisplay returnFalse 
  750.    } } >
  751.  
  752.  
  753.  
  754. ----------------------------------------------------------------------------
  755.  
  756. uedifs
  757.  
  758.                      Uedit Compatibility Notes
  759.  
  760. Keys that are still (basically) the same as the standard version Uedit:
  761.  
  762. o    LeftAmiga-esc: STOP process       o    RightAmiga-esc: STOP process         
  763. o    C-mouse:       click-load files   o    mouse-button:  deposit cursor
  764. o    closeBox:      quit gracefully    o    SAC-Z:         Auto-start command
  765. o    gadget1:       next file          o    gadget2:       prev file
  766. o    gadget3:       down scroll        o    gadget4:       up scroll
  767. o    f1:            Next file          o    S-f1:          Prev file
  768. o    f6:            Compile            o    S-f6:          Make command
  769. o    A-f6:          Save Data!         o    C-f6:          Load Data!
  770. o    Help:          Get/clear Help     o    S-help:        Show vals
  771. o    C-help:        Refresh            o    A-help:        Colors
  772. o    A-esc:         Lace color         o    S-esc:         Interlace    
  773. o    Arithmetic commands:  Same keys but Alt prefix instead of Ctl
  774. o    SC-Tab:        Tabs to spaces     o    SA-Tab         Spaces to tabs
  775.  
  776.  
  777. Following are UEdit commands provided in the standard  Uedit  Config!   file,
  778. not being implemented, and not planning to  implement.   Anything  not  noted
  779. here is implemented, though it may be quite different than standard Uedit.  
  780.  
  781. o    Raw reformat command - Ustar version generally safer and better. If need:
  782.           <alt-m: reformat>
  783. o    Restore file - just use ^KD again, last name is retained as default.
  784. o    Free all buffers - too dangerous!
  785. o    Inverted  vs.  hilited - using only hilites, using inverts for finds and
  786.      other uses;  no  need  for uninvert  (search  on  nothing  will  do  if
  787.      necessary).  
  788. o    Insert line above/below current line - why need? use Learn if needed
  789. o    Delete line above/below current line - why need? use Learn if needed
  790. o    Open space in front of word - use ctl-spacebar or plain spacebar
  791. o    Trim spaces between words - use ^T
  792. o    Shift highlight right/left one char. pos'n - why?  See tcmds if need.
  793. o    Open up/Join two lines - use ^N, ^G, ^T..., or Learn, or write cmd.
  794. o    Line up columns - substitute Indent Align or Right-Align or ^T, Learn.
  795. o    Go to line# - not as useful as ^Kn and goto page, which are implemented.
  796.      Can do via Learn mode, or set lines/page to 1 and use goto page ^QI.
  797. o    Delete to top/bottom of screen - see little use; do with Learn or mouse.
  798. o    Gadgets rename - would have to redo commands anyway; set in defaults.
  799. o    Saving of deleted characters - not useful, can almost always figure
  800.      out deleted characters from context.  Words, lines, blocks are saved.
  801. o    Set start of hilite and end of hilite separately with mouse- substitutes.
  802. o    Clear leading white space - not necessary, ^T with Learn will do it.
  803.  
  804.  
  805. ----------------------------------------------------------------------------
  806. usfiles
  807.                              Files/Programs Used
  808.  
  809.  
  810. Program        DOS?      Function       Notes
  811. -------        ----      --------       ------------------------------------
  812. avail          -         AC-kp8         Show system memory
  813. xe             -         ^QM            Calculator
  814. addBeep        -         SA-kp7         beepDisplay gives audio beep
  815. remBeep        -         SA-kp7         beepDisplay give display flash
  816. spell          -         ^QL,^QN,^QO    MicroSpell spelling checker
  817.  
  818. Dir            Y         V-kp4          For ^KF,ctl-mouse  **
  819. List           Y         ESC ? ?        Identifies macro files
  820. Delete         Y         ESC ? macro    Get rid of a macro file,
  821.                          and AC-mouse   Delete a file
  822. Date           Y         ESC @, ESC !   Insert date or time **
  823. Filenote       Y         ESC ? macro    Identifies a macro file
  824. CD             Y         ^KL, ^KF       Change or show current directory
  825. Run            Y         spell,xe,etc.  Run a program without hanging Uedit
  826. Info           Y         ^KF            Device (disk) info
  827.  
  828. All of the above commands will be searched for along the system Path  defined
  829. when Uedit was started up.  Other files described here will need to be in the
  830. current directory.
  831.  
  832. ** If original AmigaDOS 1.2 command not used, changes will need to be made  to
  833. Ustar code for functions to work properly.
  834.  
  835.  
  836. Text Files     Search
  837.                Sequence
  838. ----------
  839. UeRef          CD, s:    A-Q            Uedit command language reference
  840. UstarTutor     CD, s:    A-U            Tutorial on WordStar/Ustar
  841. UstarHelp!     CD, s:    Help           General help
  842. ASCII          CD, s:    SC-Help        ASCII table
  843. UstarKeyHelp   s:        A-T, A-D       Describes keys' actions
  844.  
  845. Spelling Files (used with MicroSpell)
  846. -------------------------------------
  847. dict.dct       CD        ^QL,^QN,^QO    Main dictionary
  848. common.txt     CD              "        Common words
  849.  
  850. Ustar Files
  851. ----------
  852. UstarData! (or Data!)  CD, s:           Configures Uedit to be Ustar
  853. Learn - load file      CD, s:           Learn (Macro) files
  854. Learn - save file      CD                    "
  855. NoName.info            CD?, s:          Template icon to save with files
  856.  
  857. -----------------------------------------------------------------------------
  858.  
  859. dotcmds
  860.  
  861.                          Unimplemented Dot Commands
  862.  
  863. The following dot commands are not supported, but could be relatively easily:
  864.  
  865.  .f#, .h# Multi-line headers/footers .hm, .fm Heading Margin, Footing  Margin
  866.  - rather than specifying where
  867.                in the  margins  the  header  or  footer  should  go,  I  just
  868.                (approximately) center it.
  869.  .pn           Page Number - page number to start at (1 is default)
  870.  .pg           PaGe number default - restores page numbering to default 
  871.  .lm         * Left Margin - use .po instead
  872.  .lq           Letter Quality - (I don't have LQ printer; if you do, use ^PX)
  873.  .sr           Super/Subscript Roll - limited Preferences support;
  874.                use ^PV, ^PT as close substitutes
  875.  .ul           UnderLine, continuous -  ^PS  implements  underlining  through
  876.                Preferences,  which  on  most  printers   will   probably   be
  877.                continuous underlining anyway
  878.  
  879. These are simply not needed:
  880.  .op           Omit Page - there is no default page numbering like WS has, so
  881.                there's no need to turn off default page numbering.
  882.  .pc           Page  #  Column  - no need, is for default page numbering - in
  883.                Ustar, user specifies where in header/footer the page # is.
  884.  .cp         * Conditional Page - it would be a lot of work to add this,  and
  885.                it  isn't really needed since the Preview mode lets you adjust
  886.                page break points as desired.
  887.  
  888. These  would  be  difficult  to  implement  properly,  due  to Amiga or Uedit
  889. limitations:
  890.  .lh         * Line Height - Preferences only supports  1/8"  and  1/6"  line
  891.                heights/spacing,  so  this  would  be  hard to do in a device-
  892.                independent way.
  893.  .ls         * Line Spacing
  894.  .uj           Microjustification - not supported
  895.  .ps           Proportional Spacing - could add Prefs code
  896.  .bn           BiN, sheet feeder change - not supported in Preferences
  897.  .bp           Bidirectional Printing - no Preferences support, no need
  898.  .cw           Character Width - no direct Preferences support;
  899.                use print controls (e.g. ^PA) instead as limited substitute
  900.  
  901.  
  902. These reflect the basic differences between Ustar and WS, not implemented:
  903.  .rm         * Right Margin - user must format doc before printing.
  904.  .aw         *?Alignment/Wordwrap - "
  905.  .oj           Justification -      "
  906.  .pf           Print-time Formatting - "
  907.  .x?           .xw, .xq, .xr, .xe, .xl - temp. redefine 5 ^P commands 
  908.  
  909.  
  910. * In WordStar, these may also affect on-screen document formatting, primarily
  911. page breaks.  This is not true in Ustar.  So, the  following  additional  dot
  912. commands,  which  affect  only on-screen formatting/editing, are likewise not
  913. supported:
  914.  .rr           Read Ruler - tab/margin ruler specified is in effect past this
  915.                point in document
  916.  .pm           Paragraph  Margin  -  number of characters to indent the first
  917.                line of  a  paragraph  upon  reformatting.   (Actually,  could
  918.                implement this).
  919.  
  920.  
  921. Mailmerge in the WordStar way is not supported.  It could be implemented, but
  922. it would be a huge set of commands, and I have never used this feature much.
  923. So, the following dot commands are not implemented:
  924.  .dm           Display Message (e.g. during mail-merge)
  925.  .cs           Clear Screen - ditto
  926.  .fi           File Insert at print time
  927.  .rp           RePeat - print file n times
  928.  
  929.  .sv           Set Variable
  930.  .ma           MAth - Set variable to result of equation
  931.  .av           Ask user for data for Variable
  932.  .rv           Read Variables from data file
  933.  .df           Data File specify for .rv to use
  934.  variables:    &varname& to substitute, various options incl. date, time...
  935.  operators:    usual relational operators
  936.  .if           Conditional print
  937.  .el           ELse - for .if
  938.  .ei           End If - for .if
  939.  .go           Go to top/bottom of document
  940.  .ij           (WS3) Interpret input as Justified
  941.  
  942.  
  943. Indexing  and table of contents through dot commands is not supported, though
  944. it wouldn't be all that difficult to add it, since commands  to  do  indexing
  945. (directly)  are  already present in Ustar.  So, these aren't supported:  
  946.  .ix           Define IndeX entry
  947.  .tc [#]       Define Table of Contents entry, optional table # spec
  948.  
  949.  
  950. ----------------------------------------------------------------------------
  951.  
  952.  
  953.                  Description of Ustar's Reformat command
  954.  
  955. See UstarConfig! for details.
  956. See UstarDoc for definition & examples of delimiter lines.
  957. reformat() here indicates Uedit's reformat function as opposed to Ustar's.
  958.  
  959. Start:
  960.  
  961. If cursor isn't at col. 1, set a flag for outline type formatting.
  962.  
  963. See what kind of line it is - outline type or  paragraph  type.   If  neither
  964. (empty line), go to Exit.
  965.  
  966. Set "bullet-text start" point depending on flag set above and kind of line.
  967.  
  968. Convert any tabs in beginning of line  into  spaces,  for  correct  operation
  969. later.
  970.  
  971. If  outline type, save, then space-fill, the "bullet" area from start of line
  972. to "bullet-text start".
  973.  
  974. If more than one line, match lines to the indent of the first line,  until  a
  975. delimiter line is encountered.  (This is so that  reformat()  won't  stop  on
  976. encountering  different  indents).   Add  an  extra  blank line so reformat()
  977. doesn't run into the delimiter line.  Mark delimiter location.
  978.  
  979. Do main reformat()
  980.  
  981. If a paragraph, and not auto-indent mode, do additional formatting:  separate
  982. subsequent lines from the  first  line  of  the  paragraph,  reformat()  this
  983. section of lines (so they will now wrap to column 1), then put back together.
  984. This corrects formatting for paragraphs with an indented first line.
  985.  
  986. If an outline type item, restore the "bullet" area saved previously, and
  987. also clear hilited area caused by UE column copy function.
  988.  
  989.  
  990. Exit:
  991. If normal processing occurred, and was not a bulleted item, remove blank line
  992. added  at  delimiter  location.   Set  cursor, turn off invert, and put out a
  993. message. Return true unless at end of file.
  994.  
  995.                              ---------------
  996.  
  997. Bugs:  If a reformat() results in a last line (of the reformatted block) that
  998. ends exactly one character past line length, then it will  not  wrap  to  the
  999. next  line,  leaving  said  character  sticking  into the margins like a sore
  1000. thumb.  No fix known.
  1001.  
  1002.  
  1003. ----------------------------------------------------------------------------
  1004.