![]() |
GNU PROLOG with UTF8 support
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <ctype.h>#include <fcntl.h>#include "../EnginePl/gp_config.h"#include "terminal.h"#include "linedit.h"
Macros | |
| #define | LE_DEFINE_HOOK_MACROS |
| #define | TERMINAL_FILE |
| #define | INIT_FCT(hook, def) if (hook == NULL) hook = def |
Functions | |
| static void | Parse_Env_Var (void) |
| static int | LE_Get_Char0 (void) |
| static void | Backd (int n) |
| static void | Forwd (int n, char *str) |
| static void | Displ (int n, char *str) |
| static void | Displ_Str (char *s) |
| static void | Erase (int n) |
| int | Pl_LE_Initialize (void) |
| void | Pl_LE_Open_Terminal (void) |
| void | Pl_LE_Close_Terminal (void) |
| void | Pl_LE_Screen_Size (int *row, int *col) |
| int | Pl_LE_Is_Interrupt_Key (int c) |
| int | Pl_LE_Kbd_Is_Not_Empty (void) |
| void | Pl_LE_Ins_Mode (int ins_mode) |
| void | Pl_LE_Emit_Beep (void) |
| void | Pl_LE_Put_Char (int c) |
| int | Pl_LE_Get_Char (void) |
Variables | |
| static int | use_linedit |
| static int | use_gui |
| static int | use_ansi |
| static int | fd_out = -1 |
| static int | interrupt_key |
| #define INIT_FCT | ( | hook, | |
| def | |||
| ) | if (hook == NULL) hook = def |
| #define LE_DEFINE_HOOK_MACROS |
| #define TERMINAL_FILE |
|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

|
static |

| void Pl_LE_Close_Terminal | ( | void | ) |


| void Pl_LE_Emit_Beep | ( | void | ) |


| int Pl_LE_Get_Char | ( | void | ) |

| int Pl_LE_Initialize | ( | void | ) |


| void Pl_LE_Ins_Mode | ( | int | ins_mode | ) |

| int Pl_LE_Is_Interrupt_Key | ( | int | c | ) |

| int Pl_LE_Kbd_Is_Not_Empty | ( | void | ) |

| void Pl_LE_Open_Terminal | ( | void | ) |


| void Pl_LE_Put_Char | ( | int | c | ) |

| void Pl_LE_Screen_Size | ( | int * | row, |
| int * | col | ||
| ) |

|
static |
|
static |
|
static |
|
static |
|
static |
1.8.11