-asis
-nobackups
-nonotice
-noxon
-notite
-assume_color
-assume_256color
-guess_non_utf8
-guess_utf16
-guess_crlf
-guess_indent
-menu_above
-transpose
 -joe_state
-joexterm
-brpaste
-pastehack
-restore
-search_prompting
-lmsg \i%k%T%W%I%X %n %m%y%R %M %x
-rmsg  %S Row %4r Col %3c 
-smsg ** Line %r Col %c Offset %o(0x%O) %e %a(0x%A) Width %w ** 
-zmsg ** Line %r Col %c Offset %o(0x%O) ** 
-xmsg \i Joe's Own Editor %v (%b) ** Type \bCtrl-K Q\b to exit or \bCtrl-K H\b for help **\i
-aborthint ^C
-helphint ^K H
-highlight
-istep 4

:include ftyperc

:defmenu root
mode,"overwrite",rtn	T Overtype %Zoverwrite%
mode,"hex",rtn	' Hex edit mode
mode,"autoindent",rtn	I Autoindent %Zautoindent%
mode,"wordwrap",rtn	W Word wrap %Zwordwrap%
mode,"tab",rtn	D Tab width %Ztab%
mode,"lmargin",rtn	L Left margin %Zlmargin%
mode,"rmargin",rtn	R Right margin %Zrmargin%
mode,"square",rtn	X Column mode %Zsquare%
mode,"indentc",rtn	% % Indent char %Zindentc%
mode,"istep",rtn	% % Indent step %Zistep%
menu,"indent",rtn	= Indent select
mode,"highlight",rtn	H Highlighting %Zhighlight%
mode,"crlf",rtn	Z CR-LF/MS-DOS %Zcrlf%
mode,"linums",rtn	N Line numbers %Zlinums%
mode,"beep",rtn	B Beep %Zbeep%
mode,"rdonly",rtn	O Read only %Zrdonly%
mode,"syntax",rtn	Y Syntax
mode,"encoding",rtn	E Encoding
mode,"asis",rtn	% % Meta chars as-is
mode,"language",rtn	V Language
mode,"picture",rtn	P picture %Zpicture%
mode,"type",rtn		F File type [%Ztype%]
mode,"title",rtn	C Context %Ztitle%
menu,"more-options",rtn	  % % More options...

:defmenu more-options menu,"root",rtn
menu,"^G",rtn	% % ^G options
menu,"search",rtn	% % search options
menu,"paragraph",rtn	% % paragraph options
menu,"file",rtn	% % file options
menu,"menu",rtn	% % menu options
menu,"global",rtn	% % global options
menu,"cursor",rtn	% % cursor options
menu,"marking",rtn	% % marking options
menu,"tab",rtn	% % tab/indent options

:defmenu indent menu,"root",rtn
mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 1, Indent character = 32",rtn	1 Space
mode,"istep",rtn,"2",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 2, Indent character = 32",rtn	2 Spaces
mode,"istep",rtn,"3",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 3, Indent character = 32",rtn	3 Spaces
mode,"istep",rtn,"4",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 4, Indent character = 32",rtn	4 Spaces
mode,"istep",rtn,"5",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 5, Indent character = 32",rtn	5 Spaces
mode,"istep",rtn,"8",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 8, Indent character = 32",rtn	8 Spaces
mode,"istep",rtn,"10",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 10, Indent character = 32",rtn	0 Ten
mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"9",rtn,msg,"Indent step = 1, Indent character = 9",rtn	T Tab

:defmenu menu menu,"more-options",rtn
mode,"menu_explorer",rtn	% % Menu explorer %Zmenu_explorer%
mode,"menu_above",rtn	% % Menu position %Zmenu_above%
mode,"menu_jump",rtn	% % Jump into menu %Zmenu_jump%
mode,"transpose",rtn	% % Transpose menus %Ztranspose%

:defmenu ^G menu,"more-options",rtn
mode,"highlighter_context",rtn	% % ^G uses highlighter context %Zhighlighter_context%
mode,"single_quoted",rtn	% % ^G ignores '...' %Zsingle_quoted%
mode,"no_double_quoted",rtn	% % ^G no ignore "..." %Zno_double_quoted%
mode,"c_comment",rtn	% % ^G ignores /*...*/ %Zc_comment%
mode,"cpp_comment",rtn	% % ^G ignores //... %Zcpp_comment%
mode,"pound_comment",rtn	% % ^G ignores #... %Zpound_comment%
mode,"vhdl_comment",rtn	% % ^G ignores --... %Zvhdl_comment%
mode,"semi_comment",rtn	% % ^G ignores ;... %Zsemi_comment%
mode,"tex_comment",rtn % % ^G ignores %%... %Ztex_comment%
mode,"text_delimiters",rtn % % Text delimiters %Ztext_delimiters%

:defmenu search menu,"more-options",rtn
mode,"icase",rtn	% % Case insensitivity %Zicase%
mode,"wrap",rtn	% % Search wraps %Zwrap%
mode,"search_prompting",rtn	% % Search prompting %Zsearch_prompting%
mode,"csmode",rtn	% % Continued search %Zcsmode%

:defmenu paragraph menu,"more-options",rtn
mode,"french",rtn	% % French spacing %Zfrench%
mode,"flowed",rtn	% % Flowed text %Zflowed%
mode,"cpara",rtn	% % Paragraph indent chars %Zcpara%
mode,"cnotpara",rtn	% % Not-paragraph chars %Zcnotpara%

:defmenu file menu,"more-options",rtn
mode,"restore",rtn	% % Restore cursor %Zrestore%
mode,"guess_crlf",rtn	% % Auto detect CR-LF %Zguess_crlf%
mode,"guess_indent",rtn	% % Guess indent %Zguess_indent%
mode,"guess_non_utf8",rtn	% % Guess non-UTF-8 %Zguess_non_utf8%
mode,"guess_utf8",rtn	% % Guess UTF-8 %Zguess_utf8%
mode,"guess_utf16",rtn	% % Guess UTF-16 %Zguess_utf16%
mode,"force",rtn	% % Force last NL %Zforce%
mode,"nobackup",rtn	% % No backup %Znobackup%

:defmenu global menu,"more-options",rtn
mode,"nolocks",rtn	% % Disable locks %Znolocks%
mode,"nobackups",rtn	% % Disable backups %Znobackups%
mode,"nodeadjoe",rtn	% % Disable DEADJOE %Znodeadjoe%
mode,"nomodcheck",rtn	% % Disable mtime check %Znomodcheck%
mode,"nocurdir",rtn	% % Disable current dir %Znocurdir%
mode,"exask",rtn	% % Exit ask %Zexask%
mode,"nosta",rtn	% % Disable status line %Znosta%
mode,"keepup",rtn	% % Fast status line %Zkeepup%
mode,"break_hardlinks",rtn	% % Break hard links %Zbreak_hardlinks%
mode,"break_links",rtn	% % Break links %Zbreak_links%
mode,"joe_state",rtn	% % Joe_state file %Zjoe_state%
mode,"undo_keep",rtn	% % No. undo records %Zundo_keep%
mode,"backpath",rtn	% % Path to backup files %Zbackpath%

:defmenu cursor menu,"more-options",rtn
mode,"pg",rtn	% % No. PgUp/PgDn lines %Zpg%
mode,"mid",rtn	C Center on scroll %Zmid%
mode,"left",rtn	L Columns to scroll left %Zleft%
mode,"right",rtn R Columns to scroll right %Zright%
mode,"floatmouse",rtn	% % Click past end %Zfloatmouse%
mode,"rtbutton",rtn	% % Right button %Zrtbutton%

:defmenu marking menu,"more-options",rtn
mode,"autoswap",rtn	% % Autoswap mode %Zautoswap%
mode,"marking",rtn	% % Marking %Zmarking%
mode,"lightoff",rtn	% % Auto unmask %Zlightoff%

:defmenu tab menu,"more-options",rtn
mode,"smarthome",rtn	% % Smart home key %Zsmarthome%
mode,"smartbacks",rtn	% % Smart backspace %Zsmartbacks%
mode,"indentfirst",rtn	% % To indent first %Zindentfirst%
mode,"purify",rtn	% % Clean up indents %Zpurify%
mode,"spaces",rtn	% % No tabs %Zspaces%

{Basic
 \|\uREGION\u        \|\uGO TO\u           \|\uGO TO\u           \|\uDELETE\u    \|\uEXIT\u       \|\uSEARCH\u    \| 
 \|\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  \| 
 \|\b^KB\b Begin     \|\b^X\b Next word    \|\uMISC\u            \|\b^Y\b Line   \|\b^C\b  Abort  \|\b^L\b  Next  \| 
 \|\b^KK\b End       \|\b^KU\b Top of file \|\b^KJ\b Paragraph   \|\b^W\b >Word  \|\b^KQ\b All    \|\uHELP\u      \| 
 \|\b^KC\b Copy      \|\b^KV\b End of file \|\b^KA\b Center line \|\b^O\b Word<  \|\uFILE\u       \|\bEsc .\b Next\| 
 \|\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\| 
 \|\b^KW\b File      \|\b^E\b End of line  \|\uSPELL\u           \|\b^[O\b Line< \|\b^KR\b Insert \|\b^KH\b Off   \| 
 \|\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  \| 
 \|\b^K/\b Filter    \|\b^G\b  Matching (  \|\bEsc L\b File      \|\b^^\b Redo   \|\b^K`\b Revert \|\b\b          \| 
}

{Advanced
 \|\uMACROS\u         \|\uSCROLL\u           \|\uWINDOW\u               \|\uGO TO\u      \|\uI-SEARCH\u     \| 
 \|\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 \| 
 \|\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  \| 
 \|\bEsc I\b   Text   \|\bEsc <\b Left       \|\b^KN\b Next  \b^KP\b Prev.  \|\b^P\b  Up     \|\uBOOKMARKS\u    \| 
 \|\b^K?\b     Pause  \|\bEsc >\b Right      \|\b^KI\b Show one / All   \|\b^N\b  Down   \|\bEsc 0-9\b Goto \| 
 \|   for prompt  \|\uINSERT\u           \|\uSHELL\u                \|\b^B\b  Left   \|\bEsc Esc\b Set  \| 
 \|\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\| 
 \|\b^K\\\b     Repeat \|\b^@\b Space \b^\\\b Meta \|\b^K'\b In buffer        \|           \|\b^K=\b Auto next\| 
 \|\bEsc D\b   Dump   \|\bEsc Y\b Paste      \|\b^KZ\b Suspend  \bEsc !\b Append \|      \|             \| 
}

{Programs
 \|\uCOMMANDS\u            \|\uCOMPILING\u                  \|\uQUICK\u                       \| 
 \|\bEsc X\b Command prompt\|\bEsc C\b Save modified compile\|\b^G\b  Find word under cursor  \| 
 \|\bEsc M\b Calculator    \|\bEsc G\b Grep                 \|\b^K;\b Tags file search        \| 
 \|\bshowlog\b Startup log \|\bEsc =\b To next error        \|\bEsc Enter\b Complete word     \| 
 \|\bupper\b   Change case \|\bEsc -\b To prev. error       \|\uBUFFER\u                      \| 
 \|\blower\b   Change case \|\bEsc Space\b Jump to error    \|\bEsc U\b Next                  \| 
 \|\bcd\b      Change dir  \|\uINDENT\u                     \|\bEsc V\b Previous              \| 
 \|\bkeymap\b  Change map  \|\b^K,\b Less                   \|\bEsc X bufed\b Switch          \| 
 \|                    \|\b^K.\b More                   \|                            \| 
}

{Search
 Search sequences:                                                            \| 
     \b\\^  \\$\b  matches beg./end of line       \b\\.\b     match any single char      \| 
     \b\\<  \\>\b  matches beg./end of word       \b\\!\b     match char or expression   \| 
     \b\\(  \\)\b  grouping                       \b\\|\b     match left or right         \| 
     \b\\[a-z]\b  matches one of a set           \b\\y \\Y\b  short for (.*) / (!*)       \| 
     \b\\{1,3}\b  match 1 - 3 occurrences        \b\\?\b     match 0 or 1 occurrence     \| 
     \b\\+\b      match 1 or more occurrences    \b\\*\b     match 0 or more occurrences \| 
                                                                               \|
 \b^C\b    to abort                             \bEsc .\b  to list of escape sequences \|
}

{Escape sequences
 Escape sequences: \| 
    \b\\x{10fff}\b Unicode code point    \b\\p{Ll}\b  Unicode category \| 
    \b\\i\b / \b\\I\b   Identifier start      \b\\t\b  tab          \b\\e\b  escape               \| 
    \b\\c\b / \b\\C\b   Identifier continue   \b\\n\b  newline      \b\\r\b  carriage return      \| 
    \b\\d\b / \b\\D\b   Digit / Not a digit   \b\\b\b  backspace  \b\\xFF\b  hex character        \| 
    \b\\w\b / \b\\W\b   Word / Not a word     \b\\a\b  alert      \b\\377\b  octal character      \| 
    \b\\s\b / \b\\S\b   Space / Not a space   \b\\f\b  formfeed     \b\\\\\b  backslash            \| 
  \|
  \|
}

{Replace
 Replace sequences:                                                           \| 
     \b\\&\b      replaced with entire match     \b\\1\b - \b9\b replaced with Nth group   \| 
     \b\\u \\l\b   convert next to upper/lower    \b\\U \\L\b  case convert until \b\\E\b     \| 
                                                                              \|
                                                                              \|
 \|
 \|
 \|
 \b^C\b    to abort                             \bEsc ,\b to list of escape sequences \|
}

{SearchOptions
 Search options:                                                              \| 
      \br\b Replace      \bk\b Restrict search to highlighted block                   \| 
      \bi\b Ignore case  \bb\b Search backwards instead of forwards                   \| 
                     \ba\b Search across all loaded files                         \| 
                     \be\b Search across all files in Grep or Compile error list  \| 
  \bw\b / \bn\b  Allow / prevent wrap to start of file                                \| 
  \bx\b / \by\b  Search text is standard format / JOE format regular expression       \| 
    \bnnn\b  Perform exactly nnn replacements                                     \| 
 \b^C\b    to abort
}

{Math
  \uMATH COMMANDS\u                  \uCONSTANTS\u                                \| 
  \bhex oct bin\b display mode       \b0xff\b hex entry                           \| 
  \beng dec\b engineering / normal   \b0o77\b octal entry                         \| 
      \bins\b type result into file  \b0b11\b binary entry                        \| 
     \beval\b evaluate block         \b3e-4\b floating point entry                \| 
  2+3\b:\bins multiple commands      \uVARIABLES\u                                \| 
  \uOPERATORS\u                      \bans\b  Previous result                     \| 
  \b! ^  * / %  + -\b                \ba=10\b Assign a variable                   \| 
  \b< <= > >= == !=  &&  ||  ? :\b   \bEsc .\b for list of functions              \| 
}

{Functions
  \uFUNCTIONS\u                      \uCONSTANTS\u                                \| 
  \bsin cos tab asin acos atan\b     \be pi\b                                     \| 
  \bsinh cosh tanh asinh acosh atanh\b                                        \| 
  \bsqrt cbrt exp ln log\b                                                    \| 
  \bint floor ceil abs\b                                                      \| 
  \berf erfc j0 j1 y0 y1\b                                                    \| 
  \bjoe(..macro..)\b - runs an editor macro                                   \| 
                                                                              \| 
                                 \bEsc .\b for statistics                     \| 
}

{Statistics 
  \uMATH COMMANDS\u                                                               \| 
  Statistics on region of numbers  Linear regression on region of x y pairs   \| 
  \bsum\b  Sum                         \blr(x)\b  Estimate y given x     y=m*x+b      \| 
  \bcnt\b  Count                       \brlr(y)\b Estimate x given y                  \| 
  \bavg\b  Mean                        \bLr rLr\b Logarithmic regression y=m*ln(x)+b  \| 
    Standard deviation:            \blR rlR\b Exponential regression y=e^(m*x)+b  \| 
  \bdev\b  all data present            \bLR rLR\b Power regression       y=b*x^m      \| 
  \bsamp\b sample of data present      Side effects: \bb\b, \bm\b: regression coef.       \| 
                                       \br\b: correlation coef., \bcov\b: covariance  \| 
}

{Names
  Hit TAB to complete names.  Use up / down arrow keys to traverse history.   \| 
  Special file names:                                                         \| 
       \b!\bcommand                 Pipe in/out of a shell command                \| 
       \b>>\bfilename               Append to a file                              \| 
       \b-\b                        Read/Write to/from standard I/O               \|
       filename\b,START,SIZE\b      Read/Write a part of a file/device            \| 
           Give START/SIZE in decimal (255), octal (0377) or hex (0xFF)       \| 
       \b\\,\b                       Use backslash to quote special characters     \|
 \b^C\b    to abort
}

{CharTable
 \| Dec  \u 0123 4567  8901 2345    0123 4567  8901 2345 \u  Dec \| 
 \|   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 \| 
 \|  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 \| 
 \|  32 |  !"# $%&'  ()*+ ,-./    ���� ����  ���� �X�� | 160 \| 
 \|  48 | 0123 4567  89:; <=>?    ���� ����  ���� ���� | 176 \| 
 \|  64 | @ABC DEFG  HIJK LMNO    ���� ����  ���� ���� | 192 \| 
 \|  80 | PQRS TUVW  XYZ[ \\]^_    ���� ����  ���� ���� | 208 \| 
 \|  96 | `abc defg  hijk lmno    ���� ����  ���� ���� | 224 \| 
 \| 112 | pqrs tuvw  xyz{ |}~    ���� ����  ���� ���� | 240 \| 
}

{Joe
  Send bug reports to: http://sourceforge.net/projects/joe-editor \| 
  \| 
   default joerc file is here @JOERC@/joerc \| 
   default syntax and i18n files are here @JOEDATA@ \| 
   additional documentation can be found here @JOEDOC@ \| 
  \| 
  \| 
  \| 
  \| 
}

:def recenter retype,arg,"top+height/2-line",rtn,upslide

:windows
type		U+0 TO U+10FFFF
abort		^C
 abort		^K Q
 abort		^K ^Q
 abort		^K q
querysave,query,killjoe	^K Q
querysave,query,killjoe	^K ^Q
querysave,query,killjoe	^K q
arg		^K \
explode		^K I
explode		^K ^I
explode		^K i
help		^K H
help		^K ^H
help		^K h
hnext		^[ .
hprev		^[ ,
math		^[ m
math		^[ M
 math		^[ ^M
msg		^[ h
msg		^[ H
msg		^[ ^H
nextw		^K N
nextw		^K ^N
nextw		^K n
pgdn		.kN
pgdn		^V
pgdn		^[ [ 6 ~
 pgdn      ^# S
pgup		.kP
pgup		^U
pgup		^[ [ 5 ~
 pgup      ^# T
play		^K 0 TO 9
prevw		^K P
prevw		^K ^P
prevw		^K p
query		^K ?
record		^K [
 retype		^R
 recenter	^R
rtn		^M
shell		^K Z
shell		^K ^Z
shell		^K z
stop		^K ]
 Mouse handling
defmdown	MDOWN
defmup		MUP
defmdrag	MDRAG
defm2down	M2DOWN
defm2up		M2UP
defm2drag	M2DRAG
defm3down	M3DOWN
defm3up		M3UP
defm3drag	M3DRAG
defmiddleup	MIDDLEUP
defmiddledown	MIDDLEDOWN

xtmouse		^[ [ M
extmouse	^[ [ <

:main			Text editing window
:inherit windows

:def compile mwind!,mfit!,querysave,query,scratch,"* Build Log *",rtn,bof,markb,eof," ",markk,blkdel,build
:def grep_find mwind!,mfit!,scratch,"* Grep Log *",rtn,bof,markb,eof," ",markk,blkdel,grep

:def shell1 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 1 *",rtn,vtbknd!,eof
:def shell2 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 2 *",rtn,vtbknd!,eof
:def shell3 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 3 *",rtn,vtbknd!,eof
:def shell4 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 4 *",rtn,vtbknd!,eof
:def shell_clear psh,bof,markb,eof,markk,blkdel
:def shell_parse parserr
:def shell_gparse gparse
:def shell_release release
:def shell_math maths
:def shell_abort abort
:def shell_typemath txt,maths,"ins",rtn,rtn,txt,"
",rtn,txt,quote,"d",rtn
:def shell_rtn rtn
:def shell_edit edit
:def shell_dellin dellin
:def shell_cd cd
:def shell_pop popabort
:def shell_markb markb
:def shell_markk markk

paste			^[ ] 5 2 ;
brpaste			^[ [ 2 0 0 ~
brpaste_done		^[ [ 2 0 1 ~
insc			^[ [ 2 ~
insc			^[ [ L
delch			^[ [ 3 ~
pgup			^[ [ I
pgdn			^[ [ G
home			^[ [ 1 ~
home			^[ [ H
home			^[ O H
home			^[ [ 7 ~
 home			^# SP A
eol			^[ [ 4 ~
eol			^[ [ F
eol			^[ O F
eol			^[ [ 8 ~
 eol			^# SP @

rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ [ 1 ; 5 C
rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ [ 5 C
rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ O c
ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ [ 1 ; 5 D
ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ [ 5 D
 ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ O D
ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ O d
uparw,dnarw,begin_marking,uparw,toggle_marking	^[ [ 1 ; 5 A
uparw,dnarw,begin_marking,uparw,toggle_marking	^[ [ 5 A
 uparw,dnarw,begin_marking,uparw,toggle_marking	^[ O A
uparw,dnarw,begin_marking,uparw,toggle_marking	^[ O a
dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ [ 1 ; 5 B
dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ [ 5 B
 dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ O B
dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ O b

blkdel,nmark   ^[ [ 3 ; 5 -
blkdel,nmark   ^[ [ 3 ; 5 ~

yank		^[ [ 2 ; 5 -
yank		^[ [ 2 ; 5 ~
delbol		^[ o
delbol		^[ ^O
dnslide		^[ z
dnslide		^[ Z
dnslide		^[ ^Z
dnslide,dnslide,dnslide,dnslide		MWDOWN
compile		^[ c
compile		^[ C
compile		^[ ^C
grep_find	^[ g
grep_find	^[ G
grep_find	^[ ^G
execmd		^[ x
execmd		^[ X
execmd		^[ ^X
finish		^[ ^I
finish		^[ ^M
mwind!,mfit,jump,bol		^[ SP
isrch		^[ s
isrch		^[ S
isrch		^[ ^S
isrch		^S
notmod		^[ ~
mwind,mfit,prevw,nxterr		^[ =
parserr		^[ e
parserr		^[ E
parserr		^[ ^E
mwind,mfit,prevw,prverr		^[ -
rsrch		^[ r
rsrch		^[ R
rsrch		^[ ^R
retype,rsrch	^R
run		^[ !
tomarkb		^[ b
tomarkb		^[ ^B
tomarkk		^[ k
tomarkk		^[ ^K
tomarkk		^[ K
txt		^[ i
txt		^[ I
upslide		^[ w
upslide		^[ ^W
upslide		^[ W
upslide,upslide,upslide,upslide		MWUP
yank		^[ y
yankpop		^[ ^Y
yank		^[ Y
insc		^@
 bufed		^[ d
nbuf		^[ v
nbuf		^[ V
nbuf		^[ ^V
pbuf		^[ u
pbuf		^[ U
pbuf		^[ ^U
 query		^[ q
 byte		^[ n
 col		^[ c
 abortbuf	^[ k
 ask		^[ a
 bop		^[ p
 bos		^[ x
 copy		^[ ^W
 dupw		^[ \
 eop		^[ n
 format		^[ j
 markl		^[ l
 nmark		^[ @
 pop		^[ >
 psh		^[ <
 swap		^[ x
 tomarkbk	^[ g
 tos		^[ e
 tw0		^[ 0
 tw1		^[ 1
 uarg		^[ u
 yank		^[ ^Y
 yapp		^[ w
quote8		^\
 quote		`
quote		^[ '
quote		^Q
backs		^?
backs		^H
backw		^O
bknd		^K '
blkcpy		^K C
blkcpy		^K ^C
blkcpy		^K c
blkdel		^K Y
blkdel		^K ^Y
blkdel		^K y
blkmove		^K M
blkmove		^K ^M
blkmove		^K m
blksave		^K W
blksave		^K ^W
blksave		^K w
bof		^K U
bof		^K ^U
bof		^K u
 bol		.kh
 bol		^A
 bol      ^# SP A
home		.kh
home		^A
center		^K A
center		^K ^A
center		^K a
crawll		^K <
crawll		^[ <
crawlr		^K >
crawlr		^[ >
delch		.kD
delch		^D
deleol		^J
dellin		^Y
delw		^W
dnarw		.kd
dnarw		^N
dnarw		^[ O B
dnarw		^[ [ B
 dnarw		^# B
edit		^K E
edit		^K ^E
edit		^K e
eof		^K V
eof		^K ^V
eof		^K v
eol		.kH
eol		.@7
eol		^E
exsave		^K X
exsave		^K ^X
exsave		^K x
ffirst		^K F
ffirst		^K ^F
ffirst		^K f
filt		^K /
 finish		^K ^M
fnext		^L
fmtblk		^K J
fmtblk		^K ^J
fmtblk		^K j
gomark		^[ 0 TO 9
groww		^K G
groww		^K ^G
groww		^K g
insc		.kI
 insc		^@
insf		^K R
insf		^K ^R
insf		^K r
lindent		^K ,
line		^K L
line		^K ^L
line		^K l
ltarw		.kl
ltarw		^B
ltarw		^[ O D
ltarw		^[ [ D
 ltarw          ^# D
macros		^[ d
macros		^[ ^D
markb		^K B
markb		^K ^B
markb		^K b
markk		^K K
markk		^K ^K
markk		^K k
 mode		^T
menu,"root",rtn	^T
nextpos		^K =
nextword	^X
open		^]
prevpos		^K -
prevword	^Z
reload		^K `
redo		^^
rindent		^K .
rtarw		.kr
rtarw		^F
rtarw		^[ O C
rtarw		^[ [ C
 rtarw          ^# C
run		^K !
save		^K D
save		^K S
save		^K ^D
save		^K ^S
save		^K d
save		^K s
setmark		^[ ^[
shrinkw		^K T
shrinkw		^K ^T
shrinkw		^K t
splitw		^K O
splitw		^K ^O
splitw		^K o
stat		^K SP
stat		^K ^@
tag		^K ;
tomatch		^G
undo		^_
uparw		.ku
 uparw		^# A
uparw		^P
uparw		^[ O A
uparw		^[ [ A
shell1		^[ [ 1 1 ~
shell1		^[ O P
shell1		^[ [ [ A
shell1		.k1
shell2		^[ [ 1 2 ~
shell2		^[ O Q
shell2		^[ [ [ B
shell2		.k2
shell3		^[ [ 1 3 ~
shell3		^[ O R
shell3		^[ [ [ C
shell3		.k3
shell4		^[ [ 1 4 ~
shell4		^[ O S
shell4		^[ [ [ D
shell4		.k4

:prompt			Prompt windows
:inherit main
if,"byte>size",then,complete,complete,else,delch,endif	^D
complete	^I
dnarw,eol	.kd
dnarw,eol	^N
dnarw,eol	^[ O B
dnarw,eol	^[ [ B
 dnarw,eol	^# B
uparw,eol	.ku
 uparw,eol	^# A
uparw,eol	^P
uparw,eol	^[ O A
uparw,eol	^[ [ A

:menu			Selection menus
:inherit windows

pgupmenu			^[ [ I
pgdnmenu			^[ [ G
bolmenu			^[ [ 1 ~
bolmenu			^[ [ H
bolmenu			^[ O H
bolmenu			^[ [ 7 ~
 bolmenu			^# SP A
eolmenu			^[ [ 4 ~
eolmenu			^[ [ F
eolmenu			^[ O F
eolmenu			^[ [ 8 ~
 eolmenu			^# SP @
abort		^[ ^[
backsmenu	^?
backsmenu	^H
bofmenu		^K U
bofmenu		^K ^U
bofmenu		^K u
bolmenu		.kh
bolmenu		^A
dnarwmenu	.kd
dnarwmenu	^N
dnarwmenu	^[ [ B
dnarwmenu	^[ O B
 dnarwmenu ^# B
dnarwmenu	MWDOWN
eofmenu		^K V
eofmenu		^K ^V
eofmenu		^K v
eolmenu		.kH
eolmenu		^E
ltarwmenu	.kl
ltarwmenu	^B
ltarwmenu	^[ [ D
ltarwmenu	^[ O D
 ltarwmenu ^# D
pgdnmenu	.kN
pgdnmenu	^V
pgdnmenu	^[ [ 6 ~
 pgdnmenu  ^# S
pgupmenu	.kP
pgupmenu	^U
pgupmenu	^[ [ 5 ~
 pgupmenu  ^# T
rtarwmenu	.kr
rtarwmenu	^F
rtarwmenu	^[ [ C
 rtarwmenu ^# C
rtarwmenu	^[ O C
rtn		SP
rtn		^I
rtn		^K H
rtn		^K h
rtn		^K ^H
tabmenu		^I
uparwmenu	.ku
uparwmenu	^P
uparwmenu	^[ [ A
uparwmenu	^[ O A
 uparwmenu ^# A
uparwmenu	MWUP
defm2down	M2DOWN

:query			Single-key query window
:inherit windows

:querya			Single-key query window for quoting
type		U+0 TO U+10FFFF

:querysr		Search & replace query window
type		U+0 TO U+10FFFF

:shell			Input to shell windows
:inherit main
""		^C
""		^D
"	"	^I
""		^H
"
"		^M
""		^?

:vtshell		Input to ANSI shell windows
:inherit main
""		 [ A
""		.ku
""		 [ B
""		.kd
""		 [ C
""		.kr
""		 [ D
""		.kl
""		^A
""		^C
""		^D
""		^E
"	"	^I
""		^H
"
"		^M
""		^?