0
|
1 * Define a sentinel function, so that the display doesn't get
|
|
2 screwed up the default sentinel when the process finishes.
|
|
3
|
|
4 * Performance improvements? (It is zippy enough on reasonably
|
|
5 fast machines, though.)
|
|
6
|
|
7 * Should more terminal escape sequences be supported?
|
|
8 Yes: At least the ANSI color escapes (as in colour_xterm).
|
|
9
|
|
10 * The caching variables (e.g. term-current-row) assume that there
|
|
11 is be no random editing of the buffer that we don't know about. In that
|
|
12 respect, they are somewhat fragile.
|
|
13
|
|
14 * Document the internals better, and make it easier to write
|
|
15 emulators for other kinds of terminals.
|
|
16
|
|
17 * The scrolling behavior is still not quite right.
|
|
18
|
|
19 * Stallman has expressed dislike for the xterm style of switching to the
|
|
20 alternate buffer on the "ti" capability. An alternative would be to
|
|
21 defer this until the screen is cleared. That assumes there are programs
|
|
22 that emit ti without following that by a command to erase the window.
|
|
23 I'm not sure there are any such programs (that we care about) ...
|
|
24
|
|
25 *** CHANGES THAT REQUIRE NEW EMACS PRIMITIVES ***
|
|
26
|
|
27 * If ioctl is made accessible to elisp, it may be possible
|
|
28 to support some kind of automatic switching between char mode
|
|
29 and line mode. It also becomes possible to privide term
|
|
30 primitives to turn off echoing in the inferior.
|
|
31
|
|
32 *** CHANGES TO DO IN OTHER PROGRAMS ***
|
|
33
|
|
34 * In gdb-mode, a keysequence like \C-c\C-s works by sending the command
|
|
35 "step" in gdb-mode. Emacs goes to a fair bit of trouble to delete the
|
|
36 prompt preceding the command, as well as the echo from the inferior.
|
|
37 In addition to being hairy, it is somewhat fragile (because of possible
|
|
38 type-ahead, and because the inferior might be mixing other output with
|
|
39 the echo).
|
|
40 More robust would be for emacs to send the command "noecho step" (or
|
|
41 "step #noecho") where the "noecho" is an instruction to gdb (readline)
|
|
42 to erase the prompt for this command, and suppress its echo.
|
|
43
|
|
44 * Bash (and perhaps other shells) should be modified so that before
|
|
45 the prompt (and PROMPT_COMMAND) are printed, they emit:
|
|
46 printf("\032/%s\n", PWD);
|
|
47 This will tell the shell window which directory it should assume,
|
|
48 and obviates the need for all that hairy directory tracking.
|