EDITLINE - Online Linux Manual PageSection : 3
Updated : August 15, 2021
NAME editline, el_init, el_init_fd, el_end, el_reset, el_gets, el_wgets, el_getc, el_wgetc, el_push, el_wpush, el_parse, el_wparse, el_set, el_wset, el_get, el_wget, el_source, el_resize, el_cursor, el_line, el_wline, el_insertstr, el_winsertstr, el_deletestr, el_wdeletestr, history_init, history_winit, history_end, history_wend, history, history_w, tok_init, tok_winit, tok_end, tok_wend, tok_reset, tok_wreset, tok_line, tok_wline, tok_str, tok_wstr —line editor, history and tokenization functions
LIBRARYCommand Line Editor Library (libedit , -ledit)
SYNOPSIS #include <histedit.h>
EditLine * el_init(const char *prog , FILE *fin , FILE *fout , FILE *ferr);
EditLine * el_init_fd(const char *prog , FILE *fin , FILE *fout , FILE *ferr , int fdin , int fdout , int fderr);
void el_end(EditLine *e);
void el_reset(EditLine *e);
const char * el_gets(EditLine *e , int *count);
const wchar_t * el_wgets(EditLine *e , int *count);
int el_getc(EditLine *e , char *ch);
int el_wgetc(EditLine *e , wchar_t *wc);
void el_push(EditLine *e , const char *mbs);
void el_wpush(EditLine *e , const wchar_t *wcs);
int el_parse(EditLine *e , int argc , const char *argv[]);
int el_wparse(EditLine *e , int argc , const wchar_t *argv[]);
int el_set(EditLine *e , int op , ...);
int el_wset(EditLine *e , int op , ...);
int el_get(EditLine *e , int op , ...);
int el_wget(EditLine *e , int op , ...);
int el_source(EditLine *e , const char *file);
void el_resize(EditLine *e);
int el_cursor(EditLine *e , int count);
const LineInfo * el_line(EditLine *e);
const LineInfoW * el_wline(EditLine *e);
int el_insertstr(EditLine *e , const char *str);
int el_winsertstr(EditLine *e , const wchar_t *str);
void el_deletestr(EditLine *e , int count);
void el_wdeletestr(EditLine *e , int count);
History * history_init(void);
HistoryW * history_winit(void);
void history_end(History *h);
void history_wend(HistoryW *h);
int history(History *h , HistEvent *ev , int op , ...);
int history_w(HistoryW *h , HistEventW *ev , int op , ...);
Tokenizer * tok_init(const char *IFS);
TokenizerW * tok_winit(const wchar_t *IFS);
void tok_end(Tokenizer *t);
void tok_wend(TokenizerW *t);
void tok_reset(Tokenizer *t);
void tok_wreset(TokenizerW *t);
int tok_line(Tokenizer *t , const LineInfo *li , int *argc , const char **argv[] , int *cursorc , int *cursoro);
int tok_wline(TokenizerW *t , const LineInfoW *li , int *argc , const wchar_t **argv[] , int *cursorc , int *cursoro);
int tok_str(Tokenizer *t , const char *str , int *argc , const char **argv[]);
int tok_wstr(TokenizerW *t , const wchar_t *str , int *argc , const wchar_t **argv[]);
DESCRIPTIONThe tok_wstr library provides generic line editing, history and tokenization functions, similar to those found in sh(1). These functions are available in the libedit library (which needs the libtermcap library). Programs should be linked with -ledit -ltermcap. The tok_wstr library respects the LC_CTYPE locale set by the application program and never uses setlocale(3) to change the locale.
LINE EDITING FUNCTIONSThe line editing functions use a common data structure, EditLine, which is created by el_init() or el_init_fd() and freed by el_end(). The wide-character functions behave the same way as their narrow counterparts. The following functions are available: el_init() Initialize the line editor, and return a data structure to be used by all other line editing functions, or NULL on failure. prog is the name of the invoking program, used when reading the editrc(5) file to determine which settings to use. fin ,, fout and ferr are the input, output, and error streams (respectively) to use. In this documentation, references to ‟the tty” are actually to this input/output stream combination. el_init_fd() Like el_init() but allows specifying file descriptors for the stdio(3) corresponding streams, in case those were created with funopen 3. el_end() Clean up and finish with e, assumed to have been created with el_init() or el_init_fd(). el_reset() Reset the tty and the parser. This should be called after an error which may have upset the tty's state. el_gets() Read a line from the tty. count is modified to contain the number of characters read. Returns the line read if successful, or NULL if no characters were read or if an error occurred. If an error occurred, count is set to −1 and errno contains the error code that caused it. The return value may not remain valid across calls to el_gets() and must be copied if the data is to be retained. el_wgetc() Read a wide character from the tty, respecting the current locale, or from the input queue described in editline(7) if that is not empty, and store it in wc. If an invalid or incomplete character is found, it is discarded, errno is set to EILSEQ, and the next character is read and stored in wc. Returns 1 if a valid character was read, 0 on end of file, or −1 on read(2) failure. In the latter case, errno is set to indicate the error. el_getc() Read a wide character as described for el_wgetc() and return 0 on end of file or −1 on failure. If the wide character can be represented as a single-byte character, convert it with wctob(3), store the result in ch, and return 1; otherwise, set errno to ERANGE and return −1. In the C or POSIX locale, this simply reads a byte, but for any other locale, including UTF-8, this is rarely useful. el_wpush() Push the wide character string wcs back onto the input queue described in editline(7). If the queue overflows, for example due to a recursive macro, or if an error occurs, for example because wcs is NULL or memory allocation fails, the function beeps at the user, but does not report the problem to the caller. el_push() Use the current locale to convert the multibyte string mbs to a wide character string, and pass the result to el_wpush(). el_parse() Parses the argv array (which is argc elements in size) to execute builtin tok_wstr commands. If the command is prefixed with ‟prog”: then el_parse() will only execute the command if ‟prog” matches the prog argument supplied to el_init(). The return value is −1 if the command is unknown, 0 if there was no error or ‟prog” didn't match, or 1 if the command returned an error. Refer to editrc(5) for more information. el_set() Set tok_wstr parameters. op determines which parameter to set, and each operation has its own parameter list. Returns 0 on success, −1 on failure. The following values for op are supported, along with the required argument list: Dv EL_PROMPT, char *(*f)(EditLine *) Define prompt printing function as f, which is to return a string that contains the prompt. Dv EL_PROMPT_ESC, char *(*f)(EditLine *), , Fa , char c Same as EL_PROMPT, but the c argument indicates the start/stop literal prompt character. If a start/stop literal character is found in the prompt, the character itself is not printed, but characters after it are printed directly to the terminal without affecting the state of the current line. A subsequent second start/stop literal character ends this behavior. This is typically used to embed literal escape sequences that change the color/style of the terminal in the prompt. Note that the literal escape character cannot be the last character in the prompt, as the escape sequence is attached to the next character in the prompt. 0 unsets it. Dv EL_REFRESH Re-display the current line on the next terminal line. Dv EL_RPROMPT, char *(*f)(EditLine *) Define right side prompt printing function as f, which is to return a string that contains the prompt. Dv EL_RPROMPT_ESC, char *(*f)(EditLine *), , Fa , char c Define the right prompt printing function but with a literal escape character. Dv EL_TERMINAL, const char *type Define terminal type of the tty to be type, or to TERM if type is NULL. Dv EL_EDITOR, const char *mode Set editing mode to mode, which must be one of ‟emacs” or ‟vi”. Dv EL_SIGNAL, int flag If flag is non-zero, tok_wstr will install its own signal handler for the following signals when reading command input: SIGCONT, SIGHUP, SIGINT, SIGQUIT, SIGSTOP, SIGTERM, SIGTSTP, and SIGWINCH. Otherwise, the current signal handlers will be used. Dv EL_BIND, const char *, , Fa , ..., , Dv , NULL Perform the bind builtin command. Refer to editrc(5) for more information. Dv EL_ECHOTC, const char *, , Fa , ..., , Dv , NULL Perform the echotc builtin command. Refer to editrc(5) for more information. Dv EL_SETTC, const char *, , Fa , ..., , Dv , NULL Perform the settc builtin command. Refer to editrc(5) for more information. Dv EL_SETTY, const char *, , Fa , ..., , Dv , NULL Perform the setty builtin command. Refer to editrc(5) for more information. Dv EL_TELLTC, const char *, , Fa , ..., , Dv , NULL Perform the telltc builtin command. Refer to editrc(5) for more information. Dv EL_ADDFN, const char *name, , Fa , const char *help, , Fa , unsigned char (*func)(EditLine *e, int ch) Add a user defined function, func(), referred to as name which is invoked when a key which is bound to name is entered. help is a description of name. At invocation time, ch is the key which caused the invocation. The return value of func() should be one of: Dv CC_NORM Add a normal character. Dv CC_NEWLINE End of line was entered. Dv CC_EOF EOF was entered. Dv CC_ARGHACK Expecting further command input as arguments, do nothing visually. Dv CC_REFRESH Refresh display. Dv CC_REFRESH_BEEP Refresh display, and beep. Dv CC_CURSOR Cursor moved, so update and perform CC_REFRESH. Dv CC_REDISPLAY Redisplay entire input line. This is useful if a key binding outputs extra information. Dv CC_ERROR An error occurred. Beep, and flush tty. Dv CC_FATAL Fatal error, reset tty to known state. Dv EL_HIST, History *(*func)(History *, int op, ...), , Fa , const char *ptr Defines which history function to use, which is usually history(). ptr should be the value returned by history_init(). Dv EL_EDITMODE, int flag If flag is non-zero, editing is enabled (the default). Note that this is only an indication, and does not affect the operation of tok_wstr. At this time, it is the caller's responsibility to check this (using el_get()) to determine if editing should be enabled or not. Dv EL_UNBUFFERED, int flag If flag is zero, unbuffered mode is disabled (the default). In unbuffered mode, el_gets() will return immediately after processing a single character. Dv EL_SAFEREAD, int flag If the flag argument is non-zero, then editline attempts to recover from read errors, ignoring the first interrrupted error, and trying to reset the input file descriptor to reset non-blocking I/O. This is disabled by default, and desirable only when editline is used in shell-like applications. Dv EL_GETCFN, el_rfunc_t f Whenever reading a character, use the function int f ( EditLine *e , wchar_t *wc ); which stores the character in wc and returns 1 on success, 0 on end of file, or −1 on I/O or encoding errors. Functions internally using it include el_wgets(), el_wgetc(), el_gets(), and el_getc(). Initially, a builtin function is installed, and replacing it is discouraged because writing such a function is very error prone. The builtin function can be restored at any time by passing the special value EL_BUILTIN_GETCFN instead of a function pointer. Dv EL_CLIENTDATA, void *data Register data to be associated with this EditLine structure. It can be retrieved with the corresponding el_get() call. Dv EL_SETFP, int fd, , Fa , FILE *fp Set the current editline file pointer for ‟input” fd = 0, ‟output” fd = 1, or ‟error” fd = 2 from fp. el_get() Get tok_wstr parameters. op determines which parameter to retrieve into result. Returns 0 if successful, −1 otherwise. The following values for op are supported, along with actual type of result: Dv EL_PROMPT, char *(*f)(EditLine *), , Fa , char *c Set f to a pointer to the function that displays the prompt. If c is not NULL, set it to the start/stop literal prompt character. Dv EL_RPROMPT, char *(*f)(EditLine *), , Fa , char *c Set f to a pointer to the function that displays the prompt. If c is not NULL, set it to the start/stop literal prompt character. Dv EL_EDITOR, const char **n Set the name of the editor in n, which will be one of ‟emacs” or ‟vi”. Dv EL_GETTC, const char *name, , Fa , void *value If name is a valid termcap(5) capability set value to the current value of that capability. Dv EL_SIGNAL, int *s Set s to non-zero if tok_wstr has installed private signal handlers (see el_get() above). Dv EL_EDITMODE, int *c Set c to non-zero if editing is enabled. Dv EL_GETCFN, el_rfunc_t *f Set f to a pointer to the function that reads characters, or to EL_BUILTIN_GETCFN if the builtin function is in use. Dv EL_CLIENTDATA, void **data Set data to the previously registered client data set by an el_set() call. Dv EL_UNBUFFERED, int *c Set c to non-zero if unbuffered mode is enabled. Dv EL_SAFEREAD, int *c Set c to non-zero if safe read is set. Dv EL_GETFP, int fd, , Fa , FILE **fp Set fp to the current editline file pointer for ‟input” fd = 0, ‟output” fd = 1, or ‟error” fd = 2. el_source() Initialize tok_wstr by reading the contents of file. el_parse() is called for each line in file. If file is NULL, try $EDITRC and if that is not set $HOME/.editrc. Refer to editrc(5) for details on the format of file. el_source() returns 0 on success and −1 on error. el_resize() Must be called if the terminal size changes. If EL_SIGNAL has been set with el_set(), then this is done automatically. Otherwise, it's the responsibility of the application to call el_resize() on the appropriate occasions. el_cursor() Move the cursor to the right (if positive) or to the left (if negative) count characters. Returns the resulting offset of the cursor from the beginning of the line. el_line() Return the editing information for the current line in a LineInfo structure, which is defined as follows: typedef struct lineinfo {
const char *buffer; /* address of buffer */
const char *cursor; /* address of cursor */
const char *lastchar; /* address of last character */
} LineInfo; buffer is not NUL terminated. This function may be called after el_gets() to obtain the LineInfo structure pertaining to line returned by that function, and from within user defined functions added with EL_ADDFN. el_insertstr() Insert str into the line at the cursor. Returns −1 if str is empty or won't fit, and 0 otherwise. el_deletestr() Delete count characters before the cursor.
HISTORY LIST FUNCTIONSThe history functions use a common data structure, History, which is created by history_init() and freed by history_end(). The following functions are available: history_init() Initialize the history list, and return a data structure to be used by all other history list functions, or NULL on failure. history_end() Clean up and finish with h, assumed to have been created with history_init(). history() Perform operation op on the history list, with optional arguments as needed by the operation. ev is changed accordingly to operation. The following values for op are supported, along with the required argument list: Dv H_SETSIZE, int size Set size of history to size elements. Dv H_GETSIZE Get number of events currently in history. Dv H_END Cleans up and finishes with h, assumed to be created with history_init(). Dv H_CLEAR Clear the history. Dv H_FUNC, void *ptr, , Fa , history_gfun_t first, , Fa , history_gfun_t next, , Fa , history_gfun_t last, , Fa , history_gfun_t prev, , Fa , history_gfun_t curr, , Fa , history_sfun_t set, , Fa , history_vfun_t clear, , Fa , history_efun_t enter, , Fa , history_efun_t add Define functions to perform various history operations. ptr is the argument given to a function when it's invoked. Dv H_FIRST Return the first element in the history. Dv H_LAST Return the last element in the history. Dv H_PREV Return the previous element in the history. It is newer than the current one. Dv H_NEXT Return the next element in the history. It is older than the current one. Dv H_CURR Return the current element in the history. Dv H_SET, int position Set the cursor to point to the requested element. Dv H_ADD, const char *str Append str to the current element of the history, or perform the H_ENTER operation with argument str if there is no current element. Dv H_APPEND, const char *str Append str to the last new element of the history. Dv H_ENTER, const char *str Add str as a new element to the history and, if necessary, removing the oldest entry to keep the list to the created size. If H_SETUNIQUE has been called with a non-zero argument, the element will not be entered into the history if its contents match the ones of the current history element. If the element is entered history() returns 1; if it is ignored as a duplicate returns 0. Finally history() returns −1 if an error occurred. Dv H_PREV_STR, const char *str Return the closest previous event that starts with str. Dv H_NEXT_STR, const char *str Return the closest next event that starts with str. Dv H_PREV_EVENT, int e Return the previous event numbered e. Dv H_NEXT_EVENT, int e Return the next event numbered e. Dv H_LOAD, const char *file Load the history list stored in file. Dv H_SAVE, const char *file Save the history list to file. Dv H_SAVE_FP, FILE *fp Save the history list to the opened FILE pointer fp. Dv H_NSAVE_FP, size_t n, , Fa , FILE *fp Save the last n history entries to the opened FILE pointer fp. Dv H_SETUNIQUE, int unique Set flag that adjacent identical event strings should not be entered into the history. Dv H_GETUNIQUE Retrieve the current setting if adjacent identical elements should be entered into the history. Dv H_DEL, int e Delete the event numbered e. This function is only provided for readline compatibility. The caller is responsible for free'ing the string in the returned HistEvent. history() returns >= 0 if the operation op succeeds. Otherwise, −1 is returned and ev is updated to contain more details about the error.
TOKENIZATION FUNCTIONSThe tokenization functions use a common data structure, Tokenizer, which is created by tok_init() and freed by tok_end(). The following functions are available: tok_init() Initialize the tokenizer, and return a data structure to be used by all other tokenizer functions. IFS contains the Input Field Separators, which defaults to ⟨space⟩, ⟨tab⟩, and ⟨newline⟩ if NULL. tok_end() Clean up and finish with t, assumed to have been created with tok_init(). tok_reset() Reset the tokenizer state. Use after a line has been successfully tokenized by tok_line() or tok_str() and before a new line is to be tokenized. tok_line() Tokenize li, If successful, modify: argv to contain the words, argc to contain the number of words, cursorc (if not NULL) to contain the index of the word containing the cursor, and cursoro (if not NULL) to contain the offset within argv[cursorc] of the cursor. Returns 0 if successful, −1 for an internal error, 1 for an unmatched single quote, 2 for an unmatched double quote, and 3 for a backslash quoted ⟨newline⟩. A positive exit code indicates that another line should be read and tokenization attempted again. tok_str() A simpler form of tok_line(); str is a NUL terminated string to tokenize.
SEE ALSOsh(1), signal(3), termcap(3), editrc(5), termcap(5), editline(7)
HISTORYThe tok_wstr library first appeared in BSD 4.4. CC_REDISPLAY appeared in NetBSD 1.3. CC_REFRESH_BEEP, EL_EDITMODE and the readline emulation appeared in NetBSD 1.4. EL_RPROMPT appeared in NetBSD 1.5.
AUTHORS -nosplit The tok_wstr library was written by Christos Zoulas. Luke Mewburn wrote this manual and implemented CC_REDISPLAY, CC_REFRESH_BEEP, EL_EDITMODE, and EL_RPROMPT. Jaromir Dolecek implemented the readline emulation. Johny Mattsson implemented wide-character support.
BUGSAt this time, it is the responsibility of the caller to check the result of the EL_EDITMODE operation of el_get() (after an el_source() or el_parse()) to determine if tok_wstr should be used for further input. I.e., EL_EDITMODE is purely an indication of the result of the most recent editrc(5) edit command. 0
Johanes Gumabo
Data Size : 83,068 byte
man-history_end.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 165,482
Visitor ID : :
Visitor IP : 18.227.105.110 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (mdoc_err|80|editline.3|341|Dv|.It Dv EL_PROMPT , Fa "char *(*f)(EditLine *)"
) (mdoc_err|80|editline.3|345|Dv|.It Dv EL_PROMPT_ESC , Fa "char *(*f)(EditLine *)" , Fa "char c"
) (mdoc_err|80|editline.3|363|Dv|.It Dv EL_REFRESH
) (mdoc_err|80|editline.3|365|Dv|.It Dv EL_RPROMPT , Fa "char *(*f)(EditLine *)"
) (mdoc_err|80|editline.3|369|Dv|.It Dv EL_RPROMPT_ESC , Fa "char *(*f)(EditLine *)" , Fa "char c"
) (mdoc_err|80|editline.3|371|Dv|.It Dv EL_TERMINAL , Fa "const char *type"
) (mdoc_err|80|editline.3|380|Dv|.It Dv EL_EDITOR , Fa "const char *mode"
) (mdoc_err|80|editline.3|387|Dv|.It Dv EL_SIGNAL , Fa "int flag"
) (mdoc_err|80|editline.3|404|Dv|.It Dv EL_BIND , Fa "const char *" , Fa "..." , Dv NULL
) (mdoc_err|80|editline.3|411|Dv|.It Dv EL_ECHOTC , Fa "const char *" , Fa "..." , Dv NULL
) (mdoc_err|80|editline.3|418|Dv|.It Dv EL_SETTC , Fa "const char *" , Fa "..." , Dv NULL
) (mdoc_err|80|editline.3|425|Dv|.It Dv EL_SETTY , Fa "const char *" , Fa "..." , Dv NULL
) (mdoc_err|80|editline.3|432|Dv|.It Dv EL_TELLTC , Fa "const char *" , Fa "..." , Dv NULL
) (mdoc_err|80|editline.3|439/440|Dv|.It Dv EL_ADDFN , Fa "const char *name" , Fa "const char *help" , Fa "unsigned char (*func)(EditLine *e, int ch)"
) (mdoc_err|80|editline.3|458|Dv|.It Dv CC_NORM
) (mdoc_err|80|editline.3|460|Dv|.It Dv CC_NEWLINE
) (mdoc_err|80|editline.3|462|Dv|.It Dv CC_EOF
) (mdoc_err|80|editline.3|464|Dv|.It Dv CC_ARGHACK
) (mdoc_err|80|editline.3|466|Dv|.It Dv CC_REFRESH
) (mdoc_err|80|editline.3|468|Dv|.It Dv CC_REFRESH_BEEP
) (mdoc_err|80|editline.3|470|Dv|.It Dv CC_CURSOR
) (mdoc_err|80|editline.3|473|Dv|.It Dv CC_REDISPLAY
) (mdoc_err|80|editline.3|476|Dv|.It Dv CC_ERROR
) (mdoc_err|80|editline.3|479|Dv|.It Dv CC_FATAL
) (mdoc_err|80|editline.3|482/483|Dv|.It Dv EL_HIST , Fa "History *(*func)(History *, int op, ...)" , Fa "const char *ptr"
) (mdoc_err|80|editline.3|489|Dv|.It Dv EL_EDITMODE , Fa "int flag"
) (mdoc_err|80|editline.3|502|Dv|.It Dv EL_UNBUFFERED , Fa "int flag"
) (mdoc_err|80|editline.3|510|Dv|.It Dv EL_SAFEREAD , Fa "int flag"
) (mdoc_err|80|editline.3|520|Dv|.It Dv EL_GETCFN , Fa "el_rfunc_t f"
) (mdoc_err|80|editline.3|545|Dv|.It Dv EL_CLIENTDATA , Fa "void *data"
) (mdoc_err|80|editline.3|552|Dv|.It Dv EL_SETFP , Fa "int fd" , Fa "FILE *fp"
) (mdoc_err|80|editline.3|586|Dv|.It Dv EL_PROMPT , Fa "char *(*f)(EditLine *)" , Fa "char *c"
) (mdoc_err|80|editline.3|595|Dv|.It Dv EL_RPROMPT , Fa "char *(*f)(EditLine *)" , Fa "char *c"
) (mdoc_err|80|editline.3|604|Dv|.It Dv EL_EDITOR , Fa "const char **n"
) (mdoc_err|80|editline.3|611|Dv|.It Dv EL_GETTC , Fa "const char *name" , Fa "void *value"
) (mdoc_err|80|editline.3|619|Dv|.It Dv EL_SIGNAL , Fa "int *s"
) (mdoc_err|80|editline.3|627|Dv|.It Dv EL_EDITMODE , Fa "int *c"
) (mdoc_err|80|editline.3|631|Dv|.It Dv EL_GETCFN , Fa "el_rfunc_t *f"
) (mdoc_err|80|editline.3|637|Dv|.It Dv EL_CLIENTDATA , Fa "void **data"
) (mdoc_err|80|editline.3|643|Dv|.It Dv EL_UNBUFFERED , Fa "int *c"
) (mdoc_err|80|editline.3|647|Dv|.It Dv EL_SAFEREAD , Fa "int *c"
) (mdoc_err|80|editline.3|651|Dv|.It Dv EL_GETFP , Fa "int fd", Fa "FILE **fp"
) (mdoc_err|80|editline.3|772|Dv|.It Dv H_SETSIZE , Fa "int size"
) (mdoc_err|80|editline.3|776|Dv|.It Dv H_GETSIZE
) (mdoc_err|80|editline.3|778|Dv|.It Dv H_END
) (mdoc_err|80|editline.3|783|Dv|.It Dv H_CLEAR
) (mdoc_err|80|editline.3|785/786/787/788/789|Dv|.It Dv H_FUNC , Fa "void *ptr" , Fa "history_gfun_t first" , Fa "history_gfun_t next" , Fa "history_gfun_t last" , Fa "history_gfun_t prev" , Fa "history_gfun_t curr" , Fa "history_sfun_t set" , Fa "history_vfun_t clear" , Fa "history_efun_t enter" , Fa "history_efun_t add"
) (mdoc_err|80|editline.3|793|Dv|.It Dv H_FIRST
) (mdoc_err|80|editline.3|795|Dv|.It Dv H_LAST
) (mdoc_err|80|editline.3|797|Dv|.It Dv H_PREV
) (mdoc_err|80|editline.3|800|Dv|.It Dv H_NEXT
) (mdoc_err|80|editline.3|803|Dv|.It Dv H_CURR
) (mdoc_err|80|editline.3|805|Dv|.It Dv H_SET , Fa "int position"
) (mdoc_err|80|editline.3|807|Dv|.It Dv H_ADD , Fa "const char *str"
) (mdoc_err|80|editline.3|815|Dv|.It Dv H_APPEND , Fa "const char *str"
) (mdoc_err|80|editline.3|819|Dv|.It Dv H_ENTER , Fa "const char *str"
) (mdoc_err|80|editline.3|835|Dv|.It Dv H_PREV_STR , Fa "const char *str"
) (mdoc_err|80|editline.3|838|Dv|.It Dv H_NEXT_STR , Fa "const char *str"
) (mdoc_err|80|editline.3|841|Dv|.It Dv H_PREV_EVENT , Fa "int e"
) (mdoc_err|80|editline.3|844|Dv|.It Dv H_NEXT_EVENT , Fa "int e"
) (mdoc_err|80|editline.3|847|Dv|.It Dv H_LOAD , Fa "const char *file"
) (mdoc_err|80|editline.3|850|Dv|.It Dv H_SAVE , Fa "const char *file"
) (mdoc_err|80|editline.3|853|Dv|.It Dv H_SAVE_FP , Fa "FILE *fp"
) (mdoc_err|80|editline.3|858|Dv|.It Dv H_NSAVE_FP , Fa "size_t n" , Fa "FILE *fp"
) (mdoc_err|80|editline.3|865|Dv|.It Dv H_SETUNIQUE , Fa "int unique"
) (mdoc_err|80|editline.3|868|Dv|.It Dv H_GETUNIQUE
) (mdoc_err|80|editline.3|871|Dv|.It Dv H_DEL , Fa "int e"
)