add a CVS snapshot, to thoroughly test on the Debian side
[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  === flex
274 *.l
275 -syntax lex
276
277  === LISP
278 *.lisp
279 -syntax lisp
280
281 *.lsp
282 -syntax lisp
283
284 *.el
285 -syntax lisp
286
287  === M4
288 *.m4
289 -syntax m4
290
291  === Make
292 *akefile
293 -syntax conf
294
295 *AKEFILE
296 -syntax conf
297
298  === Mason
299 *.mas
300 -syntax mason
301
302  === Pascal
303 *.p
304 -syntax pascal
305
306 *.pas
307 -syntax pascal
308
309  === Perl
310 *.pl
311 -syntax perl
312
313 *.pm
314 -syntax perl
315
316 *
317 +#!\+\[  ]\+\[a-z/]/perl
318 -syntax perl
319
320 *
321 +#!\+\[  ]\+\[a-z/]/env\+\[      ]perl
322 -syntax perl
323
324  === PHP
325 *.php
326 -syntax php
327
328  === Python
329 *.py
330 -encoding utf8
331 -syntax python
332 -tab 4
333 -indentc 32
334 -istep 4
335 -spaces
336
337 *
338 +#!\+\[  ]\+\[a-z/]/python
339 -encoding utf8
340 -syntax python
341 -tab 4
342 -indentc 32
343 -istep 4
344 -spaces
345
346 *
347 +#!\+\[  ]\+\[a-z/]/env\+\[      ]python
348 -encoding utf8
349 -syntax python
350 -tab 4
351 -indentc 32
352 -istep 4
353 -spaces
354
355  === Bourne, Korn, POSIX Shell
356 *profile
357 -syntax sh
358
359 *
360 +:\[     \n]
361 -syntax sh
362
363 *
364 +#!\+\[  ]\+\[a-z/]/\+\[bd]\+ash\>
365 -syntax sh
366
367 *
368 +#!\+\[  ]\+\[a-z/]/env\+\[      ]\+\[bd]\+ash\>
369 -syntax sh
370
371 *
372 +#!\+\[  ]\+\[a-z/]/\+\[a-z]ksh\+\[0-9._-]\>
373 -syntax sh
374
375 *
376 +#!\+\[  ]\+\[a-z/]/env\+\[      ]\+\[a-z]ksh\+\[0-9._-]\>
377 -syntax sh
378
379  === TCL
380 *.tcl
381 -syntax tcl
382
383  === TeX
384 *.cls
385 -syntax tex
386
387 *.sty
388 -syntax tex
389
390 *.tex
391 -syntax tex
392
393  === Verilog
394 *.v
395 -syntax verilog
396 -istep 2
397
398 *.vh
399 -syntax verilog
400 -istep 2
401
402  === VHDL
403 *.vhd
404 -syntax vhdl
405 -istep 2
406
407  === XML
408 *.xml
409 -encoding utf8
410 -syntax xml
411
412  === yacc
413 *.y
414 -syntax yacc
415
416  #HOOK#3102 filename matching
417
418 {Basic
419 \i   Help Screen    turn off with ^J     more help with ESC . (^[.)              \i
420 \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
421 \i \i^S left ^D right ^R  prev. screen ^KV move ^G  char  ^B  reformat ^KX save   \i \i
422 \i \i^E up   ^X down  ^C  next screen  ^KC copy ^Y  line  ^V  overtype ^KQ abort  \i \i
423 \i \i^A previous word ^QS beg. of line ^KY kill ^T  >word ^QL refresh  ^KZ shell  \i \i
424 \i \i^F next word     ^QD end of line  ^K/ pipe ^QY >line ^O  options  \u\bFILE\b\u       \i \i
425 \i \i\u\bSEARCH\b\u           ^QR top of file  ^KB begin          \u\bBUFFER\b\u       ^KE new    \i \i
426 \i \i^QF find first   ^QC end of file  ^KK end            ^U undo      ^KR import \i \i
427 \i \i^L  find next    ^QO byte offset  ^KD reformat       ^^ redo      ^KW export \i \i
428 }
429
430 {Windows
431 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
432 \i \i^KO Split the window in half         ^KE Load file into new window           \i \i
433 \i \i^KG Make current window bigger       ^KT Make current window smaller         \i \i
434 \i \i^KN Go to the window below           ^KP Go to the window above              \i \i
435 \i \i^KQ Eliminate the current window     ^KI Show all windows / Show one window  \i \i
436 \i \i^K; Do ctags search into new window  ^K- Edit scratch buffer in new window   \i \i
437 \i \i Note: some commands (^KE ^K; ^K-) hide the current window. Use ^KI/^KN then.\i \i
438 \i \i\u\bSpecial help for XON/XOFF aware terminals\b\u                                    \i \i
439 \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
440 }
441
442 {Advanced
443 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
444 \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
445 \i \i^[( Record   ^Q? status   ^Q. Right   ^K' Window  ^QB to ^KB  ^[R Backwards  \i \i
446 \i \i^[) Stop     ^QQ repeat   ^Q, Left    ^[! Command ^QK to ^KK  ^[S Forwards   \i \i
447 \i \i^[? Query    ^QM Math     \u\bCharSEARCH\b\u  \u\bQUOTE\b\u       \u\bDELETE\b\u      \u\bBOOKMARKS\b\u      \i \i
448 \i \i^[D Dump     ^[H Message  ^QH forwrd   ` Ctrl-    ^[Y yank    ^K 0-9 Set     \i \i
449 \i \i^[ 0-9 Play  ^N  Play #0  ^QG backwd  ^P Meta-    ^[O word<   ^Q 0-9 Goto    \i \i
450 \i \i \u\bIn math mode\b\u, use 0xCAFE for hex. All ops are floating point internally.    \i \i
451 \i \i \u\bPredefined variables:\b\u byte col height line lines top width                  \i \i
452 }
453
454 {Programs
455 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
456 \i \i\u\bGOTO\b\u                               \u\bCOMPILING\b\u                    \u\bSLIDING\b\u      \i \i
457 \i \i^Q] matching brace, ^Q[ reverse    ^[C compile & parse errors   ^W up        \i \i
458 \i \i^Q= merge conflict marker          ^[E parse errors             ^Z down      \i \i
459 \i \i^Q- to column number  \u\bINDENT\b\u       ^KF save, compile & upload to NXT brick   \i \i
460 \i \i^QI to line number    ^K. more     \u\bGOTO AFTER COMPILING\b\u         \u\bINSERT MATH\b\u  \i \i
461 \i \i^QP previous place    ^K, less     ^[N previous error           ^[# equation \i \i
462 \i \i^K= next place        ^KA centre   ^[M next error      \u\bSPECIAL\b\u  ^[= result   \i \i
463 \i \i                      ^K] kill whitespace at EOL       ^[- jupp command line \i \i
464 }
465
466 {Search
467 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
468 \i \i\u\bSpecial search sequences\b\u                                                     \i \i
469 \i \i    \\^  \\$  matches beg./end of line       \\?     match any single char      \i \i
470 \i \i    \\<  \\>  matches beg./end of word       \\*     match 0 or more chars      \i \i
471 \i \i    \\c     matches balanced C expression   \\\\     matches a \\                \i \i
472 \i \i    \\[..]  matches one of a set            \\n     matches a newline          \i \i
473 \i \i    \\+     matches 0 or more of the character which follows the \\+           \i \i
474 \i \i\u\bSpecial replace sequences\b\u                                                    \i \i
475 \i \i    \\&     replaced with text which matched search string                    \i \i
476 \i \i    \\0 - 9 replaced with text which matched \bN\bth \\*, \\?, \\c, \\+, or \\[..]     \i \i
477 \i \i    \\\\     replaced with \\                 \\n     replaced with newline      \i \i
478 }
479
480 {Names
481 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
482 \i \i At file name prompts use the cursor up/down keys to access a history of     \i \i
483 \i \i recently used files or the tab key to complete them.  \bSpecial file names:\b   \i \i
484 \i \i      !command                 Pipe in/out of a shell command                \i \i
485 \i \i      >>filename               Append to a file                              \i \i
486 \i \i      -                        Read/Write to/from standard I/O               \i \i
487 \i \i      filename,START,SIZE      Read/Write a part of a file/device            \i \i
488 \i \i          Give START/SIZE in decimal (255), octal (0377) or hex (0xFF)       \i \i
489 }
490
491 {Joe
492 \i   Help Screen    turn off with ^J     prev. screen ^[,    next screen ^[.     \i
493 \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
494 \i \i go to \uhttp://sf.net/projects/joe-editor/\u for upstream bug reports. JUPP 2.8 \i \i
495 \i \i for DOS compiled by A. Totlis, packed with LHarc 2.13; JUPP 3.x for UNIX\d(R)\d \i \i
496 \i \i at \uhttp://mirbsd.de/jupp\u and by \bThorsten "\dmirabilos\d" Glaser <\utg@mirbsd.org\u>\b \i \i
497 \i \i @(#) jupprc 2017-01-11; 3.1; autoCR-LF; UTF-8 via locale; per-file encoding \i \i
498 }
499
500  #HOOK#3103 additional help screens
501
502 {CharTable
503 \i   Help Screen    turn off with ^J     prev. screen ^[,    \uCharacter Map\u       \i
504 \i \i Dec Hex  \u 0123 4567  89AB CDEF    0123 4567  89AB CDEF \u  Hex Dec            \i \i
505 \i \i         |                                              |                    \i \i
506 \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
507 \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
508 \i \i  32  20 |  !"# $%&'  ()*+ ,-./     ¡¢£ ¤¥¦§  ¨©ª« ¬­®¯ | A0  160            \i \i
509 \i \i  48  30 | 0123 4567  89:; <=>?    °±²³ ´µ¶·  ¸¹º» ¼½¾¿ | B0  176            \i \i
510 \i \i  64  40 | @ABC DEFG  HIJK LMNO    ÀÁÂàÄÅÆÇ  ÈÉÊË ÌÍÎÏ | C0  192            \i \i
511 \i \i  80  50 | PQRS TUVW  XYZ[ \\]^_    ÐÑÒÓ ÔÕÖ×  ØÙÚÛ ÜÝÞß | D0  208            \i \i
512 \i \i  96  60 | `abc defg  hijk lmno    àáâã äåæç  èéêë ìíîï | E0  224            \i \i
513 \i \i 112  70 | pqrs tuvw  xyz{ |}~\7f    ðñòó ôõö÷  øùúû üýþÿ | F0  240            \i \i
514 }
515
516 {Paste
517 \i                                                                               \i
518 \i \i \u\bPaste Mode\b\u     turn off with \b^D\b or \b^[[201~\b                                  \i \i
519 }
520
521 :windows
522  #HOOK#3104 common keybindings
523 type            ^@ TO ÿ
524 abort           ^K Q
525 abort           ^K ^Q
526 abort           ^K q
527 arg             ^Q Q
528 arg             ^Q ^Q
529 arg             ^Q q
530 arg             ^[ q q
531 explode         ^K I
532 explode         ^K ^I
533 explode         ^K i
534 help            ^J
535 help            ^[ [ 1 1 ~
536 hnext           ^[ .
537 hprev           ^[ ,
538 math            ^Q M
539 math            ^Q ^M
540 math            ^Q m
541 math            ^[ q m
542 mathins         ^[ #
543 mathres         ^[ =
544 msg             ^[ H
545 msg             ^[ h
546 nextw           ^K N
547 nextw           ^K ^N
548 nextw           ^K n
549 play            ^[ 0 TO 9
550 prevw           ^K P
551 prevw           ^K ^P
552 prevw           ^K p
553 query           ^[ ?
554 quote           `
555 quote8          ^P
556 record          ^[ (
557 retype          ^Q L
558 retype          ^Q ^L
559 retype          ^Q l
560 retype          ^[ q l
561 rtn             ^M
562 shell           ^K Z
563 shell           ^K ^Z
564 shell           ^K z
565 stop            ^[ )
566
567 :Paste
568 type                                    ^@ TO ÿ
569 rtn                                     ^M
570 msg,"Entered bracketed paste mode",rtn  ^[ [ 2 0 0 ~
571 helpcard,rtn,keymap,"main",rtn,msg,rtn  ^[ [ 2 0 1 ~
572 helpcard,rtn,keymap,"main",rtn          ^D
573
574 :Pastecua
575 type                                    ^@ TO ÿ
576 rtn                                     ^M
577 msg,"Entered bracketed paste mode",rtn  ^[ [ 2 0 0 ~
578 helpcard,rtn,keymap,"cua",rtn,msg,rtn   ^[ [ 2 0 1 ~
579 helpcard,rtn,keymap,"cua",rtn           ^D
580
581 :Pasteprompt
582 type                                    ^@ TO ÿ
583 nop                                     ^L
584 keymap,"prompt",rtn,msg,rtn,rtn         ^M
585 msg,"Entered bracketed paste mode",rtn  ^[ [ 2 0 0 ~
586 keymap,"prompt",rtn,msg,rtn             ^[ [ 2 0 1 ~
587 keymap,"prompt",rtn                     ^D
588
589 :main
590 :inherit windows
591 :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
592 :def docompile edit,rtn,filt,query,parserr
593  #HOOK#3105 main keybindings
594 bof,qrepl,"\\[",quote,"i",quote,"k",quote,"l",quote,"m ]\\+\\[",quote,"i",quote,"k",quote,"l",quote,"m ]\\$",rtn,rtn,rtn,"r",eof        ^K ]
595 ffirst,"\\^\\[<>=]\\[<>=]\\[<>=]\\[<>=]\\[<>=]\\[<>=]\\[<>=]\\[ \\n]",rtn,rtn,ltarw                                                     ^Q =
596 begin_marking,uparw,toggle_marking      ^[ [ 1 ; 2 A
597 begin_marking,dnarw,toggle_marking      ^[ [ 1 ; 2 B
598 begin_marking,rtarw,toggle_marking      ^[ [ 1 ; 2 C
599 begin_marking,ltarw,toggle_marking      ^[ [ 1 ; 2 D
600 begin_marking,bol,toggle_marking        ^[ [ 1 ; 2 H
601 begin_marking,eol,toggle_marking        ^[ [ 1 ; 2 F
602 begin_marking,bof,toggle_marking        ^[ [ 1 ; 6 H
603 begin_marking,eof,toggle_marking        ^[ [ 1 ; 6 F
604 :def pastemain helpcard,"Paste",rtn,keymap,"Paste",rtn
605 pastemain       ^[ P
606 pastemain       ^[ p
607 pastemain       ^[ [ 2 0 0 ~
608 nop             ^[ [ 2 0 1 ~
609 backs           ^?
610 backs           ^H
611 backw           ^[ o
612 bknd            ^K '
613 bkwdc           ^Q G ^@ TO ÿ
614 bkwdc           ^Q ^G ^@ TO ÿ
615 bkwdc           ^Q g ^@ TO ÿ
616 bkwdc           ^[ q g ^@ TO ÿ
617 blkcpy          ^K C
618 blkcpy          ^K ^C
619 blkcpy          ^K c
620 blkdel          ^K Y
621 blkdel          ^K ^Y
622 blkdel          ^K y
623 blkmove         ^K V
624 blkmove         ^K ^V
625 blkmove         ^K v
626 blksave         ^K W
627 blksave         ^K ^W
628 blksave         ^K w
629 bof             ^Q R
630 bof             ^Q ^R
631 bof             ^Q r
632 bof             ^[ [ 1 ; 5 H
633 bof             ^[ q r
634 bol             .kh
635 bol             ^Q S
636 bol             ^Q ^S
637 bol             ^Q s
638 bol             ^[ [ 1 ~
639 bol             ^[ [ 7 ~
640 bol             ^[ [ H
641 bol             ^[ q s
642 bos             ^Q X
643 bos             ^Q ^X
644 bos             ^Q x
645 bos             ^[ q x
646 byte            ^Q O
647 byte            ^Q ^O
648 byte            ^Q o
649 byte            ^[ q o
650 center          ^K A
651 center          ^K ^A
652 center          ^K a
653 col             ^Q -
654 crawll          ^Q ,
655 crawll          ^[ q ,
656 crawlr          ^Q .
657 crawlr          ^[ q .
658 delbol          ^Q ^?
659 delbol          ^Q ^H
660 delbol          ^[ q ^?
661 delbol          ^[ q ^H
662 delch           .kD
663 delch           ^G
664 delch           ^[ [ 3 ~
665 deleol          ^Q Y
666 deleol          ^Q ^Y
667 deleol          ^Q y
668 deleol          ^[ q y
669 dellin          ^Y
670 delw            ^T
671 dnarw           .kd
672 dnarw           ^X
673 dnarw           ^[ O B
674 dnarw           ^[ [ B
675 dnslide         ^Z
676 edit            ^K E
677 edit            ^K ^E
678 edit            ^K e
679 eof             ^Q C
680 eof             ^Q ^C
681 eof             ^Q c
682 eof             ^[ [ 1 ; 5 F
683 eof             ^[ q c
684 eol             .@7
685 eol             .kH
686 eol             ^Q D
687 eol             ^Q ^D
688 eol             ^Q d
689 eol             ^[ [ 4 ~
690 eol             ^[ [ 8 ~
691 eol             ^[ [ F
692 eol             ^[ q d
693 execmd          ^[ -
694 exsave          ^K X
695 exsave          ^K ^X
696 exsave          ^K x
697 ffirst          ^Q F
698 ffirst          ^Q ^F
699 ffirst          ^Q f
700 ffirst          ^[ q f
701 filt            ^K /
702 fmtblk          ^K D
703 fmtblk          ^K ^D
704 fmtblk          ^K d
705 fnext           .k3
706 fnext           ^L
707 fnext           ^[ [ 1 3 ~
708 format          ^B
709 fwrdc           ^Q H ^@ TO ÿ
710 fwrdc           ^Q ^H ^@ TO ÿ
711 fwrdc           ^Q h ^@ TO ÿ
712 fwrdc           ^[ q h ^@ TO ÿ
713 gomark          ^Q 0 TO 9
714 gomark          ^[ q 0 TO 9
715 groww           ^K G
716 groww           ^K ^G
717 groww           ^K g
718 insf            ^K R
719 insf            ^K ^R
720 insf            ^K r
721 isrch           ^[ S
722 isrch           ^[ s
723 lindent         ^K ,
724 line            ^Q I
725 line            ^Q ^I
726 line            ^Q i
727 line            ^[ q i
728 ltarw           .kl
729 ltarw           ^S
730 ltarw           ^[ O D
731 ltarw           ^[ [ D
732 ltarw           ^[ s
733 macros          ^[ D
734 macros          ^[ d
735 markb           ^K B
736 markb           ^K ^B
737 markb           ^K b
738 markk           ^K K
739 markk           ^K ^K
740 markk           ^K k
741 markl           ^K L
742 markl           ^K ^L
743 markl           ^K l
744 mode            ^O
745 mode,"T"        .kI
746 mode,"T"        ^V
747 nextpos         ^K =
748 nextword        ^F
749 nextword        ^[ [ 1 ; 5 C
750 nmark           ^K H
751 nmark           ^K ^H
752 nmark           ^K h
753 nxterr          ^[ M
754 nxterr          ^[ m
755 open            ^[ b
756 docompile       ^[ C
757 docompile       ^[ c
758 parserr         ^[ E
759 parserr         ^[ e
760 freedroidz      ^K F
761 freedroidz      ^K ^F
762 freedroidz      ^K f
763 pgdn            .kN
764 pgdn            ^C
765 pgdn            ^[ [ 6 ~
766 pgup            .kP
767 pgup            ^R
768 pgup            ^[ [ 5 ~
769 play,"0"        ^N
770 prevpos         ^Q P
771 prevpos         ^Q ^P
772 prevpos         ^Q p
773 prevpos         ^[ q p
774 prevword        ^A
775 prevword        ^[ [ 1 ; 5 D
776 prverr          ^[ N
777 prverr          ^[ n
778 qrepl           ^Q A
779 qrepl           ^Q ^A
780 qrepl           ^Q a
781 qrepl           ^[ q a
782 redo            ^^
783 rindent         ^K .
784 rsrch           ^[ R
785 rsrch           ^[ r
786 rtarw           .kr
787 rtarw           ^D
788 rtarw           ^[ O C
789 rtarw           ^[ [ C
790 run             ^[ !
791 save            ^K S
792 save            ^K ^S
793 save            ^K s
794 scratch,"(S) "  ^K -
795 setmark         ^K 0 TO 9
796 shrinkw         ^K T
797 shrinkw         ^K ^T
798 shrinkw         ^K t
799 splitw          ^K O
800 splitw          ^K ^O
801 splitw          ^K o
802 stat            ^Q ?
803 stat            ^[ q ?
804 tag             ^K ;
805 tomarkb         ^Q B
806 tomarkb         ^Q ^B
807 tomarkb         ^Q b
808 tomarkb         ^[ q b
809 tomarkk         ^Q K
810 tomarkk         ^Q ^K
811 tomarkk         ^Q k
812 tomarkk         ^[ q k
813 rvmatch         ^Q [
814 tomatch         ^Q ]
815 rvmatch         ^Q ^[
816 tomatch         ^Q ^]
817 rvmatch         ^[ q [
818 tomatch         ^[ q ]
819 tos             ^Q E
820 tos             ^Q ^E
821 tos             ^Q e
822 tos             ^[ q e
823 undo            ^U
824 undo            ^_
825 uparw           .ku
826 uparw           ^E
827 uparw           ^[ O A
828 uparw           ^[ [ A
829 upslide         ^W
830 yankpop         ^[ Y
831 yankpop         ^[ y
832
833 :prompt
834 :inherit main
835 :def pasteprompt keymap,"Pasteprompt",rtn,msg,"Entered bracketed paste mode",rtn
836 abort           ^C
837 complete        ^I
838 nop             ^L
839 pasteprompt     ^[ P
840 pasteprompt     ^[ p
841 pasteprompt     ^[ [ 2 0 0 ~
842
843 :menu
844 :inherit windows
845 abort           ^[ ^[
846 backsmenu       ^?
847 backsmenu       ^H
848 bofmenu         ^Q R
849 bofmenu         ^Q ^R
850 bofmenu         ^Q r
851 bofmenu         ^[ [ 1 ; 5 H
852 bofmenu         ^[ q r
853 bolmenu         .kh
854 bolmenu         ^Q S
855 bolmenu         ^Q ^S
856 bolmenu         ^Q s
857 bolmenu         ^[ [ 1 ~
858 bolmenu         ^[ [ 7 ~
859 bolmenu         ^[ [ H
860 bolmenu         ^[ q s
861 dnarwmenu       .kd
862 dnarwmenu       ^X
863 dnarwmenu       ^[ O B
864 dnarwmenu       ^[ [ B
865 eof             ^[ [ 1 ; 5 F
866 eofmenu         ^Q C
867 eofmenu         ^Q ^C
868 eofmenu         ^Q c
869 eofmenu         ^[ q c
870 eolmenu         .@7
871 eolmenu         .kH
872 eolmenu         ^Q D
873 eolmenu         ^Q ^D
874 eolmenu         ^Q d
875 eolmenu         ^[ [ 4 ~
876 eolmenu         ^[ [ 8 ~
877 eolmenu         ^[ [ F
878 eolmenu         ^[ q d
879 ltarwmenu       .kl
880 ltarwmenu       ^S
881 ltarwmenu       ^[ O D
882 ltarwmenu       ^[ [ D
883 ltarwmenu       ^[ s
884 rtarwmenu       .kr
885 rtarwmenu       ^D
886 rtarwmenu       ^[ O C
887 rtarwmenu       ^[ [ C
888 rtn             SP
889 rtn             ^I
890 rtn             ^J
891 uparwmenu       .ku
892 uparwmenu       ^E
893 uparwmenu       ^[ O A
894 uparwmenu       ^[ [ A
895
896 :query
897 :inherit windows
898
899 :querya
900 type            ^@ TO ÿ
901
902 :querysr
903 type            ^@ TO ÿ
904
905 :cua
906 :inherit main
907  #HOOK#3106 extra keybindings in CUA mode
908 :def pastecua helpcard,"Paste",rtn,keymap,"Pastecua",rtn
909 undo            ^Z
910 blkdel,nmark    ^X
911 copy            ^C
912 yank            ^V
913 pastecua        ^[ P
914 pastecua        ^[ p
915 pastecua        ^[ [ 2 0 0 ~