----------------------------------------------------------------------------- | Config! V2.3 | | Copyright (C) 1986-87 Rick Stiles. All rights reserved. | ---------------------------------------------------------------------------- Config! defines Uedit's start-up settings and commands. Config! must be in S: or in your current directory. If you edit Config! and want to make a new Data! file, type "Run UE -c" in CLI. (Or you can rename S:Data! or delete it, and Uedit will be forced to compile Config! next time.) If you create a new config such as "NewConfig", you can make Uedit compile it by typing "UE -cNewConfig" in CLI. On the "Save new Data?" question, selecting Yes will replace Data!. Selecting No will preserve the old Data!. Once inside Uedit, you can select "Save data" and save it under a new name like "NewData". To make Uedit use NewData next time, type "UE -dNewData" in CLI. To make it your standard data file, rename it to Data! or S:Data!. ***** Edit the contents of each set of angle brackets, but leave the angle-brackets as they are: (To recompile these defaults anytime, select "Cfg defalts" in the menu.) (Unless told otherwise, use 0 for "no" or 1 for "yes".) <1> make Key-Help file during this compile. (For "TEACH KEYS" in menu.) (NOTE: Unless you need the Key-Help facility, you should set this flag to 0. The compile will go much faster.) name of Key-Help file (1-19 characters.) <0> show cursor during compile of this configuration (slower, if show) <0> user global flag A: Any integer value <0> user global flag B: Any integer value <0> columnar display mode <0> cram display mode <1> show row-column <1> mark gadgets <0> interlace screen <1> show invisibles <0> show busies <0> key-help mode <5> maximum files to edit: 1-100 <0> make icons <0> search case-sensitive search wildcard (printable character) <$> search either-or delimiter (printable character) <0> RESERVED (l) place for scratch files. 4 letters max. Blank means current directory. <0> speak alerts <0> speak messages <200> speech speed: 40-400 <120> speech pitch: 65-320 speak mode: n=natural,f=female,m=male,r=robotic <0> use printable cmd-keys for typing input <2> printer: 0=par: 1=ser: 2=prt: 3=prt: (raw) <100> idle-time (in tenths of seconds) after which idle cmd is run: 1-32767 <1> use tabs - put in tabs, not spaces, when tab key pressed. <1> autoindent mode <0> overstrike mode <0> autobackup mode <0> RESERVED (r) <1> wordwrap mode <0> right-justification mode <0> map illegal ASCII chars 0-4 to alternate values (see mappings below) <0> RESERVED (c) <0> RESERVED (f) <0> user local flag A <0> user local flag B <4> tab table to use: 0-4 (See tables below.) <77> line-length: 1-9999 <2> split window size in lines (2-100, up to max lines in window) <0> left margin 0-200 .. %% NEW DEFAULT VALUE <5> top margin 0-200 <5> bottom margin 0-200 <66> lines/page: 1-200 <10> end-of-line character: 10=Newline, 13=Carriage Return These are the 5 TAB tables. There can be at most 32 column-entries in tab table. The highest column is 255. The lowest is 2. In Uedit, to change tab tables, select "Tab table"; to see the settings, select "See ruler"; to adjust the tabs, select "Set ruler". <5> Tab table 0. (32 entries max. Column 2-255.) <6 20> Tab table 1. (32 entries max. Column 2-255.) <5 10 20 45> Tab table 2. (32 entries max. Column 2-255.) <> Tab table 3. (32 entries max. Column 2-255.) <5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 > Tab table 4. (32 entries max. Column 2-255.) Uedit uses ASCII characters 0-4 internally for marking cleared text and for flags. Thus, files cannot legally contain these characters. If the above "map illegals" flag is not set, these odd characters are erased by Uedit upon loading the file. If "Map illegals" is set (see default above ), ASCII 0-4 are remapped into "safe" character values using the settings below. Upon saving the file to disk the characters are converted back into their old ASCII 0-4 values: (You could also map the 4 non-null ctrl characters to ASCII 28-31. This would make tests for control characters work properly.) <128> map ASCII 0 <129> map ASCII 1 <130> map ASCII 2 <131> map ASCII 3 <132> map ASCII 4 Printable key table: DON'T TOUCH, unless you know what you are doing! This is a translation table which converts raw keystrokes into printable characters. (See Rom Kernal Manual, Volume 1, page 3-81.) There must be 64 in each row. Use OVERSTRIKE mode when modifying this, to save trouble. Unused --> U U EUROPE--> EE U U <`1234567890-=\ 0qwertyuiop[] 123asdfghjkl;' 456 zxcvbnm,./ .789> <~!@#$%^&*()_+| 0QWERTYUIOP{} 123ASDFGHJKL:" 456 ZXCVBNM<>? .789> Colors: <3><2><0><1> Workbench window colors (Preferences colors) (0-3) Interlace RGB colors (0-15): Red Green Blue <9> <5> <0> Register 0 <10> <10> <10> Register 1 <0> <0> <0> Register 2 <15> <10> <0> Register 3 Gadget Names (19 chars max): Name for gadget 1 Name for gadget 2 Name for gadget 3 Name for gadget 4 ***** Everything from here onward is menu selections or commands. Be sure and keep a backup copy of the original Config!, if you change this file! (( NOTE: The left hand entries below are Menu Titles. Their key argument is not used. Menu Titles should be as brief as possible. Menu selection names can have up to 17 characters. Entries with a SUB-menu entries below them are titles for the submenu items. Titles never do anything and their key- arguments are meaningless and ignored. )) Csr SC-6",4,shftCtl-6) SUBmenu("Ovl Hil->Csr SC-7",4,shftCtl-7) menu("Reformats C-3",4,ctl-3) SUBmenu("Paragraph C-3",4,ctl-3) SUBmenu("Del white-spc C-4",4,ctl-4) SUBmenu("Tabs->spaces L-t",4,lAmiga-t) SUBmenu("Spaces->tabs R-t",4,rAmiga-t) menu("Page formatting ",4,normal-f1) SUBmenu("Go to page # A-3",4,alt-3) SUBmenu("Top of page L-h",4,lAmiga-h) SUBmenu("Bottom page L-b",4,lAmiga-b) SUBmenu("Divide page L-v",4,lAmiga-v) SUBmenu("Auto page div L-r",4,lAmiga-r) SUBmenu("Del page div L-d",4,lAmiga-d) SUBmenu("Del page # L-y",4,lAmiga-y) menu("Modes",5,normal-f1) menu("TEACH KEYS ",5,normal-f1) checkedSUBmenu("Teach keys C-help",5,ctl-help,teachKeys) SUBmenu("Teach one C-t",5,ctl-t) menu("Local modes ",5,normal-f1) checkedSUBmenu("OverStrike S-f5",5,shft-f5,overStrike) checkedSUBmenu("WordWrap C-f5",5,ctl-f5,wordWrap) checkedSUBmenu("Right justify A-j",5,alt-j,rightJustify) checkedSUBmenu("AutoIndent A-f5",5,alt-f5,autoIndent) checkedSUBmenu("Read-only SA-f5",5,shftAlt-f5,readOnly) checkedSUBmenu("Changed flag L-f5",5,lAmiga-f5,changed) checkedSUBmenu("Use tabs AC-tab",5,altCtl-tab,trueTabs) checkedSUBmenu("AutoBackup SAC-f5",5,shftAltCtl-f5,autoBackup) checkedSUBmenu("Map illegals SA-m",5,shftAlt-m,mapChars) checkedSUBmenu("Save on idle C-f2",5,ctl-f2,userLocalA) menu("Global modes ",5,normal-f1) checkedSUBmenu("Interlace S-esc",5,shft-esc,lace) checkedSUBmenu("Row/Column C-2",5,ctl-2,rowCol) checkedSUBmenu("Mark gadgets C-g",5,ctl-g,markGadgets) checkedSUBmenu("Invisibles C-v",5,ctl-v,spooks) checkedSUBmenu("Busies C-b",5,ctl-b,busies) checkedSUBmenu("Use keys A-u",5,alt-u,useKeys) checkedSUBmenu("Make icons AC-i",5,altCtl-i,icons) menu("Spelling",5,rAmiga-1) SUBmenu("Load speller R-1",5,rAmiga-1) SUBmenu("Check fwd R-2",5,rAmiga-2) SUBmenu("Chk&mark fwd R-3",5,rAmiga-3) SUBmenu("Chk & collect R-4",5,rAmiga-4) SUBmenu("Merge w/ dict R-5",5,rAmiga-5) SUBmenu("Del from dict R-6",5,rAmiga-6) SUBmenu("Free Speller R-8",5,rAmiga-8) menu("Printing ",5,normal-f1) SUBmenu("Print select A-p",5,alt-p) SUBmenu("Print hilite C-p",5,ctl-p) SUBmenu("Print file AC-p",5,altCtl-p) SUBmenu("Restart print L-s",5,lAmiga-s) SUBmenu("Abort print L-a",5,lAmiga-a) SUBmenu("Stop all prts R-a",5,rAmiga-a) SUBmenu("Code help ",5,virtual-p) SUBmenu("Bracket hiliteL-p",5,lAmiga-p) SUBmenu("Find code R-g",5,rAmiga-g) SUBmenu("Embed code L-g",5,lAmiga-g) SUBmenu("Type formfeed L-f",5,lAmiga-f) menu("Uedit <====> Rexx",5,altCtl-1) SUBmenu("Ed out buf35 AC-1",5,altCtl-1) SUBmenu("Ed in buf36 AC-2",5,altCtl-2) SUBmenu("Buf35->Rexx AC-3",5,altCtl-3) SUBmenu("Buf36<-Rexx AC-4",5,altCtl-4) SUBmenu("hilite->Rexx AC-5",5,altCtl-5) SUBmenu("Cursor<-Rexx AC-6",5,altCtl-6) SUBmenu("Reply OKAY-> AC-7",5,altCtl-7) SUBmenu("Reply text-> AC-8",5,altCtl-8) checkedSUBmenu("Idle traffic AC-9",5,altCtl-9,userGlobalB) SUBmenu("Make x.rexx AC-0",5,altCtl-0) menu("Numbers",6,normal-f1) menu("Show vals S-help",6,shft-help) menu("Tab ruler ",6,normal-f1) SUBmenu("See ruler SA-tab",6,shftAlt-tab) SUBmenu("Set ruler SC-tab",6,shftCtl-tab) SUBmenu("Tab table SAC-tab",6,shftAltCtl-tab) menu("Line/Page ",6,normal-f1) SUBmenu("Line length C-rtn",6,ctl-return) SUBmenu("Lines/page A-g",6,alt-g) SUBmenu("Left margin L-m",6,lAmiga-m) .. %% NEW ENTRY SUBmenu("Top margin L-u",6,lAmiga-u) SUBmenu("Bottom margin L-l",6,lAmiga-l) SUBmenu("End of line C-e",6,ctl-e) menu("Max files AC-f1",6,altCtl-f1) menu("Idle timer SAC-i",6,shftAltCtl-i) menu("PM terminator ESC",6,normal-esc) menu("Name gadget C-esc",6,ctl-esc) menu("File size C-1",6,ctl-1) menu("Colors",7,normal-f1) menu("Colors A-help",7,alt-help) menu("Lace color A-esc",7,alt-esc) menu("Enlarge split L-=",7,lAmiga-=) menu("Shrink split L--",7,lAmiga--) menu("Split window ",7,normal-f1) SUBmenu("Next split L-9",7,lAmiga-9) SUBmenu("Elim curr L-0",7,lAmiga-0) SUBmenu("Set size L-8",7,lAmiga-8) SUBmenu("Curr buf L-c",7,lAmiga-c) SUBmenu("Undo buf L-1",7,lAmiga-1) SUBmenu("Search buf L-2",7,lAmiga-2) SUBmenu("Replac buf L-3",7,lAmiga-3) SUBmenu("Hilite buf L-4",7,lAmiga-4) SUBmenu("Invert buf L-5",7,lAmiga-5) SUBmenu("Columnar L-6",7,lAmiga-6) SUBmenu("Dir name L-7",7,lAmiga-7) menu("Refresh SC-help",7,shftCtl-help) menu("Unhilite A-h",7,alt-h) menu("Uninvert A-i",7,alt-i) nameBuffer(35,"ARexx Message/Reply OUT") nameBuffer(36,"ARexx Message/Reply IN") nameBuffer(37,"Copied Columnar") nameBuffer(38,"Directory Name") nameBuffer(42,"Help!") nameBuffer(45,"Scratch Deletes") nameBuffer(46,"Copied Invert") nameBuffer(47,"Copied Hilite") nameBuffer(48,"Replace String") nameBuffer(49,"Search String") .. alertUser("Uedit is Shareware. Please see Uedit-Policy.") runKey(shftAltCtl-z) > NOTE: shftAltCtl-z is executed automatically at startup. Normally no command exists for it. Press HELP if you want to see how to set up shftAltCtl-z to do something at startup. ***** Here is a description of how buffers are used in this file. If you make changes which involve buffers, you should follow the convention in this list: (You can change this convention entirely, of course.) buf55-99 = available for user commands buf50-54 = used for temporary purposes in commands buf49 = search string buf48 = replace string buf47 = copied hilite buf46 = copied invert buf45 = holds scratch deletes for Undo, keypad-0 buf44 = make-command buffer buf43 = document names buf42 = holds Help, if loaded buf41 = used in buffer swapping command, ctl-w buf40 = used for AmigaDOS commands buf39 = used for result of AmigaDOS commands (if result selected) buf38 = most recent directory name, if "Directory" has been selected buf37 = copied columnar data buf36 = ARexx msg/reply input buffer buf35 = ARexx msg/reply output buffer