Go to the source code of this file.
Macros | |
#define | SCREEN_WIDTH 80 |
#define | SCREEN_ROWS 24 |
#define | NO_ARG (-1) |
#define | DEL 127 |
#define | ESC 0x1b |
#define | CTL(x) (char)((x) & 0x1F) |
#define | ISCTL(x) ((x) && (x) < ' ') |
#define | UNCTL(x) (char)((x) + 64) |
#define | META(x) (char)((x) | 0x80) |
#define | ISMETA(x) ((x) & 0x80) |
#define | UNMETA(x) (char)((x) & 0x7F) |
Enumerations | |
enum | CASE { TOupper, TOlower, TOcapitalize } |
#define SCREEN_WIDTH 80 |
Definition at line 62 of file editline.c.
#define SCREEN_ROWS 24 |
Definition at line 63 of file editline.c.
#define NO_ARG (-1) |
Definition at line 64 of file editline.c.
#define DEL 127 |
Definition at line 65 of file editline.c.
#define ESC 0x1b |
Definition at line 66 of file editline.c.
#define CTL | ( | x | ) | (char)((x) & 0x1F) |
Definition at line 67 of file editline.c.
#define ISCTL | ( | x | ) | ((x) && (x) < ' ') |
Definition at line 68 of file editline.c.
#define UNCTL | ( | x | ) | (char)((x) + 64) |
Definition at line 69 of file editline.c.
#define META | ( | x | ) | (char)((x) | 0x80) |
Definition at line 70 of file editline.c.
#define ISMETA | ( | x | ) | ((x) & 0x80) |
Definition at line 71 of file editline.c.
#define UNMETA | ( | x | ) | (char)((x) & 0x7F) |
Definition at line 72 of file editline.c.
enum CASE |
Enumerator | |
---|---|
TOupper | |
TOlower | |
TOcapitalize |
Definition at line 84 of file editline.c.
void TTYflush | ( | ) |
Definition at line 237 of file editline.c.
Definition at line 253 of file editline.c.
Definition at line 262 of file editline.c.
Definition at line 268 of file editline.c.
Definition at line 287 of file editline.c.
int TTYget | ( | ) |
Definition at line 134 of file el_sys_unix.c.
STATIC void TTYinfo | ( | ) |
Definition at line 351 of file editline.c.
Definition at line 435 of file editline.c.
Definition at line 483 of file editline.c.
Definition at line 523 of file editline.c.
Definition at line 538 of file editline.c.
Definition at line 547 of file editline.c.
Definition at line 572 of file editline.c.
Definition at line 594 of file editline.c.
Definition at line 626 of file editline.c.
Definition at line 631 of file editline.c.
STATIC void ceol | ( | ) |
Definition at line 641 of file editline.c.
STATIC void clear_line | ( | ) |
Definition at line 682 of file editline.c.
Definition at line 701 of file editline.c.
Definition at line 749 of file editline.c.
Definition at line 754 of file editline.c.
Definition at line 759 of file editline.c.
Definition at line 773 of file editline.c.
Definition at line 786 of file editline.c.
Definition at line 791 of file editline.c.
Definition at line 796 of file editline.c.
Definition at line 801 of file editline.c.
Definition at line 809 of file editline.c.
Definition at line 821 of file editline.c.
Definition at line 859 of file editline.c.
Definition at line 884 of file editline.c.
Definition at line 897 of file editline.c.
Definition at line 913 of file editline.c.
Definition at line 954 of file editline.c.
Definition at line 968 of file editline.c.
Definition at line 982 of file editline.c.
Definition at line 992 of file editline.c.
Definition at line 1017 of file editline.c.
Definition at line 1037 of file editline.c.
Definition at line 1115 of file editline.c.
Definition at line 1140 of file editline.c.
Definition at line 1182 of file editline.c.
Definition at line 1203 of file editline.c.
Definition at line 1239 of file editline.c.
Definition at line 1278 of file editline.c.
Definition at line 1408 of file editline.c.
Definition at line 1420 of file editline.c.
Definition at line 1425 of file editline.c.
Definition at line 1442 of file editline.c.
Definition at line 1560 of file editline.c.
Definition at line 1656 of file editline.c.
Definition at line 1681 of file editline.c.
Definition at line 1695 of file editline.c.
Definition at line 1712 of file editline.c.
Definition at line 1719 of file editline.c.
Definition at line 1736 of file editline.c.
Definition at line 1742 of file editline.c.
Definition at line 1757 of file editline.c.
Definition at line 1764 of file editline.c.
Definition at line 1777 of file editline.c.
Definition at line 1793 of file editline.c.
Definition at line 1798 of file editline.c.
Definition at line 1814 of file editline.c.
Definition at line 1834 of file editline.c.
Definition at line 1885 of file editline.c.
char* getenv | ( | ) |
char* tgetstr | ( | ) |
int tgetent | ( | ) |
int tgetnum | ( | ) |
Definition at line 298 of file editline.c.
Definition at line 313 of file editline.c.
STATIC void TTYback | ( | ) |
Definition at line 332 of file editline.c.
Definition at line 636 of file editline.c.
void write_history | ( | const char * | history_file | ) |
Definition at line 1296 of file editline.c.
void read_history | ( | const char * | history_file | ) |
Definition at line 1313 of file editline.c.
void rl_reset_terminal | ( | char * | p | ) |
Definition at line 1344 of file editline.c.
void rl_initialize | ( | ) |
Definition at line 1350 of file editline.c.
char* readline | ( | CONST char * | prompt | ) |
Definition at line 1354 of file editline.c.
void add_history | ( | char * | p | ) |
Definition at line 1395 of file editline.c.
void el_redisplay | ( | ) |
Definition at line 1459 of file editline.c.
char* el_current_sym | ( | ) |
Definition at line 1464 of file editline.c.
void el_bind_key_in_metamap | ( | char | c, |
Keymap_Function | func | ||
) |
Definition at line 1967 of file editline.c.
int editline_histsize =256 |
Definition at line 75 of file editline.c.
char* editline_history_file |
Definition at line 76 of file editline.c.
EL_USER_COMPLETION_FUNCTION_TYPE* el_user_completion_function = NULL |
Definition at line 79 of file editline.c.
int rl_eof |
Definition at line 108 of file editline.c.
int rl_erase |
Definition at line 109 of file editline.c.
int rl_intr |
Definition at line 110 of file editline.c.
int rl_kill |
Definition at line 111 of file editline.c.
ECHAR el_NIL[] = "" |
Definition at line 113 of file editline.c.
Definition at line 56 of file el_sys_unix.c.
Definition at line 115 of file editline.c.
Definition at line 116 of file editline.c.
Definition at line 117 of file editline.c.
Definition at line 118 of file editline.c.
STATIC HISTORY H |
Definition at line 120 of file editline.c.
int rl_quit |
Definition at line 121 of file editline.c.
Definition at line 122 of file editline.c.
Definition at line 123 of file editline.c.
Definition at line 124 of file editline.c.
Definition at line 125 of file editline.c.
Definition at line 126 of file editline.c.
int el_PushBack |
Definition at line 54 of file el_sys_unix.c.
int el_Pushed |
Definition at line 55 of file el_sys_unix.c.
STATIC KEYMAP Map |
Definition at line 129 of file editline.c.
STATIC KEYMAP MetaMap |
Definition at line 130 of file editline.c.
Definition at line 131 of file editline.c.
Definition at line 132 of file editline.c.
Definition at line 133 of file editline.c.
Definition at line 134 of file editline.c.
Definition at line 135 of file editline.c.
Definition at line 136 of file editline.c.
Definition at line 137 of file editline.c.
Definition at line 138 of file editline.c.
Definition at line 139 of file editline.c.
Definition at line 140 of file editline.c.
Definition at line 141 of file editline.c.
Definition at line 142 of file editline.c.
Definition at line 143 of file editline.c.
Definition at line 144 of file editline.c.
Definition at line 145 of file editline.c.
int el_no_echo = 0 |
Definition at line 146 of file editline.c.
int rl_meta_chars = 0 |
Definition at line 220 of file editline.c.