U s t a r UstarConfig! - A Uedit Configuration file Uedit was written by Rick Stiles, and placed in the public domain July 1992 Ustar v0.90 12/11/87. Copyright © 1987 by Kurt Wessels, 917 N. 87th For use with Uedit v2.3c or later Seattle WA 98103 For non-commercial distribution only; see UstarDoc. All rights reserved. This is an emulation of the WordStar ( (TM) MicroPro International Corp.) command key set and functions; it implements only some of the dot commands. See the Uedit and Ustar documentation and files for complete information. See the Uedit-Policy document for how to register and support Uedit. ============================================================================= GLOBAL DEFAULTS Change as desired, but don't delete any lines or change their order Recompile these anytime via the "Commands Compile Defaults" menu selection. 0 means off, false, or no; 1 means on, true, or yes <0> Make Key-Help file during this compile Name of Key-Help file in s: (19 characters max) <0> Show cursor during compile Name for temporary file when one is needed. 19 chars max. Font name (19 chars max). <8> Font pixel height ( >= 8). <27> Primitive Mode (pmESC) terminator character. ASCII value, 5-255. Description Flag or Variable <0> User Global Flag A userGlobalA <0> User Global Flag B userGlobalB <0> Columnar display mode columnar <0> Cram display mode cram <1> Show row/column rowCol <1> Mark gadgets markGadgets <0> Interlace screen lace <1> Show invisibles (control chars) spooks <0> Show internal housekeeping activity busies <0> Key-help mode teachKeys <30> Maximum files to edit (1-100) ---(getMaxFiles,setMaxFiles) <1> Make Icons at file save icons <0> Case-sensitive search searchCaps Search-string wildcard character wildCard <$> Search-string "either-or" delimiter eitherOr <*> Search multi wildcard. Printable character. <~> Search all-but delimiter. Printable character. <0> White allowed under single wildcard: 0=no, 1=space/tab, 2=any white. <0> White allowed under multi wildcard: 0=no, 1=space/tab, 2=any white. <75> Percent offset for submenus. 0-100 percent. <0> RESERVED (l) --- [learnMode?] <0> RESERVED m) <0> Speak alerts (requesters) speakAlerts <0> Speak messages (putmsg strings) speakMsgs <0> Print tabs (if 0, tabs are converted to spaces during print) <1> Smart tabs (don't convert tabs if inside quotes) <0> RESERVED <0> Use printable cmd-keys for typing useKeys <2> Printer output route through: prefPrint 0=par: 1=ser: 2=prt: 3=prt: (raw) <60> Idle time after which idle command idleTime is executed (1-9999 seconds) <0> Suppress display. <1> Scroll type:0 = show colors, 1 = faster <0> Trap menus to use menu mouse button as a key <640> Screen width in pixels (640-1064) <200> Screen height in pixels (gets auto-doubled for LACE) (200-1064) <0> Task priority when in tiny window (-128 to 127) <0> Reserved (capsLock) <0> Reserved (clickTime) <0> User global flag C. Any integer value. <1> User global flag D. Any integer value. <0> Use tabs - tab key enters tab, not spcs trueTabs <0> Auto-indent mode autoIndent <0> Over-strike typing mode overStrike <0> Auto-backup mode (backup file kept) autoBackup <0> RESERVED (r) --- [readOnly?] <1> Word-wrap mode wordWrap <1> Right-justify mode rightJustify <1> Map illegal ASCII chars 0-4 to others mapChars <0> RESERVED (c) --- [changed?] <1> User Local flag A (auto-backup) userLocalA <0> User Local flag B userLocalB <1> Tab table to use 0-4 (see below) tabTable <77> Line-length: 1 - 9999 now 1-200 lineLength <5> Split Window size in lines (2-100) splitSize <0> Left Margin 0-200 leftMargin <3> Top Margin 0-200 topMargin <3> Bottom Margin 0-200 bottomMargin <66> Lines per page: 1 - 9999 pageLines <10> End-of-line character eLine 10 = Newline (Amiga Standard), 13 = Carriage Return (Return/Enter) These are the 5 TAB tables. 32 entries each max, col. #s 2-255. <9 17 25 33 41 49 57 65 73 81 89 97 105 113 121 129 137> Tab table 0 (std 8-stop tabs) <6 11 16 21 26 31 36 41 46 51 56 61 66 71> Tab table 1 (WS standard doc defaults, extended to col. 71) <4 7 10 13 16 19 22 25 28 31 34 44 54 64 74 84 94 104 114> Tab table 2 (3-stop - programming) <> Tab table 3 (undefined, available) <5 9 13 17 21 25 29 33 37 41 45 49 53 57 61 65 69 73 > Tab table 4 (4-stop - UE std) Map characters: Uedit uses ASCII 0-3 internally. If mapChars above is not on, these characters are wiped on loading a file. If mapChars is on, these are mapped to the 4 characters below. Values are decimal. <128> Map ASCII 0 <129> Map ASCII 1 <130> Map ASCII 2 <131> Map ASCII 3 Printable key table: remap the raw keys if you wish. KNOW what you are doing if you change this (see ROM Kernal Manual Vol. 1 page 3-81). Unused --> U U Europe--> EE U U <`1234567890-=\ 0qwertyuiop[] 123asdfghjkl;' 456 zxcvbnm,./ .789> <~!@#$%^&*()_+| 0QWERTYUIOP{} 123ASDFGHJKL:" 456 ZXCVBNM<>? .789> Here's a Dvorak keymap and layout, from Fish #27, Bob Burns, author. ..Unused --> U U Europe--> EE U U ..<`1234567890\=} 0',.pyfgcrl/[ 123aoeuidhtns- 456 ;qjkxbmwvz .789> ..<~!@#$%^&*()|+{ 0"<>PYFGCRL?] 123AOEUIDHTNS_ 456 :QJKXBMWVZ .789> ..--------------------------------------------------------------------- .. `~ 1! 2@ 3# 4$ 5% 6^ 7& 8* 9( 0) \| =+ }{ 7 8 9 .. '" ,< .> pP yY fF gG cC rR lL /? ][ 4 5 6 .. aA @oO eE uU iI dD hH tT nN sS -_ 1 2 3 .. ;:@ qQ jJ kK xX bB mM wW vV zZ 0 . ..--------------------------------------------------------------------- ALT and SHIFT+ALT keys: (Put foreign letters in these 2 arrays.) Keypad keys --> K KKKKKK KKK KKKK " <`¹²³¢¼½¾·«»-=\ å°©®þ¤µ¡ø¶ æßð £;' ±×窺­¸,./ > .. <~!@#$%^&*()_+| Ű©®Þ¥µ¦Ø¶ ƧР£;' ¬×Ǫº¯¸,./ > .." Colors: (values must be 0-3, corresponding to RGB color register numbers) fg bg ((local colors for buffers)) 0 normal text <1> <0> 1 cursor <1> <2> 2 hilite <1> <3> 3 cursor+hilite <3> <1> 4 inverse <0> <1> 5 cursor+inverse <0> <2> 6 hilite+inverse <3> <1> 7 cursor+hilite+inverse <0> <3> ((screen colors)) 8 title bar <1> <3> 9 msg line <2> <0> 10 menus <1> <3> 11 tab ruler <1> <2> 12 requester <1> <2> 13 formfeed <1> <2> 14 spare1 <0> <1> 15 spare2 <0> <2> RGB colors: (Range is 0-15.) Red Green Blue <0> <5> <10> Register 0 <15> <15> <15> Register 1 <15> <9> <0> Register 2 <0> <9> <15> Register 3 or these ... ..<11> <11> <0> Register 0 ..<0> <0> <0> Register 1 ..<15> <15> <15> Register 2 ..<15> <8> <0> Register 3 or these ... ..<0> <5> <10> Register 0 ..<15> <15> <15> Register 1 ..<15> <10> <0> Register 2 ..<10> <5> <5> Register 3 Gadget names (19 characters max) Name for gadget 1 Name for gadget 2 Name for gadget 3 Name for gadget 4 =========================================================================== MENUS Initial command, initializes menus & does any autostart command ","",2,shftCtl-.,userLocalA) checkedSubMenu("Map Chars SA-kp3","",2,shftAlt-kp3,mapChars) menu("Move","",3,alt-/) menu("Cursor Set","",3,alt-/) subMenu("Put Cursor: Mouse","",3,ctl-help) subMenu("Find Cursor ^Retn","",3,ctl-return) subMenu("= ^Enter ","",3,ctl-return) menu("Cursor Diamond","",3,alt-/) subMenu("Right Char ^D","",3,ctl-d) subMenu("= rightArrow","",3,normal-rightArrow) subMenu("= S-Space","",3,shft-space) subMenu("Left Char ^S","",3,ctl-s) subMenu("= leftArrow","",3,normal-leftArrow) subMenu("= S-BS","",3,shft-bs) subMenu("Up Line ^E","",3,ctl-e) subMenu("= upArrow","",3,normal-upArrow) subMenu("Down Line ^X","",3,ctl-x) subMenu("= downArrow","",3,normal-downArrow) menu("Word/Line","",3,alt-/) subMenu("Right Word ^F","",3,ctl-f) subMenu("= S-rightArrow","",3,shft-rightArrow) subMenu("Left Word ^A","",3,ctl-a) subMenu("= S-leftArrow","",3,shft-leftArrow) subMenu("Right Line ^QD","",3,shftAlt-d) subMenu("= A-rightArrow","",3,alt-rightArrow) subMenu("Left Line ^QS","",3,shftAlt-s) subMenu("= A-leftArrow","",3,alt-leftArrow) menu("Page/Screen","",3,alt-/) subMenu("Down Page ^C","",3,ctl-c) subMenu("= S-downArrow","",3,shft-downArrow) subMenu("Up Page ^R","",3,ctl-r) subMenu("= S-upArrow","",3,shft-upArrow) subMenu("Bot Screen ^QX","",3,shftAlt-x) subMenu("= C-downArrow","",3,ctl-downArrow) subMenu("Top Screen ^QE","",3,shftAlt-e) subMenu("= C-upArrow","",3,ctl-upArrow) menu("Document","",3,alt-/) subMenu("Top Buffer ^QR","",3,shftAlt-r) subMenu("= A-upArrow","",3,alt-upArrow) subMenu("Bot Buffer ^QC","",3,shftAlt-c) subMenu("= A-downArrow","",3,alt-downArrow) menu("Scroll","",3,alt-/) subMenu("ScrollDn Line ^Z","",3,ctl-z) subMenu("ScrollDn Run ^QZ","",3,shftAlt-z) subMenu("= Gadget 3","",3,normal-gadget3) subMenu("ScrollUp Line ^W","",3,ctl-w) subMenu("ScrollUp Run ^QW","",3,shftAlt-w) subMenu("= Gadget 4","",3,normal-gadget4) subMenu("Lscrn C-leftArrow","",3,ctl-leftArrow) subMenu("Rscrn C-rtArrow","",3,ctl-rightArrow) menu("Goto","",3,alt-/) subMenu("Begin Block ^QB","",3,shftAlt-b) subMenu("End Block ^QK","",3,shftAlt-k) subMenu("To last Find ^QV","",3,shftAlt-v) .. *2x subMenu("At Mark ^Q0-Q9","",3,shftAlt-0) .. *2x subMenu("To Page # ^QI","",3,shftAlt-i) subMenu("Fwd to Char. ^QG","",3,shftAlt-g) subMenu("Back to Char. ^QH","",3,shftAlt-h) menu("Edit","",4,alt-/) menu("Modes","",4,alt-/) checkedSubMenu("OverStrike ^V","",4,ctl-v,overStrike) checkedSubMenu("Right justify ^OJ","",4,altCtl-j,rightJustify) checkedSubMenu("WordWrap ^OW","",4,altCtl-w,wordWrap) checkedSubMenu("Auto-Indent ^OG","",4,altCtl-g,autoIndent) checkedSubMenu("Protect ^OP","",4,altCtl-p,readOnly) ..*2x~ menu("Values","",4,alt-/) subMenu("Line Length ^OR","",4,altCtl-r) subMenu("Lines/Page ^PJ","",4,shftAltCtl-j) .. *2x menu("Deletes","",4,alt-/) subMenu("Delete Ch.L BS,^H","",4,normal-bs) subMenu("Delete Ch. Del,^G","",4,ctl-g) subMenu("Delete Line ^Y","",4,ctl-y) subMenu("Delete Word R ^T","",4,ctl-t) subMenu("Delete Word L ^BS","",4,ctl-bs) subMenu("Delete->EOL ^QY","",4,shftAlt-y) subMenu("Delete->BOL ^QDel","",4,shftAlt-del) subMenu("Del to Char. QT","",4,shftAlt-t) subMenu("UnDel Wrd/Line ^U","",4,ctl-u) .. *2x~ menu("Tabs","",4,alt-/) subMenu("Tab Tab key,^I","",4,ctl-i) subMenu("Transp.Tab S-Tab","",4,shft-tab) subMenu("Back-Tab A-Tab","",4,alt-tab) subMenu("Destr.Back AC-Tab","",4,altCtl-tab) checkedSubMenu("True Tabs C-Tab","",4,ctl-tab,trueTabs) subMenu("Set Tab Ruler ^OI","",4,altCtl-i) subMenu("= ^ON","",4,altCtl-n) subMenu("See Tab Ruler ^OT","",4,altCtl-t) subMenu("Set Tab Table ^OV","",4,altCtl-v) subMenu("See Hard Tabs ","",4,virtual-tab) subMenu("8-stop tab ^PI","",4,shftAltCtl-i) menu("Insert","",4,alt-/) subMenu("Insert EOL ^N","",4,ctl-n) subMenu("Insert CR ^M","",4,ctl-m) subMenu("= Return, Enter","",4,normal-Return) subMenu("Insert Sp C-Space","",4,ctl-space) subMenu("Ins. FormFeed ^PL","",4,shftAltCtl-l) menu("Format","",4,alt-/) subMenu("Center Line ^OC","",4,altCtl-c) subMenu("Reformat ^B","",4,ctl-b) subMenu("Reformat rest ^QU","",4,ctl-b) subMenu("Right-Align A-F","",4,alt-f) subMenu("Match Indnt S-Rtn","",4,shft-return) subMenu("= S-Enter","",4,shft-kpEnter) menu("Convert","",4,alt-/) subMenu("Tab->Space SC-Tab","",4,shftCtl-tab) subMenu("Space->tab SA-Tab","",4,shftAlt-tab) subMenu("CRLF->LF A-Enter","",4,alt-kpEnter) subMenu("LF->CRLF SC-Enter","",4,shftCtl-kpEnter) subMenu("Del Whtspc AC-kp3","",4,altCtl-kp3) subMenu("Del EOL's ^6","",4,ctl-6) subMenu("Hex-Decimal A-H","",4,alt-h) .. *2x subMenu("also : Characters","",4,ctl-help) subMenu("see : Block Do ","",4,ctl-help) menu("Block&Find","",5,alt-/) menu("Block Mark","",5,alt-/) subMenu("Begin ^KB","",5,shftCtl-b) subMenu("End ^KK","",5,shftCtl-k) subMenu("Hilite: Mousedrag","",5,ctl-help) subMenu("Hide (unmark) ^KH","",5,shftCtl-h) menu("Block Do","",5,alt-/) subMenu("Copy A-lmb,^KC","",5,shftCtl-c) subMenu("Delete SA-lmb,^KY","",5,shftCtl-y) subMenu("Move S-lmb,^KV","",5,shftCtl-v) subMenu("Write ^KW","",5,shftCtl-w) subMenu("Read file ^KR","",5,shftCtl-r) .. *2x subMenu("Get->UndoBufr ^KG","",5,shftCtl-g) subMenu("Undelete ^U,^KU","",5,shftCtl-u) .. *2x subMenu("Speak ^K]","",5,shftCtl-]) subMenu("Math (add) ^KM","",5,shftCtl-m) .. *2x subMenu("To LowerCase ^K'","",5,shftCtl-') subMenu("To UpperCase ^K\"","",5,alt-') menu("Block Modes","",5,alt-/) checkedSubMenu("Column mode ^KN","",5,shftCtl-n,columnar) subMenu("Colmn Ins/Ovl ^KI","",5,shftCtl-i) menu("Find","",5,alt-/) subMenu("Find ^QF","",5,shftAlt-f) subMenu("Find&Replace ^QA","",5,shftAlt-a) subMenu("Repeat Find ^L","",5,ctl-l) subMenu("Cursor to last^QV","",5,shftAlt-v) .. *2x subMenu("Find Ptr Code ^PF","",5,shftAltCtl-f) .. *2x menu("Mark","",5,alt-/) subMenu("Marker Set ^K0-K9","",5,shftCtl-0) subMenu("Goto Mark ^Q0-Q9","",5,shftAlt-0) .. *2x menu("Misc","",6,alt-/) menu("Numbers","",6,alt-/) subMenu("See Variable ^OQ","",6,altCtl-q) subMenu("Set Variable ^OM","",6,altCtl-m) subMenu("Set Delay SC-kp2","",6,shftCtl-kp2) subMenu("Do Delay SA-kp2","",6,shftAlt-kp2) subMenu("Hex-Decimal A-H","",6,alt-h) .. *2x menu("Characters","",6,alt-/) subMenu("ASCII Value ^OH","",6,altCtl-h) subMenu("Input CtlChar ^P=","",6,shftAltCtl-k) subMenu("TypeChar ^OY","",6,altCtl-y) subMenu("Flip Case ^OU","",6,altCtl-u) subMenu("To UPCase SC-kp5","",6,shftCtl-kp5) subMenu("To lCase SA-kp5","",6,shftAlt-kp5) subMenu("Set Wldcrd SC-kp1","",6,shftCtl-kp1) subMenu("Set Or SA-kp1","",6,shftAlt-kp1) subMenu("Set EOL AC-kp1","",6,altCtl-kp1) subMenu("Alt.Chars AC-kp4","",6,altCtl-kp4) menu("Math","",6,alt-/) subMenu("Zero Total A-0","",6,alt-0) subMenu("Add to total A-+","",6,alt-=) subMenu("Sub frm total A--","",6,alt--) subMenu("Insert total A-\ ","",6,alt-\) subMenu("Math Calc run ^QM","",6,shftAlt-m) subMenu("Block Math ^KM","",6,shftCtl-m) .. *2x menu("Keys","",6,alt-/) subMenu("Kill Key SC-kp0","",6,shftCtl-kp0) subMenu("Swap Keys SA-kp0","",6,shftAlt-kp0) subMenu(" \" MouseUp AC-kp6","",6,altCtl-kp6) subMenu("Keys InUse AC-kp7","",6,altCtl-kp7) menu("Index","",6,alt-/) subMenu("Word>Indx ^PK","",6,shftAltCtl-k) subMenu("Word>Indx SC-mous","",6,shftAltCtl-k) subMenu("Phrase> \" SC-drag","",6,shftAltCtl-k) subMenu("Build Index A-B","",6,alt-b) menu("C environment","",6,alt-/) subMenu("C - setup S-F7","",6,shft-f7) subMenu("Save to vd0: C-F7","",6,ctl-f7) subMenu("Comment /* F7","",6,normal-f7) subMenu("Comment */ F8","",6,normal-f8) subMenu("Comment Out C-F8","",6,ctl-f8) subMenu("C - unsetup S-F8","",6,shft-f8) menu("Spell","",6,alt-/) subMenu("Spell Doc ^QL","",6,shftAlt-l) subMenu("Spell Word ^QN","",6,shftAlt-n) subMenu("Check Word ^QO","",6,shftAlt-o) menu("Startup Cmd SAC-z","",6,shftAltCtl-z) menu("Print","",7,alt-/) menu("Values","",7,alt-/) subMenu("Print via x: ^PP","",7,shftAltCtl-p) ..*2x subMenu("Lines/Page ^PJ","",7,shftAltCtl-j) .. *2x subMenu("Top Margin SC-kp8","",7,shftCtl-kp8) subMenu("Bot Margin SC-kp9","",7,shftCtl-kp9) menu("Actions","",7,alt-/) subMenu("File Print ^KP","",7,shftCtl-p) .. *2x subMenu("Block Print ^PO","",7,shftAltCtl-o) subMenu("Abort 1 print ^PU","",7,shftAltCtl-u) subMenu("Abort all ^P0","",7,shftAltCtl-0) subMenu("Resume print ^P1","",7,shftAltCtl-1) subMenu("Find Ptr Code ^PF","",7,shftAltCtl-f) .. *2x menu("Control Toggles","",7,alt-/) subMenu("Bold ^PB","",7,shftAltCtl-b) subMenu("Doublestrike ^PD","",7,shftAltCtl-d) subMenu("Underline ^PS","",7,shftAltCtl-s) subMenu("NLQ ^PX","",7,shftAltCtl-x) subMenu("Subscript ^PV","",7,shftAltCtl-v) subMenu("Superscript ^PT","",7,shftAltCtl-t) subMenu("Italics ^PY","",7,shftAltCtl-y) subMenu("Condensed ^PQ","",7,shftAltCtl-q) subMenu("Wide ^PW","",7,shftAltCtl-w) menu("Controls - Other","",7,alt-/) subMenu("AltPitch-Elite^PA","",7,shftAltCtl-a) subMenu("NormPitch-Pica^PN","",7,shftAltCtl-n) submenu("Colors ^PC","",7,shftAltCtl-c) subMenu("General ^PG","",7,shftAltCtl-g) .. set up buffer used in Find/Replace options insertChar(buf87,"U") .. set up initial block insert vs. overlay mode equateNum(n80,1) .. put in default buffer names/uses nameBuffer(74,"Edit Buf #/name") nameBuffer(75,"DOS commands") nameBuffer(76,"Block filenames") nameBuffer(77,"Filenames") nameBuffer(78,"ASCII Help") nameBuffer(79,"UstarHelp!") nameBuffer(80,"Swap Buffer") nameBuffer(81,"Create a Uedit command") nameBuffer(82,"AmigaDOS result") nameBuffer(84,"Directory Name (mouse)") nameBuffer(85,"Columnar Undo") nameBuffer(86,"Undo Buffer (non-columnar)") nameBuffer(87,"Find/Replace options") nameBuffer(88,"Replace String") nameBuffer(89,"Find String") .. 2.3c: set standard primitive mode escape to be the Return key equateNum(pmEsc,10) ..runKey(shftAltCtl-z) > *** ENABLE THIS FOR RELEASE VERSIONS *** < .. !SHARE - put two dots in front of this line and recompile UstarConfig! .. to remove the annoying startup message and requester shftAltCtl-z: putMsg("Ustar v0.90, Copyright © 1987 by Kurt Wessels") >