#include <string.h>#include <ctype.h>#include <errno.h>#include <signal.h>#include <stdlib.h>#include <stdio.h>#include <list>#include <string>#include <fstream>#include "editline.h"Go to the source code of this file.
Defines | |
| #define | BUF_SIZE 1024 |
Functions | |
| char * | Getline (const char *prompt) |
| char * | Getlinem (int mode, const char *prompt) |
| void | Gl_config (const char *which, int value) |
| void | Gl_setwidth (int w) |
| void | Gl_windowchanged () |
| int | Gl_eof () |
| void | Gl_histinit (char *file) |
| void | Gl_histadd (char *buf) |
| void | Gl_setColors (const char *colorTab, const char *colorTabComp, const char *colorBracket, const char *colorBadBracket, const char *colorPrompt) |
| void | Gl_histsize (int size, int save) |
Variables | |
| int(*) | Gl_tab_hook (char *buf, int prompt_width, int *loc)=0 |
| int(*) | Gl_beep_hook ()=0 |
| int(*) | Gl_in_key (int ch)=0 |
| const char * | hist_file = 0 |
| int | size_lines = 500 |
| int | save_lines = -1 |
| #define BUF_SIZE 1024 |
Definition at line 254 of file Getline_el.cxx.
| char* Getline | ( | const char * | prompt | ) |
| char* Getlinem | ( | int | mode, | |
| const char * | prompt | |||
| ) |
| void Gl_config | ( | const char * | which, | |
| int | value | |||
| ) |
| void Gl_histadd | ( | char * | buf | ) |
| void Gl_histinit | ( | char * | file | ) |
| void Gl_histsize | ( | int | size, | |
| int | save | |||
| ) |
Definition at line 411 of file Getline_el.cxx.
References save_lines, size_lines, and stifle_history().
| void Gl_setColors | ( | const char * | colorTab, | |
| const char * | colorTabComp, | |||
| const char * | colorBracket, | |||
| const char * | colorBadBracket, | |||
| const char * | colorPrompt | |||
| ) |
| void Gl_setwidth | ( | int | w | ) |
| void Gl_windowchanged | ( | ) |
| int(* ) Gl_beep_hook()=0 |
Definition at line 231 of file Getline_el.cxx.
| int(* ) Gl_in_key(int ch)=0 |
Definition at line 232 of file Getline_el.cxx.
| int(* ) Gl_tab_hook(char *buf, int prompt_width, int *loc)=0 |
Definition at line 230 of file Getline_el.cxx.
| const char* hist_file = 0 |
newer imported interfaces
Definition at line 250 of file Getline_el.cxx.
| int save_lines = -1 |
| int size_lines = 500 |
1.5.1