lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

joerc (23870B)


      1 -asis
      2 -nobackups
      3 -nonotice
      4 -noxon
      5 -notite
      6 -assume_color
      7 -assume_256color
      8 -guess_non_utf8
      9 -guess_utf16
     10 -guess_crlf
     11 -guess_indent
     12 -menu_above
     13 -transpose
     14  -joe_state
     15 -joexterm
     16 -brpaste
     17 -pastehack
     18 -restore
     19 -search_prompting
     20 -lmsg \i%k%T%W%I%X %n %m%y%R %M %x
     21 -rmsg  %S Row %4r Col %3c 
     22 -smsg ** Line %r Col %c Offset %o(0x%O) %e %a(0x%A) Width %w ** 
     23 -zmsg ** Line %r Col %c Offset %o(0x%O) ** 
     24 -xmsg \i Joe's Own Editor %v (%b) ** Type \bCtrl-K Q\b to exit or \bCtrl-K H\b for help **\i
     25 -aborthint ^C
     26 -helphint ^K H
     27 -highlight
     28 -istep 4
     29 
     30 :include ftyperc
     31 
     32 :defmenu root
     33 mode,"overwrite",rtn	T Overtype %Zoverwrite%
     34 mode,"hex",rtn	' Hex edit mode
     35 mode,"autoindent",rtn	I Autoindent %Zautoindent%
     36 mode,"wordwrap",rtn	W Word wrap %Zwordwrap%
     37 mode,"tab",rtn	D Tab width %Ztab%
     38 mode,"lmargin",rtn	L Left margin %Zlmargin%
     39 mode,"rmargin",rtn	R Right margin %Zrmargin%
     40 mode,"square",rtn	X Column mode %Zsquare%
     41 mode,"indentc",rtn	% % Indent char %Zindentc%
     42 mode,"istep",rtn	% % Indent step %Zistep%
     43 menu,"indent",rtn	= Indent select
     44 mode,"highlight",rtn	H Highlighting %Zhighlight%
     45 mode,"crlf",rtn	Z CR-LF/MS-DOS %Zcrlf%
     46 mode,"linums",rtn	N Line numbers %Zlinums%
     47 mode,"beep",rtn	B Beep %Zbeep%
     48 mode,"rdonly",rtn	O Read only %Zrdonly%
     49 mode,"syntax",rtn	Y Syntax
     50 mode,"encoding",rtn	E Encoding
     51 mode,"asis",rtn	% % Meta chars as-is
     52 mode,"language",rtn	V Language
     53 mode,"picture",rtn	P picture %Zpicture%
     54 mode,"type",rtn		F File type [%Ztype%]
     55 mode,"title",rtn	C Context %Ztitle%
     56 menu,"more-options",rtn	  % % More options...
     57 
     58 :defmenu more-options menu,"root",rtn
     59 menu,"^G",rtn	% % ^G options
     60 menu,"search",rtn	% % search options
     61 menu,"paragraph",rtn	% % paragraph options
     62 menu,"file",rtn	% % file options
     63 menu,"menu",rtn	% % menu options
     64 menu,"global",rtn	% % global options
     65 menu,"cursor",rtn	% % cursor options
     66 menu,"marking",rtn	% % marking options
     67 menu,"tab",rtn	% % tab/indent options
     68 
     69 :defmenu indent menu,"root",rtn
     70 mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 1, Indent character = 32",rtn	1 Space
     71 mode,"istep",rtn,"2",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 2, Indent character = 32",rtn	2 Spaces
     72 mode,"istep",rtn,"3",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 3, Indent character = 32",rtn	3 Spaces
     73 mode,"istep",rtn,"4",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 4, Indent character = 32",rtn	4 Spaces
     74 mode,"istep",rtn,"5",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 5, Indent character = 32",rtn	5 Spaces
     75 mode,"istep",rtn,"8",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 8, Indent character = 32",rtn	8 Spaces
     76 mode,"istep",rtn,"10",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 10, Indent character = 32",rtn	0 Ten
     77 mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"9",rtn,msg,"Indent step = 1, Indent character = 9",rtn	T Tab
     78 
     79 :defmenu menu menu,"more-options",rtn
     80 mode,"menu_explorer",rtn	% % Menu explorer %Zmenu_explorer%
     81 mode,"menu_above",rtn	% % Menu position %Zmenu_above%
     82 mode,"menu_jump",rtn	% % Jump into menu %Zmenu_jump%
     83 mode,"transpose",rtn	% % Transpose menus %Ztranspose%
     84 
     85 :defmenu ^G menu,"more-options",rtn
     86 mode,"highlighter_context",rtn	% % ^G uses highlighter context %Zhighlighter_context%
     87 mode,"single_quoted",rtn	% % ^G ignores '...' %Zsingle_quoted%
     88 mode,"no_double_quoted",rtn	% % ^G no ignore "..." %Zno_double_quoted%
     89 mode,"c_comment",rtn	% % ^G ignores /*...*/ %Zc_comment%
     90 mode,"cpp_comment",rtn	% % ^G ignores //... %Zcpp_comment%
     91 mode,"pound_comment",rtn	% % ^G ignores #... %Zpound_comment%
     92 mode,"vhdl_comment",rtn	% % ^G ignores --... %Zvhdl_comment%
     93 mode,"semi_comment",rtn	% % ^G ignores ;... %Zsemi_comment%
     94 mode,"tex_comment",rtn % % ^G ignores %%... %Ztex_comment%
     95 mode,"text_delimiters",rtn % % Text delimiters %Ztext_delimiters%
     96 
     97 :defmenu search menu,"more-options",rtn
     98 mode,"icase",rtn	% % Case insensitivity %Zicase%
     99 mode,"wrap",rtn	% % Search wraps %Zwrap%
    100 mode,"search_prompting",rtn	% % Search prompting %Zsearch_prompting%
    101 mode,"csmode",rtn	% % Continued search %Zcsmode%
    102 
    103 :defmenu paragraph menu,"more-options",rtn
    104 mode,"french",rtn	% % French spacing %Zfrench%
    105 mode,"flowed",rtn	% % Flowed text %Zflowed%
    106 mode,"cpara",rtn	% % Paragraph indent chars %Zcpara%
    107 mode,"cnotpara",rtn	% % Not-paragraph chars %Zcnotpara%
    108 
    109 :defmenu file menu,"more-options",rtn
    110 mode,"restore",rtn	% % Restore cursor %Zrestore%
    111 mode,"guess_crlf",rtn	% % Auto detect CR-LF %Zguess_crlf%
    112 mode,"guess_indent",rtn	% % Guess indent %Zguess_indent%
    113 mode,"guess_non_utf8",rtn	% % Guess non-UTF-8 %Zguess_non_utf8%
    114 mode,"guess_utf8",rtn	% % Guess UTF-8 %Zguess_utf8%
    115 mode,"guess_utf16",rtn	% % Guess UTF-16 %Zguess_utf16%
    116 mode,"force",rtn	% % Force last NL %Zforce%
    117 mode,"nobackup",rtn	% % No backup %Znobackup%
    118 
    119 :defmenu global menu,"more-options",rtn
    120 mode,"nolocks",rtn	% % Disable locks %Znolocks%
    121 mode,"nobackups",rtn	% % Disable backups %Znobackups%
    122 mode,"nodeadjoe",rtn	% % Disable DEADJOE %Znodeadjoe%
    123 mode,"nomodcheck",rtn	% % Disable mtime check %Znomodcheck%
    124 mode,"nocurdir",rtn	% % Disable current dir %Znocurdir%
    125 mode,"exask",rtn	% % Exit ask %Zexask%
    126 mode,"nosta",rtn	% % Disable status line %Znosta%
    127 mode,"keepup",rtn	% % Fast status line %Zkeepup%
    128 mode,"break_hardlinks",rtn	% % Break hard links %Zbreak_hardlinks%
    129 mode,"break_links",rtn	% % Break links %Zbreak_links%
    130 mode,"joe_state",rtn	% % Joe_state file %Zjoe_state%
    131 mode,"undo_keep",rtn	% % No. undo records %Zundo_keep%
    132 mode,"backpath",rtn	% % Path to backup files %Zbackpath%
    133 
    134 :defmenu cursor menu,"more-options",rtn
    135 mode,"pg",rtn	% % No. PgUp/PgDn lines %Zpg%
    136 mode,"mid",rtn	C Center on scroll %Zmid%
    137 mode,"left",rtn	L Columns to scroll left %Zleft%
    138 mode,"right",rtn R Columns to scroll right %Zright%
    139 mode,"floatmouse",rtn	% % Click past end %Zfloatmouse%
    140 mode,"rtbutton",rtn	% % Right button %Zrtbutton%
    141 
    142 :defmenu marking menu,"more-options",rtn
    143 mode,"autoswap",rtn	% % Autoswap mode %Zautoswap%
    144 mode,"marking",rtn	% % Marking %Zmarking%
    145 mode,"lightoff",rtn	% % Auto unmask %Zlightoff%
    146 
    147 :defmenu tab menu,"more-options",rtn
    148 mode,"smarthome",rtn	% % Smart home key %Zsmarthome%
    149 mode,"smartbacks",rtn	% % Smart backspace %Zsmartbacks%
    150 mode,"indentfirst",rtn	% % To indent first %Zindentfirst%
    151 mode,"purify",rtn	% % Clean up indents %Zpurify%
    152 mode,"spaces",rtn	% % No tabs %Zspaces%
    153 
    154 {Basic
    155  \|\uREGION\u        \|\uGO TO\u           \|\uGO TO\u           \|\uDELETE\u    \|\uEXIT\u       \|\uSEARCH\u    \| 
    156  \|\b^Arrow\b Select \|\b^Z\b Prev. word   \|\b^U/^V\b PgUp/PgDn \|\b^D\b Char.  \|\b^KX\b Save   \|\b^KF\b Find  \| 
    157  \|\b^KB\b Begin     \|\b^X\b Next word    \|\uMISC\u            \|\b^Y\b Line   \|\b^C\b  Abort  \|\b^L\b  Next  \| 
    158  \|\b^KK\b End       \|\b^KU\b Top of file \|\b^KJ\b Paragraph   \|\b^W\b >Word  \|\b^KQ\b All    \|\uHELP\u      \| 
    159  \|\b^KC\b Copy      \|\b^KV\b End of file \|\b^KA\b Center line \|\b^O\b Word<  \|\uFILE\u       \|\bEsc .\b Next\| 
    160  \|\b^KM\b Move      \|\b^A\b Beg. of line \|\b^K Space\b Status \|\b^J\b >Line  \|\b^KE\b Edit   \|\bEsc ,\b Prev\| 
    161  \|\b^KW\b File      \|\b^E\b End of line  \|\uSPELL\u           \|\b^[O\b Line< \|\b^KR\b Insert \|\b^KH\b Off   \| 
    162  \|\b^KY\b Delete    \|\b^KL\b To line no. \|\bEsc N\b Word      \|\b^_\b Undo   \|\b^KD\b Save   \|\b^T\b  Menu  \| 
    163  \|\b^K/\b Filter    \|\b^G\b  Matching (  \|\bEsc L\b File      \|\b^^\b Redo   \|\b^K`\b Revert \|\b\b          \| 
    164 }
    165 
    166 {Advanced
    167  \|\uMACROS\u         \|\uSCROLL\u           \|\uWINDOW\u               \|\uGO TO\u      \|\uI-SEARCH\u     \| 
    168  \|\b^K[ 0-9\b Record \|\bEsc W\b Up         \|\b^KO\b Open  \b^C\b  Close  \|\bEsc B\b / \bK\b  \|\b^R\b Backwards \| 
    169  \|\b^K]\b     Stop   \|\bEsc Z\b Down       \|\b^KG\b Grow  \b^KT\b Shrink \|to \b^KB\b/\b^KK \b\|\b^S\b Forwards  \| 
    170  \|\bEsc I\b   Text   \|\bEsc <\b Left       \|\b^KN\b Next  \b^KP\b Prev.  \|\b^P\b  Up     \|\uBOOKMARKS\u    \| 
    171  \|\b^K?\b     Pause  \|\bEsc >\b Right      \|\b^KI\b Show one / All   \|\b^N\b  Down   \|\bEsc 0-9\b Goto \| 
    172  \|   for prompt  \|\uINSERT\u           \|\uSHELL\u                \|\b^B\b  Left   \|\bEsc Esc\b Set  \| 
    173  \|\b^K 0-9\b  Play   \|\b^]\b Line  \b^Q\b Ctrl \|\bF1-F4\b Term emulator  \|\b^F\b  Right  \|\b^K-\b Auto prev\| 
    174  \|\b^K\\\b     Repeat \|\b^@\b Space \b^\\\b Meta \|\b^K'\b In buffer        \|           \|\b^K=\b Auto next\| 
    175  \|\bEsc D\b   Dump   \|\bEsc Y\b Paste      \|\b^KZ\b Suspend  \bEsc !\b Append \|      \|             \| 
    176 }
    177 
    178 {Programs
    179  \|\uCOMMANDS\u            \|\uCOMPILING\u                  \|\uQUICK\u                       \| 
    180  \|\bEsc X\b Command prompt\|\bEsc C\b Save modified compile\|\b^G\b  Find word under cursor  \| 
    181  \|\bEsc M\b Calculator    \|\bEsc G\b Grep                 \|\b^K;\b Tags file search        \| 
    182  \|\bshowlog\b Startup log \|\bEsc =\b To next error        \|\bEsc Enter\b Complete word     \| 
    183  \|\bupper\b   Change case \|\bEsc -\b To prev. error       \|\uBUFFER\u                      \| 
    184  \|\blower\b   Change case \|\bEsc Space\b Jump to error    \|\bEsc U\b Next                  \| 
    185  \|\bcd\b      Change dir  \|\uINDENT\u                     \|\bEsc V\b Previous              \| 
    186  \|\bkeymap\b  Change map  \|\b^K,\b Less                   \|\bEsc X bufed\b Switch          \| 
    187  \|                    \|\b^K.\b More                   \|                            \| 
    188 }
    189 
    190 {Search
    191  Search sequences:                                                            \| 
    192      \b\\^  \\$\b  matches beg./end of line       \b\\.\b     match any single char      \| 
    193      \b\\<  \\>\b  matches beg./end of word       \b\\!\b     match char or expression   \| 
    194      \b\\(  \\)\b  grouping                       \b\\|\b     match left or right         \| 
    195      \b\\[a-z]\b  matches one of a set           \b\\y \\Y\b  short for (.*) / (!*)       \| 
    196      \b\\{1,3}\b  match 1 - 3 occurrences        \b\\?\b     match 0 or 1 occurrence     \| 
    197      \b\\+\b      match 1 or more occurrences    \b\\*\b     match 0 or more occurrences \| 
    198                                                                                \|
    199  \b^C\b    to abort                             \bEsc .\b  to list of escape sequences \|
    200 }
    201 
    202 {Escape sequences
    203  Escape sequences: \| 
    204     \b\\x{10fff}\b Unicode code point    \b\\p{Ll}\b  Unicode category \| 
    205     \b\\i\b / \b\\I\b   Identifier start      \b\\t\b  tab          \b\\e\b  escape               \| 
    206     \b\\c\b / \b\\C\b   Identifier continue   \b\\n\b  newline      \b\\r\b  carriage return      \| 
    207     \b\\d\b / \b\\D\b   Digit / Not a digit   \b\\b\b  backspace  \b\\xFF\b  hex character        \| 
    208     \b\\w\b / \b\\W\b   Word / Not a word     \b\\a\b  alert      \b\\377\b  octal character      \| 
    209     \b\\s\b / \b\\S\b   Space / Not a space   \b\\f\b  formfeed     \b\\\\\b  backslash            \| 
    210   \|
    211   \|
    212 }
    213 
    214 {Replace
    215  Replace sequences:                                                           \| 
    216      \b\\&\b      replaced with entire match     \b\\1\b - \b9\b replaced with Nth group   \| 
    217      \b\\u \\l\b   convert next to upper/lower    \b\\U \\L\b  case convert until \b\\E\b     \| 
    218                                                                               \|
    219                                                                               \|
    220  \|
    221  \|
    222  \|
    223  \b^C\b    to abort                             \bEsc ,\b to list of escape sequences \|
    224 }
    225 
    226 {SearchOptions
    227  Search options:                                                              \| 
    228       \br\b Replace      \bk\b Restrict search to highlighted block                   \| 
    229       \bi\b Ignore case  \bb\b Search backwards instead of forwards                   \| 
    230                      \ba\b Search across all loaded files                         \| 
    231                      \be\b Search across all files in Grep or Compile error list  \| 
    232   \bw\b / \bn\b  Allow / prevent wrap to start of file                                \| 
    233   \bx\b / \by\b  Search text is standard format / JOE format regular expression       \| 
    234     \bnnn\b  Perform exactly nnn replacements                                     \| 
    235  \b^C\b    to abort
    236 }
    237 
    238 {Math
    239   \uMATH COMMANDS\u                  \uCONSTANTS\u                                \| 
    240   \bhex oct bin\b display mode       \b0xff\b hex entry                           \| 
    241   \beng dec\b engineering / normal   \b0o77\b octal entry                         \| 
    242       \bins\b type result into file  \b0b11\b binary entry                        \| 
    243      \beval\b evaluate block         \b3e-4\b floating point entry                \| 
    244   2+3\b:\bins multiple commands      \uVARIABLES\u                                \| 
    245   \uOPERATORS\u                      \bans\b  Previous result                     \| 
    246   \b! ^  * / %  + -\b                \ba=10\b Assign a variable                   \| 
    247   \b< <= > >= == !=  &&  ||  ? :\b   \bEsc .\b for list of functions              \| 
    248 }
    249 
    250 {Functions
    251   \uFUNCTIONS\u                      \uCONSTANTS\u                                \| 
    252   \bsin cos tab asin acos atan\b     \be pi\b                                     \| 
    253   \bsinh cosh tanh asinh acosh atanh\b                                        \| 
    254   \bsqrt cbrt exp ln log\b                                                    \| 
    255   \bint floor ceil abs\b                                                      \| 
    256   \berf erfc j0 j1 y0 y1\b                                                    \| 
    257   \bjoe(..macro..)\b - runs an editor macro                                   \| 
    258                                                                               \| 
    259                                  \bEsc .\b for statistics                     \| 
    260 }
    261 
    262 {Statistics 
    263   \uMATH COMMANDS\u                                                               \| 
    264   Statistics on region of numbers  Linear regression on region of x y pairs   \| 
    265   \bsum\b  Sum                         \blr(x)\b  Estimate y given x     y=m*x+b      \| 
    266   \bcnt\b  Count                       \brlr(y)\b Estimate x given y                  \| 
    267   \bavg\b  Mean                        \bLr rLr\b Logarithmic regression y=m*ln(x)+b  \| 
    268     Standard deviation:            \blR rlR\b Exponential regression y=e^(m*x)+b  \| 
    269   \bdev\b  all data present            \bLR rLR\b Power regression       y=b*x^m      \| 
    270   \bsamp\b sample of data present      Side effects: \bb\b, \bm\b: regression coef.       \| 
    271                                        \br\b: correlation coef., \bcov\b: covariance  \| 
    272 }
    273 
    274 {Names
    275   Hit TAB to complete names.  Use up / down arrow keys to traverse history.   \| 
    276   Special file names:                                                         \| 
    277        \b!\bcommand                 Pipe in/out of a shell command                \| 
    278        \b>>\bfilename               Append to a file                              \| 
    279        \b-\b                        Read/Write to/from standard I/O               \|
    280        filename\b,START,SIZE\b      Read/Write a part of a file/device            \| 
    281            Give START/SIZE in decimal (255), octal (0377) or hex (0xFF)       \| 
    282        \b\\,\b                       Use backslash to quote special characters     \|
    283  \b^C\b    to abort
    284 }
    285 
    286 {CharTable
    287  \| Dec  \u 0123 4567  8901 2345    0123 4567  8901 2345 \u  Dec \| 
    288  \|   0 | \u@ABC\u \uDEFG\u  \uHIJK\u \uLMNO\u    \i\u@ABC\u\i \i\uDEFG\u\i  \i\uHIJK\u\i \i\uLMNO\u\i | 128 \| 
    289  \|  16 | \uPQRS\u \uTUVW\u  \uXYZ[\u \u\\]^_\u    \i\uPQRS\u\i \i\uTUVW\u\i  \i\uXYZ[\u\i \i\u\\]^_\u\i | 144 \| 
    290  \|  32 |  !"# $%&'  ()*+ ,-./     ¡¢£ ¤¥¦§  ¨©ª« ¬X®¯ | 160 \| 
    291  \|  48 | 0123 4567  89:; <=>?    °±²³ ´µ¶·  ¸¹º» ¼½¾¿ | 176 \| 
    292  \|  64 | @ABC DEFG  HIJK LMNO    ÀÁÂÃ ÄÅÆÇ  ÈÉÊË ÌÍÎÏ | 192 \| 
    293  \|  80 | PQRS TUVW  XYZ[ \\]^_    ÐÑÒÓ ÔÕÖ×  ØÙÚÛ ÜÝÞß | 208 \| 
    294  \|  96 | `abc defg  hijk lmno    àáâã äåæç  èéêë ìíîï | 224 \| 
    295  \| 112 | pqrs tuvw  xyz{ |}~    ðñòó ôõö÷  øùúû üýþÿ | 240 \| 
    296 }
    297 
    298 {Joe
    299   Send bug reports to: http://sourceforge.net/projects/joe-editor \| 
    300   \| 
    301    default joerc file is here @JOERC@/joerc \| 
    302    default syntax and i18n files are here @JOEDATA@ \| 
    303    additional documentation can be found here @JOEDOC@ \| 
    304   \| 
    305   \| 
    306   \| 
    307   \| 
    308 }
    309 
    310 :def recenter retype,arg,"top+height/2-line",rtn,upslide
    311 
    312 :windows
    313 type		U+0 TO U+10FFFF
    314 abort		^C
    315  abort		^K Q
    316  abort		^K ^Q
    317  abort		^K q
    318 querysave,query,killjoe	^K Q
    319 querysave,query,killjoe	^K ^Q
    320 querysave,query,killjoe	^K q
    321 arg		^K \
    322 explode		^K I
    323 explode		^K ^I
    324 explode		^K i
    325 help		^K H
    326 help		^K ^H
    327 help		^K h
    328 hnext		^[ .
    329 hprev		^[ ,
    330 math		^[ m
    331 math		^[ M
    332  math		^[ ^M
    333 msg		^[ h
    334 msg		^[ H
    335 msg		^[ ^H
    336 nextw		^K N
    337 nextw		^K ^N
    338 nextw		^K n
    339 pgdn		.kN
    340 pgdn		^V
    341 pgdn		^[ [ 6 ~
    342  pgdn      ^# S
    343 pgup		.kP
    344 pgup		^U
    345 pgup		^[ [ 5 ~
    346  pgup      ^# T
    347 play		^K 0 TO 9
    348 prevw		^K P
    349 prevw		^K ^P
    350 prevw		^K p
    351 query		^K ?
    352 record		^K [
    353  retype		^R
    354  recenter	^R
    355 rtn		^M
    356 shell		^K Z
    357 shell		^K ^Z
    358 shell		^K z
    359 stop		^K ]
    360  Mouse handling
    361 defmdown	MDOWN
    362 defmup		MUP
    363 defmdrag	MDRAG
    364 defm2down	M2DOWN
    365 defm2up		M2UP
    366 defm2drag	M2DRAG
    367 defm3down	M3DOWN
    368 defm3up		M3UP
    369 defm3drag	M3DRAG
    370 defmiddleup	MIDDLEUP
    371 defmiddledown	MIDDLEDOWN
    372 
    373 xtmouse		^[ [ M
    374 extmouse	^[ [ <
    375 
    376 :main			Text editing window
    377 :inherit windows
    378 
    379 :def compile mwind!,mfit!,querysave,query,scratch,"* Build Log *",rtn,bof,markb,eof," ",markk,blkdel,build
    380 :def grep_find mwind!,mfit!,scratch,"* Grep Log *",rtn,bof,markb,eof," ",markk,blkdel,grep
    381 
    382 :def shell1 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 1 *",rtn,vtbknd!,eof
    383 :def shell2 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 2 *",rtn,vtbknd!,eof
    384 :def shell3 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 3 *",rtn,vtbknd!,eof
    385 :def shell4 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 4 *",rtn,vtbknd!,eof
    386 :def shell_clear psh,bof,markb,eof,markk,blkdel
    387 :def shell_parse parserr
    388 :def shell_gparse gparse
    389 :def shell_release release
    390 :def shell_math maths
    391 :def shell_abort abort
    392 :def shell_typemath txt,maths,"ins",rtn,rtn,txt,"",rtn,txt,quote,"d",rtn
    393 :def shell_rtn rtn
    394 :def shell_edit edit
    395 :def shell_dellin dellin
    396 :def shell_cd cd
    397 :def shell_pop popabort
    398 :def shell_markb markb
    399 :def shell_markk markk
    400 
    401 paste			^[ ] 5 2 ;
    402 brpaste			^[ [ 2 0 0 ~
    403 brpaste_done		^[ [ 2 0 1 ~
    404 insc			^[ [ 2 ~
    405 insc			^[ [ L
    406 delch			^[ [ 3 ~
    407 pgup			^[ [ I
    408 pgdn			^[ [ G
    409 home			^[ [ 1 ~
    410 home			^[ [ H
    411 home			^[ O H
    412 home			^[ [ 7 ~
    413  home			^# SP A
    414 eol			^[ [ 4 ~
    415 eol			^[ [ F
    416 eol			^[ O F
    417 eol			^[ [ 8 ~
    418  eol			^# SP @
    419 
    420 rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ [ 1 ; 5 C
    421 rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ [ 5 C
    422 rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ O c
    423 ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ [ 1 ; 5 D
    424 ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ [ 5 D
    425  ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ O D
    426 ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ O d
    427 uparw,dnarw,begin_marking,uparw,toggle_marking	^[ [ 1 ; 5 A
    428 uparw,dnarw,begin_marking,uparw,toggle_marking	^[ [ 5 A
    429  uparw,dnarw,begin_marking,uparw,toggle_marking	^[ O A
    430 uparw,dnarw,begin_marking,uparw,toggle_marking	^[ O a
    431 dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ [ 1 ; 5 B
    432 dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ [ 5 B
    433  dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ O B
    434 dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ O b
    435 
    436 blkdel,nmark   ^[ [ 3 ; 5 -
    437 blkdel,nmark   ^[ [ 3 ; 5 ~
    438 
    439 yank		^[ [ 2 ; 5 -
    440 yank		^[ [ 2 ; 5 ~
    441 delbol		^[ o
    442 delbol		^[ ^O
    443 dnslide		^[ z
    444 dnslide		^[ Z
    445 dnslide		^[ ^Z
    446 dnslide,dnslide,dnslide,dnslide		MWDOWN
    447 compile		^[ c
    448 compile		^[ C
    449 compile		^[ ^C
    450 grep_find	^[ g
    451 grep_find	^[ G
    452 grep_find	^[ ^G
    453 execmd		^[ x
    454 execmd		^[ X
    455 execmd		^[ ^X
    456 finish		^[ ^I
    457 finish		^[ ^M
    458 mwind!,mfit,jump,bol		^[ SP
    459 isrch		^[ s
    460 isrch		^[ S
    461 isrch		^[ ^S
    462 isrch		^S
    463 notmod		^[ ~
    464 mwind,mfit,prevw,nxterr		^[ =
    465 parserr		^[ e
    466 parserr		^[ E
    467 parserr		^[ ^E
    468 mwind,mfit,prevw,prverr		^[ -
    469 rsrch		^[ r
    470 rsrch		^[ R
    471 rsrch		^[ ^R
    472 retype,rsrch	^R
    473 run		^[ !
    474 tomarkb		^[ b
    475 tomarkb		^[ ^B
    476 tomarkk		^[ k
    477 tomarkk		^[ ^K
    478 tomarkk		^[ K
    479 txt		^[ i
    480 txt		^[ I
    481 upslide		^[ w
    482 upslide		^[ ^W
    483 upslide		^[ W
    484 upslide,upslide,upslide,upslide		MWUP
    485 yank		^[ y
    486 yankpop		^[ ^Y
    487 yank		^[ Y
    488 insc		^@
    489  bufed		^[ d
    490 nbuf		^[ v
    491 nbuf		^[ V
    492 nbuf		^[ ^V
    493 pbuf		^[ u
    494 pbuf		^[ U
    495 pbuf		^[ ^U
    496  query		^[ q
    497  byte		^[ n
    498  col		^[ c
    499  abortbuf	^[ k
    500  ask		^[ a
    501  bop		^[ p
    502  bos		^[ x
    503  copy		^[ ^W
    504  dupw		^[ \
    505  eop		^[ n
    506  format		^[ j
    507  markl		^[ l
    508  nmark		^[ @
    509  pop		^[ >
    510  psh		^[ <
    511  swap		^[ x
    512  tomarkbk	^[ g
    513  tos		^[ e
    514  tw0		^[ 0
    515  tw1		^[ 1
    516  uarg		^[ u
    517  yank		^[ ^Y
    518  yapp		^[ w
    519 quote8		^\
    520  quote		`
    521 quote		^[ '
    522 quote		^Q
    523 backs		^?
    524 backs		^H
    525 backw		^O
    526 bknd		^K '
    527 blkcpy		^K C
    528 blkcpy		^K ^C
    529 blkcpy		^K c
    530 blkdel		^K Y
    531 blkdel		^K ^Y
    532 blkdel		^K y
    533 blkmove		^K M
    534 blkmove		^K ^M
    535 blkmove		^K m
    536 blksave		^K W
    537 blksave		^K ^W
    538 blksave		^K w
    539 bof		^K U
    540 bof		^K ^U
    541 bof		^K u
    542  bol		.kh
    543  bol		^A
    544  bol      ^# SP A
    545 home		.kh
    546 home		^A
    547 center		^K A
    548 center		^K ^A
    549 center		^K a
    550 crawll		^K <
    551 crawll		^[ <
    552 crawlr		^K >
    553 crawlr		^[ >
    554 delch		.kD
    555 delch		^D
    556 deleol		^J
    557 dellin		^Y
    558 delw		^W
    559 dnarw		.kd
    560 dnarw		^N
    561 dnarw		^[ O B
    562 dnarw		^[ [ B
    563  dnarw		^# B
    564 edit		^K E
    565 edit		^K ^E
    566 edit		^K e
    567 eof		^K V
    568 eof		^K ^V
    569 eof		^K v
    570 eol		.kH
    571 eol		.@7
    572 eol		^E
    573 exsave		^K X
    574 exsave		^K ^X
    575 exsave		^K x
    576 ffirst		^K F
    577 ffirst		^K ^F
    578 ffirst		^K f
    579 filt		^K /
    580  finish		^K ^M
    581 fnext		^L
    582 fmtblk		^K J
    583 fmtblk		^K ^J
    584 fmtblk		^K j
    585 gomark		^[ 0 TO 9
    586 groww		^K G
    587 groww		^K ^G
    588 groww		^K g
    589 insc		.kI
    590  insc		^@
    591 insf		^K R
    592 insf		^K ^R
    593 insf		^K r
    594 lindent		^K ,
    595 line		^K L
    596 line		^K ^L
    597 line		^K l
    598 ltarw		.kl
    599 ltarw		^B
    600 ltarw		^[ O D
    601 ltarw		^[ [ D
    602  ltarw          ^# D
    603 macros		^[ d
    604 macros		^[ ^D
    605 markb		^K B
    606 markb		^K ^B
    607 markb		^K b
    608 markk		^K K
    609 markk		^K ^K
    610 markk		^K k
    611  mode		^T
    612 menu,"root",rtn	^T
    613 nextpos		^K =
    614 nextword	^X
    615 open		^]
    616 prevpos		^K -
    617 prevword	^Z
    618 reload		^K `
    619 redo		^^
    620 rindent		^K .
    621 rtarw		.kr
    622 rtarw		^F
    623 rtarw		^[ O C
    624 rtarw		^[ [ C
    625  rtarw          ^# C
    626 run		^K !
    627 save		^K D
    628 save		^K S
    629 save		^K ^D
    630 save		^K ^S
    631 save		^K d
    632 save		^K s
    633 setmark		^[ ^[
    634 shrinkw		^K T
    635 shrinkw		^K ^T
    636 shrinkw		^K t
    637 splitw		^K O
    638 splitw		^K ^O
    639 splitw		^K o
    640 stat		^K SP
    641 stat		^K ^@
    642 tag		^K ;
    643 tomatch		^G
    644 undo		^_
    645 uparw		.ku
    646  uparw		^# A
    647 uparw		^P
    648 uparw		^[ O A
    649 uparw		^[ [ A
    650 shell1		^[ [ 1 1 ~
    651 shell1		^[ O P
    652 shell1		^[ [ [ A
    653 shell1		.k1
    654 shell2		^[ [ 1 2 ~
    655 shell2		^[ O Q
    656 shell2		^[ [ [ B
    657 shell2		.k2
    658 shell3		^[ [ 1 3 ~
    659 shell3		^[ O R
    660 shell3		^[ [ [ C
    661 shell3		.k3
    662 shell4		^[ [ 1 4 ~
    663 shell4		^[ O S
    664 shell4		^[ [ [ D
    665 shell4		.k4
    666 
    667 :prompt			Prompt windows
    668 :inherit main
    669 if,"byte>size",then,complete,complete,else,delch,endif	^D
    670 complete	^I
    671 dnarw,eol	.kd
    672 dnarw,eol	^N
    673 dnarw,eol	^[ O B
    674 dnarw,eol	^[ [ B
    675  dnarw,eol	^# B
    676 uparw,eol	.ku
    677  uparw,eol	^# A
    678 uparw,eol	^P
    679 uparw,eol	^[ O A
    680 uparw,eol	^[ [ A
    681 
    682 :menu			Selection menus
    683 :inherit windows
    684 
    685 pgupmenu			^[ [ I
    686 pgdnmenu			^[ [ G
    687 bolmenu			^[ [ 1 ~
    688 bolmenu			^[ [ H
    689 bolmenu			^[ O H
    690 bolmenu			^[ [ 7 ~
    691  bolmenu			^# SP A
    692 eolmenu			^[ [ 4 ~
    693 eolmenu			^[ [ F
    694 eolmenu			^[ O F
    695 eolmenu			^[ [ 8 ~
    696  eolmenu			^# SP @
    697 abort		^[ ^[
    698 backsmenu	^?
    699 backsmenu	^H
    700 bofmenu		^K U
    701 bofmenu		^K ^U
    702 bofmenu		^K u
    703 bolmenu		.kh
    704 bolmenu		^A
    705 dnarwmenu	.kd
    706 dnarwmenu	^N
    707 dnarwmenu	^[ [ B
    708 dnarwmenu	^[ O B
    709  dnarwmenu ^# B
    710 dnarwmenu	MWDOWN
    711 eofmenu		^K V
    712 eofmenu		^K ^V
    713 eofmenu		^K v
    714 eolmenu		.kH
    715 eolmenu		^E
    716 ltarwmenu	.kl
    717 ltarwmenu	^B
    718 ltarwmenu	^[ [ D
    719 ltarwmenu	^[ O D
    720  ltarwmenu ^# D
    721 pgdnmenu	.kN
    722 pgdnmenu	^V
    723 pgdnmenu	^[ [ 6 ~
    724  pgdnmenu  ^# S
    725 pgupmenu	.kP
    726 pgupmenu	^U
    727 pgupmenu	^[ [ 5 ~
    728  pgupmenu  ^# T
    729 rtarwmenu	.kr
    730 rtarwmenu	^F
    731 rtarwmenu	^[ [ C
    732  rtarwmenu ^# C
    733 rtarwmenu	^[ O C
    734 rtn		SP
    735 rtn		^I
    736 rtn		^K H
    737 rtn		^K h
    738 rtn		^K ^H
    739 tabmenu		^I
    740 uparwmenu	.ku
    741 uparwmenu	^P
    742 uparwmenu	^[ [ A
    743 uparwmenu	^[ O A
    744  uparwmenu ^# A
    745 uparwmenu	MWUP
    746 defm2down	M2DOWN
    747 
    748 :query			Single-key query window
    749 :inherit windows
    750 
    751 :querya			Single-key query window for quoting
    752 type		U+0 TO U+10FFFF
    753 
    754 :querysr		Search & replace query window
    755 type		U+0 TO U+10FFFF
    756 
    757 :shell			Input to shell windows
    758 :inherit main
    759 ""		^C
    760 ""		^D
    761 "	"	^I
    762 ""		^H
    763 ""		^M
    764 ""		^?
    765 
    766 :vtshell		Input to ANSI shell windows
    767 :inherit main
    768 ""		 [ A
    769 ""		.ku
    770 ""		 [ B
    771 ""		.kd
    772 ""		 [ C
    773 ""		.kr
    774 ""		 [ D
    775 ""		.kl
    776 ""		^A
    777 ""		^C
    778 ""		^D
    779 ""		^E
    780 "	"	^I
    781 ""		^H
    782 ""		^M
    783 ""		^?