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