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