#include <stdio.h>
#include <sys/types.h>
#include "compat.h"
#include "sys.h"
#include "tty.h"
#include "prompt.h"
#include "key.h"
#include "term.h"
#include "refresh.h"
#include "chared.h"
#include "common.h"
#include "search.h"
#include "hist.h"
#include "map.h"
#include "parse.h"
#include "sig.h"
#include "help.h"
Go to the source code of this file.
Classes | |
struct | ElCoord_t |
struct | ElColor_t |
struct | ElLine_t |
struct | ElState_t |
struct | EditLine_t |
Defines | |
#define | KSHVI |
#define | EL_BUFSIZ 1024 |
#define | HANDLE_SIGNALS 1 << 0 |
#define | NO_TTY 1 << 1 |
#define | EDIT_DISABLED 1 << 2 |
#define | el_malloc(a) malloc(a) |
#define | el_realloc(a, b) realloc(a, b) |
#define | el_free(a) free(a) |
#define | EL_ABORT(a) abort() |
Typedefs | |
typedef int | ElBool_t |
typedef unsigned char | ElAction_t |
Functions | |
el_protected int | el_editmode (EditLine_t *, int, const char **) |
el_public EditLine_t * | el_readline_el () |
#define EDIT_DISABLED 1 << 2 |
Definition at line 65 of file el.h.
Referenced by el_editmode(), el_get(), el_gets(), el_set(), term_set(), tty_cookedmode(), and tty_rawmode().
#define EL_ABORT | ( | a | ) | abort() |
Definition at line 184 of file el.h.
Referenced by cv_delfini(), el_get(), el_set(), key_kprint(), map_bind(), map_init(), map_print_some_keys(), node__put(), and read_getcmd().
#define EL_BUFSIZ 1024 |
Definition at line 61 of file el.h.
Referenced by c_gets(), c_setpat(), ce_inc_search(), ch_init(), cv_search(), ed_command(), ed_prev_history(), ed_search_prev_history(), hist_init(), key_kprint(), map_bind(), map_print_key(), map_print_some_keys(), read_preread(), search_init(), and term_telltc().
#define el_free | ( | a | ) | free(a) |
Definition at line 125 of file el.h.
Referenced by ch_end(), ch_enlargebufs(), el_end(), el_parse(), hist_end(), key_end(), map_end(), node__put(), read_preread(), search_end(), sig_end(), term_alloc_display(), term_end(), and term_free_display().
#define el_malloc | ( | a | ) | malloc(a) |
Definition at line 123 of file el.h.
Referenced by ch_init(), el_init(), el_parse(), hist_init(), key_init(), map_init(), node__get(), search_init(), sig_init(), term_alloc_display(), and term_init().
#define HANDLE_SIGNALS 1 << 0 |
#define NO_TTY 1 << 1 |
Definition at line 64 of file el.h.
Referenced by el_gets(), el_gets_newline(), el_init(), and term_init_color().
typedef unsigned char ElAction_t |
el_protected int el_editmode | ( | EditLine_t * | , | |
int | , | |||
const char ** | ||||
) |
Definition at line 497 of file el.cxx.
References EDIT_DISABLED, EditLine_t::fErrFile, EditLine_t::fFlags, fprintf(), NULL, and void.
Referenced by el_builtins_init().
el_public EditLine_t* el_readline_el | ( | ) |
Added by stephan@s11n.net: returns the editline object associated with the readline compatibility interface, to allow clients to customize that object further.
Definition at line 1939 of file readline.cxx.
References gEditLine, NULL, and rl_initialize().