Debian Codegraph @

TODO

raw
1 F-keys:
2
3 F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12
4 MirBSD console ^[[11~^[[12~^[[13~^[[14~^[[15~ ^[[17~ ^[[18~ ^[[19~^[[20~^[[21~^[[23~^[[24~ also “ssh 3.2”, PuTTY, rxvt below
5 xterm ^[OP ^[OQ ^[OR ^[OS ^[[15~ ^[[17~ ^[[18~ ^[[19~^[[20~^[[21~^[[23~^[[24~ also cygwin abusch, st izabera
6 gnome-t. below - ^[OQ ^[OR ^[OS ^[[15~~^[[17~~^[[18~~^[[19~^[[20~ - ^[[23~^[[24~
7 konsole ^[OP ^[OQ ^[OR ^[OS ^[[15~ ^[[17~ ^[[18~ ^[[19~^[[20~^[[21~ - ^[[24~ also yakuake
8 linux console ^[[[A ^[[[B ^[[[C ^[[[D ^[[[E ^[[17~ ^[[18~ ^[[19~^[[20~^[[21~^[[23~^[[24~ also cygwin console below
9
10
11 Do something with these keys:
12
13 -------
14 ssh 3.2
15 -------
16 Arrow:    
17 Home: [2~ (uhg!)
18 End: [4~
19 Pgup: [5~
20 Pgdn: [6~
21 Ins: [2~
22 Del: 
23
24 Ctrl-arrow: -
25 Alt-arrow: - (can set Alt=ESC mode, but doesn't work with arrow keys)
26 Shift-arrow: -
27
28 -----
29 PuTTY
30 -----
31
32 Arrow:    
33 Home: [1~
34 End: [4~
35 Pgup: [5~
36 Pgdn: [6~
37 Ins: [2~
38 Del: [3~
39
40 Ctrl-arrow: OC OD OA OB
41 Ctrl-home: -
42 Ctrl-end: -
43 Ctrl-pgup: putty scroll back
44 Ctrl-pgdn: putty scroll fwrd
45 Ctrl-ins: -
46 Ctrl-del: -
47
48 Alt-arrow:    
49 Alt-pgup: [5~
50 Alt-pgdn: [6~
51 Alt-home: [1~
52 Alt-end: [4~
53 Alt-ins: [2~
54 Alt-del: [3~
55
56 Shift-arrow:    
57 Shift-home: [1~
58 Shift-end: [4~
59 Shift-pgup: putty scroll back
60 Shift-pgdn: putty scroll fwrd
61 Shift-ins: 
62 Shift-del: [3~
63
64 -----
65 XTerm
66 -----
67
68 Arrow:    
69 Home: 
70 End: 
71 PgUp: [5~
72 PgDn: [6~
73 Ins: [2~
74 Del: [3~
75
76 Ctrl-arrow:    
77 Ctrl-home: 
78 Ctrl-end: 
79 Ctrl-pgup: [5;5~
80 Ctrl-pgdn: [6;5~
81 Ctrl-ins: [2;5~
82 Ctrl-del: [3;5~
83
84 Shift-arrow:    
85 Shift-home: 
86 Shift-end: 
87 Shift-pgup: -
88 Shift-pgdn: -
89 Shift-ins *DOES NOT WORK* but inserts the X PRIMARY SELECTION
90 Shift-del: [3;2~
91
92 Shift-ctrl-arrow:    
93
94 Alt-ctrl-arrow:    
95
96 Alt-shift-arrow:    
97
98 Alt-shift-ctrl-arrow:    
99
100 Alt-arrow:    
101 Alt-home: 
102 Alt-end: 
103 Alt-pgup: [5;3~
104 Alt-pgdn: [6;3~
105 Alt-ins: [2;3~
106 Alt-del: [3;3~
107
108 ----
109 rxvt
110 ----
111 Arrow:    
112 Home: [7~
113 End: [8~
114 Pgup: [5~
115 Pgdn: [6~
116 Ins: [2~
117 Del: [3~
118
119 Ctrl-arrow: Oc Od Oa Ob
120 Ctrl-home: [7^
121 Ctrl-end: [8^
122 Ctrl-pgup: [5^
123 Ctrl-pgdn: [6^
124 Ctrl-ins: [2^
125 Ctrl-del: [3^
126
127 Shift-arrow:    
128
129 Shift-ctrl-arrow:    
130
131 Alt-ctrl-arrow: Oc Od Oa Ob
132
133 Alt-shift-arrow:    
134
135 Alt-arrow:    
136
137 --------------
138 gnome-terminal
139 --------------
140
141 Arrows:    
142 Home: OH
143 End: OF
144 PgUp: [5~
145 PgDn: [6~
146 Ins: [2~
147 Del: [3~
148
149 Ctrl-arrow:    
150 Ctrl-home: OH
151 Ctrl-end: OF
152 Ctrl-pgup: -
153 Ctrl-pgdn: -
154 Ctrl-ins: [2;5~
155 Ctrl-del: [3;5~
156
157 Shift-arrows:    
158 Shift-home: -
159 Shift-end: -
160 Shift-pgup: -
161 Shift-pgdn: -
162 Shift-ins: -
163 Shift-del: [3;2~
164
165 Alt-arrows:    
166 Alt-home: OH
167 Alt-end: OF
168 Alt-PgUp: [5;3~
169 Alt-PgDn: [6;3~
170 Alt-Insert: [2;3~
171 Alt-Delete: [3;3~
172
173 Ctrl-Alt-arrows: - (window manager takes)
174 Ctrl-Shift-arrows:    
175 Ctrl-Shift-Alt-arrows:    
176
177 -------
178 konsole
179 -------
180 Arrows:    
181 Home: 
182 End: 
183 PgUp: [5~
184 PgDn: [6~
185 Ins: [2~
186 Del: [3~
187
188 Ctrl-arrows:    
189 Ctrl-home: 
190 Ctrl-end: 
191 Ctrl-PgUp: [5~
192 Ctrl-PgDn: [6~
193 Ctrl-ins: [2~
194 Ctrl-del: [3~
195
196 Shift-arrows: -
197 Shift-home: 
198 Shift-end: 
199 Shift-PgUp: -
200 Shift-PgDn: -
201 Shift-Ins: -
202 Shift-Del: [3;2~
203
204 Alt-arrows:    
205 Alt-home: 
206 Alt-end: 
207 Alt-PgUp: [5~
208 Alt-PgDn: [6~
209 Alt-Ins: [2~
210 Alt-Del: [3~
211
212 -------------
213 linux console
214 -------------
215 Arrows:    
216 Home: [1~
217 End: [4~
218 PgUp: [5~
219 PgDn: [6~
220 Ins: [2~
221 Del: [3~
222
223 Ctrl-arrows:    
224 Ctrl-home: [1~
225 Ctrl-end: [4~
226 Ctrl-pgup: [5~
227 Ctrl-pgdn: [6~
228 Ctrl-ins: [2~
229 Ctrl-del: [3~
230
231 Shift-arrows: 
232 Shift-home: [1~
233
234 Alt-arrows: - (switches console)
235 Alt-home: [1~
236
237 --------------
238 cygwin console
239 --------------
240 Arrows:    
241 Home: [1~
242 End: [4~
243 PgUp: [5~
244 PgDn: [6~
245 Ins: [2~
246 Del: [3~
247
248 Ctrl-arrows: -
249 Shift-arrows: -
250
251 Alt-anything: prefixed with ESC
252
253 -----------------------
254 jstar missing sequences
255 -----------------------
256 ^O options (supposed to be set tab width)
257 ^P print
258 ^U undo (supossed to be unerase)
259 ^^ autoindent on/off
260 ^\ meta (supposed to be refresh screen)
261 ESC $ insert math result money formatted
262 ESC m Memorandum
263 ESC s isearch fwrd (supposed to be Sincerely)
264 ESC c compile (supposed to be center line) — actually ^OC but ncih…
265 ^Q U align paragraph (don't know what this does)
266 ^Q ^Q repeat next command once every second
267 ^Q O spell check entered word
268 ^Q W scroll up- repeat once every second
269 ^Q Z scroll down- repeat once every second
270 ^Q Ins it does something...
271 ^Q Home scroll up repeating
272 ^Q End scroll down repeating
273 ^K M math
274 ^K F run dos comment
275 ^K N column mode on
276 ^K I column replace mode on
277 ^K O copy file
278 ^K E rename file
279 ^K J erase file
280 ^K L change drive
281 ^K uparw rename file
282 ^K dnarw save and exit
283 ^K ltarw save
284 ^K rtarw ^K D save
285 ^K Ins move
286 ^K Home quit
287 ^K End quit
288 ^K ' to markk
289 -----------------------
290
291 -----------------
292 notepad/cua mode?
293 -----------------
294 ^A select all
295 ^F find
296 ^G goto line
297 ^H replace
298 ^J return
299 ^N new blank file
300 ^O edit file (asks to save current)
301 ^P print
302 ^S save
303 ^V paste (done)
304 ^Z undo (done)
305 ^X cut (done)
306 ^C copy (done)
307 F3 find next
308 F5 date/time
309
310 - shell window intercept should be smarter. hit ^K ^H- the ^H is going to the
311 shell window.
312
313 - do not use ^[^[ for anything. it prevents Alt-arrow
314 from being useful.
315
316 - search should automatically use 'k' mode if block is
317 selected. Cursor should jump to top of block when done. Jump
318 back to start mode?
319
320
321 - save all files without asking thing for quick compile
322
323 - better parsing of compile messages
324
325
326 - continued search mode for jpico?
327
328 - smarter highlighter- need char and string storage.
329
330 - make ^K F prompt with previous text (PICO)?
331
332 ^K X leads to segfault?
333
334 if I use ^K C to move search string into search prompt, it says not found
335 even though it found it.
336
337 options are screwed up: we copy window to buffer (to get buffer options
338 to the buffer). But if we have multiple windows, buffer options will have
339 stale data.
340
341 we are missing many query and prompt window abort handlers, which cause
342 small memory leaks.
343
344 - update help screens: some things have changed (emacs is more like emacs).
345
346
347 Fix for next release highlight:
348
349 other windows why
350 lose state during page down?
351 perl highlighter
352 more syntax files
353
354 byte to byte conversions?
355 UTF-8 decoder right at input instead of in qw and utype?
356
357 Update man page.
358
359 Reload modified files (or current window)
360
361 don't use -notite by default. (why? we switched back to -notite…)
362
363 Watch loaded file for changes
364
365 Save all history buffers and keyboard macros in ~/.joe_state file?
366 Although, if merged, it must be disabled by default like mksh’s HISTFILE is:
367 18:48⎜«asarch» That would be for a wish list then: to keep the
368 ⎜ list of all opened files with their last position
369 Natureshadow agrees with me that this is a JOE antifeature
370 but then desires the file directory path history
371
372 Update documentation.
373
374 shift/alt/ctrl arrow key stuff. (partially done)
375
376 regex: character classes? a-z matches any letter?
377
378 parse *rc file only once?
379
380 different symbol for 'joe' directory
381
382 can't load terminfo- should switch to termcap or provide compiled
383 ANSI terminfo built in.
384
385
386 New features:
387 -----------------------
388
389 check all instances of 'chars': use UCS to locale symbols instead.
390 EBCDIC ?
391 - we assume '\n' is line terminator.
392 - there are many references to '\t' and ' '.
393 - EBCDIC used to be fixed record length (80 columns) anyway.
394
395 Math: octal(?), more functions. (-lm?)
396
397 Perl compatible regex search.
398 (Ugh. But grouping like \+\(foo\+ \) would be cool.)
399 (Also, alternatives and/or backreferences, think ^Q=)
400
401 Improvements for regular text
402 -----------------------------
403 mode where wordwrap wraps rest of paragraph?
404
405 mode where all editing wraps rest of paragraph?
406
407 soft wrap (i.e. wrap on screen but not in the file)!
408
409 Improvements for programming
410 ----------------------------
411
412 Jump to definition (tags does this)
413
414 Show list of references
415
416 Diff mode (need vertical window)
417
418 Tie in with CVS
419
420 Refactoring
421
422 Syntax Highlighting:
423 --------------------
424
425 Bugs:
426
427 - ksh: ((# … )) is highlighted as comment [probably rather hard, ( is solo]
428
429 Support for more languages:
430
431 Paragraph reformat mode for TeX files.
432
433 ^G Matching for verilog begin ... end, html tags, etc.
434
435 Reformat paragraph should reformat C function if we're editing C.
436
437 File loading/storing:
438
439 Should have switch buffers in current window as more fundamental joe key
440 sequence (it's ^[ u and ^[ v for now).
441
442 Unnamed buffers should be in bufed list (was fixed in the lost joe 2.9)
443
444 Jmacs/Jstar/Jpico:
445
446 search and replace 'fred' to 'foo':
447 find 'Fred', gets 'Foo'.
448
449 Rectangle mode for emacs yank system
450
451 Overtype mode works for yank
452
453 ESC args should work differently in emacs
454
455 many negative args do not work properly
456
457 exiting options and i-search with ESC is not pretty
458 (it isn't in emacs either)
459
460 Shell windows:
461
462 Better environment settings for shell windows.
463
464 Documentation:
465
466 Include documentation for joe hackers. I wrote a lot of this
467 some time, I need to find it.
468
469 joe should open tty earlier in startup sequence because ^Y
470 is suspend character on sun.
471
472 UTF-8/Internationalization
473 --------------------------
474
475 - right-left mode for Hebrew/Arabic?
476
477 There is no good way to do this. For all rtol, you could use a reversed
478 xterm. For mixed, you need tags to indicate direction.
479
480
481 UI for changing colors in the editor (or at least dark/light mode)
482
483 More colors: UI for using 256 color xterms.
484
485
486 Lock files being edited?
487 one person gets write lock
488
489
490 Don't understand: optionally break hardlinks on save? what is "tla"?
491
492 Use memory mapped files to fast load large files. Have to not
493 count no. lines in each buffer on startup.
494
495
496 Emulate other editors? Brief, EDT?
497
498
499 Prompts:
500
501 Sort should be column wise, not row wise?
502
503 HTML-style thing for option selection?
504
505
506 Terminal handling:
507
508 Emit ESC c to reset terminal on startup?
509 -> no, this power-cycles a hardware DEC VT420 (takes 1-2 minutes)
510
511 Look into clearing right-most column.
512
513 Macros:
514
515 Interactive macros during file load are broken. Think about multiple
516 stack hack (otherwise template based C++ callbacks).
517
518
519 Mouse:
520
521 ` and autoindent mode are a problem for drag and drop.
522 any way we can distinguish normal typing from a drop?
523
524 xterm can actually do that: it's called bracketed paste mode:
525 you send ^[ [ ? 2 0 0 4 h then any pastes you receive begin
526 with ^[ [ 2 0 0 ~ and end with ^[ [ 2 0 1 ~ until you send
527 ^[ [ ? 2 0 0 4 l but it only works with recent xterm and, while
528 you can wrap the requests between ^[ P and ^[ \ to make them
529 pass GNU screen it would wreck havoc with the other tabs, so
530 we make this conditional on $TERM being xterm-xfree86 offering
531 a generic paste mode in addition via :paste keymap
532
533 mouse mode: mouse can position cursor. Would be good for
534 jcua...
535
536 Major new modes:
537
538 Fixed record length mode
539
540
541 Major code improvements:
542
543 Vertical windows (optionally lock-stepped).
544
545
546 Major new features:
547
548 Folding
549
550
551 Options
552
553 Fix it so all options appear in ^T. Maybe make hook function
554 to handle major changes. Need this for major mode change for
555 hex edit mode.
556
557 Other requests:
558
559 -show no. utf characters, not no. bytes
560 (if so, both need to be available)
561
562
563 ┌───────────┐
564 │ jupp TODO │
565 └───────────┘
566
567 • replace all int with size_t where applicable
568 • default utf8.c:locale_map to utf-8 when applicable (configure-time
569 option perhaps? Android definitely, Cygwin definitely not…)
570 • merge syntax handling code from joe-3.7+
571 • merge math from joe-3.7+
572 • write a jupp(1) mdoc page
573 • use mirkev (better code for hashtables)
574 • attach labels to ftypes; allow ftypes to inherit from these
575 labels, instead of fdefault; add UI to apply an ftype, including
576 fdefault, to the current buffer (requested by Wayne Cuddy)
577 • regex needs groups like 「\+\(foo\)」
578 • regex needs alternative modes (POSIX BRE, ERE; PCRE optional?)
579 because of the \0 vs. \1 confusion (and WTF @ \N letters!)
580 • ^KE could offer the last directory from a file that was saved
581 with a / somewhere (file_prompt in joe 4.4 wmkpw)
582 • bracketed paste mode should disable autoindent, wordwrap,
583 updating the status line, …(?) ⇐ implemented using a “paste”
584 labeled ftype (including using not the help cards for indication)
585 • switch from autoconf to mirtoconf2
586 • ANSI syntax highlighting; auto-turn it on in shell windows (‽)
587 ⇒ would need to hide the ANSI chars, yet enable backspacing
588 • redraw a line if it has been scrolled and had combining
589 characters in it before — actually, scrap that; make that:
590 handle combining characters, *at all* (in the scrn array)
591 • add a soft line break flag: display as line-wrapped, do not
592 save any newlines introduced by that
593 • perhaps wrap at U+00AD?
594 • have an mdoc(7) page actually describing its keybindings
595 • put all “configuration” into /usr/share/ and have them
596 (all, not just *rc) overridable from the user’s home; use XDG dirs
597 while at it maybe? and replace autoconf with mirtoconf, and use
598 serial numbers for versions (jupp-26 follows joe-3.1jupp25)
599 • do charset conversion and support more charsets, both SBCS and
600 UCS (UTF-{16,32}{BE,LE} for example) sponsored by ⮡ tarent
601 • plug memory leaks (Valgrind reports a few)
602 • fix Coverity-pointed-out issues
603 • fixup some joe4.4 jupprc ftypes
604 • proper include, so ~/.jXXrc files can be half a dozen lines
605 • nested syntax highlighting states, with pop to go up
606 • merge neat tricks from website with HINTS, à la mksh.faq
607 • …
608
609 __________________________________________________________________
610 $MirOS: contrib/code/jupp/TODO,v 1.55 2021/04/26 23:20:35 tg Exp $