![]() |
My Project
|
#include "kernel/mod2.h"#include "omalloc/omalloc.h"#include "kernel/oswrapper/feread.h"#include <unistd.h>#include <stdio.h>#include <stdlib.h>#include <sys/time.h>#include <sys/types.h>#include <string.h>#include "kernel/mod_raw.h"Go to the source code of this file.
Macros | |
| #define | STDIN_FILENO 0 |
| #define | STDOUT_FILENO 1 |
| #define | feCTRL(C) ((C) & 0x1F) /* <ctrl> character */ |
| #define | fe_hist_max 32 |
Typedefs | |
| typedef char ** | CPPFunction() |
Functions | |
| void | fe_reset_fe (void) |
| void | fe_temp_reset (void) |
| void | fe_temp_set (void) |
| static int | fe_out_char (int c) |
| static void | fe_init (void) |
| static void | fe_ctrl_k (char *s, int i) |
| static void | fe_ctrl_u (char *s, int *i) |
| static void | fe_add_hist (char *s) |
| static void | fe_get_hist (char *s, int size, int *pos, int change, int incr) |
| static int | fe_getchar () |
| static void | fe_set_cursor (char *s, int i) |
| char * | fe_fgets_stdin_fe (char *pr, char *s, int size) |
| char * | command_generator (char *text, int state) |
| char ** | singular_completion (char *text, int start, int end) |
| int | fe_init_dyn_rl () |
| void | fe_reset_input_mode (void) |
Variables | |
| VAR struct termios | fe_saved_attributes |
| STATIC_VAR BOOLEAN | fe_stdout_is_tty |
| STATIC_VAR BOOLEAN | fe_stdin_is_tty |
| VAR BOOLEAN | fe_use_fgets =FALSE |
| STATIC_VAR BOOLEAN | fe_is_initialized =FALSE |
| VAR FILE * | fe_echo |
| VAR char ** | fe_hist =NULL |
| VAR short | fe_hist_pos |
| VAR BOOLEAN | fe_is_raw_tty =0 |
| VAR short | fe_cursor_pos |
| VAR short | fe_cursor_line |
| STATIC_VAR char | termcap_buff [2048] |
| char *(* | fe_filename_completion_function )() |
| char *(* | fe_readline )() |
| VAR void(* | fe_add_history )() |
| VAR char ** | fe_rl_readline_name |
| VAR char ** | fe_rl_line_buffer |
| char **(* | fe_completion_matches )() |
| VAR CPPFunction ** | fe_rl_attempted_completion_function |
| VAR FILE ** | fe_rl_outstream |
| VAR int(* | fe_write_history )() |
| VAR int(* | fe_history_total_bytes )() |
| VAR void(* | fe_using_history )() |
| VAR int(* | fe_read_history )() |
| VAR void * | fe_rl_hdl =NULL |
| char * command_generator | ( | char * | text, |
| int | state | ||
| ) |
Definition at line 52 of file feread.cc.
|
static |
Definition at line 277 of file fereadl.c.
|
static |
|
static |
| char * fe_fgets_stdin_fe | ( | char * | pr, |
| char * | s, | ||
| int | size | ||
| ) |
Definition at line 382 of file fereadl.c.
|
static |
|
static |
Definition at line 327 of file fereadl.c.
|
static |
Definition at line 140 of file fereadl.c.
| int fe_init_dyn_rl | ( | ) |
Definition at line 756 of file fereadl.c.
|
static |
| void fe_reset_fe | ( | void | ) |
Definition at line 83 of file fereadl.c.
| void fe_reset_input_mode | ( | void | ) |
Definition at line 831 of file fereadl.c.
|
static |
Definition at line 361 of file fereadl.c.
| void fe_temp_reset | ( | void | ) |
| void fe_temp_set | ( | void | ) |
Definition at line 118 of file fereadl.c.
| char ** singular_completion | ( | char * | text, |
| int | start, | ||
| int | end | ||
| ) |
| STATIC_VAR BOOLEAN fe_is_initialized =FALSE |
| VAR CPPFunction** fe_rl_attempted_completion_function |
| STATIC_VAR BOOLEAN fe_stdin_is_tty |
| STATIC_VAR BOOLEAN fe_stdout_is_tty |
| STATIC_VAR char termcap_buff[2048] |