1 $MirOS: contrib/code/jupp/jmacsrc.in,v 1.23 2017/01/11 00:41:17 tg Exp $
3 Initialization file for JOE
6 JOE looks for this file in:
8 2 - @jrcbefore@jmacsrc@jrcafter@
10 This file can include other files by placing the following include command
15 FIRST SECTION: Default global options (these options can also be specified
16 on the command line. Also the NOXON, LINES, COLUMNS, DOPADDING and BAUD
17 options can be specified in environment variables):
19 Put each option you want set in the first column:
21 -option Sets the option
22 --option Clears the option
24 -mid Cursor is recentered when scrolling is necessary
25 -marking Text between ^KB and cursor is highlighted
26 -asis Characters 128 - 255 shown as-is
28 -force Force final newline when files are saved
29 -nobackups If you don't want backup files to be created
30 -lightoff Turn off highlighting after block copy or move
31 -exask ^KX always confirms file name
32 -beep Beep on errors and when cursor goes past extremes
33 -nosta Disable top-most status line
34 -keepup %k and %c status line escape sequences updated frequently
35 -pg 1 No. lines to keep for PgUp/PgDn
36 -csmode ^KF after a pervious search does a ^L instead
37 -backpath path Directory to store backup files
38 (do not use quotes, and remove the comment after path)
39 -nonotice Disable copyright notice
40 -noxon Attempt to turn off ^S/^Q processing
41 -orphan Put extra files given on command line in orphaned buffers
43 -dopadding Output pad characters (for when there is no tty handshaking)
44 -lines nnn Set no. screen lines
45 -baud 19200 Set baud rate for terminal optimizations
46 -columns nnn Set no. screen columns
47 -help Start with help on
48 -skiptop nnn Don't use top nnn lines of the screen
50 -notite Don't send terminal initialization and termination strings: prevents
51 restoration of screen on exit.
53 -pastetite Enter bracketed paste mode automatically for TERM=xterm-xfree86
55 -usetabs Use tabs to help optimize screen update.
57 -assume_color Assume terminal has ANSI color support even if termcap/terminfo entry
58 says that it doesn't. This only applies if the terminal otherwise
59 looks like an ANSI terminal (support bold and capability starts with
62 -guess_crlf Automatically detect MS-DOS files and set -crlf appropriately
64 -guess_indent Guess indent character (tab or space).
66 -menu_explorer Stay in menu system when a directory is selected (otherwise
67 directory is added to path and menu is closed).
69 -icase Search is case insensitive by default.
73 -autoswap Swap markb with markk when necessary
75 Status line definition strings. -lmsg defines the left-justified string,
76 and -rmsg defines the right-justified string. The first character of -rmsg
77 is the background fill character. -hmsg (3.1jupp15) defines the help hint
78 (only about a dozen chars) displayed next to the copyright notice in the
79 initial status line. The following escape sequences can be used in these
84 %T O for overtype mode, I for insert mode
85 %W W if wordwrap is enabled
86 %I A if autoindent is enabled
87 %X Rectangle mode indicator
89 %m '(Modified)' if file has been changed
90 %* '*' if file has been changed
91 %R Read-only indicator
94 %o Byte offset into file
95 %O Byte offset into file in hex
96 %a Ascii value of character under cursor
97 %A Ascii value of character under cursor in hex
98 %k Entered prefix keys
99 %p Percent of file cursor is at
101 %S '*SHELL*' if there is a shell running in window
102 %M Macro recording message
105 The formatting escape sequences may also be given:
113 -lmsg \i%k%T%W%I%X %* [%n] %y %M
114 -rmsg %S Row %r Col %c %u
117 SECOND SECTION: File name dependant local option settings:
119 Each line with '*' in the first column indicates the modes which should be
120 files which match the regular expression. If more than one regular
121 expression matches the file name, than the last matching one is chosen.
123 Here is a list of modes which can be set:
125 -utf8 File is UTF-8 coded
127 -syntax name Specify syntax (syntax file called
128 'name.jsf' will be loaded)
130 -highlight Enable highlighting
132 -smarthome Home key first moves cursor to beginning of line,
133 then if hit again, to first non-blank character.
135 -indentfirst Smart home goes to first non-blank character first,
136 instead of going the beginning of line first.
138 -smartbacks Backspace key deletes 'istep' number of
139 'indentc's if cursor is at first non-space
144 -indentc nnn Indentation character (32 for space, 9 for tab)
146 -istep nnn Number of indentation columns
148 -spaces TAB inserts spaces instead of tabs.
150 -purify Fix indentation if necessary for rindent, lindent and backs
151 (for example if indentation uses a mix of tabs and spaces,
152 and indentc is space, indentation will be converted to all
155 -crlf File uses CR-LF at ends of lines
159 -autoindent Auto indent
161 -overwrite Overtype mode
163 -picture Picture mode (right arrow can go past end of lines)
165 -lmargin nnn Left margin
167 -rmargin nnn Right margin
170 -french One space after '.', '?' and '!' for wordwrap
171 and paragraph reformat instead of two. Joe
172 does not change the spacing you give, but
173 sometimes it must put spacing in itself. This
174 selects how much is inserted.
176 -linums Enable line numbers on each line
178 -rdonly File is read-only
180 -keymap name Keymap to use if not 'main'
182 -lmsg Status line definition strings-
183 -rmsg see previous section for more info.
185 -mnew macro Macro to execute when new files are loaded
186 -mold macro Macro to execute when existing files are loaded
187 -msnew macro Macro to execute when new files are saved
188 -msold macro Macro to execute when existing files are saved
190 -square Rectangular block mode
192 Macros for the above options are in the same format as in the key
193 binding section below- but without the key name strings.
195 Default local options
206 #HOOK#1 global/default flags
211 Assume it's a text file and, except in jupp, we want wordwrap on.
214 Filename with '.' is probably not a text file.
217 === Patterns with multiple wildcards
218 Order is latest match wins, so...
260 === C, C++, Objective-C
315 +#!\+\[ ]\+\[a-z/]/\+tcsh\>
319 +#!\+\[ ]\+\[a-z/]/env\+\[ ]\+tcsh\>
350 +Index: \*\n======================================================
355 +Index: \*\ndiff\*\n--- \*\n+++\[ ]
360 +\[=?]\*\n--- \*\n+++\[ ]
365 +diff\*\n--- \*\n+++\[ ]
370 +diff --git\*\nindex\*\n--- \*\n+++\[ ]
378 Not quite eMail but still RFC822
473 +#!\+\[ ]\+\[a-z/]/perl
477 +#!\+\[ ]\+\[a-z/]/env\+\[ ]perl
494 +#!\+\[ ]\+\[a-z/]/python
503 +#!\+\[ ]\+\[a-z/]/env\+\[ ]python
511 === Bourne, Korn, POSIX Shell
520 +#!\+\[ ]\+\[a-z/]/\+\[bd]\+ash\>
524 +#!\+\[ ]\+\[a-z/]/env\+\[ ]\+\[bd]\+ash\>
528 +#!\+\[ ]\+\[a-z/]/\+\[a-z]ksh\+\[0-9._-]\>
532 +#!\+\[ ]\+\[a-z/]/env\+\[ ]\+\[a-z]ksh\+\[0-9._-]\>
572 === Text (except in jupp)
582 #HOOK#2 filename matching
584 THIRD SECTION: Named help screens:
586 Use \i to turn on/off inverse video
587 Use \u to turn on/off underline
588 Use \b to turn on/off bold
589 Use \d to turn on/off dim
590 Use \f to turn on/off flash
593 \i Help Screen \|turn off with ^XH more help with ^X. \i
594 \i \i\|\uCURSOR\u \|\uGO TO\u \|\uUNDO\u \|\uMISC\u \|\uREGION\u \|\uEXIT\u \|\i \i
595 \i \i\|^B left ^F right \|^[V prev screen \|^XU undo \|^[^[ option \|^@ mark \|^XK quit \|\i \i
596 \i \i\|^P up ^N down \|^V next screen \|^^ redo \|^[Q format \|^W cut \|^X^C save \|\i \i
597 \i \i\|^[B prev. word \|^A beg of line \|\uDELETE\u \|^L refresh \|^Y paste \|\uFILE\u \|\i \i
598 \i \i\|^[F next word \|^E end of line \|^D char \|^[$ spell \|^[Y switch \|^X^W save \|\i \i
599 \i \i\|\uSEARCH\u \|^[< top of file \|^K >line \|^[M math \|^XA save \|^XI insert\|\i \i
600 \i \i\|^S forward \|^[> end of file \|^[D >word \|^[% query \|^[| filter \|^X^F load \|\i \i
601 \i \i\|^R backward \|^[G to line No. \|^[ DEL word<\| replace \|^XX swap \|^X^B switch\|\i \i
605 \i Help Screen \|turn off with ^XH prev. screen ^X, next screen ^X. \i
606 \i \i\|\uCASE\u \|\uTRANSPOSE\u \|\uINSERT\u \|\uMACROS\u \|\uPROGRAMS\u \|\i \i
607 \i \i\|^[U Up word \|^T Chars \|^O line \|^X( record \|^X^I Indent region \|\i \i
608 \i \i\|^[L Down word \|^[T Words \|^C space \|^X) stop \|^[. Tags file find \|\i \i
609 \i \i\|^[C Cap. word \|^X^T Lines \|` Ctrl- \|^XE play \|^XG To matching ( [ { \|\i \i
610 \i \i\|^X^U Up region \| \|^XT text \|^XQ query suspend \|^XC Parse errors \|\i \i
611 \i \i\|^X^L Down region\| \| \|^U repeat prefix \|^XN / ^XP next/prev err\|\i \i
615 \i Help Screen \|turn off with ^XH prev. screen ^X, next screen ^X. \i
616 \i \i\|\uWINDOW\u \|\uSCROLL\u \|\uSHELL\u \|\uCURSOR\u \|\i \i
617 \i \i\|^X2 Split window in half \|^X^P up \|^Z Suspend \|^[P prev. paragraph \|\i \i
618 \i \i\|^XO Switch to other window \|^X^N down \|^[! Command \|^[N next paragraph \|\i \i
619 \i \i\|^XZ Grow window \|^X< left \|^[' Window \|^XG to matching ( [ { \|\i \i
620 \i \i\|^X^Z Shrink window \|^X> right \| \|\uBOOKMARK\u \|\i \i
621 \i \i\|^X0 Kill window \| \| \|^XJ set \|\i \i
622 \i \i\|^X1 Kill all other windows \|^X= status\| \|^X/ goto \|\i \i
626 \i Help Screen \|turn off with ^XH prev. screen ^X, next screen ^X. \i
627 \i \iSpecial search sequences: \|\i \i
628 \i \i \\^ \\$ matches beg./end of line \\? match any single char \|\i \i
629 \i \i \\< \\> matches beg./end of word \\* match 0 or more chars \|\i \i
630 \i \i \\c matches balanced C expression \\\\ matches a \\ \|\i \i
631 \i \i \\[..] matches one of a set \\n matches a newline \|\i \i
632 \i \i \\+ matches 0 or more of the character which follows the \\+ \|\i \i
633 \i \iSpecial replace sequences: \|\i \i
634 \i \i \\& replaced with text which matched search string \|\i \i
635 \i \i \\0 - 9 replaced with text which matched Nth \\*, \\?, \\c, \\+, or \\[..] \|\i \i
636 \i \i \\\\ replaced with \\ \\n replaced with newline \|\i \i
640 \i Help Screen \|turn off with ^XH prev. screen ^X, next screen ^X. \i
641 \i \i Hit TAB at file name prompts to generate menu of file names \|\i \i
642 \i \i Or use up/down keys to access history of previously entered names \|\i \i
643 \i \i Special file names: \|\i \i
644 \i \i !command Pipe in/out of a shell command \|\i \i
645 \i \i >>filename Append to a file \|\i \i
646 \i \i - Read/Write to/from standard I/O \|\i \i
647 \i \i filename,START,SIZE Read/Write a part of a file/device \|\i \i
648 \i \i Give START/SIZE in decimal (255), octal (0377) or hex (0xFF) \|\i \i
652 \i Help Screen \|turn off with ^XH prev. screen ^X, \i
653 \i \i For bug reports and other information, refer to: \uhttp://mirbsd.de/jupp\u \|\i \i
656 #HOOK#3 additional help screens
659 \i Help Screen turn off with ^J prev. screen ^[, \uCharacter Map\u \i
660 \i \i Dec Hex \u 0123 4567 89AB CDEF 0123 4567 89AB CDEF \u Hex Dec \i \i
662 \i \i 0 00 | \u@ABC\u \uDEFG\u \uHIJK\u \uLMNO\u
\80\81\82\83 \84\85\86\87 \88\89\8a\8b \8c\8d\8e\8f | 80 128 \i \i
663 \i \i 16 10 | \uPQRS\u \uTUVW\u \uXYZ[\u \u\\]^_\u
\90\91\92\93 \94\95\96\97 \98\99\9a\9b \9c\9d\9e\9f | 90 144 \i \i
664 \i \i 32 20 | !"# $%&' ()*+ ,-./ ¡¢£ ¤¥¦§ ¨©ª« ¬®¯ | A0 160 \i \i
665 \i \i 48 30 | 0123 4567 89:; <=>? °±²³ ´µ¶· ¸¹º» ¼½¾¿ | B0 176 \i \i
666 \i \i 64 40 | @ABC DEFG HIJK LMNO ÀÁÂÃ ÄÅÆÇ ÈÉÊË ÌÍÎÏ | C0 192 \i \i
667 \i \i 80 50 | PQRS TUVW XYZ[ \\]^_ ÐÑÒÓ ÔÕÖ× ØÙÚÛ ÜÝÞß | D0 208 \i \i
668 \i \i 96 60 | `abc defg hijk lmno àáâã äåæç èéêë ìíîï | E0 224 \i \i
669 \i \i 112 70 | pqrs tuvw xyz{ |}~
\7f ðñòó ôõö÷ øùúû üýþÿ | F0 240 \i \i
674 \i \i \u\bPaste Mode\b\u turn off with \b^D\b or \b^[[201~\b \i \i
677 FOURTH SECTION: Key bindings:
679 Section names you must provide:
681 :main For editing window
682 :prompt For prompt lines
683 :query For single-character query lines
684 :querya Singe-character query for quote
685 :querysr Search & Replace single-character query
687 Other sections may be given as well for organization purposes or for
688 use with the '-keymap' option.
691 :inherit name To copy the named section into the current one
692 :delete key To delete a key sequence from the current section
696 Use ^@ through ^_ and ^? for Ctrl chars
698 Use a TO b to generate a range of characters
700 You can also use termcap string capability names. For example:
713 .k0 F0 or F10... you decide.
718 Simple macros can be made by comma seperating 2 or more command names. For
721 eof,bol ^T Z Goto beginning of last line
723 Also quoted matter is typed in literally:
725 bol,">",dnarw .k1 Quote news article line
727 Macros may cross lines if they end with ,
729 :windows Bindings common to all windows
730 #HOOK#4 common keybindings
731 type ^@ TO ÿ Self insert
732 abort ^G Abort window
735 tw0 ^X 0 Delete window: can make orphan buffers
736 tw1 ^X 1 Delete other windows: can make orphan buffers
737 uarg ^U Repeat prefix
747 nextw ^X o Other window
754 play,"0" ^X e Execute keyboard macro
755 prevw ^X p Previous window (uemacs)
756 query ^X q Query insert
757 record,"0" ^X ( Record macro
758 retype ^L Refresh screen
761 shell ^[ s Suspend (uemacs)
762 stop ^X ) Stop recording macro
767 msg,"Entered bracketed paste mode",rtn ^[ [ 2 0 0 ~
768 helpcard,rtn,keymap,"main",rtn,msg,rtn ^[ [ 2 0 1 ~
769 helpcard,rtn,keymap,"main",rtn ^D
774 keymap,"prompt",rtn,msg,rtn,rtn ^M
775 msg,"Entered bracketed paste mode",rtn ^[ [ 2 0 0 ~
776 keymap,"prompt",rtn,msg,rtn ^[ [ 2 0 1 ~
777 keymap,"prompt",rtn ^D
779 :main Text editing window
782 helpcard,"Paste",rtn,keymap,"Paste",rtn ^[ [ 2 0 0 ~
785 #HOOK#5 main keybindings
789 :def compile querysave,query,scratch,"* Build Log *",rtn,bof,markb,eof," ",markk,blkdel,build
792 :def ispellfile filt,"cat >ispell.tmp;ispell ispell.tmp </dev/tty >/dev/tty;cat ispell.tmp;/bin/rm ispell.tmp",rtn,retype
793 :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
796 :def aspellfile filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell -x -c $SPLTMP </dev/tty >/dev/tty;cat $SPLTMP;/bin/rm $SPLTMP",rtn,retype
797 :def aspellword psh,nextword,markk,prevword,markb,filt,"SPLTMP=ispell.tmp;cat >$SPLTMP;aspell -x -c $SPLTMP </dev/tty >/dev/tty;tr -d <$SPLTMP '\\012';/bin/rm $SPLTMP",rtn,retype,nextword
801 ctrl ^Q Quote Ctrl chars
802 ctrl ` Quote Ctrl chars
813 home ^[ [ 1 ~ Putty, Linux, Cygwin
814 home ^[ [ H Xterm, Konsole, SCO
815 home ^[ O H gnome-terminal
818 eol ^[ [ 4 ~ Putty, Linux, Cygwin, ssh
819 eol ^[ [ F Xterm, Konsole, SCO
820 eol ^[ O F gnome-terminal
823 Macros of non-existant emacs functions
825 psh,nextword,markk,prevword,markb,upper,nextword ^[ u Upcase word
826 psh,nextword,markk,prevword,markb,lower,nextword ^[ l Downcase word
827 psh,nextword,markk,prevword,markb,lower,rtarw,markk,upper,nextword ^[ c Capitalize word
828 psh,markk,lower ^X ^L Downcase region
829 psh,markk,upper ^X ^U Upcase region
830 psh,ltarw,markb,rtarw,markk,rtarw,
831 blkmove,rtarw ^T Transpose chars
832 psh,uparw,bol,markb,dnarw,markk,
833 dnarw,blkmove,dnarw ^X ^T Transpose lines
835 begin_marking,uparw,toggle_marking ^[ [ 1 ; 2 A xterm shift-up mark
836 begin_marking,dnarw,toggle_marking ^[ [ 1 ; 2 B xterm shift-down mark
837 begin_marking,rtarw,toggle_marking ^[ [ 1 ; 2 C xterm shift-right mark
838 begin_marking,ltarw,toggle_marking ^[ [ 1 ; 2 D xterm shift-left mark
839 begin_marking,bol,toggle_marking ^[ [ 1 ; 2 H xterm shift-home
840 begin_marking,eol,toggle_marking ^[ [ 1 ; 2 F xterm shift-end
841 begin_marking,bof,toggle_marking ^[ [ 1 ; 6 H xterm shift-ctrl-home
842 begin_marking,eof,toggle_marking ^[ [ 1 ; 6 F xterm shift-ctrl-end
844 Old way- broken at end of line
845 psh,prevword,markb,nextword,
846 nextword,prevword,markk,nextword,
847 nextword,prevword,blkmove,nextword ^[ t Transpose words
849 psh,prevword,nextword,nextword,markk,prevword,markb,setmark,":",
850 prevword,nextword,blkmove,markk,prevword,markb,gomark,":",blkmove,nextword ^[ t
852 eop,bop,markb,eop ^[ h Mark paragraph
853 nextword,prevword,markb,nextword ^[ @ Mark word
854 "()",ltarw ^[ ( Insert ()
855 bol,insc,delw ^[ ^ Delete indentation
856 psh,markk,copy,msg,"Region saved",rtn ^[ w Yank copy
858 msg,"Fill-column set",rtn ^X f Set right margin
859 bol,rtn,backw,rtn,rtn,uparw,delw ^X ^O Delete blank lines
860 " ",backw," ",insc,delw ^[ SP Just one space
861 " ",backw,insc,delw ^[ \ Delete horizontal space
862 stop,msg,"Abort",beep,rtn ^G Abort message
863 stop,msg,"Abort",beep,rtn ^[ ^G Abort message
864 stop,msg,"Abort",beep,rtn ^X ^G Abort message
865 psh,markk,blkdel ^W Cut
866 save,rtn ^X ^S Save file
868 drop,msg,"Mark set",rtn ^@ Drop anchor
869 nextw,pgdn,prevw ^[ ^V Scroll other window down
870 nextw,pgup,prevw ^[ ^Z Scroll other window up
871 bol,nedge,pedge ^[ m GNU-Emacs goto indentation
872 nextw,nbuf,prevw ^X 4 b Switch buffers other window
873 nextw,edit,query,prevw ^X 4 f Find file other window
874 nextw,edit,query,prevw ^X 4 ^F
875 nextw,tag,query,prevw ^X 4 . Find tag other window
878 exsave ^X ^C Save file and exit
880 More like GNU Emacs...
881 querysave,query,killjoe ^X ^C Query to save files, then exit
884 lose,query,abortbuf ^X k Kill buffer in window
886 lose,query ^X k Kill buffer in window
888 lose,query,edit ^X ^V Edit a file: no orphaned buffers
890 psh,drop,fwrdc,query,markk,blkdel ^[ z Cut to char
891 psh,markk,blksave,">>",query ^X a Append region to file
893 arg,"top+height/2-line",rtn,upslide ^L Recenter
894 arg,"top+height/2-line",rtn,dnarw ^[ r Move to center line
895 swap,math,"z=line",rtn,
896 swap,msg,math,"line-z",rtn,
897 " lines in region",rtn ^[ = Count lines region
898 mode,"O" ^X ^Q Toggle read-only
907 backw ^[ ^? Backspace word
909 bknd ^X ' Shell window (joe)
910 bof ^[ < Goto beginning of file
912 home .kh Goto beginning of line
918 bknd ^[ ' Shell window
919 crawlr ^X > Scroll to the right
920 crawll ^X < Scroll to the left
921 delch .kD Delete character
923 deleol ^K Delete to end of line
924 delw ^[ d Delete word
929 dnslide ^X ^N Slide down (uemacs)
930 edit ^X ^F Edit a file: creates orphaned buffers
931 eof ^[ > Go to end of file
933 eol .kH Go to end of line
941 ffirst ^S Search forward
944 psh,markk,filt,query ^[ | Filter block
945 format ^[ q Format paragraph
946 gomark ^X / Goto bookmark
947 groww ^X ^ Enlarge window
949 insf ^X i Insert a file
950 yapp ^[ ^W Append next kill
951 line ^[ g Goto line (uemacs)
956 mode ^[ ^[ Change modes
957 nbuf ^X ^B Next buffer in current window
959 nextpos ^K = Goto next position in position history
960 nextword ^[ f Goto next word
961 notmod ^[ ~ Not modified
964 pbuf ^X b Previous buffer in current window
965 prevpos ^K - Goto previous position in position history
966 prevword ^[ b Previous word
967 qrepl ^[ % Query replace
968 qrepl ^[ r Query replace (uemacs)
969 qrepl ^[ ^R Query replace (uemacs)
971 rfirst ^R Search backwards
972 rsrch ^R Incremental search backwards
973 rindent ^X ^I Indent to the right
980 save ^X ^W Write file
981 setmark ^X j Set bookmark
982 shrinkw ^X ^Z (uemacs)
983 splitw ^X 2 Split window
984 stat ^X l GNU-Emacs Show status
987 swap ^X ^X Swap mark and cursor
989 tomatch ^X g Goto matching parenthasis (joe)
990 tomatch ^[ ^F (uemacs)
991 txt ^X t Prompt for text to insert
998 upslide ^X ^P Slide up (uemacs)
999 yank ^Y Yank deleted text
1000 yankpop ^[ y Yank-pop
1002 :prompt Prompt windows
1008 keymap,"Pasteprompt",rtn,msg,"Entered bracketed paste mode",rtn ^[ P
1009 keymap,"Pasteprompt",rtn,msg,"Entered bracketed paste mode",rtn ^[ p
1010 keymap,"Pasteprompt",rtn,msg,"Entered bracketed paste mode",rtn ^[ [ 2 0 0 ~
1012 :menu Selection menus
1019 bolmenu ^[ [ 1 ~ Putty, Linux, Cygwin
1020 bolmenu ^[ [ H Xterm, Konsole
1021 bolmenu ^[ O H gnome-terminal
1022 bolmenu ^[ [ 7 ~ RxVT
1024 eolmenu ^[ [ 4 ~ Putty, Linux, Cygwin, ssh
1025 eolmenu ^[ [ F Xterm, Konsole
1026 eolmenu ^[ O F gnome-terminal
1027 eolmenu ^[ [ 8 ~ RxVT
1050 pgdnmenu .kN Screen down
1053 pgupmenu .kP Screen up
1071 :querysr Search & replace query window
1074 :query Single-key query window
1077 :querya Single-key query window for quoting