dotfiles

My dotfiles.
git clone git://git.ryanmj.xyz/dotfiles.git
Log | Files | Refs | LICENSE

.joerc (45606B)


      1                          Initialization file for JOE
      2                                 Standard Joe
      3 
      4  JOE looks for this file in:
      5 	1 - $HOME/.joerc
      6 	2 - /usr/local/etc/joe/joerc
      7 
      8  This file can include other files by placing the following include command
      9  in the first column:
     10 
     11  :include filename
     12 
     13  FIRST SECTION: Default global options (these options can also be specified
     14  on the command line.  Also the NOXON, LINES, COLUMNS, DOPADDING and BAUD
     15  options can be specified in environment variables):
     16 
     17  Override colors of lexical classes specified in syntax files:
     18  Put each color override you want in the first column.
     19 
     20  Valid colors:
     21    bold inverse blink dim underline italic
     22    white cyan magenta blue yellow green red black
     23    bg_white bg_cyan bg_magenta bg_blue bg_yellow bg_green bg_red bg_black
     24 
     25  Other colors are available: see syntax/c.jsf for documentation.
     26 
     27  Override all instances of class Idle:
     28    =Idle red
     29 
     30  Override Idle only for c syntax file:
     31    =c.Idle red
     32 
     33  The following list is from c.jsf.  Look at other syntax files for more classes.
     34 
     35  =Idle
     36  =Bad        bold red
     37  =Preproc    blue
     38  =Define     bold blue
     39  =IncLocal   cyan
     40  =IncSystem  bold cyan
     41  =Constant   cyan
     42  =Escape     bold cyan
     43  =Type       bold
     44  =Keyword    bold
     45  =CppKeyword bold
     46  =Brace      magenta
     47  =Control
     48 
     49  Put each option you want set in the first column:
     50 
     51  -option	Sets the option
     52  --option	Clears the option
     53 
     54  -help_is_utf8	Set if help text is in UTF-8 format.  Leave clear if it's a raw 8-bit format.
     55 
     56  -mid		Cursor is recentered when scrolling is necessary
     57  -left nn	Amount to jump left when scrolling is necessary (-1 for 1/4 width)
     58  -right nn	Amount to jump right when scrolling is necessary (-1 for 1/4 width)
     59 
     60  -marking	Text between ^KB and cursor is highlighted (use with -lightoff)
     61 
     62  -asis		Characters 128 - 255 shown as-is
     63 
     64  -force		Force final newline when files are saved
     65 
     66  -nolocks	If you don't want file locks to be used
     67 
     68  -nomodcheck	Disable periodic checking of disk file newer than buffer
     69 		(this checking happens on save even with this option).
     70 
     71  -nocurdir	Do not prompt with current directory
     72 
     73  -nobackups	If you don't want backup files to be created
     74 
     75 -nodeadjoe	If you don't want DEADJOE files to be created
     76 
     77  -break_hardlinks
     78 		Delete file before writing, to break hard links
     79 		(but don't break symbolic links).
     80 
     81  -break_links
     82 		Delete file before writing, to break hard links
     83 		and symbolic links.
     84 
     85 
     86  -lightoff	Turn off highlighting after block copy or move
     87 
     88  -exask		^KX always confirms file name
     89 
     90  -beep		Beep on errors and when cursor goes past extremes
     91 
     92  -nosta		Disable top-most status line
     93 
     94 -keepup	%k and %c status line escape sequences updated frequently
     95 
     96  -pg nnn	No. lines to keep for PgUp/PgDn
     97 
     98  -undo_keep nnn	Number of undo records to keep.  0 for infinite.
     99 
    100  -csmode	^KF after a pervious search does a ^L instead
    101 
    102  -backpath path
    103 		Directory to store backup files (one space between
    104 		'backpath' and the 'path', no trailing spaces or comments
    105 		after the path).
    106 
    107  -floatmouse	Clicking past end of line moves the cursor past the end
    108  
    109  -rtbutton	Use the right mouse button for action, instead of the left
    110 
    111  -nonotice	Disable copyright notice
    112 
    113  -noexmsg	Disable exiting message ("File not changed so no update needed")
    114 
    115 -noxon		Attempt to turn off ^S/^Q processing
    116 
    117  -orphan	Put extra files given on command line in orphaned buffers
    118 		instead of in windows
    119 
    120  -dopadding	Output pad characters (for when there is no tty handshaking)
    121 
    122  -lines nnn	Set no. screen lines
    123 
    124  -baud nnn	Set baud rate for terminal optimizations
    125 
    126  -columns nnn	Set no. screen columns
    127 
    128  -helpon	Start with help on
    129 
    130  -skiptop nnn	Don't use top nnn lines of the screen
    131 
    132 -notite         Don't send terminal initialization and termination strings:
    133                 prevents restoration of screen on exit.
    134 
    135  -nolinefeeds	Prevent sending linefeeds to preserve screen history in terminal
    136                 emulator's scroll-back buffer.
    137 
    138  -usetabs       Use tabs to help optimize screen update.
    139 
    140 -assume_color	Assume terminal has ANSI color support even if termcap/terminfo entry
    141 		says that it doesn't.  This only applies if the terminal otherwise
    142 		looks like an ANSI terminal (support bold and capability starts with
    143 		ESC [).
    144 
    145 -assume_256color
    146 		Assume terminal has xterm 256 color support (ESC [ 38 ; 5 ; NNN m and
    147                 ESC [ 48 ; 5 ; NNN m).
    148 
    149 -guess_non_utf8	Allow guess of non-UTF-8 file encoding in a UTF-8 locale.
    150 
    151  -guess_utf8	Allow guess of UTF-8 file encoding in non-UTF-8 locale.
    152 
    153 -guess_utf16	Allow guess of UTF-16 encoding
    154 
    155 -guess_crlf     Automatically detect MS-DOS files and set -crlf appropriately
    156 
    157  -guess_indent	Guess indent character (tab or space).
    158 
    159 -menu_above	Position menu/list above prompt when enabled.  Otherwise position
    160 		below prompt.
    161 
    162 -transpose	Transpose rows with columns in all menus.
    163 
    164  -menu_explorer	Stay in menu system when a directory is selected (otherwise
    165                 directory is added to path and menu is closed).
    166 
    167  -menu_jump	Jump into file selection menu when tab is hit (otherwise, menu
    168 		comes up, but cursor stays in file name prompt).
    169 
    170  -notagsmenu	Disable tags file search menu
    171 
    172  -icase         Search is case insensitive by default.
    173 
    174  -wrap          Search wraps
    175 
    176  -autoswap	Swap markb with markk when necessary
    177 
    178 -joe_state     Use ~/.joe_state file
    179 
    180  -mouse		Enable xterm mouse support.  When enabled, left-click will
    181 		position the cursor and left-click-drag will select blocks
    182 		For normal xterm cut and paste, hold the shift key down.
    183 
    184  -joexterm	If you are using XTerm version 212 or higher, and if it was
    185 		configured with --enable-paste64, set this flag: it allows
    186 		mouse cut & paste to work properly (text selected with the
    187 		mouse can be pasted into other application, and middle
    188 		button clicks paste into JOE).
    189 
    190 -brpaste	When JOE starts, send command to the terminal emulator that
    191 		enables "bracketed paste mode" (but only if the terminal
    192 		seems to have the ANSI command set).  In this mode, text
    193 		pasted into the window is bracketed with ESC [ 2 0 0 ~ and
    194 		ESC [ 2 0 1 ~.
    195 
    196 -pastehack	If keyboard input comes in as one block assume it's a mouse
    197 		paste and disable autoindent and wordwrap.
    198 
    199  -square	Rectangular block mode
    200 
    201  -text_color color
    202 		Set color for text.
    203  -status_color color
    204 		Set color for status bar.
    205  -help_color color
    206 		Set color for help.
    207  -menu_color color
    208 		Set color for menus.
    209  -prompt_color color
    210 		Set color for prompts.
    211  -msg_color color
    212 		Set color for messages.
    213 
    214 		For example: -text_color bg_blue+white
    215 		Sets the background color to blue and foreground color to white.
    216 
    217 -restore	Restore previous cursor position when files are opened
    218 
    219 -search_prompting
    220 		Search prompts with previous search request.
    221 
    222  -regex		Search uses standard regular expression format (otherwise it uses
    223 		JOE format where all special characters have to be escaped).
    224 
    225  Status line definition strings.  -lmsg defines the left-justified string and
    226  -rmsg defines the right-justified string.  The first character of -rmsg is
    227  the background fill character.  The following escape sequences can be used
    228  in these strings:
    229 
    230   %t  12 hour time
    231   %u  24 hour time
    232   %T  O for overtype mode, I for insert mode
    233   %W  W if wordwrap is enabled
    234   %I  A if autoindent is enabled
    235   %X  Rectangle mode indicator
    236   %n  File name
    237   %m  '(Modified)' if file has been changed
    238   %*  '*' if file has been changed
    239   %R  Read-only indicator
    240   %r  Row (line) number
    241   %c  Column number
    242   %o  Byte offset into file
    243   %O  Byte offset into file in hex
    244   %a  Ascii value of character under cursor
    245   %A  Ascii value of character under cursor in hex
    246   %w  Width of character under cursor
    247   %p  Percent of file cursor is at
    248   %l  No. lines in file
    249   %k  Entered prefix keys
    250   %S  '*SHELL*' if there is a shell running in window
    251   %M  Macro recording message
    252   %y  Syntax
    253   %e  Encoding of file
    254   %b  Encoding of terminal
    255   %x  Context (first non-indented line going backwards)
    256   %dd day
    257   %dm month
    258   %dY year
    259   %Ename%  value of environment variable
    260   %Zname%  value of option (ON or OFF for boolean options)
    261            (hit TAB at mode command prompt for full list)
    262 
    263  These formatting escape sequences may also be given:
    264  
    265   \i  Inverse
    266   \u  Underline
    267   \b  Bold
    268   \d  Dim
    269   \f  Blink
    270   \l  Italic
    271 
    272 -lmsg \i%k%T%W%I%X %n %m%y%R %M %x %e
    273 -rmsg  %dd/%dm/%dY %t %S Row %4r Col %3c 
    274 -smsg ** Line %r Col %c Offset %o(0x%O) %e %a(0x%A) Width %w ** 
    275 -zmsg ** Line %r Col %c Offset %o(0x%O) ** 
    276 -xmsg \i Joe's Own Editor %v (%b) ** Type \bCtrl-K Q\b to exit or \bCtrl-K H\b for help **\i
    277 
    278  Key sequence hints which are displayed in various prompts.
    279 -aborthint ^C
    280 -helphint ^K H
    281 
    282  SECOND SECTION: File name dependant local option settings:
    283 
    284  Name a file type definition section with:
    285 
    286    [python]  (but put opening bracket in first column)
    287 
    288  Each line with '*' in the first column provides a file name matching
    289  regular expression (in shell glob format).  If more than one regular
    290  expression matches the file name, then the last matching one is chosen.
    291 
    292  A file contents regular expression may also be specified on a separate line
    293  with '+regex'.  If this regular expresssion is given, then both the file name
    294  regex and the file contents regex must match for the options to apply.
    295 
    296  Here are the modes which can be set:
    297 
    298 	-cpara >#!;*/%
    299 				Characters which can indent paragraphs.
    300 
    301 	-cnotpara .
    302 				Characters which begin non-paragraph lines.
    303 
    304 	-encoding name
    305 				Set file coding (for example: utf-8, iso-8859-15)
    306 
    307 	-syntax name
    308 				Specify syntax (syntax file called
    309 				'name.jsf' will be loaded)
    310 
    311 	-hex			Hex editor mode
    312 
    313 	-highlight		Enable highlighting
    314 
    315 	-smarthome		Home key first moves cursor to beginning of line,
    316 				then if hit again, to first non-blank character.
    317 
    318 	-indentfirst		Smart home goes to first non-blank character first,
    319 				instead of going the beginning of line first.
    320 
    321 	-smartbacks		Backspace key deletes 'istep' number of
    322 				'indentc's if cursor is at first non-space
    323 				character.
    324 
    325 -tab 4		Tab width
    326 
    327 	-indentc nnn		Indentation character (32 for space, 9 for tab)
    328 
    329 	-istep nnn		Number of indentation columns
    330 
    331 -spaces			TAB inserts spaces instead of tabs.
    332 
    333 	-purify			Fix indentation if necessary for rindent, lindent and backs
    334 				(for example if indentation uses a mix of tabs and spaces,
    335 				and indentc is space, indentation will be converted to all
    336 				spaces).
    337 
    338 	-crlf			File uses CR-LF at ends of lines
    339 
    340 	-wordwrap		Wordwrap
    341 
    342 	-nobackup		If you don't want backup file to be created
    343 
    344 	-autoindent		Auto indent
    345 
    346 	-overwrite		Overtype mode
    347 
    348         -picture                Picture mode (right arrow can go past end of lines)
    349 
    350 	-lmargin nnn		Left margin
    351 
    352 	-rmargin nnn		Right margin
    353 
    354 	-flowed			Put one space after intermediate paragraph lines
    355 				for support of flowed text.
    356 
    357 
    358 	-french			One space after '.', '?' and '!' for wordwrap
    359 				and paragraph reformat instead of two.  Joe
    360 				does not change the spacing you give, but
    361 				sometimes it must put spacing in itself.  This
    362 				selects how much is inserted.
    363 
    364 -linums			Enable line numbers on each line
    365 
    366 	-rdonly			File is read-only
    367 
    368 	-keymap name
    369 				Keymap to use if not 'main'
    370 
    371 	-lmsg			Status line definition strings-
    372 	-rmsg			see previous section for more info.
    373 
    374 	-mfirst macro
    375 				Macro to execute on first modification
    376 	-mnew macro
    377 				Macro to execute when new files are loaded
    378 	-mold macro
    379 				Macro to execute when existing files are loaded
    380 	-msnew macro
    381 				Macro to execute when new files are saved
    382 	-msold macro
    383 				Macro to execute when existing files are saved
    384 
    385 	Macros for the above options are in the same format as in the key
    386 	binding section below- but without the key name strings.
    387 
    388 	These define the language syntax for ^G (goto matching delimiter):
    389 
    390 	-highlighter_context	Use the highlighter context for ^G
    391 
    392 	-single_quoted		Text between '  ' should be ignored (this is
    393 				not good for regular text since ' is
    394 				normally used alone as an apostrophe)
    395 
    396 	-no_double_quoted	Text between " " should not be ignored (useful
    397 				for TeX).
    398 
    399 	-c_comment		Text between /* */ should be ignored
    400 
    401 	-cpp_comment		Text after // should be ignored
    402 
    403 	-pound_comment		Text after # should be ignored
    404 
    405 	-vhdl_comment		Text after -- should be ignored
    406 
    407 	-semi_comment		Text after ; should be ignored
    408 
    409 	-text_delimiters begin=end:if=elif=else=endif
    410 
    411 				Define word delimiters
    412 
    413  Default local options
    414 -highlight
    415 -istep 4
    416 
    417  Perforce macro: use this macro (put in first column) to have joe "p4 edit"
    418  a file you're about to change.
    419 
    420  -mfirst if,"rdonly && joe(sys,\"p4 edit \",name,rtn)",then,mode,"o",msg,"executed \"p4 edit ",name,"\"",rtn,endif
    421 
    422  -mfirst if,"rdonly && joe(sys,\"p4 edit \",name,rtn)",then,reload,msg,"executed \"p4 edit ",name,"\"",rtn,endif
    423 
    424  File type table is now in a separate file.  You can copy this file to ~/.joe and customize it.
    425 
    426 :include ftyperc
    427 
    428  SECOND and 1/2 SECTION: Option menu layout
    429 
    430 	:defmenu name [macro]
    431 			Defines a menu.
    432 			The macro here is executed when the user hits backspace.
    433 
    434 	macro string comment
    435 			A menu entry.  Macro is any JOE macro- see "Macros:"
    436 			below. String is the label to be used for the macro
    437 			in the menu.  It is in the same format as the -lmsg
    438 			and -rmsg options above.
    439 
    440 			Two whitespace characters in a row begins a comment.
    441 			Use '% ' for a leading space in the string.
    442 
    443 :defmenu root
    444 mode,"overwrite",rtn	T Overtype %Zoverwrite%
    445 mode,"hex",rtn	' Hex edit mode
    446 mode,"autoindent",rtn	I Autoindent %Zautoindent%
    447 mode,"wordwrap",rtn	W Word wrap %Zwordwrap%
    448 mode,"tab",rtn	D Tab width %Ztab%
    449 mode,"lmargin",rtn	L Left margin %Zlmargin%
    450 mode,"rmargin",rtn	R Right margin %Zrmargin%
    451 mode,"square",rtn	X Column mode %Zsquare%
    452 mode,"indentc",rtn	% % Indent char %Zindentc%
    453 mode,"istep",rtn	% % Indent step %Zistep%
    454 menu,"indent",rtn	= Indent select
    455 mode,"highlight",rtn	H Highlighting %Zhighlight%
    456 mode,"crlf",rtn	Z CR-LF/MS-DOS %Zcrlf%
    457 mode,"linums",rtn	N Line numbers %Zlinums%
    458 mode,"beep",rtn	B Beep %Zbeep%
    459 mode,"rdonly",rtn	O Read only %Zrdonly%
    460 mode,"syntax",rtn	Y Syntax
    461 mode,"encoding",rtn	E Encoding
    462 mode,"asis",rtn	% % Meta chars as-is
    463 mode,"language",rtn	V Language
    464 mode,"picture",rtn	P picture %Zpicture%
    465 mode,"type",rtn		F File type [%Ztype%]
    466 mode,"title",rtn	C Context %Ztitle%
    467 menu,"more-options",rtn	  % % More options...
    468 
    469 :defmenu more-options menu,"root",rtn
    470 menu,"^G",rtn	% % ^G options
    471 menu,"search",rtn	% % search options
    472 menu,"paragraph",rtn	% % paragraph options
    473 menu,"file",rtn	% % file options
    474 menu,"menu",rtn	% % menu options
    475 menu,"global",rtn	% % global options
    476 menu,"cursor",rtn	% % cursor options
    477 menu,"marking",rtn	% % marking options
    478 menu,"tab",rtn	% % tab/indent options
    479 
    480 :defmenu indent menu,"root",rtn
    481 mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 1, Indent character = 32",rtn	1 Space
    482 mode,"istep",rtn,"2",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 2, Indent character = 32",rtn	2 Spaces
    483 mode,"istep",rtn,"3",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 3, Indent character = 32",rtn	3 Spaces
    484 mode,"istep",rtn,"4",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 4, Indent character = 32",rtn	4 Spaces
    485 mode,"istep",rtn,"5",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 5, Indent character = 32",rtn	5 Spaces
    486 mode,"istep",rtn,"8",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 8, Indent character = 32",rtn	8 Spaces
    487 mode,"istep",rtn,"10",rtn,mode,"indentc",rtn,"32",rtn,msg,"Indent step = 10, Indent character = 32",rtn	0 Ten
    488 mode,"istep",rtn,"1",rtn,mode,"indentc",rtn,"9",rtn,msg,"Indent step = 1, Indent character = 9",rtn	T Tab
    489 
    490 :defmenu menu menu,"more-options",rtn
    491 mode,"menu_explorer",rtn	% % Menu explorer %Zmenu_explorer%
    492 mode,"menu_above",rtn	% % Menu position %Zmenu_above%
    493 mode,"menu_jump",rtn	% % Jump into menu %Zmenu_jump%
    494 mode,"transpose",rtn	% % Transpose menus %Ztranspose%
    495 
    496 :defmenu ^G menu,"more-options",rtn
    497 mode,"highlighter_context",rtn	% % ^G uses highlighter context %Zhighlighter_context%
    498 mode,"single_quoted",rtn	% % ^G ignores '...' %Zsingle_quoted%
    499 mode,"no_double_quoted",rtn	% % ^G no ignore "..." %Zno_double_quoted%
    500 mode,"c_comment",rtn	% % ^G ignores /*...*/ %Zc_comment%
    501 mode,"cpp_comment",rtn	% % ^G ignores //... %Zcpp_comment%
    502 mode,"pound_comment",rtn	% % ^G ignores #... %Zpound_comment%
    503 mode,"vhdl_comment",rtn	% % ^G ignores --... %Zvhdl_comment%
    504 mode,"semi_comment",rtn	% % ^G ignores ;... %Zsemi_comment%
    505 mode,"tex_comment",rtn % % ^G ignores %%... %Ztex_comment%
    506 mode,"text_delimiters",rtn % % Text delimiters %Ztext_delimiters%
    507 
    508 :defmenu search menu,"more-options",rtn
    509 mode,"icase",rtn	% % Case insensitivity %Zicase%
    510 mode,"wrap",rtn	% % Search wraps %Zwrap%
    511 mode,"search_prompting",rtn	% % Search prompting %Zsearch_prompting%
    512 mode,"csmode",rtn	% % Continued search %Zcsmode%
    513 
    514 :defmenu paragraph menu,"more-options",rtn
    515 mode,"french",rtn	% % French spacing %Zfrench%
    516 mode,"flowed",rtn	% % Flowed text %Zflowed%
    517 mode,"cpara",rtn	% % Paragraph indent chars %Zcpara%
    518 mode,"cnotpara",rtn	% % Not-paragraph chars %Zcnotpara%
    519 
    520 :defmenu file menu,"more-options",rtn
    521 mode,"restore",rtn	% % Restore cursor %Zrestore%
    522 mode,"guess_crlf",rtn	% % Auto detect CR-LF %Zguess_crlf%
    523 mode,"guess_indent",rtn	% % Guess indent %Zguess_indent%
    524 mode,"guess_non_utf8",rtn	% % Guess non-UTF-8 %Zguess_non_utf8%
    525 mode,"guess_utf8",rtn	% % Guess UTF-8 %Zguess_utf8%
    526 mode,"guess_utf16",rtn	% % Guess UTF-16 %Zguess_utf16%
    527 mode,"force",rtn	% % Force last NL %Zforce%
    528 mode,"nobackup",rtn	% % No backup %Znobackup%
    529 
    530 :defmenu global menu,"more-options",rtn
    531 mode,"nolocks",rtn	% % Disable locks %Znolocks%
    532 mode,"nobackups",rtn	% % Disable backups %Znobackups%
    533 mode,"nodeadjoe",rtn	% % Disable DEADJOE %Znodeadjoe%
    534 mode,"nomodcheck",rtn	% % Disable mtime check %Znomodcheck%
    535 mode,"nocurdir",rtn	% % Disable current dir %Znocurdir%
    536 mode,"exask",rtn	% % Exit ask %Zexask%
    537 mode,"nosta",rtn	% % Disable status line %Znosta%
    538 mode,"keepup",rtn	% % Fast status line %Zkeepup%
    539 mode,"break_hardlinks",rtn	% % Break hard links %Zbreak_hardlinks%
    540 mode,"break_links",rtn	% % Break links %Zbreak_links%
    541 mode,"joe_state",rtn	% % Joe_state file %Zjoe_state%
    542 mode,"undo_keep",rtn	% % No. undo records %Zundo_keep%
    543 mode,"backpath",rtn	% % Path to backup files %Zbackpath%
    544 
    545 :defmenu cursor menu,"more-options",rtn
    546 mode,"pg",rtn	% % No. PgUp/PgDn lines %Zpg%
    547 mode,"mid",rtn	C Center on scroll %Zmid%
    548 mode,"left",rtn	L Columns to scroll left %Zleft%
    549 mode,"right",rtn R Columns to scroll right %Zright%
    550 mode,"floatmouse",rtn	% % Click past end %Zfloatmouse%
    551 mode,"rtbutton",rtn	% % Right button %Zrtbutton%
    552 
    553 :defmenu marking menu,"more-options",rtn
    554 mode,"autoswap",rtn	% % Autoswap mode %Zautoswap%
    555 mode,"marking",rtn	% % Marking %Zmarking%
    556 mode,"lightoff",rtn	% % Auto unmask %Zlightoff%
    557 
    558 :defmenu tab menu,"more-options",rtn
    559 mode,"smarthome",rtn	% % Smart home key %Zsmarthome%
    560 mode,"smartbacks",rtn	% % Smart backspace %Zsmartbacks%
    561 mode,"indentfirst",rtn	% % To indent first %Zindentfirst%
    562 mode,"purify",rtn	% % Clean up indents %Zpurify%
    563 mode,"spaces",rtn	% % No tabs %Zspaces%
    564 
    565  THIRD SECTION: Named help screens:
    566 
    567  Use \i to turn on/off inverse video
    568  Use \u to turn on/off underline
    569  Use \b to turn on/off bold
    570  Use \d to turn on/off dim
    571  Use \f to turn on/off flash
    572  Use \l to turn on/off italic
    573 
    574  Use \| to insert a spring: all springs in a given line are set to the same
    575  width such that the entire line exactly fits in the width of the screen (if
    576  it's not an exact multiple so that there are N spaces remaining, the
    577  rightmost N springs each get one extra space).  Hint: if you want vertical
    578  alignment, each line should have the same number of springs.
    579 
    580  Use the '-help_is_utf8' global option to allow UTF-8 sequences in the help
    581  text.  Otherwise, the locale 8-bit character set is assumed.
    582 
    583 {Basic
    584  \|\uREGION\u        \|\uGO TO\u           \|\uGO TO\u           \|\uDELETE\u    \|\uEXIT\u       \|\uSEARCH\u    \| 
    585  \|\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  \| 
    586  \|\b^KB\b Begin     \|\b^X\b Next word    \|\uMISC\u            \|\b^Y\b Line   \|\b^C\b  Abort  \|\b^L\b  Next  \| 
    587  \|\b^KK\b End       \|\b^KU\b Top of file \|\b^KJ\b Paragraph   \|\b^W\b >Word  \|\b^KQ\b All    \|\uHELP\u      \| 
    588  \|\b^KC\b Copy      \|\b^KV\b End of file \|\b^KA\b Center line \|\b^O\b Word<  \|\uFILE\u       \|\bEsc .\b Next\| 
    589  \|\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\| 
    590  \|\b^KW\b File      \|\b^E\b End of line  \|\uSPELL\u           \|\b^[O\b Line< \|\b^KR\b Insert \|\b^KH\b Off   \| 
    591  \|\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  \| 
    592  \|\b^K/\b Filter    \|\b^G\b  Matching (  \|\bEsc L\b File      \|\b^^\b Redo   \|\b^K`\b Revert \|\b\b          \| 
    593 }
    594 
    595 {Advanced
    596  \|\uMACROS\u         \|\uSCROLL\u           \|\uWINDOW\u               \|\uGO TO\u      \|\uI-SEARCH\u     \| 
    597  \|\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 \| 
    598  \|\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  \| 
    599  \|\bEsc I\b   Text   \|\bEsc <\b Left       \|\b^KN\b Next  \b^KP\b Prev.  \|\b^P\b  Up     \|\uBOOKMARKS\u    \| 
    600  \|\b^K?\b     Pause  \|\bEsc >\b Right      \|\b^KI\b Show one / All   \|\b^N\b  Down   \|\bEsc 0-9\b Goto \| 
    601  \|   for prompt  \|\uINSERT\u           \|\uSHELL\u                \|\b^B\b  Left   \|\bEsc Esc\b Set  \| 
    602  \|\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\| 
    603  \|\b^K\\\b     Repeat \|\b^@\b Space \b^\\\b Meta \|\b^K'\b In buffer        \|           \|\b^K=\b Auto next\| 
    604  \|\bEsc D\b   Dump   \|\bEsc Y\b Paste      \|\b^KZ\b Suspend  \bEsc !\b Append \|      \|             \| 
    605 }
    606 
    607 {Programs
    608  \|\uCOMMANDS\u            \|\uCOMPILING\u                  \|\uQUICK\u                       \| 
    609  \|\bEsc X\b Command prompt\|\bEsc C\b Save modified compile\|\b^G\b  Find word under cursor  \| 
    610  \|\bEsc M\b Calculator    \|\bEsc G\b Grep                 \|\b^K;\b Tags file search        \| 
    611  \|\bshowlog\b Startup log \|\bEsc =\b To next error        \|\bEsc Enter\b Complete word     \| 
    612  \|\bupper\b   Change case \|\bEsc -\b To prev. error       \|\uBUFFER\u                      \| 
    613  \|\blower\b   Change case \|\bEsc Space\b Jump to error    \|\bEsc U\b Next                  \| 
    614  \|\bcd\b      Change dir  \|\uINDENT\u                     \|\bEsc V\b Previous              \| 
    615  \|\bkeymap\b  Change map  \|\b^K,\b Less                   \|\bEsc X bufed\b Switch          \| 
    616  \|                    \|\b^K.\b More                   \|                            \| 
    617 }
    618 
    619   Missing: Esc ~ not mod
    620            Esc e parse errors in buffer
    621            Esc ^Y   yank pop
    622   
    623 {Search
    624  Search sequences:                                                            \| 
    625      \b\\^  \\$\b  matches beg./end of line       \b\\.\b     match any single char      \| 
    626      \b\\<  \\>\b  matches beg./end of word       \b\\!\b     match char or expression   \| 
    627      \b\\(  \\)\b  grouping                       \b\\|\b     match left or right         \| 
    628      \b\\[a-z]\b  matches one of a set           \b\\y \\Y\b  short for (.*) / (!*)       \| 
    629      \b\\{1,3}\b  match 1 - 3 occurrences        \b\\?\b     match 0 or 1 occurrence     \| 
    630      \b\\+\b      match 1 or more occurrences    \b\\*\b     match 0 or more occurrences \| 
    631                                                                                \|
    632  \b^C\b    to abort                             \bEsc .\b  to list of escape sequences \|
    633 }
    634 
    635 {Escape sequences
    636  Escape sequences: \| 
    637     \b\\x{10fff}\b Unicode code point    \b\\p{Ll}\b  Unicode category \| 
    638     \b\\i\b / \b\\I\b   Identifier start      \b\\t\b  tab          \b\\e\b  escape               \| 
    639     \b\\c\b / \b\\C\b   Identifier continue   \b\\n\b  newline      \b\\r\b  carriage return      \| 
    640     \b\\d\b / \b\\D\b   Digit / Not a digit   \b\\b\b  backspace  \b\\xFF\b  hex character        \| 
    641     \b\\w\b / \b\\W\b   Word / Not a word     \b\\a\b  alert      \b\\377\b  octal character      \| 
    642     \b\\s\b / \b\\S\b   Space / Not a space   \b\\f\b  formfeed     \b\\\\\b  backslash            \| 
    643   \|
    644   \|
    645 }
    646 
    647 {Replace
    648  Replace sequences:                                                           \| 
    649      \b\\&\b      replaced with entire match     \b\\1\b - \b9\b replaced with Nth group   \| 
    650      \b\\u \\l\b   convert next to upper/lower    \b\\U \\L\b  case convert until \b\\E\b     \| 
    651                                                                               \|
    652                                                                               \|
    653  \|
    654  \|
    655  \|
    656  \b^C\b    to abort                             \bEsc ,\b to list of escape sequences \|
    657 }
    658 
    659 {SearchOptions
    660  Search options:                                                              \| 
    661       \br\b Replace      \bk\b Restrict search to highlighted block                   \| 
    662       \bi\b Ignore case  \bb\b Search backwards instead of forwards                   \| 
    663                      \ba\b Search across all loaded files                         \| 
    664                      \be\b Search across all files in Grep or Compile error list  \| 
    665   \bw\b / \bn\b  Allow / prevent wrap to start of file                                \| 
    666   \bx\b / \by\b  Search text is standard format / JOE format regular expression       \| 
    667     \bnnn\b  Perform exactly nnn replacements                                     \| 
    668  \b^C\b    to abort
    669 }
    670 
    671 {Math
    672   \uMATH COMMANDS\u                  \uCONSTANTS\u                                \| 
    673   \bhex oct bin\b display mode       \b0xff\b hex entry                           \| 
    674   \beng dec\b engineering / normal   \b0o77\b octal entry                         \| 
    675       \bins\b type result into file  \b0b11\b binary entry                        \| 
    676      \beval\b evaluate block         \b3e-4\b floating point entry                \| 
    677   2+3\b:\bins multiple commands      \uVARIABLES\u                                \| 
    678   \uOPERATORS\u                      \bans\b  Previous result                     \| 
    679   \b! ^  * / %  + -\b                \ba=10\b Assign a variable                   \| 
    680   \b< <= > >= == !=  &&  ||  ? :\b   \bEsc .\b for list of functions              \| 
    681 }
    682 
    683 {Functions
    684   \uFUNCTIONS\u                      \uCONSTANTS\u                                \| 
    685   \bsin cos tab asin acos atan\b     \be pi\b                                     \| 
    686   \bsinh cosh tanh asinh acosh atanh\b                                        \| 
    687   \bsqrt cbrt exp ln log\b                                                    \| 
    688   \bint floor ceil abs\b                                                      \| 
    689   \berf erfc j0 j1 y0 y1\b                                                    \| 
    690   \bjoe(..macro..)\b - runs an editor macro                                   \| 
    691                                                                               \| 
    692                                  \bEsc .\b for statistics                     \| 
    693 }
    694 
    695 {Statistics 
    696   \uMATH COMMANDS\u                                                               \| 
    697   Statistics on region of numbers  Linear regression on region of x y pairs   \| 
    698   \bsum\b  Sum                         \blr(x)\b  Estimate y given x     y=m*x+b      \| 
    699   \bcnt\b  Count                       \brlr(y)\b Estimate x given y                  \| 
    700   \bavg\b  Mean                        \bLr rLr\b Logarithmic regression y=m*ln(x)+b  \| 
    701     Standard deviation:            \blR rlR\b Exponential regression y=e^(m*x)+b  \| 
    702   \bdev\b  all data present            \bLR rLR\b Power regression       y=b*x^m      \| 
    703   \bsamp\b sample of data present      Side effects: \bb\b, \bm\b: regression coef.       \| 
    704                                        \br\b: correlation coef., \bcov\b: covariance  \| 
    705 }
    706 
    707 {Names
    708   Hit TAB to complete names.  Use up / down arrow keys to traverse history.   \| 
    709   Special file names:                                                         \| 
    710        \b!\bcommand                 Pipe in/out of a shell command                \| 
    711        \b>>\bfilename               Append to a file                              \| 
    712        \b-\b                        Read/Write to/from standard I/O               \|
    713        filename\b,START,SIZE\b      Read/Write a part of a file/device            \| 
    714            Give START/SIZE in decimal (255), octal (0377) or hex (0xFF)       \| 
    715        \b\\,\b                       Use backslash to quote special characters     \|
    716  \b^C\b    to abort
    717 }
    718 
    719 {CharTable
    720  \| Dec  \u 0123 4567  8901 2345    0123 4567  8901 2345 \u  Dec \| 
    721  \|   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 \| 
    722  \|  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 \| 
    723  \|  32 |  !"# $%&'  ()*+ ,-./    ���� ����  ���� �X�� | 160 \| 
    724  \|  48 | 0123 4567  89:; <=>?    ���� ����  ���� ���� | 176 \| 
    725  \|  64 | @ABC DEFG  HIJK LMNO    ���� ����  ���� ���� | 192 \| 
    726  \|  80 | PQRS TUVW  XYZ[ \\]^_    ���� ����  ���� ���� | 208 \| 
    727  \|  96 | `abc defg  hijk lmno    ���� ����  ���� ���� | 224 \| 
    728  \| 112 | pqrs tuvw  xyz{ |}~    ���� ����  ���� ���� | 240 \| 
    729 }
    730 
    731 {Joe
    732   Send bug reports to: http://sourceforge.net/projects/joe-editor \| 
    733   \| 
    734    default joerc file is here /usr/local/etc/joe/joerc \| 
    735    default syntax and i18n files are here /usr/local/share/joe \| 
    736    additional documentation can be found here /usr/local/share/doc/joe \| 
    737   \| 
    738   \| 
    739   \| 
    740   \| 
    741 }
    742 
    743  FOURTH SECTION: Key bindings:
    744 
    745  Section names you must provide:
    746 
    747 	:main		For editing window
    748 	:prompt		For prompt lines
    749 	:query		For single-character query lines
    750 	:querya		Singe-character query for quote
    751 	:querysr	Search & Replace single-character query
    752 	:shell		For shell windows
    753 	:vtshell	For terminal emulator windows
    754 
    755  Other sections may be given as well for organization purposes or for
    756  use with the '-keymap' option.
    757 
    758  Use:
    759  :inherit name		To copy the named section into the current one
    760  :delete key		To delete a key sequence from the current section
    761 
    762  Keys:
    763 
    764  Use U+12345 for specific unicode character
    765  Use ^@ through ^_ and ^? for Ctrl chars
    766  Use SP for space
    767  Use a TO b to generate a range of characters
    768  Use MDOWN, MDRAG, MUP, M2DOWN, M2DRAG, M2UP, M3DOWN, M3DRAG, M3UP for mouse
    769  Use MWDOWN, MWUP for wheel mouse motion
    770  Use ^# for 0x9B (for Amiga).  But warning: this breaks UTF-8 keyboards.
    771 
    772  You can also use termcap string capability names.  For example:
    773 
    774 	.ku		Up
    775 	.kd		Down
    776 	.kl		Left
    777 	.kr		Right
    778 	.kh		Home
    779 	.kH		End
    780 	.kI		Insert
    781 	.kD		Delete
    782 	.kP		PgUp
    783 	.kN		PgDn
    784 	.k1 - .k9	F1 - F9
    785 	.k0		F0 or F10
    786 	.k;		F10
    787 
    788  Macros:
    789 
    790  Simple macros can be made by comma seperating 2 or more command names.  For
    791  example:
    792 
    793  eof,bol	^T Z		Goto beginning of last line
    794 
    795  Also quoted matter is typed in literally:
    796 
    797  bol,">",dnarw	.k1		Quote news article line
    798 
    799  Macros may cross lines if they end with ,
    800 
    801  Commands or named macros may be created with :def.  For example, you can
    802  use:
    803 
    804  :def foo eof,bol
    805 
    806  To define a command foo which will goto the beginning of the last line.
    807 
    808  Recenter
    809 :def recenter retype,arg,"top+height/2-line",rtn,upslide
    810 
    811 :windows		Bindings common to all windows
    812 type		U+0 TO U+10FFFF
    813 abort		^C		Abort window
    814  abort		^K Q
    815  abort		^K ^Q
    816  abort		^K q
    817 querysave,query,killjoe	^K Q	Query to save files, then exit
    818 querysave,query,killjoe	^K ^Q
    819 querysave,query,killjoe	^K q
    820 arg		^K \		Repeat next command
    821 explode		^K I		Show all windows or show only one window
    822 explode		^K ^I
    823 explode		^K i
    824 help		^K H		Help menu
    825 help		^K ^H
    826 help		^K h
    827 hnext		^[ .		Next help window
    828 hprev		^[ ,		Previous help window
    829 math		^[ m		Calculator
    830 math		^[ M		Calculator
    831  math		^[ ^M		Calculator
    832 msg		^[ h		Display a message
    833 msg		^[ H		Display a message
    834 msg		^[ ^H		Display a message
    835 nextw		^K N		Goto next window
    836 nextw		^K ^N
    837 nextw		^K n
    838 pgdn		.kN		Screen down
    839 pgdn		^V
    840 pgdn		^[ [ 6 ~
    841  pgdn      ^# S
    842 pgup		.kP		Screen up
    843 pgup		^U
    844 pgup		^[ [ 5 ~
    845  pgup      ^# T
    846 play		^K 0 TO 9	Execute macro
    847 prevw		^K P		Goto previous window
    848 prevw		^K ^P
    849 prevw		^K p
    850 query		^K ?		Macro query insert
    851 record		^K [		Record a macro
    852  retype		^R		Refresh screen
    853  recenter	^R		Recenter and refresh screen
    854 rtn		^M		Return
    855 shell		^K Z		Shell escape
    856 shell		^K ^Z
    857 shell		^K z
    858 stop		^K ]		Stop recording
    859  Mouse handling
    860 defmdown	MDOWN		Move the cursor to the mouse location
    861 defmup		MUP
    862 defmdrag	MDRAG		Select a region of characters
    863 defm2down	M2DOWN		Select the word at the mouse location
    864 defm2up		M2UP
    865 defm2drag	M2DRAG		Select a region of words
    866 defm3down	M3DOWN		Select the line at the mouse location
    867 defm3up		M3UP
    868 defm3drag	M3DRAG		Select a region of lines
    869 defmiddleup	MIDDLEUP
    870 defmiddledown	MIDDLEDOWN	Insert text
    871 
    872 xtmouse		^[ [ M		Introduces an xterm mouse event
    873 extmouse	^[ [ <		Introduces an extended xterm mouse event
    874 
    875  Sample if/then/else macro
    876  if,"char==65",then,"it's an A",else,"it's not an a",endif	^[ q
    877 
    878 :main			Text editing window
    879 :inherit windows
    880 
    881  Spell-check macros
    882 
    883  Ispell
    884 :def ispellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype
    885 :def ispellword psh,nextword,markk,prevword,markb,filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;tr -d <ispell.tmp '\\012';/bin/rm ispell.tmp",rtn,retype,nextword
    886 
    887  Aspell
    888 :def aspellfile filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;cat $SPLTMP;/bin/rm $SPLTMP",rtn,retype
    889 :def aspellword psh,nextword,markk,prevword,markb,filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell --lang=",language,".",charset," -x -c $SPLTMP </dev/tty >/dev/tty;tr -d <$SPLTMP '\\012';/bin/rm $SPLTMP",rtn,retype,nextword
    890 
    891 
    892 aspellfile	^[ l
    893 aspellword	^[ n
    894 
    895  Compile
    896 
    897 :def compile mwind!,mfit!,querysave,query,scratch,"* Build Log *",rtn,bof,markb,eof," ",markk,blkdel,build
    898 
    899  Grep
    900 
    901 :def grep_find mwind!,mfit!,scratch,"* Grep Log *",rtn,bof,markb,eof," ",markk,blkdel,grep
    902 
    903  Man page
    904 
    905 :def man scratch,"* Man Page *",rtn,bof,markb,eof," ",markk,blkdel," ",ltarw,run,"man -P cat -S 2:3 "
    906 
    907  Shell windows
    908  We load the already existing Startup Log first so that Shell does not inherit the current directory.
    909 
    910 :def shell1 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 1 *",rtn,vtbknd!,eof
    911 :def shell2 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 2 *",rtn,vtbknd!,eof
    912 :def shell3 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 3 *",rtn,vtbknd!,eof
    913 :def shell4 scratch_push,"* Startup Log *",rtn,scratch_push,"* Shell 4 *",rtn,vtbknd!,eof
    914 
    915  Macros allowed in shell window commands
    916 :def shell_clear psh,bof,markb,eof,markk,blkdel
    917 :def shell_parse parserr
    918 :def shell_gparse gparse
    919 :def shell_release release
    920 :def shell_math maths
    921 :def shell_abort abort
    922 ",rtn,txt,quote,"d",rtn
    923 :def shell_rtn rtn
    924 :def shell_edit edit
    925 :def shell_dellin dellin
    926 :def shell_cd cd
    927 :def shell_pop popabort
    928 :def shell_markb markb
    929 :def shell_markk markk
    930 
    931  Split window version
    932  :def shell1 if,"is_shell==0",then,tw1,mfit,endif,scratch,"* Shell 1 *",rtn,vtbknd!,eof
    933  :def shell2 if,"is_shell==0",then,tw1,mfit,endif,scratch,"* Shell 2 *",rtn,vtbknd!,eof
    934  :def shell3 if,"is_shell==0",then,tw1,mfit,endif,scratch,"* Shell 3 *",rtn,vtbknd!,eof
    935  :def shell4 if,"is_shell==0",then,tw1,mfit,endif,scratch,"* Shell 4 *",rtn,vtbknd!,eof
    936 
    937 
    938  Here we guess some common key sequences which either do not have termcap
    939  sequences or which are frequently wrong.  Note that if the termcap entry is
    940  correct, it will override these later on.
    941 
    942 paste			^[ ] 5 2 ;		Base64 paste (obsolete)
    943 brpaste			^[ [ 2 0 0 ~		Bracketed paste
    944 brpaste_done		^[ [ 2 0 1 ~		Bracketed paste done
    945 
    946 insc			^[ [ 2 ~
    947 insc			^[ [ L			SCO
    948 
    949 delch			^[ [ 3 ~
    950 
    951 pgup			^[ [ I		SCO
    952 
    953 pgdn			^[ [ G		SCO
    954 
    955 home			^[ [ 1 ~		Putty, Linux, Cygwin
    956 home			^[ [ H			Xterm, Konsole, SCO
    957 home			^[ O H			gnome-terminal
    958 home			^[ [ 7 ~		RxVT
    959  home			^# SP A		Amiga
    960 
    961 eol			^[ [ 4 ~		Putty, Linux, Cygwin, ssh
    962 eol			^[ [ F			Xterm, Konsole, SCO
    963 eol			^[ O F			gnome-terminal
    964 eol			^[ [ 8 ~		RxVT
    965  eol			^# SP @		Amiga
    966 
    967 rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ [ 1 ; 5 C    Mark right Xterm
    968 rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ [ 5 C        Mark right Gnome-terminal
    969  (Almost all termcap entries have ^[ O C as an arrow key).
    970  rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ O C		Mark right Putty Ctrl-rtarw
    971 rtarw,ltarw,begin_marking,rtarw,toggle_marking	^[ O c		Mark right RxVT Ctrl-rtarw
    972 
    973 ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ [ 1 ; 5 D    Mark left
    974 ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ [ 5 D        Mark left
    975  ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ O D		Mark left Putty Ctrl-ltarw
    976 ltarw,rtarw,begin_marking,ltarw,toggle_marking	^[ O d		Mark left RxVT Ctrl-ltarw
    977 
    978 uparw,dnarw,begin_marking,uparw,toggle_marking	^[ [ 1 ; 5 A    Mark up
    979 uparw,dnarw,begin_marking,uparw,toggle_marking	^[ [ 5 A        Mark up
    980  uparw,dnarw,begin_marking,uparw,toggle_marking	^[ O A		Mark up Putty Ctrl-uparw
    981 uparw,dnarw,begin_marking,uparw,toggle_marking	^[ O a		Mark up RxVT Ctrl-uparw
    982 
    983 dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ [ 1 ; 5 B    Mark down
    984 dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ [ 5 B        Mark down
    985  dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ O B		Mark down Putty Ctrl-dnarw
    986 dnarw,uparw,begin_marking,dnarw,toggle_marking	^[ O b		Mark down RxVT Ctrl-dnarw
    987 
    988 blkdel,nmark   ^[ [ 3 ; 5 -	Gnome-terminal Ctrl-Del
    989 blkdel,nmark   ^[ [ 3 ; 5 ~	Xterm Ctrl-Del
    990 
    991 yank		^[ [ 2 ; 5 -	Gnome-terminal Ctrl-Ins
    992 yank		^[ [ 2 ; 5 ~    Xterm Ctrl-Ins
    993 
    994  Extra functions not really part of JOE user interface:
    995 
    996 delbol		^[ o		Delete to beginning of line
    997 delbol		^[ ^O		Delete to beginning of line
    998 dnslide		^[ z		Scroll down one line
    999 dnslide		^[ Z		Scroll down one line
   1000 dnslide		^[ ^Z		Scroll down one line
   1001 dnslide,dnslide,dnslide,dnslide		MWDOWN
   1002 compile		^[ c		Compile
   1003 compile		^[ C
   1004 compile		^[ ^C		Compile
   1005 grep_find	^[ g		Grep
   1006 grep_find	^[ G		Grep
   1007 grep_find	^[ ^G		Grep
   1008 execmd		^[ x		Prompt for command to execute
   1009 execmd		^[ X		Prompt for command to execute
   1010 execmd		^[ ^X		Prompt for command to execute
   1011 finish		^[ ^I		Complete word in document
   1012 finish		^[ ^M		Complete word: used to be math
   1013 mwind!,mfit,jump,bol		^[ SP
   1014 isrch		^[ s		Forward incremental search
   1015 isrch		^[ S		Forward incremental search
   1016 isrch		^[ ^S		Forward incremental search
   1017 isrch		^S
   1018 notmod		^[ ~		Not modified
   1019 mwind,mfit,prevw,nxterr		^[ =		To next error
   1020 parserr		^[ e		Parse errors in current buffer
   1021 parserr		^[ E		Parse errors in current buffer
   1022 parserr		^[ ^E		Parse errors in current buffer
   1023 mwind,mfit,prevw,prverr		^[ -		To previous error
   1024 rsrch		^[ r		Backward incremental search
   1025 rsrch		^[ R		Backward incremental search
   1026 rsrch		^[ ^R		Backward incremental search
   1027 retype,rsrch	^R
   1028 run		^[ !		Run a program in a window
   1029 tomarkb		^[ b		Go to beginning of marked block
   1030 tomarkb		^[ ^B		Go to beginning of marked block
   1031 tomarkk		^[ k		Go to end of marked block
   1032 tomarkk		^[ ^K		Go to end of marked block
   1033 tomarkk		^[ K		Go to end of marked block
   1034 txt		^[ i		Prompt for text and insert it
   1035 txt		^[ I		Prompt for text and insert it
   1036 upslide		^[ w		Scroll up one line
   1037 upslide		^[ ^W		Scroll up one line
   1038 upslide		^[ W		Scroll up one line
   1039 upslide,upslide,upslide,upslide		MWUP
   1040 yank		^[ y		Undelete text
   1041 yankpop		^[ ^Y		Undelete text
   1042 yank		^[ Y		Undelete text
   1043 
   1044  toggle_marking	^@		Ctrl-space block selection method
   1045 insc		^@		Ctrl-space used to insert a space
   1046 
   1047  bufed		^[ d		Menu of buffers
   1048 nbuf		^[ v		Next buffer
   1049 nbuf		^[ V		Next buffer
   1050 nbuf		^[ ^V		Next buffer
   1051 pbuf		^[ u		Prev buffer
   1052 pbuf		^[ U		Prev buffer
   1053 pbuf		^[ ^U		Prev buffer
   1054  query		^[ q		Quoted insert
   1055  byte		^[ n		Goto byte
   1056  col		^[ c		Goto column
   1057  abortbuf	^[ k		Kill current buffer- don't mess with windows
   1058  ask		^[ a		Ask to save current buffer
   1059  bop		^[ p		Backwards paragraph
   1060  bos		^[ x		Bottom of screen
   1061  copy		^[ ^W		Copy block into yank
   1062  dupw		^[ \		Split window
   1063  eop		^[ n		Forwards paragraph
   1064  format		^[ j		Format paragraph ignore block
   1065  markl		^[ l		Mark line
   1066  nmark		^[ @		Turn off ^KB ^KK
   1067  pop		^[ >		Pop ^KB ^KK
   1068  psh		^[ <		Push ^KB ^KK
   1069  swap		^[ x		Swap ^KB and cursor
   1070  tomarkbk	^[ g		Switch between beginning and end of marked
   1071  tos		^[ e		Top of screen
   1072  tw0		^[ 0		Kill current window (orphans buffer)
   1073  tw1		^[ 1		Kill all other windows (orphans buffers)
   1074  uarg		^[ u		Universal argument
   1075  yank		^[ ^Y		Undelete previous text
   1076  yapp		^[ w		Append next delete to previous yank
   1077 
   1078  Standard JOE user interface
   1079 
   1080 quote8		^\		Enter Meta chars
   1081  quote		`		Enter Ctrl chars
   1082 quote		^[ '		Enter Ctrl chars
   1083 quote		^Q
   1084 
   1085 backs		^?		Backspace
   1086 backs		^H
   1087 backw		^O		Backspace word
   1088 bknd		^K '		Shell window
   1089 blkcpy		^K C		Copy marked block
   1090 blkcpy		^K ^C
   1091 blkcpy		^K c
   1092 blkdel		^K Y		Delete marked block
   1093 blkdel		^K ^Y
   1094 blkdel		^K y
   1095 blkmove		^K M		Move marked block
   1096 blkmove		^K ^M
   1097 blkmove		^K m
   1098 blksave		^K W		Save marked block
   1099 blksave		^K ^W
   1100 blksave		^K w
   1101 bof		^K U		Goto beginning of file
   1102 bof		^K ^U
   1103 bof		^K u
   1104  bol		.kh		Goto beginning of line
   1105  bol		^A
   1106  bol      ^# SP A
   1107 home		.kh
   1108 home		^A
   1109 center		^K A		Center line
   1110 center		^K ^A
   1111 center		^K a
   1112 crawll		^K <		Pan left
   1113 crawll		^[ <		Pan left
   1114 crawlr		^K >		Pan right
   1115 crawlr		^[ >		Pan right
   1116 delch		.kD		Delete character
   1117 delch		^D
   1118 deleol		^J		Delete to end of line
   1119 dellin		^Y		Delete entire line
   1120 delw		^W		Delete word to right
   1121 dnarw		.kd		Go down
   1122 dnarw		^N
   1123 dnarw		^[ O B
   1124 dnarw		^[ [ B
   1125  dnarw		^# B
   1126 edit		^K E		Edit a file
   1127 edit		^K ^E
   1128 edit		^K e
   1129 eof		^K V		Go to end of file
   1130 eof		^K ^V
   1131 eof		^K v
   1132 eol		.kH		Go to end of line
   1133 eol		.@7
   1134 eol		^E
   1135 exsave		^K X		Save and exit
   1136 exsave		^K ^X
   1137 exsave		^K x
   1138 ffirst		^K F		Find first
   1139 ffirst		^K ^F
   1140 ffirst		^K f
   1141 filt		^K /		Filter block
   1142  finish		^K ^M		Complete text under cursor
   1143 fnext		^L		Find next
   1144 fmtblk		^K J		Format paragraphs in block
   1145 fmtblk		^K ^J
   1146 fmtblk		^K j
   1147 gomark		^[ 0 TO 9	Goto bookmark
   1148 groww		^K G		Grow window
   1149 groww		^K ^G
   1150 groww		^K g
   1151 insc		.kI		Insert a space
   1152  insc		^@
   1153 insf		^K R		Insert a file
   1154 insf		^K ^R
   1155 insf		^K r
   1156 lindent		^K ,		Indent to left
   1157 line		^K L		Goto line no.
   1158 line		^K ^L
   1159 line		^K l
   1160 ltarw		.kl		Go left
   1161 ltarw		^B
   1162 ltarw		^[ O D
   1163 ltarw		^[ [ D
   1164  ltarw          ^# D
   1165 macros		^[ d		Dump keyboard macros
   1166 macros		^[ ^D
   1167 markb		^K B		Set beginning of marked block
   1168 markb		^K ^B
   1169 markb		^K b
   1170 markk		^K K		Set end of marked block
   1171 markk		^K ^K
   1172 markk		^K k
   1173  mode		^T		Options menu
   1174 menu,"root",rtn	^T
   1175 nextpos		^K =		Goto next position in position history
   1176 nextword	^X		Goto next word
   1177 open		^]		Split line
   1178 prevpos		^K -		Previous position in history
   1179 prevword	^Z		Previous word
   1180 reload		^K `		Revert file
   1181 redo		^^		Redo changes
   1182 rindent		^K .		Indent to right
   1183 rtarw		.kr		Go right
   1184 rtarw		^F
   1185 rtarw		^[ O C
   1186 rtarw		^[ [ C
   1187  rtarw          ^# C
   1188 run		^K !		Run a shell command
   1189 save		^K D		Save file
   1190 save		^K S
   1191 save		^K ^D
   1192 save		^K ^S
   1193 save		^K d
   1194 save		^K s
   1195 setmark		^[ ^[		Set bookmark
   1196 shrinkw		^K T		Shrink window
   1197 shrinkw		^K ^T
   1198 shrinkw		^K t
   1199 splitw		^K O		Split window
   1200 splitw		^K ^O
   1201 splitw		^K o
   1202 stat		^K SP		Show status
   1203 stat		^K ^@		Show status
   1204 tag		^K ;		Tags file search
   1205 tomatch		^G		Goto matching parenthasis
   1206 undo		^_		Undo changes
   1207 uparw		.ku		Go up
   1208  uparw		^# A
   1209 uparw		^P
   1210 uparw		^[ O A
   1211 uparw		^[ [ A
   1212 shell1		^[ [ 1 1 ~
   1213 shell1		^[ O P
   1214 shell1		^[ [ [ A
   1215 shell1		.k1
   1216 shell2		^[ [ 1 2 ~
   1217 shell2		^[ O Q
   1218 shell2		^[ [ [ B
   1219 shell2		.k2
   1220 shell3		^[ [ 1 3 ~
   1221 shell3		^[ O R
   1222 shell3		^[ [ [ C
   1223 shell3		.k3
   1224 shell4		^[ [ 1 4 ~
   1225 shell4		^[ O S
   1226 shell4		^[ [ [ D
   1227 shell4		.k4
   1228 
   1229 :prompt			Prompt windows
   1230 :inherit main
   1231 if,"byte>size",then,complete,complete,else,delch,endif	^D
   1232 complete	^I
   1233 dnarw,eol	.kd		Go down
   1234 dnarw,eol	^N
   1235 dnarw,eol	^[ O B
   1236 dnarw,eol	^[ [ B
   1237  dnarw,eol	^# B
   1238 uparw,eol	.ku		Go up
   1239  uparw,eol	^# A
   1240 uparw,eol	^P
   1241 uparw,eol	^[ O A
   1242 uparw,eol	^[ [ A
   1243 
   1244 :menu			Selection menus
   1245 :inherit windows
   1246 
   1247 pgupmenu			^[ [ I
   1248 
   1249 pgdnmenu			^[ [ G
   1250 
   1251 bolmenu			^[ [ 1 ~		Putty, Linux, Cygwin
   1252 bolmenu			^[ [ H			Xterm, Konsole
   1253 bolmenu			^[ O H			gnome-terminal
   1254 bolmenu			^[ [ 7 ~		RxVT
   1255  bolmenu			^# SP A		Amiga
   1256 
   1257 eolmenu			^[ [ 4 ~		Putty, Linux, Cygwin, ssh
   1258 eolmenu			^[ [ F			Xterm, Konsole
   1259 eolmenu			^[ O F			gnome-terminal
   1260 eolmenu			^[ [ 8 ~		RxVT
   1261  eolmenu			^# SP @		Amiga
   1262 
   1263 abort		^[ ^[	Why?
   1264 backsmenu	^?
   1265 backsmenu	^H
   1266 bofmenu		^K U
   1267 bofmenu		^K ^U
   1268 bofmenu		^K u
   1269 bolmenu		.kh
   1270 bolmenu		^A
   1271 dnarwmenu	.kd
   1272 dnarwmenu	^N
   1273 dnarwmenu	^[ [ B
   1274 dnarwmenu	^[ O B
   1275  dnarwmenu ^# B
   1276 dnarwmenu	MWDOWN
   1277 eofmenu		^K V
   1278 eofmenu		^K ^V
   1279 eofmenu		^K v
   1280 eolmenu		.kH
   1281 eolmenu		^E
   1282 ltarwmenu	.kl
   1283 ltarwmenu	^B
   1284 ltarwmenu	^[ [ D
   1285 ltarwmenu	^[ O D
   1286  ltarwmenu ^# D
   1287 pgdnmenu	.kN		Screen down
   1288 pgdnmenu	^V
   1289 pgdnmenu	^[ [ 6 ~
   1290  pgdnmenu  ^# S
   1291 pgupmenu	.kP		Screen up
   1292 pgupmenu	^U
   1293 pgupmenu	^[ [ 5 ~
   1294  pgupmenu  ^# T
   1295 rtarwmenu	.kr
   1296 rtarwmenu	^F
   1297 rtarwmenu	^[ [ C
   1298  rtarwmenu ^# C
   1299 rtarwmenu	^[ O C
   1300 rtn		SP
   1301 rtn		^I
   1302 rtn		^K H
   1303 rtn		^K h
   1304 rtn		^K ^H
   1305 tabmenu		^I
   1306 uparwmenu	.ku
   1307 uparwmenu	^P
   1308 uparwmenu	^[ [ A
   1309 uparwmenu	^[ O A
   1310  uparwmenu ^# A
   1311 uparwmenu	MWUP
   1312 defm2down	M2DOWN		Hits return key
   1313 
   1314 :query			Single-key query window
   1315 :inherit windows
   1316 
   1317 :querya			Single-key query window for quoting
   1318 type		U+0 TO U+10FFFF
   1319 
   1320 :querysr		Search & replace query window
   1321 type		U+0 TO U+10FFFF
   1322 
   1323 :shell			Input to shell windows
   1324 :inherit main
   1325 ""		^C		Abort
   1326 ""		^D		Eof
   1327 "	"	^I		Tab
   1328 ""		^H		Backspace
   1329 ""		^M		Return
   1330 ""		^?		Backspace
   1331 
   1332 :vtshell		Input to ANSI shell windows
   1333 :inherit main
   1334 ""		 [ A
   1335 ""		.ku
   1336 ""		 [ B
   1337 ""		.kd
   1338 ""		 [ C
   1339 ""		.kr
   1340 ""		 [ D
   1341 ""		.kl
   1342 ""		^A		BOL for bash
   1343 ""		^C		Abort
   1344 ""		^D		Eof
   1345 ""		^E		EOL for bash
   1346 "	"	^I		Tab
   1347 ""		^H		Backspace
   1348 ""		^M		Return
   1349 ""		^?		Backspace