home *** CD-ROM | disk | FTP | other *** search
/ The CDPD Public Domain Collection for CDTV 2 / CDPD_II_2352.bin / applications / uedit / config! < prev    next >
Text File  |  1992-01-01  |  22KB  |  590 lines

  1. -----------------------------------------------------------------------------
  2. |                              Config!                                        |
  3. |         Copyright (C) 1986-92 Rick Stiles.  All rights reserved.            |
  4. -----------------------------------------------------------------------------
  5.  
  6. This file defines all of Uedit's default settings and menus.  If you edit
  7. Config! and want to make a new Data! file, type "Run UE -c" in CLI.
  8. Config!H, M, P, R, S, and Z define the commands Uedit uses.
  9.  
  10. If you create a new config such as "NewConfig", you can make Uedit compile it
  11. by typing "UE -cNewConfig" in CLI.  On the "Save new Data?" question,
  12. selecting Yes writes a new Data! file.
  13.  
  14.                                    *****
  15. Edit the contents of each set of angle brackets, but leave the angle-brackets
  16. intact:
  17.  
  18. (To recompile these defaults anytime, select "Cfg defalts" in the menu.)
  19.  
  20. (Unless told otherwise, use 0 for "no" or 1 for "yes".)
  21.  
  22. <1>     Make Key-Help file during this compile.  (For "TEACH KEYS" in menu.)
  23.         (NOTE:  If you want to create a new Key-Help facility, you should set
  24.         this flag to 1.  Startup compile is much faster when it's 0, however.)
  25.  
  26. <S:Key-Help>  Name of Key-Help file to create or look for.  19 chars max.
  27.  
  28. <1>     Show cursor during compile of this configuration.  Slower, if show.
  29.  
  30. <RAM:uejunk>  Name for temporary file when one is needed.  19 chars max.
  31.  
  32. <clean> Font name (19 chars max).
  33. <8>     Font pixel height ( >= 8).
  34.  
  35. <27>    Primitive Mode (pmESC) terminator character.
  36.  
  37. <0>     User global flag A.  Any integer value.
  38. <0>     User global flag B.  Any integer value.
  39. <0>     Columnar display mode
  40. <0>     Cram display mode
  41. <0>     Show page-row-column
  42.  
  43. <0>     Mark gadgets
  44. <0>     Interlace/bitplanes. 0-3.
  45. <1>     Show invisibles
  46. <1>     Show busies
  47. <0>     Teach keys mode
  48.  
  49. <20>    Maximum files to edit.  1-100.
  50. <0>     Make icons
  51. <0>     Search/grep case-sensitive flag
  52. <?>     Search single wildcard.      Printable character.
  53. <$>     Search either-or delimiter.  Printable character.
  54.  
  55. <*>     Search multi wildcard.       Printable character.
  56. <~>     Search all-but delimiter.     Printable character.
  57. <0>     White allowed under single wildcard: 0=no, 1=space/tab, 2=any white.
  58. <0>     White allowed under multi wildcard: 0=no, 1=space/tab, 2=any white.
  59. <75>    Percent offset for submenus.  0-100 percent.
  60.  
  61. <0>     RESERVED  (l)
  62. <0>     RESERVED  (m)
  63. <0>     Speak requester alerts
  64. <0>     Speak messages
  65. <0>     Print tabs (if 0, tabs are converted to spaces during print)
  66.  
  67. <1>     Smart tabs (don't convert tabs if inside quotes)
  68. <1>     Screen type, 0=Workbench type, 1= Custom type
  69. <0>     Use printable keys for typing, disabling any commands on them.
  70. <0>     Printer selection.  0=par:, 1=ser:, 2=prt:, 3=prt: (raw).
  71. <100>    Idle-time (tenths of seconds) after which time idle cmd is run. 1-32767
  72.  
  73. <0>     Hide display.
  74. <1>     Scroll type: 0 = show colors, 1 = faster
  75. <0>     Trap menus to use menu mouse button as a key
  76. ..<640> Screen width in pixels (640-1064)
  77. ..<200> Screen height in pixels (gets auto-doubled for LACE) (200-1064)
  78. <740>    Screen width in pixels (640-1064)
  79. <244>    Screen height in pixels (gets auto-doubled for LACE) (200-1064)
  80.  
  81. <0>     Task priority when in tiny window (-128 to 127)
  82. <0>     Reserved    (capsLock)
  83. <0>     Reserved    (clickTime)
  84. <0>     User global flag C.  Any integer value.
  85. <1>     User global flag D.  Any integer value.
  86.  
  87. <0>     Put in tabs, not spaces, when tab key pressed.
  88. <1>     Autoindent mode
  89. <0>     Overstrike mode
  90. <0>     Autobackup mode
  91. <0>     RESERVED  (r)
  92.  
  93. <1>     Wordwrap mode
  94. <0>     Rightjustify mode
  95. <1>     Map illegal chars (ASCII 0-3) to table values.  (See table below.)
  96. <0>     RESERVED  (c)
  97. <0>     User local flag A
  98.  
  99. <0>     User local flag B
  100. <4>     Tab ruler to use.    0-4.  (See ruler tables below.)
  101. <77>    Line-length.  1-9999.
  102. <5>     Split window size in lines.  2-100, up to max lines in window.
  103. <0>     Left margin.    0-255.
  104.  
  105. <0>     top margin.     0-255.
  106. <1>     bottom margin.  0-255.
  107. <66>    lines/page.     1-255.
  108. <10>    End-of-line char.  10 = Newline, 13 = Carriage Return.
  109.  
  110. These are the 5 TAB rulers.  There can be up to 32 column-entries in each tab
  111. ruler.  The highest column is 255.  The lowest is 2.  In Uedit, to change
  112. tab rulers, select "Tab ruler".  To see the settings, select "See ruler".
  113. To adjust the tabs, select "Set ruler".
  114.  
  115. <7 13 19 25 31>     Tab ruler 0.
  116. <9 17 25 33 41 49>  Tab ruler 1.
  117. <11 21 31 41 51 61
  118. 71 81>              Tab ruler 2.
  119. <>                  Tab ruler 3.
  120. <5 9 13 17 21 25 29
  121. 33 37 41 45 49 53 57
  122. 61 65 69 73 77 81 > Tab ruler 4.
  123.  
  124. Uedit uses ASCII characters 0-3 internally for markers.  Files cannot
  125. legally contain these characters.  If the above "Map illegal chars" flag
  126. is not set, any illegal characters (ASCII 0-3) are replaced by "@" upon
  127. loading the file.  If "Map illegal chars" is set, illegal chars are mapped
  128. to the "safe" chars given below upon loading the file.  Upon saving the
  129. file, the chars are remapped back into their old ASCII 0-3 values:
  130.  
  131. <128>    map ASCII 0  Values must be 128-255.
  132. <129>    map ASCII 1
  133. <130>    map ASCII 2
  134. <131>    map ASCII 3
  135.  
  136. Printable key arrays:  DON'T TOUCH, unless you know what you are doing!
  137. These are 4 translation tables which convert raw keystrokes into printable
  138. characters.  (See Rom Kernal Manual, Volume 1, page 3-81.)  There must be 64
  139. characters in each row of these tables.  Use OVERSTRIKE typing mode when
  140. modifying these 4 tables, in order to avoid trouble:
  141.  
  142. Normal and SHIFT keys:
  143. Unused -->     U             U    EUROPE--> EE   U          U
  144. <`1234567890-=\ 0qwertyuiop[] 123asdfghjkl;'  456 zxcvbnm,./ .789>
  145. <~!@#$%^&*()_+| 0QWERTYUIOP{} 123ASDFGHJKL:"  456 ZXCVBNM<>? .789> .."
  146.  
  147. ALT and SHIFT+ALT keys:  (Put foreign letters in these 2 arrays.)
  148. Keypad keys --> K           KKKKKK              KKK             KKKK     "
  149. <`¹²³¢¼½¾·«»-=\  å°©®þ¤µ¡ø¶      æßð     £;'      ±×窺­¸,./     > ..
  150. <~!@#$%^&*()_+|  Å°©®Þ¥µ¦Ø¶      Æ§Ð     £;'      ¬×Ǫº¯¸,./     > .."
  151.  
  152. Colors:  (values must be 0-3, corresponding to RGB color #s)
  153.                                 fg        bg
  154.     ((local colors for buffers))
  155.     0  normal text              <1>      <0>
  156.     1  cursor                    <1>      <2>
  157.     2  hilite                    <1>      <3>
  158.     3  cursor+hilite            <3>      <1>
  159.     4  inverse                  <0>      <1>
  160.     5  cursor+inverse            <0>      <2>
  161.     6  hilite+inverse            <3>      <1>
  162.     7  cursor+hilite+inverse    <0>      <3>
  163.     ((screen colors))
  164.     8  title bar                <1>      <3>
  165.     9  msg line                 <2>      <0>
  166.     10 menus                    <1>      <3>
  167.     11 tab ruler                <1>      <2>
  168.     12 requester                <1>      <2>
  169.     13 formfeed                 <1>      <2>
  170.     14 spare1                    <0>      <1>
  171.     15 spare2                    <0>      <2>
  172.  
  173. RGB colors:  (Range is 0-15.)
  174. Red     Green    Blue
  175. <0>     <5>     <10>    Register 0
  176. <15>    <15>    <15>    Register 1
  177. <15>    <9>     <0>     Register 2
  178. <0>     <9>     <15>    Register 3
  179. or these ...
  180. ..<11>  <11>    <0>     Register 0
  181. ..<0>    <0>     <0>     Register 1
  182. ..<15>  <15>    <15>    Register 2
  183. ..<15>  <8>     <0>     Register 3
  184. or these ...
  185. ..<0>    <5>     <10>    Register 0
  186. ..<15>  <15>    <15>    Register 1
  187. ..<15>  <10>    <0>     Register 2
  188. ..<10>  <5>     <5>     Register 3
  189.  
  190. Gadget Names in the message line.  19 chars max:
  191.  
  192. <Next File/MARK>        Name for gadget 1
  193. <Prev File/MARK>        Name for gadget 2
  194. <Down/SET MARK>         Name for gadget 3
  195. <Up/INIT MARKS>         Name for gadget 4
  196.  
  197.                                    *****
  198.  
  199. Everything from here onward is menu selections or commands.  (Also see
  200. Config!H, M, P, R, S, and Z.)
  201.  
  202. Keep a backup copy of the original, if you change this file.
  203.  
  204. It's a good idea to include the following 2 commands first thing after the
  205. config defaults above.  That way, if a compile-error occurs during startup-
  206. compile, you can fix the error easily using mouse-scrolling and f6.
  207.  
  208. *************************************
  209. N-variables used:    n0-n4    scratch numbers
  210.  
  211. Buffers used:        buf50    scratch buffer
  212.  
  213. *************************************
  214.  
  215. <defines:
  216. define(N_0 ,n0)
  217. define(N_1 ,n1)
  218. define(N_2 ,n2)
  219. define(N_3 ,n3)
  220. define(N_4 ,n4)
  221. define(B_0,buf50)
  222. >
  223. Compile command at or following cursor
  224. <normal-f6: if (not compile(curFile)) { beepDisplay returnFalse } >
  225.  
  226. Place cursor or scroll if button held; hilite with double click
  227. <normal-buttonDown:                    .. This cmd was created by  Ken Perano
  228.     if (eqLoc(curFile,atCursor,mouseLoc) & geNum(40,clickTime) ) {
  229.                                       .. (0.40 sec) double-clicked, so hilite
  230.         equateLoc(curFile,locA,mouseLoc)  .. save cur cursor location in locA
  231.         getSplitLines(N_2,N_3)               .. determine row range of window
  232.         getFont(B_0,N_1,N_4)                    .. N_4 = character height
  233.         add(N_2,N_2,2)                                      .. top row number
  234.         add(N_3,N_3,2)                                   .. bottom row number
  235.         mul(N_2,N_2,N_4)                            .. N_2 = top pixel number
  236.         mul(N_3,N_3,N_4)                         .. N_3 = bottom pixel number
  237.  
  238.         if (not mouseDown) return
  239.         while (not inputWaiting) {
  240.             trackMouse
  241.             if (gtLoc(curFile,locA,mouseLoc)) {   .. update Hilite definition
  242.                 equateLoc(curFile,sHilite,mouseLoc)
  243.                 equateLoc(curFile,eHilite,locA)
  244.             } else {
  245.                 equateLoc(curFile,eHilite,mouseLoc)
  246.                 equateLoc(curFile,sHilite,locA)
  247.             }
  248.             mouseXY(N_4,N_0)     .. scroll only if mouse is in scroll regions
  249.             if (geNum(N_0,N_3)) {                 .. mouse at bottom of screen
  250.                 vscroll(2)                         .. speed up this direction
  251.                 updateDisplay
  252.             } else if (geNum(N_2,N_0)) {            .. mouse at top of screen
  253.                 vscroll(-1)
  254.                 updateDisplay
  255.             } else                                           .. do not scroll
  256.             refreshDisplay
  257.         }
  258.         equateLoc(curFile,atCursor,sHilite)        .. cleanup work on mouseup
  259.         refreshDisplay
  260.         .. runKey(normal-kpDot)                 .. auto-copy Hilite to buffer
  261.     } else {                                    .. standard scrolling feature
  262.         moveCursor(curFile,mouseLoc)
  263.         updateDisplay
  264.         mouseXY(N_1,N_2)
  265.         if (not mouseDown) return
  266.         while (not inputWaiting) {
  267.             trackMouse
  268.             mouseXY(N_3,N_4)
  269.             sub(N_4,N_4,N_2)
  270.             div(N_4,N_4,5)       ..  could increase 5 to decrease sensitivity
  271.             vscroll(N_4)                            ..  multi-speed scrolling
  272.             updateDisplay
  273.         }
  274.     }
  275. >
  276.  
  277. <alt-f4: quit(10) > ..ABORT Uedit
  278.  
  279. ((See Startup Key and Menus in the Manual.  Also see Menus and Buffer Names.))
  280.  
  281. <startup:
  282. menu("Files","",1,normal-f1)
  283.     menu("Next file      f1","",1,normal-f1)
  284.     menu("Prev file    S-f1","",1,shft-f1)
  285.     menu("Next Favorite L-q","",1,lAmiga-q)
  286.     menu("List files C-gad2","",1,ctl-gadget2)
  287.     menu("Open             ","",1,alt-f1)
  288.  SUBmenu("Open         A-f1","",1,alt-f1)
  289.  SUBmenu("Multi files SAC-z","",1,shftAltCtl-z)
  290.  SUBmenu("File request L-f1","",1,lAmiga-f1)
  291.  SUBmenu("New file     C-f1","",1,ctl-f1)
  292.  SUBmenu("Insert file SA-f1","",1,shftAlt-f1)
  293.  SUBmenu("Restore     SC-f1","",1,shftCtl-f1)
  294.  SUBmenu("Rename        A-n","",1,alt-n)
  295.     menu("Save             ","",1,normal-f2)
  296.  SUBmenu("Save           f2","",1,normal-f2)
  297.  SUBmenu("Save changes A-f2","",1,alt-f2)
  298.  SUBmenu("Save as...   S-f2","",1,shft-f2)
  299.  SUBmenu("Save hilite SC-f2","",1,shftCtl-f2)
  300.  SUBmenu("Abort save  SA-f2","",1,shftAlt-f2)
  301.  
  302.     menu("Close            ","",1,normal-f3)
  303.  SUBmenu("Close          f3","",1,normal-f3)
  304.  SUBmenu("Auto-close   S-f3","",1,shft-f3)
  305.     menu("Quit             ","",1,normal-f4)
  306.  SUBmenu("Quit           f4","",1,normal-f4)
  307.  SUBmenu("Auto-quit    S-f4","",1,shft-f4)
  308.  SUBmenu("ABORT Uedit! A-f4","",1,alt-f4)
  309.     menu("AmigaDOS         ","",1,ctl-y)
  310.  SUBmenu("AmigaDOS      C-y","",1,ctl-y)
  311.  SUBmenu("DOS + result  C-z","",1,ctl-z)
  312.  SUBmenu("Directory     A-z","",1,alt-z)
  313.  SUBmenu("CD (Chg dir) AC-z","",1,altCtl-z)
  314.     menu("About...         ","Uedit...",1,shftAltCtl-a)
  315.  
  316. menu("Search","",2,normal-f1)
  317.     menu("Search           ","",2,normal-f9)
  318.  SUBmenu("Search fwd     f9","",2,normal-f9)
  319.  SUBmenu("Search bkwd  S-f9","",2,shft-f9)
  320.  SUBmenu("AllFile srch A-f9","",2,alt-f9)
  321.  SUBmenu("Set search     f7","",2,normal-f7)
  322.     menu("Replace          ","",2,normal-f10)
  323.  SUBmenu("Replace fwd   f10","",2,normal-f10)
  324.  SUBmenu("Rpl all fwd A-f10","",2,alt-f10)
  325.  SUBmenu("Rpl bkwd    S-f10","",2,shft-f10)
  326.  SUBmenu("AllFile Rpl C-f10","",2,ctl-f10)
  327.  SUBmenu("AllAll Rpl SA-f10","",2,shftAlt-f10)
  328.  SUBmenu("Set replace    f8","",2,normal-f8)
  329.     menu("Settings         ","",2,ctl-8)
  330.  SUBmenu("Wildcards    A-f7","",2,alt-f7)
  331.  SUBmenu("Either-or    C-f7","",2,ctl-f7)
  332.     menu("Grep             ","",2,lAmiga-f9)
  333.  SUBmenu("Grep fwd     L-f9","",2,lAmiga-f9)
  334.  SUBmenu("Grep bkwd    R-f9","",2,rAmiga-f9)
  335.  SUBmenu("Set Grep     L-f7","",2,lAmiga-f7)
  336.  SUBmenu("Grep repl-> L-f10","",2,lAmiga-f10)
  337.  SUBmenu("Grep repl<- R-f10","",2,rAmiga-f10)
  338.     menu("Bookmarks        ","",2,shft-gadget1)
  339.  SUBmenu("Click mark S-gad1","",2,shft-gadget1)
  340.  SUBmenu("Next mark  S-gad2","",2,shft-gadget2)
  341.  SUBmenu("Set mark   S-gad3","",2,shft-gadget3)
  342.  SUBmenu("Init marks S-gad4","",2,shft-gadget4)
  343.  
  344. menu("Buffers","",3,normal-f1)
  345.     menu("Buffers          ","",3,alt-w)
  346.     SUBmenu("History       R-2","",3,rAmiga-2)
  347.     SUBmenu("Swap buf #0   A-w","",3,alt-w)
  348.     SUBmenu("Swap buf #41  C-w","",3,ctl-w)
  349.     SUBmenu("See buffers SC-f6","",3,shftCtl-f6)
  350.     SUBmenu("Edit buffer SA-f6","",3,shftAlt-f6)
  351.     SUBmenu("Free buffers A-f3","",3,alt-f3)
  352.     SUBmenu("Push buffer   L-w","",3,lAmiga-w)
  353.     SUBmenu("Pop buffer    R-w","",3,rAmiga-w)
  354.     SUBmenu("Roll stack   SA-w","",3,shftAlt-w)
  355.        menu("Data file        ","",3,alt-f6)
  356.     ..SUBmenu("UStar            ","",3,virtual-u)
  357.     ..SUBmenu("Directory Utility","",3,virtual-d)
  358.     ..SUBmenu("Regular UE data  ","",3,virtual-e)
  359.     SUBmenu("Save data    A-f6","",3,alt-f6)
  360.     SUBmenu("Load data    C-f6","",3,ctl-f6)
  361.        menu("Compile          ","",3,normal-f6)
  362.     SUBmenu("Compile        f6","",3,normal-f6)
  363.     SUBmenu("Cfg defalts AC-f6","",3,altCtl-f6)
  364.     SUBmenu("Make command S-f6","",3,shft-f6)
  365.        menu("Keys             ","",3,normal-f5)
  366.     SUBmenu("Swap keys      f5","",3,normal-f5)
  367.     SUBmenu("Swap mouseUp  A-m","",3,alt-m)
  368.     SUBmenu("Kill key   SAC-f6","",3,shftAltCtl-f6)
  369.     SUBmenu("Find key     L-f6","",3,lAmiga-f6)
  370.     SUBmenu("In-use table  R-1","",3,rAmiga-1)
  371.     SUBmenu("Save key      R-8","",3,rAmiga-8)
  372.     SUBmenu("Restore Key   R-9","",3,rAmiga-9)
  373.        menu("Learn            ","",3,ctl-s)
  374.     checkedSUBmenu("  Start learn C-s","",3,ctl-s,learnMode)
  375.     SUBmenu("End/Run learn C-r","",3,ctl-r)
  376.     SUBmenu("Save learn    C-5","",3,ctl-5)
  377.     SUBmenu("Load learn    C-6","",3,ctl-6)
  378.     SUBmenu("Load & run    C-7","",3,ctl-7)
  379.        menu("Save state   R-f5","",3,rAmiga-f5)
  380.        menu("Load state   R-f6","",3,rAmiga-f6)
  381.        menu("Name gadget C-esc","",3,ctl-esc)
  382.        menu("Speak hilite  A-s","",3,alt-s)
  383.  
  384. menu("Edits","",4,normal-f1)
  385.        menu("Folds            ","",4,lAmiga-\)
  386.     SUBmenu("Fold          R-\\","",4,rAmiga-\)
  387.     SUBmenu("Set fold      L-\\","",4,lAmiga-\)
  388.        menu("Cut&Paste Hilite ","",4,normal-kpDot)
  389.     SUBmenu("Copy          kp.","",4,normal-kpDot)
  390.     SUBmenu("Cut           kp-","",4,normal-kpMinus)
  391.     SUBmenu("Paste     kpEnter","",4,normal-kpEnter)
  392.     SUBmenu("Clear         C-h","",4,ctl-h)
  393.     menu("Cut&Paste Invert ","",4,ctl-kpDot)
  394.     SUBmenu("I-Copy      C-kp.","",4,ctl-kpDot)
  395.     SUBmenu("I-Cut       C-kp-","",4,ctl-kpMinus)
  396.     SUBmenu("I-Paste C-kpEnter","",4,ctl-kpEnter)
  397.     SUBmenu("I-Clear       C-i","",4,ctl-i)
  398.     menu("Columnar         ","",4,shftCtl-1)
  399.     SUBmenu("Col Cut      SC-1","",4,shftCtl-1)
  400.     SUBmenu("Col Erase    SC-2","",4,shftCtl-2)
  401.     SUBmenu("Col Copy     SC-3","",4,shftCtl-3)
  402.     SUBmenu("Col Insert   SC-4","",4,shftCtl-4)
  403.     SUBmenu("Col Overlay  SC-5","",4,shftCtl-5)
  404.     SUBmenu("Ins Hil->Csr SC-6","",4,shftCtl-6)
  405.     SUBmenu("Ovl Hil->Csr SC-7","",4,shftCtl-7)
  406.        menu("Text reformats   ","",4,ctl-3)
  407.     SUBmenu("Paragraph     C-3","",4,ctl-3)
  408.     SUBmenu("Del white-spc C-4","",4,ctl-4)
  409.     SUBmenu("Tabs->spaces  L-t","",4,lAmiga-t)
  410.     SUBmenu("Spaces->tabs  R-t","",4,rAmiga-t)
  411.        menu("Printing         ","",4,alt-p)
  412.     SUBmenu("Print select  A-p","",4,alt-p)
  413.     SUBmenu("Print hilite  C-p","",4,ctl-p)
  414.     SUBmenu("Print file   AC-p","",4,altCtl-p)
  415.     SUBmenu("Restart print L-s","",4,lAmiga-s)
  416.     SUBmenu("Abort print   L-a","",4,lAmiga-a)
  417.     SUBmenu("Stop all prts R-a","",4,rAmiga-a)
  418.     SUBmenu("Code help   SAC-p","",4,shftAltCtl-p)
  419.     SUBmenu("Bracket hiliteL-p","",4,lAmiga-p)
  420.     SUBmenu("Find code     R-g","",4,rAmiga-g)
  421.     SUBmenu("Embed code    L-g","",4,lAmiga-g)
  422.     SUBmenu("Type formfeed L-f","",4,lAmiga-f)
  423.        menu("Paging           ","",4,alt-3)
  424.     SUBmenu("Go to page #  A-3","",4,alt-3)
  425.     SUBmenu("Top of page   L-h","",4,lAmiga-h)
  426.     SUBmenu("Bottom page   L-b","",4,lAmiga-b)
  427.     SUBmenu("Divide page   L-v","",4,lAmiga-v)
  428.     SUBmenu("Auto page div L-r","",4,lAmiga-r)
  429.     SUBmenu("Del page div  L-d","",4,lAmiga-d)
  430.     SUBmenu("Del page #    L-y","",4,lAmiga-y)
  431.        menu("Spelling         ","",4,rAmiga-u)
  432.     SUBmenu("Load speller  R-u","",4,rAmiga-u)
  433.     SUBmenu("Check fwd     R-c","",4,rAmiga-c)
  434.     SUBmenu("Chk&mark fwd  R-m","",4,rAmiga-m)
  435.     SUBmenu("Chk & collect R-l","",4,rAmiga-l)
  436.     SUBmenu("Merge w/ dict R-d","",4,rAmiga-d)
  437.     SUBmenu("Del from dict R-e","",4,rAmiga-e)
  438.     SUBmenu("Free Speller  R-f","",4,rAmiga-f)
  439.        menu("Rexx             ","",4,altCtl-1)
  440.     SUBmenu("Ed out buf62 AC-1","",4,altCtl-1)
  441.     SUBmenu("Ed in buf61  AC-2","",4,altCtl-2)
  442.     SUBmenu("Buf62->Rexx  AC-3","",4,altCtl-3)
  443.     SUBmenu("Buf61<-Rexx  AC-4","",4,altCtl-4)
  444.     SUBmenu("hilite->Rexx AC-5","",4,altCtl-5)
  445.     SUBmenu("Cursor<-Rexx AC-6","",4,altCtl-6)
  446.     SUBmenu("Reply OKAY-> AC-7","",4,altCtl-7)
  447.     SUBmenu("Reply text-> AC-8","",4,altCtl-8)
  448.     SUBmenu("Make x.rexx  AC-0","",4,altCtl-0)
  449.  
  450. menu("Modes","",5,normal-f1)
  451.               menu("Hyper Text R-gad1","",5,rAmiga-gadget1)
  452.               menu("Teach Keys       ","",5,ctl-help)
  453.     checkedSUBmenu("  Tch mode C-help","",5,ctl-help,teachKeys)
  454.            SUBmenu("Teach one     C-t","",5,ctl-t)
  455.               menu("Local modes  S-f5","",5,shft-f5)
  456.               menu("Global modes  C-g","",5,ctl-g)
  457.  
  458. menu("Numbers","",6,normal-f1)
  459.        menu("Show vals  S-help","",6,shft-help)
  460.     menu("Tab ruler        ","",6,shftAlt-tab)
  461.     SUBmenu("See ruler  SA-tab","",6,shftAlt-tab)
  462.     SUBmenu("Set ruler  SC-tab","",6,shftCtl-tab)
  463.     SUBmenu("Tab ruler SAC-tab","",6,shftAltCtl-tab)
  464.        menu("Line-Page        ","",6,ctl-return)
  465.     SUBmenu("Line length C-rtn","",6,ctl-return)
  466.     SUBmenu("Lines/page    A-g","",6,alt-g)
  467.     SUBmenu("Left margin   L-k","",6,lAmiga-k)
  468.     SUBmenu("Top margin    L-u","",6,lAmiga-u)
  469.     SUBmenu("Bottom margin L-l","",6,lAmiga-l)
  470.     SUBmenu("End of line   C-e","",6,ctl-e)
  471.        menu("Command mult  C-m","",6,ctl-m)
  472.        menu("Max files   AC-f1","",6,altCtl-f1)
  473.        menu("Idle timer  SAC-i","",6,shftAltCtl-i)
  474.        menu("PM terminator ESC","",6,normal-esc)
  475.        menu("File size     C-1","",6,ctl-1)
  476.  
  477. menu("Display","",7,normal-f1)
  478.     menu("Help         Help","",7,normal-help)
  479.     menu("Apropos       R-5","",7,rAmiga-5)
  480.     menu("Colors     A-help","",7,alt-help)
  481.     menu("RGB colors       ","",7,alt-esc)
  482.  SUBmenu("Tune RGB    A-esc","",7,alt-esc)
  483.  SUBmenu("Color set 1      ","",7,lamiga-esc)
  484.  SUBmenu("Color set 2      ","",7,ramiga-esc)
  485.  SUBmenu("Color set 3      ","",7,virtual-esc)
  486.     menu("Set font     SA-f","",7,shftAlt-f)
  487.     menu("Split windows    ","",7,lAmiga-9)
  488.  SUBmenu("Next split    L-9","",7,lAmiga-9)
  489.  SUBmenu("Drop split    L-0","",7,lAmiga-0)
  490.  SUBmenu("Split lines   L-8","",7,lAmiga-8)
  491.  SUBmenu("Mouse size    L-=","",7,lAmiga-=)
  492.  SUBmenu("Curr buf      L-c","",7,lAmiga-c)
  493.  SUBmenu("Undo buf      L-1","",7,lAmiga-1)
  494.  SUBmenu("Search buf    L-2","",7,lAmiga-2)
  495.  SUBmenu("Replac buf    L-3","",7,lAmiga-3)
  496.  SUBmenu("Hilite buf    L-4","",7,lAmiga-4)
  497.  SUBmenu("Invert buf    L-5","",7,lAmiga-5)
  498.  SUBmenu("Columnar      L-6","",7,lAmiga-6)
  499.  SUBmenu("Directories   L-7","",7,lAmiga-7)
  500.     menu("Screen size  L-f2","",7,lAmiga-f2)
  501.     menu("Lace/planes      ","",7,shft-esc)
  502.  SUBmenu("Toggle      S-esc","",7,shft-esc)
  503.  SUBmenu("Reg 1 plane  R-f1","",7,rAmiga-f1)
  504.  SUBmenu("Reg 2 planes R-f2","",7,rAmiga-f2)
  505.  SUBmenu("Lace 1 plane R-f3","",7,rAmiga-f3)
  506.  SUBmenu("Lace 2 plane R-f4","",7,rAmiga-f4)
  507.     menu("Refresh   SC-help","",7,shftCtl-help)
  508.     menu("Do menus SAC-help","",7,shftAltCtl-help)
  509.     menu("Unhilite      A-h","",7,alt-h)
  510.     menu("Uninvert      A-i","",7,alt-i)
  511.  
  512.     nameBuffer(37,"Copied Columnar")
  513.     nameBuffer(38,"S:Directories")
  514.     nameBuffer(42,"Help!")
  515.     nameBuffer(45,"Scratch Deletes")
  516.     nameBuffer(46,"Copied Invert")
  517.     nameBuffer(47,"Copied Hilite")
  518.     nameBuffer(48,"Replace String")
  519.     nameBuffer(49,"Search String")
  520.     nameBuffer(61,"Rexx Msg/Reply IN")
  521.     nameBuffer(62,"Rexx Msg/Reply OUT")
  522.     ..refreshdisplay
  523.     runKey(shftAltCtl-a)
  524.     runKey(shftAltCtl-z)
  525.     ..toggle(toTiny)
  526.         >
  527.  
  528.                                    *****
  529. Here is a description of how buffers are used in the config files.  If you
  530. make changes which involve buffers, you should follow the convention in this
  531. list:  (You can change this convention entirely, of course.)
  532.  
  533. buf65-99 = available for user commands
  534.     (the buf99 buffer stack is used for scratch stacking, but the variable
  535.     buf99 is not in use anywhere)
  536. buf50-59 = used for temporary purposes in commands
  537.  
  538. buf36 = holds REXXCOMM File for Rexx interface
  539. buf37 = copied columnar data
  540. buf38 = directory names
  541. buf39 = used for result of AmigaDOS commands (if result selected)
  542. buf40 = used for AmigaDOS commands
  543. buf41 = used in buffer swapping command, ctl-w
  544. buf42 = holds Help, if loaded
  545. buf43 = document names
  546. buf44 = make-command buffer
  547. buf45 = holds scratch deletes for Undo, keypad-0
  548. buf46 = copied invert
  549. buf47 = copied hilite
  550. buf48 = replace string
  551. buf49 = search or grep string
  552. buf60 = names of bookmarks (see Config!H) (n94 stores bookmark #)
  553. buf61 = Rexx msg/reply input buffer
  554. buf62 = Rexx msg/reply output buffer
  555. buf63 = hyper text filename
  556. buf64 = hyper text tablename
  557.  
  558. Number variable usage in the config files is as follows:
  559.  
  560. n30-n99 = available for use commands
  561.     (the n99 number stack is used for scratch stacking, but the variable n99
  562.     is not in use anywhere)
  563. n0-n19 = scratch variables, used everywhere for temporary purposes
  564.  
  565. n20 = delay time
  566. n21 = arithmetic total
  567. n22 = #cycles in cycle counter
  568. n23 = macroNum to be run in cycle counter
  569. n24 = split window size for hyper text
  570. n25 = hyper word index value
  571. n26 = used by rexx
  572. n27 = action/result
  573. n28 = rexx flag
  574. n29 = rexx return code
  575.  
  576. ....................
  577. The above is just the initial stuff in Uedit's standard config.  The
  578. following are extensions for Config! and should be included with it:
  579.  
  580.     Config!H - hyper text, grep, bookmark commands
  581.     Config!M - miscellaneous commands
  582.     Config!P - printing commands
  583.     Config!R - ARexx-interface commands
  584.     Config!S - spell-checking commands
  585.     Config!Z - new and updated commands
  586.  
  587. When you compile Config! with Uedit using "Run UE -c", the extension files
  588. are pulled in automatically.
  589. ....................
  590.