first draft (not working) of control generation
[alioth/jupp.git] / jupprc
1  "jupp" resource file for Jupp3.1*nix (c) 1997-2017 Thorsten Glaser
2  Provided that these terms and disclaimer and all copyright notices
3  are retained or reproduced in an accompanying document, permission
4  is granted to deal in this work without restriction, including un-
5  limited rights to use, publicly perform, distribute, sell, modify,
6  merge, give away, or sublicence.
7  This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to
8  the utmost extent permitted by applicable law, neither express nor
9  implied; without malicious intent or gross negligence. In no event
10  may a licensor, author or contributor be held liable for indirect,
11  direct, other damage, loss, or other issues arising in any way out
12  of dealing in the work, even if advised of the possibility of such
13  damage or existence of a defect, except proven that it results out
14  of said person's immediate fault when using the work as intended.
15
16  -asis
17 -assume_color
18  -baud 9600
19 -dopadding
20 --force
21 -keepup
22 -mid
23 -nobackups
24 -noxon
25 -notite
26 -pastetite
27 -pg 2
28 -lmsg \i%k%T%*\b%n\b%R
29 -rmsg  R%r<%l C%c\u%o|%O\i\b%a|%A\b\i\u %u
30 -hmsg ^J = Help
31  --crlf
32 -guess_crlf
33 -french
34  -hex
35 -indentc 9
36 -istep 1
37 --guess_indent
38 --autoindent
39 -purify
40 -highlight
41 --linums
42 -lmargin 1
43 -rmargin 73
44 --smarthome
45 --indentfirst
46 -smartbacks
47 -tab 8
48 --wordwrap
49
50  #HOOK#3101 global/default flags
51
52  === Generic files
53  No '.' in filename?
54 *
55  Assume it's a text file and, except in jupp, we want wordwrap on.
56  -wordwrap
57
58  Filename with '.' is probably not a text file.
59 *.*
60
61  === Patterns with multiple wildcards
62  Order is latest match wins, so...
63 */patch-*
64 -highlight
65 -syntax diff
66
67 *.sh*
68 -syntax sh
69
70 *.ksh*
71 -syntax sh
72
73 *.mksh*
74 -syntax sh
75
76 *.bash*
77 -syntax sh
78
79 *tmp/mutt-*
80  -wordwrap
81 -syntax mail
82
83 *tmp/pico.*
84  -wordwrap
85 -syntax mail
86
87 */mail/*
88 -syntax mail
89
90 */patches/*
91 -highlight
92 -syntax diff
93
94  === Assembly
95 *.asm
96 -syntax asm
97
98 *.S
99 -syntax asm
100
101 *.s
102 -syntax asm
103
104  === C, C++, Objective-C
105 *.C
106 -syntax c
107
108 *.c
109 -syntax c
110
111 *.cc
112 -syntax c
113
114 *.cpp
115 -syntax c
116
117 *.cxx
118 -syntax c
119
120 *.c++
121 -syntax c
122
123 *.h
124 -syntax c
125
126 *.hh
127 -syntax c
128
129 *.hpp
130 -syntax c
131
132 *.h++
133 -syntax c
134
135 *.m
136 -syntax c
137
138 *.nxc
139 --highlight
140 -syntax c
141
142  === C Shell
143 *.csh
144 -syntax csh
145
146 *.login
147 -syntax csh
148
149 *.logout
150 -syntax csh
151
152 *.tcsh
153 -syntax csh
154
155 *.tcshrc
156 -syntax csh
157
158 *
159 +#!\+\[  ]\+\[a-z/]/\+tcsh\>
160 -syntax csh
161
162 *
163 +#!\+\[  ]\+\[a-z/]/env\+\[      ]\+tcsh\>
164 -syntax csh
165
166  === Diff
167 *.diff
168 -highlight
169 -syntax diff
170
171 *.patch
172 -highlight
173 -syntax diff
174
175 *.rej
176 -highlight
177 -syntax diff
178
179 *.debdiff
180 -highlight
181 -syntax diff
182
183 *
184 +---\[ ]
185 -highlight
186 -syntax diff
187
188 *
189 +***\[ ]
190 -highlight
191 -syntax diff
192
193 *
194 +Index: \*\n======================================================
195 -highlight
196 -syntax diff
197
198 *
199 +Index: \*\ndiff\*\n--- \*\n+++\[ ]
200 -highlight
201 -syntax diff
202
203 *
204 +\[=?]\*\n--- \*\n+++\[ ]
205 -highlight
206 -syntax diff
207
208 *
209 +diff\*\n--- \*\n+++\[ ]
210 -highlight
211 -syntax diff
212
213 *
214 +diff --git\*\nindex\*\n--- \*\n+++\[ ]
215 -highlight
216 -syntax diff
217
218  === eMail
219 *.eml
220 -syntax mail
221
222  Not quite eMail but still RFC822
223 *.mht
224 -syntax mail
225
226  === FORTRAN
227 *.f
228 -syntax fortran
229
230 *.for
231 -syntax fortran
232
233 *.FOR
234 -syntax fortran
235
236 *.f77
237 -syntax fortran
238
239 *.F77
240 -syntax fortran
241
242 *.f90
243 -syntax fortran
244
245 *.F90
246 -syntax fortran
247
248  === GNU autoconf
249 *.ac
250 -syntax conf
251
252 *.am
253 -syntax conf
254
255  === HTML
256 *.htm
257 -encoding utf8
258 -syntax html
259
260 *.html
261 -encoding utf8
262 -syntax html
263
264  === Java
265 *.java
266 -encoding utf8
267 -syntax java
268
269  === Joe Syntax File
270 *.jsf
271 -syntax conf
272
273  === LISP
274 *.lisp
275 -syntax lisp
276
277 *.lsp
278 -syntax lisp
279
280 *.el
281 -syntax lisp
282
283  === Make
284 *akefile
285 -syntax conf
286
287 *AKEFILE
288 -syntax conf
289
290  === Mason
291 *.mas
292 -syntax mason
293
294  === Pascal
295 *.p
296 -syntax pascal
297
298 *.pas
299 -syntax pascal
300
301  === Perl
302 *.pl
303 -syntax perl
304
305 *.pm
306 -syntax perl
307
308 *
309 +#!\+\[  ]\+\[a-z/]/perl
310 -syntax perl
311
312 *
313 +#!\+\[  ]\+\[a-z/]/env\+\[      ]perl
314 -syntax perl
315
316  === PHP
317 *.php
318 -syntax php
319
320  === Python
321 *.py
322 -encoding utf8
323 -syntax python
324 -tab 4
325 -indentc 32
326 -istep 4
327 -spaces
328
329 *
330 +#!\+\[  ]\+\[a-z/]/python
331 -encoding utf8
332 -syntax python
333 -tab 4
334 -indentc 32
335 -istep 4
336 -spaces
337
338 *
339 +#!\+\[  ]\+\[a-z/]/env\+\[      ]python
340 -encoding utf8
341 -syntax python
342 -tab 4
343 -indentc 32
344 -istep 4
345 -spaces
346
347  === Bourne, Korn, POSIX Shell
348 *profile
349 -syntax sh
350
351 *
352 +:\[     \n]
353 -syntax sh
354
355 *
356 +#!\+\[  ]\+\[a-z/]/\+\[bd]\+ash\>
357 -syntax sh
358
359 *
360 +#!\+\[  ]\+\[a-z/]/env\+\[      ]\+\[bd]\+ash\>
361 -syntax sh
362
363 *
364 +#!\+\[  ]\+\[a-z/]/\+\[a-z]ksh\+\[0-9._-]\>
365 -syntax sh
366
367 *
368 +#!\+\[  ]\+\[a-z/]/env\+\[      ]\+\[a-z]ksh\+\[0-9._-]\>
369 -syntax sh
370
371  === TCL
372 *.tcl
373 -syntax tcl
374
375  === TeX
376 *.cls
377 -syntax tex
378
379 *.sty
380 -syntax tex
381
382 *.tex
383 -syntax tex
384
385  === Verilog
386 *.v
387 -syntax verilog
388 -istep 2
389
390 *.vh
391 -syntax verilog
392 -istep 2
393
394  === VHDL
395 *.vhd
396 -syntax vhdl
397 -istep 2
398
399  === XML
400 *.xml
401 -encoding utf8
402 -syntax xml
403
404  #HOOK#3102 filename matching
405
406 {Basic
407 \i   Help Screen    turn off with ^J     more help with ESC . (^[.)              \i
408 \i \i\u\bCURSOR\b\u           \u\bGOTO\b\u             \u\bBLOCK\b\u    \u\bDELETE\b\u    \u\bMISC\b\u         \u\bEXIT\b\u       \i \i
409 \i \i^S left ^D right ^R  prev. screen ^KV move ^G  char  ^B  reformat ^KX save   \i \i
410 \i \i^E up   ^X down  ^C  next screen  ^KC copy ^Y  line  ^V  overtype ^KQ abort  \i \i
411 \i \i^A previous word ^QS beg. of line ^KY kill ^T  >word ^QL refresh  ^KZ shell  \i \i
412 \i \i^F next word     ^QD end of line  ^K/ pipe ^QY >line ^O  options  \u\bFILE\b\u       \i \i
413 \i \i\u\bSEARCH\b\u           ^QR top of file  ^KB begin          \u\bBUFFER\b\u       ^KE new    \i \i
414 \i \i^QF find first   ^QC end of file  ^KK end            ^U undo      ^KR import \i \i
415 \i \i^L  find next    ^QP prev. place  ^KD reformat       ^^ redo      ^KW export \i \i
416 }
417
418 {Windows
419 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
420 \i \i^KO split the window in half          ^KE load file into new window          \i \i
421 \i \i^KG make current window bigger        ^KT make current window smaller        \i \i
422 \i \i^KN go to the window below            ^KP go to the window above             \i \i
423 \i \i^KQ eliminate the current window      ^KI show all windows / show one window \i \i
424 \i \i^K; run a ctags search                ^K- edit scratch buffer in new window  \i \i
425 \i \i Note: some commands (^KE ^K; ^K-) hide the current window; use ^KI/^KN then \i \i
426 \i \i  \u\bSpecial help for XON/XOFF aware terminals:\b\u                                 \i \i
427 \i \i You can use \b^[q\b and \b^[s\b instead of \b^Q\b and \b^S\b to initiate a command.         \i \i
428 }
429
430 {Advanced
431 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
432 \i \i\u\bMACROS\b\u       \u\bMISC\b\u         \u\bSCROLL\b\u      \u\bSHELL\b\u       \u\bGOTO\b\u        \u\bI-SEARCH\b\u       \i \i
433 \i \i^[( record   ^Q? status   ^Q. right   ^K' window  ^QB to ^KB  ^[R backwards  \i \i
434 \i \i^[) stop     ^QQ repeat   ^Q, left    ^[! command ^QK to ^KK  ^[S forwards   \i \i
435 \i \i^[? query    ^QM math     \u\bCharSEARCH\b\u  \u\bQUOTE\b\u       \u\bDELETE\b\u      \u\bBOOKMARKS\b\u      \i \i
436 \i \i^[D dump     ^[H message  ^QH forwrd   ` Ctrl-    ^[Y yank    ^K 0-9 define  \i \i
437 \i \i^[ 0-9 play  ^N  play #0  ^QG backwd  ^P Meta-    ^[O word<   ^Q 0-9 goto    \i \i
438 \i \i \u\bIn math mode,\b\u use 0xCAFE for hex. All ops are floating point internally.    \i \i
439 \i \i \u\bPredefined variables:\b\u byte col height line lines top width                  \i \i
440 }
441
442 {Programs
443 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
444 \i \i\u\bGOTO\b\u                               \u\bCOMPILING\b\u                    \u\bSLIDING\b\u      \i \i
445 \i \i^Q= next merge conflict marker     ^[C compile & parse errors   ^W up        \i \i
446 \i \i^Q] next matching brace            ^[E parse errors             ^Z down      \i \i
447 \i \i^Q[ previous   "   "  \u\bINDENT\b\u       ^KF save, compile & upload to NXT brick   \i \i
448 \i \i^Q- to column number  ^K. more     \u\bGOTO AFTER COMPILING\b\u         \u\bINSERT MATH\b\u  \i \i
449 \i \i^QI to line number    ^K, less     ^[N previous error           ^[# equation \i \i
450 \i \i^QO to byte offset    ^KA centre   ^[M next error      \u\bSPECIAL\b\u  ^[= result   \i \i
451 \i \i^K= next place        ^K] kill whitespace at EOL/EOF   ^[- jupp command line \i \i
452 }
453
454 {Search
455 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
456 \i \i \u\bSpecial search sequences:\b\u                                                   \i \i
457 \i \i  \\^  \\$  matches beg./end of line         \\?     match any single char      \i \i
458 \i \i  \\<  \\>  matches beg./end of word         \\*     match 0 or more chars      \i \i
459 \i \i  \\c      matches balanced C expression    \\\\     matches a backslash (\\)    \i \i
460 \i \i  \\[a-z]  matches one of a set             \\n     matches a newline          \i \i
461 \i \i  \\+      matches 0 or more of the character which follows the \\+            \i \i
462 \i \i \u\bSpecial replace sequences:\b\u                                                  \i \i
463 \i \i  \\\\      replaced with a backslash (\\)    \\n     replaced with a newline    \i \i
464 \i \i  \\&      replaced with the text which matched the search string             \i \i
465 \i \i  \\0 - 9  replaced with text which matched \bN\bth \\?, \\*, \\c, \\[a-z] or \\+      \i \i
466 }
467
468 {Names
469 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
470 \i \i At file name prompts use the cursor up/down keys to access a history of     \i \i
471 \i \i recently used files or the tab key to complete them.  \bSpecial file names:\b   \i \i
472 \i \i      !command                 Pipe in/out of a shell command                \i \i
473 \i \i      >>filename               Append to a file                              \i \i
474 \i \i      -                        Read/Write to/from standard I/O               \i \i
475 \i \i      filename,START,SIZE      Read/Write a part of a file/device            \i \i
476 \i \i          Give START/SIZE in decimal (255), octal (0377) or hex (0xFF)       \i \i
477 \i \i \u\bPresentation mode:\b\u F6=fullscreen; F7=previous, F8=next win; F9=filter/again \i \i
478 }
479
480 {Joe
481 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
482 \i \i \bJUPP\b is based upon JOE (Joe's Own Editor) 2.8/3.x \d(GPL v1)\d by Joe H. Allen; \i \i
483 \i \i go to \uhttp://sf.net/projects/joe-editor/\u for upstream bug reports. JUPP 2.8 \i \i
484 \i \i for DOS compiled by A. Totlis, packed with LHarc 2.13; JUPP 3.x for UNIX\d(R)\d \i \i
485 \i \i at \uhttp://mirbsd.de/jupp\u and by \bThorsten "\dmirabilos\d" Glaser <\utg@mirbsd.org\u>\b \i \i
486 \i \i @(#) jupprc 2017-11-31; 3.1; autoCR-LF; UTF-8 via locale; per-file encoding \i \i
487 }
488
489  #HOOK#3103 additional help screens
490
491 {CharTable
492 \i   Help Screen    turn off with ^J     prev. screen ^[,    \uCharacter Map\u       \i
493 \i \i Dec Hex  \u 0123 4567  89AB CDEF    0123 4567  89AB CDEF \u  Hex Dec            \i \i
494 \i \i         |                                              |                    \i \i
495 \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
496 \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
497 \i \i  32  20 |  !"# $%&'  ()*+ ,-./     ¡¢£ ¤¥¦§  ¨©ª« ¬­®¯ | A0  160            \i \i
498 \i \i  48  30 | 0123 4567  89:; <=>?    °±²³ ´µ¶·  ¸¹º» ¼½¾¿ | B0  176            \i \i
499 \i \i  64  40 | @ABC DEFG  HIJK LMNO    ÀÁÂàÄÅÆÇ  ÈÉÊË ÌÍÎÏ | C0  192            \i \i
500 \i \i  80  50 | PQRS TUVW  XYZ[ \\]^_    ÐÑÒÓ ÔÕÖ×  ØÙÚÛ ÜÝÞß | D0  208            \i \i
501 \i \i  96  60 | `abc defg  hijk lmno    àáâã äåæç  èéêë ìíîï | E0  224            \i \i
502 \i \i 112  70 | pqrs tuvw  xyz{ |}~\7f    ðñòó ôõö÷  øùúû üýþÿ | F0  240            \i \i
503 }
504
505 {Paste
506 \i                                                                               \i
507 \i \i \u\bPaste Mode\b\u     turn off with \b^D\b or \b^[[201~\b                                  \i \i
508 }
509
510 :windows
511  #HOOK#3104 common keybindings
512 type            ^@ TO ÿ
513 abort           ^K Q
514 abort           ^K ^Q
515 abort           ^K q
516 arg             ^Q Q
517 arg             ^Q ^Q
518 arg             ^Q q
519 arg             ^[ q q
520 explode         ^K I
521 explode         ^K ^I
522 explode         ^K i
523 explode         ^[ [ 1 7 ~
524 help            ^J
525 help            ^[ [ 1 1 ~
526 hnext           ^[ .
527 hprev           ^[ ,
528 math            ^Q M
529 math            ^Q ^M
530 math            ^Q m
531 math            ^[ q m
532 mathins         ^[ #
533 mathres         ^[ =
534 msg             ^[ H
535 msg             ^[ h
536 nextw           ^K N
537 nextw           ^K ^N
538 nextw           ^K n
539 nextw           ^[ [ 1 9 ~
540 play            ^[ 0 TO 9
541 prevw           ^K P
542 prevw           ^K ^P
543 prevw           ^K p
544 prevw           ^[ [ 1 8 ~
545 query           ^[ ?
546 quote           `
547 quote8          ^P
548 record          ^[ (
549 retype          ^Q L
550 retype          ^Q ^L
551 retype          ^Q l
552 retype          ^[ q l
553 rtn             ^M
554 shell           ^K Z
555 shell           ^K ^Z
556 shell           ^K z
557 stop            ^[ )
558
559 :Paste
560 type                                    ^@ TO ÿ
561 rtn                                     ^M
562 msg,"Entered bracketed paste mode",rtn  ^[ [ 2 0 0 ~
563 helpcard,rtn,keymap,"main",rtn,msg,rtn  ^[ [ 2 0 1 ~
564 helpcard,rtn,keymap,"main",rtn          ^D
565
566 :Pastecua
567 type                                    ^@ TO ÿ
568 rtn                                     ^M
569 msg,"Entered bracketed paste mode",rtn  ^[ [ 2 0 0 ~
570 helpcard,rtn,keymap,"cua",rtn,msg,rtn   ^[ [ 2 0 1 ~
571 helpcard,rtn,keymap,"cua",rtn           ^D
572
573 :Pasteprompt
574 type                                    ^@ TO ÿ
575 nop                                     ^L
576 keymap,"prompt",rtn,msg,rtn,rtn         ^M
577 msg,"Entered bracketed paste mode",rtn  ^[ [ 2 0 0 ~
578 keymap,"prompt",rtn,msg,rtn             ^[ [ 2 0 1 ~
579 keymap,"prompt",rtn                     ^D
580
581 :main
582 :inherit windows
583 :def freedroidz splitw,prevw,scratch,"nbc-Output",rtn,nextw,save,markk,bol,markb,prevw,prevw,blkcpy,nextw,nextw,rtn,prevw,eol,"'",bol,qrepl,"'",rtn,rtn,"'\\\\''",rtn,"r",backs,backs,backs,bol,"LC_ALL=C; export LC_ALL; fn='",eol,rtn,"p=--posix; sed $p -e q </dev/null >/dev/null 2>&1 || p=; fns=$(echo \"$fn\" | sed $p -e 's\ 1[^^]\ 1[&]\ 1g; s\ 1\\^\ 1\\\\^\ 1g'); (case $fn in",rtn,"*.nxc) ;;",rtn,"*) echo '==> Error: filename not *.nxc'; exit ;;",rtn,"esac",rtn,"echo \"Compiling $fn\"",rtn,"nbc -sm- -d \"$fn\" 2>&1; x=$?",rtn,"if test $x = 0; then echo '==> OK'; else echo '==> Error code:' $x; fi",rtn,") | tr '\\n' '\ 1' | sed $p -e 's!\ 1# *\\([^\ 1]*\\)\ 1File \"[^\"]*/\\('\"$fns\"'\\)\" ; line \\([0-9]*\\)\ 1!\ 1\\2:\\3: \\1\ 1!g' -e 's!\ 1#\\([^\ 1]*\\)\ 1File \"\\([^\"]*\\)\" ; line \\([0-9]*\\)\ 1!\ 1\\2:\\3: \\1\ 1!g' | tr '\ 1' '\\n'",rtn,nmark,filt,"sh",rtn,rtn,"Press ^KQ to close this window!",rtn,parserr
584 :def docompile edit,rtn,filt,query,parserr
585  #HOOK#3105 main keybindings
586 eof," ",bof,qrepl,"\\[",quote,"i",quote,"k",quote,"l",quote,"m ]\\+\\[",quote,"i",quote,"k",quote,"l",quote,"m ]\\$",rtn,rtn,rtn,"r",eof,ffirst,"\\[^\\n]",rtn,"b",rtn,rtarw,rtn,markb,rtn,eof,markk,blkdel     ^K ]
587 ffirst,"\\^\\[<>=]\\[<>=]\\[<>=]\\[<>=]\\[<>=]\\[<>=]\\[<>=]\\[ \\n]",rtn,rtn,ltarw                                                     ^Q =
588 begin_marking,uparw,toggle_marking      ^[ [ 1 ; 2 A
589 begin_marking,dnarw,toggle_marking      ^[ [ 1 ; 2 B
590 begin_marking,rtarw,toggle_marking      ^[ [ 1 ; 2 C
591 begin_marking,ltarw,toggle_marking      ^[ [ 1 ; 2 D
592 begin_marking,bol,toggle_marking        ^[ [ 1 ; 2 H
593 begin_marking,eol,toggle_marking        ^[ [ 1 ; 2 F
594 begin_marking,bof,toggle_marking        ^[ [ 1 ; 6 H
595 begin_marking,eof,toggle_marking        ^[ [ 1 ; 6 F
596 :def pastemain helpcard,"Paste",rtn,keymap,"Paste",rtn
597 pastemain       ^[ P
598 pastemain       ^[ p
599 pastemain       ^[ [ 2 0 0 ~
600 nop             ^[ [ 2 0 1 ~
601 backs           ^?
602 backs           ^H
603 backw           ^[ o
604 bknd            ^K '
605 bkwdc           ^Q G ^@ TO ÿ
606 bkwdc           ^Q ^G ^@ TO ÿ
607 bkwdc           ^Q g ^@ TO ÿ
608 bkwdc           ^[ q g ^@ TO ÿ
609 blkcpy          ^K C
610 blkcpy          ^K ^C
611 blkcpy          ^K c
612 blkdel          ^K Y
613 blkdel          ^K ^Y
614 blkdel          ^K y
615 blkmove         ^K V
616 blkmove         ^K ^V
617 blkmove         ^K v
618 blksave         ^K W
619 blksave         ^K ^W
620 blksave         ^K w
621 bof             ^Q R
622 bof             ^Q ^R
623 bof             ^Q r
624 bof             ^[ [ 1 ; 5 H
625 bof             ^[ q r
626 bol             .kh
627 bol             ^Q S
628 bol             ^Q ^S
629 bol             ^Q s
630 bol             ^[ [ 1 ~
631 bol             ^[ [ 7 ~
632 bol             ^[ [ H
633 bol             ^[ q s
634 bos             ^Q X
635 bos             ^Q ^X
636 bos             ^Q x
637 bos             ^[ q x
638 byte            ^Q O
639 byte            ^Q ^O
640 byte            ^Q o
641 byte            ^[ q o
642 center          ^K A
643 center          ^K ^A
644 center          ^K a
645 col             ^Q -
646 crawll          ^Q ,
647 crawll          ^[ q ,
648 crawlr          ^Q .
649 crawlr          ^[ q .
650 delbol          ^Q ^?
651 delbol          ^Q ^H
652 delbol          ^[ q ^?
653 delbol          ^[ q ^H
654 delch           .kD
655 delch           ^G
656 delch           ^[ [ 3 ~
657 deleol          ^Q Y
658 deleol          ^Q ^Y
659 deleol          ^Q y
660 deleol          ^[ q y
661 dellin          ^Y
662 delw            ^T
663 dnarw           .kd
664 dnarw           ^X
665 dnarw           ^[ O B
666 dnarw           ^[ [ B
667 dnslide         ^Z
668 edit            ^K E
669 edit            ^K ^E
670 edit            ^K e
671 eof             ^Q C
672 eof             ^Q ^C
673 eof             ^Q c
674 eof             ^[ [ 1 ; 5 F
675 eof             ^[ q c
676 eol             .@7
677 eol             .kH
678 eol             ^Q D
679 eol             ^Q ^D
680 eol             ^Q d
681 eol             ^[ [ 4 ~
682 eol             ^[ [ 8 ~
683 eol             ^[ [ F
684 eol             ^[ q d
685 execmd          ^[ -
686 exsave          ^K X
687 exsave          ^K ^X
688 exsave          ^K x
689 ffirst          ^Q F
690 ffirst          ^Q ^F
691 ffirst          ^Q f
692 ffirst          ^[ q f
693 filt            ^K /
694 nmark,filt,uparw        ^[ [ 2 0 ~
695 fmtblk          ^K D
696 fmtblk          ^K ^D
697 fmtblk          ^K d
698 fnext           .k3
699 fnext           ^L
700 fnext           ^[ [ 1 3 ~
701 format          ^B
702 fwrdc           ^Q H ^@ TO ÿ
703 fwrdc           ^Q ^H ^@ TO ÿ
704 fwrdc           ^Q h ^@ TO ÿ
705 fwrdc           ^[ q h ^@ TO ÿ
706 gomark          ^Q 0 TO 9
707 gomark          ^[ q 0 TO 9
708 groww           ^K G
709 groww           ^K ^G
710 groww           ^K g
711 insf            ^K R
712 insf            ^K ^R
713 insf            ^K r
714 isrch           ^[ S
715 isrch           ^[ s
716 lindent         ^K ,
717 line            ^Q I
718 line            ^Q ^I
719 line            ^Q i
720 line            ^[ q i
721 ltarw           .kl
722 ltarw           ^S
723 ltarw           ^[ O D
724 ltarw           ^[ [ D
725 ltarw           ^[ s
726 macros          ^[ D
727 macros          ^[ d
728 markb           ^K B
729 markb           ^K ^B
730 markb           ^K b
731 markk           ^K K
732 markk           ^K ^K
733 markk           ^K k
734 markl           ^K L
735 markl           ^K ^L
736 markl           ^K l
737 mode            ^O
738 mode,"T"        .kI
739 mode,"T"        ^V
740 nextpos         ^K =
741 nextword        ^F
742 nextword        ^[ [ 1 ; 5 C
743 nmark           ^K H
744 nmark           ^K ^H
745 nmark           ^K h
746 nxterr          ^[ M
747 nxterr          ^[ m
748 open            ^[ b
749 docompile       ^[ C
750 docompile       ^[ c
751 parserr         ^[ E
752 parserr         ^[ e
753 freedroidz      ^K F
754 freedroidz      ^K ^F
755 freedroidz      ^K f
756 pgdn            .kN
757 pgdn            ^C
758 pgdn            ^[ [ 6 ~
759 pgup            .kP
760 pgup            ^R
761 pgup            ^[ [ 5 ~
762 play,"0"        ^N
763 prevpos         ^Q P
764 prevpos         ^Q ^P
765 prevpos         ^Q p
766 prevpos         ^[ q p
767 prevword        ^A
768 prevword        ^[ [ 1 ; 5 D
769 prverr          ^[ N
770 prverr          ^[ n
771 qrepl           ^Q A
772 qrepl           ^Q ^A
773 qrepl           ^Q a
774 qrepl           ^[ q a
775 redo            ^^
776 rindent         ^K .
777 rsrch           ^[ R
778 rsrch           ^[ r
779 rtarw           .kr
780 rtarw           ^D
781 rtarw           ^[ O C
782 rtarw           ^[ [ C
783 run             ^[ !
784 save            ^K S
785 save            ^K ^S
786 save            ^K s
787 scratch,"(S) "  ^K -
788 setmark         ^K 0 TO 9
789 shrinkw         ^K T
790 shrinkw         ^K ^T
791 shrinkw         ^K t
792 splitw          ^K O
793 splitw          ^K ^O
794 splitw          ^K o
795 stat            ^Q ?
796 stat            ^[ q ?
797 tag             ^K ;
798 tomarkb         ^Q B
799 tomarkb         ^Q ^B
800 tomarkb         ^Q b
801 tomarkb         ^[ q b
802 tomarkk         ^Q K
803 tomarkk         ^Q ^K
804 tomarkk         ^Q k
805 tomarkk         ^[ q k
806 rvmatch         ^Q [
807 tomatch         ^Q ]
808 rvmatch         ^Q ^[
809 tomatch         ^Q ^]
810 rvmatch         ^[ q [
811 tomatch         ^[ q ]
812 tos             ^Q E
813 tos             ^Q ^E
814 tos             ^Q e
815 tos             ^[ q e
816 undo            ^U
817 undo            ^_
818 uparw           .ku
819 uparw           ^E
820 uparw           ^[ O A
821 uparw           ^[ [ A
822 upslide         ^W
823 yankpop         ^[ Y
824 yankpop         ^[ y
825
826 :prompt
827 :inherit main
828 :def pasteprompt keymap,"Pasteprompt",rtn,msg,"Entered bracketed paste mode",rtn
829 abort           ^C
830 complete        ^I
831 nop             ^L
832 pasteprompt     ^[ P
833 pasteprompt     ^[ p
834 pasteprompt     ^[ [ 2 0 0 ~
835
836 :menu
837 :inherit windows
838 abort           ^[ ^[
839 backsmenu       ^?
840 backsmenu       ^H
841 bofmenu         ^Q R
842 bofmenu         ^Q ^R
843 bofmenu         ^Q r
844 bofmenu         ^[ [ 1 ; 5 H
845 bofmenu         ^[ q r
846 bolmenu         .kh
847 bolmenu         ^Q S
848 bolmenu         ^Q ^S
849 bolmenu         ^Q s
850 bolmenu         ^[ [ 1 ~
851 bolmenu         ^[ [ 7 ~
852 bolmenu         ^[ [ H
853 bolmenu         ^[ q s
854 dnarwmenu       .kd
855 dnarwmenu       ^X
856 dnarwmenu       ^[ O B
857 dnarwmenu       ^[ [ B
858 eof             ^[ [ 1 ; 5 F
859 eofmenu         ^Q C
860 eofmenu         ^Q ^C
861 eofmenu         ^Q c
862 eofmenu         ^[ q c
863 eolmenu         .@7
864 eolmenu         .kH
865 eolmenu         ^Q D
866 eolmenu         ^Q ^D
867 eolmenu         ^Q d
868 eolmenu         ^[ [ 4 ~
869 eolmenu         ^[ [ 8 ~
870 eolmenu         ^[ [ F
871 eolmenu         ^[ q d
872 ltarwmenu       .kl
873 ltarwmenu       ^S
874 ltarwmenu       ^[ O D
875 ltarwmenu       ^[ [ D
876 ltarwmenu       ^[ s
877 rtarwmenu       .kr
878 rtarwmenu       ^D
879 rtarwmenu       ^[ O C
880 rtarwmenu       ^[ [ C
881 rtn             SP
882 rtn             ^I
883 rtn             ^J
884 uparwmenu       .ku
885 uparwmenu       ^E
886 uparwmenu       ^[ O A
887 uparwmenu       ^[ [ A
888
889 :query
890 :inherit windows
891
892 :querya
893 type            ^@ TO ÿ
894
895 :querysr
896 type            ^@ TO ÿ
897
898 :cua
899 :inherit main
900  #HOOK#3106 extra keybindings in CUA mode
901 :def pastecua helpcard,"Paste",rtn,keymap,"Pastecua",rtn
902 undo            ^Z
903 blkdel,nmark    ^X
904 copy            ^C
905 yank            ^V
906 pastecua        ^[ P
907 pastecua        ^[ p
908 pastecua        ^[ [ 2 0 0 ~