/MirOS/dist/mir/mksh/mksh-R59c.tgz
mirabilos authored 3 years ago
mirabilos committed 3 years ago
28 | 28 | |
29 | 29 | #ifndef MKSH_NO_CMDLINE_EDITING |
30 | 30 | |
31 | __RCSID("$MirOS: src/bin/mksh/edit.c,v 1.356 2020/10/01 22:39:56 tg Exp $"); | |
31 | __RCSID("$MirOS: src/bin/mksh/edit.c,v 1.357 2020/10/31 05:02:17 tg Exp $"); | |
32 | 32 | |
33 | 33 | /* |
34 | 34 | * in later versions we might use libtermcap for this, but since external |
40 | 40 | #define MKSH_CLS_STRING KSH_ESC_STRING "[;H" KSH_ESC_STRING "[J" |
41 | 41 | #endif |
42 | 42 | |
43 | #if !defined(MKSH_SMALL) || !MKSH_S_NOVI | |
43 | 44 | static const char ctrl_x_e[] = "fc -e \"${VISUAL:-${EDITOR:-vi}}\" --"; |
45 | #endif | |
44 | 46 | |
45 | 47 | /* tty driver characters we are interested in */ |
46 | 48 | #define EDCHAR_DISABLED 0xFFFFU |