home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 141.lha / Uedit_v2.3 / Config! < prev    next >
Text File  |  1986-11-20  |  16KB  |  402 lines

  1. -----------------------------------------------------------------------------
  2. |                           Config!  V2.3                                   |
  3. |        Copyright (C) 1986-87 Rick Stiles.  All rights reserved.           |
  4. ----------------------------------------------------------------------------
  5.  
  6. Config! defines Uedit's start-up settings and commands.  Config! must be in
  7. S: or in your current directory.
  8.  
  9. If you edit Config! and want to make a new Data! file, type "Run UE -c" in
  10. CLI.  (Or you can rename S:Data! or delete it, and Uedit will be forced to
  11. compile Config! next time.)
  12.  
  13. If you create a new config such as "NewConfig", you can make Uedit compile it
  14. by typing "UE -cNewConfig" in CLI.  On the "Save new Data?" question,
  15. selecting Yes will replace Data!.  Selecting No will preserve the old Data!. 
  16. Once inside Uedit, you can select "Save data" and save it under a new name
  17. like "NewData".
  18.  
  19. To make Uedit use NewData next time, type "UE -dNewData" in CLI.  To make it
  20. your standard data file, rename it to Data! or S:Data!.
  21.  
  22.  
  23.                                    *****
  24. Edit the contents of each set of angle brackets, but leave the angle-brackets
  25. as they are:
  26.  
  27. (To recompile these defaults anytime, select "Cfg defalts" in the menu.)
  28.  
  29. (Unless told otherwise, use 0 for "no" or 1 for "yes".)
  30.  
  31. <1>     make Key-Help file during this compile.  (For "TEACH KEYS" in menu.)
  32.         (NOTE:  Unless you need the Key-Help facility, you should set this
  33.         flag to 0.  The compile will go much faster.)
  34. <Key-Help>  name of Key-Help file (1-19 characters.)
  35.  
  36. <0>     show cursor during compile of this configuration (slower, if show)
  37.  
  38. <0>     user global flag A:  Any integer value
  39. <0>     user global flag B:  Any integer value
  40. <0>     columnar display mode
  41. <0>     cram display mode
  42. <1>     show row-column
  43.  
  44. <1>     mark gadgets
  45. <0>     interlace screen
  46. <1>     show invisibles
  47. <0>     show busies
  48. <0>     key-help mode
  49.  
  50. <5>     maximum files to edit:  1-100
  51. <0>     make icons
  52. <0>     search case-sensitive
  53. <?>     search wildcard  (printable character)
  54. <$>     search either-or delimiter  (printable character)
  55.  
  56. <0>     RESERVED  (l)
  57. <RAM:>  place for scratch files.  4 letters max.  Blank means current directory.
  58. <0>     speak alerts
  59. <0>     speak messages
  60. <200>   speech speed:   40-400
  61.  
  62.  
  63. <120>   speech pitch:  65-320
  64. <n>     speak mode:     n=natural,f=female,m=male,r=robotic
  65. <0>     use printable cmd-keys for typing input
  66. <2>     printer: 0=par: 1=ser: 2=prt: 3=prt: (raw)
  67. <100>   idle-time (in tenths of seconds) after which idle cmd is run: 1-32767
  68.  
  69. <1>     use tabs - put in tabs, not spaces, when tab key pressed.
  70. <1>     autoindent mode
  71. <0>     overstrike mode
  72. <0>     autobackup mode
  73. <0>     RESERVED  (r)
  74.  
  75. <1>     wordwrap mode
  76. <0>     right-justification mode
  77. <0>     map illegal ASCII chars 0-4 to alternate values (see mappings below)
  78. <0>     RESERVED  (c)
  79. <0>     RESERVED  (f)
  80.  
  81. <0>     user local flag A
  82. <0>     user local flag B
  83. <4>     tab table to use: 0-4  (See tables below.)
  84. <77>    line-length:    1-9999
  85. <2>     split window size in lines (2-100, up to max lines in window)
  86.  
  87. <0>     left margin   0-200       .. %% NEW DEFAULT VALUE
  88. <5>     top margin    0-200
  89. <5>     bottom margin 0-200
  90. <66>    lines/page:     1-200
  91. <10>    end-of-line character: 10=Newline, 13=Carriage Return
  92.  
  93. These are the 5 TAB tables.  There can be at most 32 column-entries in tab
  94. table.  The highest column is 255.  The lowest is 2.  In Uedit, to change tab
  95. tables, select "Tab table"; to see the settings, select "See ruler"; to
  96. adjust the tabs, select "Set ruler".
  97.  
  98. <5>                 Tab table 0.  (32 entries max.  Column 2-255.)
  99. <6 20>              Tab table 1.  (32 entries max.  Column 2-255.)
  100. <5 10 20 45>        Tab table 2.  (32 entries max.  Column 2-255.)
  101. <>                  Tab table 3.  (32 entries max.  Column 2-255.)
  102. <5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73
  103.           >         Tab table 4.  (32 entries max.  Column 2-255.)
  104.  
  105. Uedit uses ASCII characters 0-4 internally for marking cleared text and for
  106. flags.  Thus, files cannot legally contain these characters.  If the above
  107. "map illegals" flag is not set, these odd characters are erased by Uedit upon
  108. loading the file.  If "Map illegals" is set (see default above ), ASCII 0-4
  109. are remapped into "safe" character values using the settings below.  Upon
  110. saving the file to disk the characters are converted back into their old
  111. ASCII 0-4 values:  (You could also map the 4 non-null ctrl characters to
  112. ASCII 28-31.  This would make tests for control characters work properly.)
  113.  
  114. <128>   map ASCII 0
  115. <129>   map ASCII 1
  116. <130>   map ASCII 2
  117. <131>   map ASCII 3
  118. <132>   map ASCII 4
  119.  
  120. Printable key table:  DON'T TOUCH, unless you know what you are doing!  This
  121. is a translation table which converts raw keystrokes into printable
  122. characters.  (See Rom Kernal Manual, Volume 1, page 3-81.) There must be 64
  123. in each row.  Use OVERSTRIKE mode when modifying this, to save trouble.
  124. Unused -->     U             U    EUROPE--> EE   U          U
  125. <`1234567890-=\ 0qwertyuiop[] 123asdfghjkl;'  456 zxcvbnm,./ .789>
  126. <~!@#$%^&*()_+| 0QWERTYUIOP{} 123ASDFGHJKL:"  456 ZXCVBNM<>? .789>
  127.  
  128. Colors:
  129.  
  130. <3><2><0><1>    Workbench window colors (Preferences colors) (0-3)
  131.  
  132. Interlace RGB colors (0-15):
  133. Red     Green   Blue
  134. <9>     <5>     <0>     Register 0
  135. <10>    <10>    <10>    Register 1
  136. <0>     <0>     <0>     Register 2
  137. <15>    <10>    <0>     Register 3
  138.  
  139. Gadget Names (19 chars max):
  140.  
  141. <Next File>     Name for gadget 1
  142. <Prev File>     Name for gadget 2
  143. <Scroll down>   Name for gadget 3
  144. <Scroll up>     Name for gadget 4
  145.  
  146.                                    *****
  147.  
  148. Everything from here onward is menu selections or commands.
  149.  
  150. Be sure and keep a backup copy of the original Config!, if you change this
  151. file!
  152.  
  153. (( NOTE:
  154.    The left hand entries below are Menu Titles.  Their key argument is not
  155.    used.  Menu Titles should be as brief as possible.  Menu selection names
  156.    can have up to 17 characters.  Entries with a SUB-menu entries below them
  157.    are titles for the submenu items.  Titles never do anything and their key-
  158.    arguments are meaningless and ignored.
  159. ))
  160.  
  161. <startup:
  162.  
  163. menu("Files",1,normal-f1)
  164.    menu("Next file      f1",1,normal-f1)
  165.    menu("Prev file    S-f1",1,shft-f1)
  166.    menu("Open         A-f1",1,alt-f1)
  167.    menu("New file     C-f1",1,ctl-f1)
  168.    menu("Insert file SA-f1",1,shftAlt-f1)
  169.    menu("Restore     SC-f1",1,shftCtl-f1)
  170.    menu("Rename        A-n",1,alt-n)
  171.    menu("AmigaDOS      C-y",1,ctl-y)
  172.    menu("DOS + result  C-z",1,ctl-z)
  173.    menu("Directory     A-z",1,alt-z)
  174.    menu("CD (Chg dir) AC-z",1,altCtl-z)
  175.    menu("Save           f2",1,normal-f2)
  176.    menu("Save as...   S-f2",1,shft-f2)
  177.    menu("Save changes A-f2",1,alt-f2)
  178.    menu("Close          f3",1,normal-f3)
  179.    menu("Auto-close   S-f3",1,shft-f3)
  180.    menu("Quit           f4",1,normal-f4)
  181.    menu("Auto-Quit    S-f4",1,shft-f4)
  182.    menu("About...         ",1,shftAltCtl-a)
  183.  
  184. menu("Buffers",2,normal-f1)
  185.    menu("Search & Replace ",2,normal-f1)
  186.    SUBmenu("Search fwd     f9",2,normal-f9)
  187.    SUBmenu("Replace fwd   f10",2,normal-f10)
  188.    SUBmenu("Rpl all fwd A-f10",2,alt-f10)
  189.    SUBmenu("Search bkwd  S-f9",2,shft-f9)
  190.    SUBmenu("Rpl bkwd    S-f10",2,shft-f10)
  191.    SUBmenu("Set search     f7",2,normal-f7)
  192.    SUBmenu("Set replace    f8",2,normal-f8)
  193.    checkedSUBmenu("Search caps   C-8",2,ctl-8,searchCaps)
  194.    SUBmenu("Set wildcard A-f7",2,alt-f7)
  195.    SUBmenu("Set eitherOr C-f7",2,ctl-f7)
  196.    menu("Buffers          ",2,alt-f3)
  197.    SUBmenu("Swap buf #0   A-w",2,alt-w)             
  198.    SUBmenu("Swap buf #43  C-w",2,ctl-w)             
  199.    SUBmenu("See buffers SC-f6",2,shftCtl-f6)
  200.    SUBmenu("Edit buffer SA-f6",2,shftAlt-f6)
  201.    SUBmenu("Free buffers A-f3",2,alt-f3)
  202.       menu("Speak hilite  A-s",2,alt-s)
  203.  
  204. menu("Commands",3,normal-f1)
  205.       menu("Configurations   ",3,normal-f6)
  206.    SUBmenu("UStar            ",3,virtual-u)
  207.    SUBmenu("Directory Utility",3,virtual-d)
  208.    SUBmenu("Regular UE data  ",3,virtual-e)
  209.    SUBmenu("Save data    A-f6",3,alt-f6)
  210.    SUBmenu("Load data    C-f6",3,ctl-f6)
  211.       menu("Compile          ",3,normal-f6)
  212.    SUBmenu("Compile        f6",3,normal-f6)
  213.    SUBmenu("Cfg defalts AC-f6",3,altCtl-f6)         
  214.    SUBmenu("Make command S-f6",3,shft-f6)
  215.       menu("Keys             ",3,normal-f6)
  216.    SUBmenu("Swap keys      f5",3,normal-f5)
  217.    SUBmenu("Swap mouseUp  A-m",3,alt-m)
  218.    SUBmenu("Kill key   SAC-f6",3,shftAltCtl-f6)
  219.    SUBmenu("Find key  lAmi-f6",3,lAmiga-f6)         
  220.       menu("Learn            ",3,normal-f6)
  221.    checkedSUBmenu("Start learn   C-s",3,ctl-s,learnMode)
  222.    SUBmenu("End/Run learn C-r",3,ctl-r)
  223.    SUBmenu("Command mult  C-m",3,ctl-m)
  224.    SUBmenu("Save learn    C-5",3,ctl-5)
  225.    SUBmenu("Load learn    C-6",3,ctl-6)
  226.    SUBmenu("Run learn #   C-7",3,ctl-7)
  227.  
  228. menu("Edits",4,normal-f1)
  229.       menu("Cut&Paste Hilite ",4,normal-f1)
  230.    SUBmenu("Copy          kp.",4,normal-kpDot)
  231.    SUBmenu("Cut           kp-",4,normal-kpMinus)
  232.    SUBmenu("Paste     kpEnter",4,normal-kpEnter)
  233.    SUBmenu("Clear         C-h",4,ctl-h)
  234.    menu("Cut&Paste Invert ",4,normal-f1)
  235.    SUBmenu("I-Copy      C-kp.",4,ctl-kpDot)
  236.    SUBmenu("I-Cut       C-kp-",4,ctl-kpMinus)
  237.    SUBmenu("I-Paste C-kpEnter",4,ctl-kpEnter)
  238.    SUBmenu("I-Clear       C-i",4,ctl-i)
  239.    checkedmenu("Col display  SC-`",4,shftCtl-`,columnar)
  240.    menu("Columnar         ",4,shftCtl-1)
  241.    SUBmenu("Col Cut      SC-1",4,shftCtl-1)
  242.    SUBmenu("Col Erase    SC-2",4,shftCtl-2)
  243.    SUBmenu("Col Copy     SC-3",4,shftCtl-3)
  244.    SUBmenu("Col Insert   SC-4",4,shftCtl-4)
  245.    SUBmenu("Col Overlay  SC-5",4,shftCtl-5)
  246.    SUBmenu("Ins Hil->Csr SC-6",4,shftCtl-6)
  247.    SUBmenu("Ovl Hil->Csr SC-7",4,shftCtl-7)
  248.    menu("Reformats     C-3",4,ctl-3)
  249.    SUBmenu("Paragraph     C-3",4,ctl-3)
  250.    SUBmenu("Del white-spc C-4",4,ctl-4)
  251.    SUBmenu("Tabs->spaces  L-t",4,lAmiga-t)
  252.    SUBmenu("Spaces->tabs  R-t",4,rAmiga-t)
  253.    menu("Page formatting  ",4,normal-f1)
  254.    SUBmenu("Go to page #  A-3",4,alt-3)
  255.    SUBmenu("Top of page   L-h",4,lAmiga-h)
  256.    SUBmenu("Bottom page   L-b",4,lAmiga-b)
  257.    SUBmenu("Divide page   L-v",4,lAmiga-v)
  258.    SUBmenu("Auto page div L-r",4,lAmiga-r)
  259.    SUBmenu("Del page div  L-d",4,lAmiga-d)
  260.    SUBmenu("Del page #    L-y",4,lAmiga-y)
  261.   
  262. menu("Modes",5,normal-f1)
  263.              menu("TEACH KEYS       ",5,normal-f1)
  264.    checkedSUBmenu("Teach keys C-help",5,ctl-help,teachKeys)     
  265.           SUBmenu("Teach one     C-t",5,ctl-t)           
  266.              menu("Local modes      ",5,normal-f1)
  267.    checkedSUBmenu("OverStrike   S-f5",5,shft-f5,overStrike)
  268.    checkedSUBmenu("WordWrap     C-f5",5,ctl-f5,wordWrap)
  269.    checkedSUBmenu("Right justify A-j",5,alt-j,rightJustify)
  270.    checkedSUBmenu("AutoIndent   A-f5",5,alt-f5,autoIndent)
  271.    checkedSUBmenu("Read-only   SA-f5",5,shftAlt-f5,readOnly)
  272.    checkedSUBmenu("Changed flag L-f5",5,lAmiga-f5,changed)   
  273.    checkedSUBmenu("Use tabs   AC-tab",5,altCtl-tab,trueTabs) 
  274.    checkedSUBmenu("AutoBackup SAC-f5",5,shftAltCtl-f5,autoBackup)
  275.    checkedSUBmenu("Map illegals SA-m",5,shftAlt-m,mapChars)   
  276.    checkedSUBmenu("Save on idle C-f2",5,ctl-f2,userLocalA)    
  277.              menu("Global modes     ",5,normal-f1)
  278.    checkedSUBmenu("Interlace   S-esc",5,shft-esc,lace)
  279.    checkedSUBmenu("Row/Column    C-2",5,ctl-2,rowCol)
  280.    checkedSUBmenu("Mark gadgets  C-g",5,ctl-g,markGadgets)
  281.    checkedSUBmenu("Invisibles    C-v",5,ctl-v,spooks)
  282.    checkedSUBmenu("Busies        C-b",5,ctl-b,busies)
  283.    checkedSUBmenu("Use keys      A-u",5,alt-u,useKeys)
  284.    checkedSUBmenu("Make icons   AC-i",5,altCtl-i,icons)
  285.       menu("Spelling",5,rAmiga-1)
  286.    SUBmenu("Load speller  R-1",5,rAmiga-1)
  287.    SUBmenu("Check fwd     R-2",5,rAmiga-2)
  288.    SUBmenu("Chk&mark fwd  R-3",5,rAmiga-3)
  289.    SUBmenu("Chk & collect R-4",5,rAmiga-4)
  290.    SUBmenu("Merge w/ dict R-5",5,rAmiga-5)
  291.    SUBmenu("Del from dict R-6",5,rAmiga-6)
  292.    SUBmenu("Free Speller  R-8",5,rAmiga-8)  
  293.       menu("Printing         ",5,normal-f1)
  294.    SUBmenu("Print select  A-p",5,alt-p)  
  295.    SUBmenu("Print hilite  C-p",5,ctl-p)
  296.    SUBmenu("Print file   AC-p",5,altCtl-p)
  297.    SUBmenu("Restart print L-s",5,lAmiga-s)
  298.    SUBmenu("Abort print   L-a",5,lAmiga-a)
  299.    SUBmenu("Stop all prts R-a",5,rAmiga-a)
  300.    SUBmenu("Code help        ",5,virtual-p)
  301.    SUBmenu("Bracket hiliteL-p",5,lAmiga-p)
  302.    SUBmenu("Find code     R-g",5,rAmiga-g)
  303.    SUBmenu("Embed code    L-g",5,lAmiga-g)
  304.    SUBmenu("Type formfeed L-f",5,lAmiga-f)
  305.       menu("Uedit <====> Rexx",5,altCtl-1)
  306.    SUBmenu("Ed out buf35 AC-1",5,altCtl-1)
  307.    SUBmenu("Ed in buf36  AC-2",5,altCtl-2)
  308.    SUBmenu("Buf35->Rexx  AC-3",5,altCtl-3)
  309.    SUBmenu("Buf36<-Rexx  AC-4",5,altCtl-4)
  310.    SUBmenu("hilite->Rexx AC-5",5,altCtl-5)
  311.    SUBmenu("Cursor<-Rexx AC-6",5,altCtl-6)
  312.    SUBmenu("Reply OKAY-> AC-7",5,altCtl-7)
  313.    SUBmenu("Reply text-> AC-8",5,altCtl-8)
  314.    checkedSUBmenu("Idle traffic AC-9",5,altCtl-9,userGlobalB)
  315.    SUBmenu("Make x.rexx  AC-0",5,altCtl-0)
  316.  
  317.   
  318. menu("Numbers",6,normal-f1)
  319.    menu("Show vals  S-help",6,shft-help)
  320.    menu("Tab ruler        ",6,normal-f1)
  321.    SUBmenu("See ruler  SA-tab",6,shftAlt-tab)             
  322.    SUBmenu("Set ruler  SC-tab",6,shftCtl-tab)             
  323.    SUBmenu("Tab table SAC-tab",6,shftAltCtl-tab)          
  324.       menu("Line/Page        ",6,normal-f1)
  325.    SUBmenu("Line length C-rtn",6,ctl-return)
  326.    SUBmenu("Lines/page    A-g",6,alt-g)
  327.    SUBmenu("Left margin   L-m",6,lAmiga-m)   .. %% NEW ENTRY
  328.    SUBmenu("Top margin    L-u",6,lAmiga-u)              
  329.    SUBmenu("Bottom margin L-l",6,lAmiga-l)              
  330.    SUBmenu("End of line   C-e",6,ctl-e)
  331.    menu("Max files   AC-f1",6,altCtl-f1)                
  332.    menu("Idle timer  SAC-i",6,shftAltCtl-i)             
  333.    menu("PM terminator ESC",6,normal-esc)               
  334.    menu("Name gadget C-esc",6,ctl-esc)
  335.    menu("File size     C-1",6,ctl-1)
  336.  
  337. menu("Colors",7,normal-f1)
  338.    menu("Colors     A-help",7,alt-help)
  339.    menu("Lace color  A-esc",7,alt-esc)
  340.    menu("Enlarge split L-=",7,lAmiga-=)   
  341.    menu("Shrink split  L--",7,lAmiga--)   
  342.    menu("Split window     ",7,normal-f1)            
  343. SUBmenu("Next split    L-9",7,lAmiga-9)
  344. SUBmenu("Elim curr     L-0",7,lAmiga-0)
  345. SUBmenu("Set size      L-8",7,lAmiga-8)
  346. SUBmenu("Curr buf      L-c",7,lAmiga-c)
  347. SUBmenu("Undo buf      L-1",7,lAmiga-1)
  348. SUBmenu("Search buf    L-2",7,lAmiga-2)
  349. SUBmenu("Replac buf    L-3",7,lAmiga-3)
  350. SUBmenu("Hilite buf    L-4",7,lAmiga-4)
  351. SUBmenu("Invert buf    L-5",7,lAmiga-5)
  352. SUBmenu("Columnar      L-6",7,lAmiga-6)
  353. SUBmenu("Dir name      L-7",7,lAmiga-7)
  354.  
  355.    menu("Refresh   SC-help",7,shftCtl-help)   
  356.    menu("Unhilite      A-h",7,alt-h)
  357.    menu("Uninvert      A-i",7,alt-i)
  358.  
  359.      nameBuffer(35,"ARexx Message/Reply OUT")
  360.      nameBuffer(36,"ARexx Message/Reply IN")
  361.      nameBuffer(37,"Copied Columnar")         
  362.      nameBuffer(38,"Directory Name")
  363.      nameBuffer(42,"Help!")
  364.      nameBuffer(45,"Scratch Deletes")
  365.      nameBuffer(46,"Copied Invert")
  366.      nameBuffer(47,"Copied Hilite")
  367.      nameBuffer(48,"Replace String")
  368.      nameBuffer(49,"Search String")
  369.  
  370.     .. alertUser("Uedit is Shareware.  Please see Uedit-Policy.") 
  371.     runKey(shftAltCtl-z)  >
  372.  
  373. NOTE:  shftAltCtl-z is executed automatically at startup.  Normally no
  374. command exists for it.
  375.  
  376. Press HELP if you want to see how to set up shftAltCtl-z to do something at
  377. startup.
  378.  
  379.                                    *****
  380. Here is a description of how buffers are used in this file.  If you make
  381. changes which involve buffers, you should follow the convention in this list:
  382. (You can change this convention entirely, of course.)
  383.  
  384. buf55-99 = available for user commands
  385. buf50-54 = used for temporary purposes in commands
  386. buf49 = search string
  387. buf48 = replace string
  388. buf47 = copied hilite
  389. buf46 = copied invert
  390. buf45 = holds scratch deletes for Undo, keypad-0
  391. buf44 = make-command buffer
  392. buf43 = document names
  393. buf42 = holds Help, if loaded
  394. buf41 = used in buffer swapping command, ctl-w
  395. buf40 = used for AmigaDOS commands
  396. buf39 = used for result of AmigaDOS commands (if result selected)
  397. buf38 = most recent directory name, if "Directory" has been selected
  398. buf37 = copied columnar data
  399. buf36 = ARexx msg/reply input buffer
  400. buf35 = ARexx msg/reply output buffer
  401.  
  402.