GNU PROLOG with UTF8 support
Macros | Functions | Variables
terminal.c File Reference
#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"
Include dependency graph for terminal.c:

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
 

Macro Definition Documentation

#define INIT_FCT (   hook,
  def 
)    if (hook == NULL) hook = def
#define LE_DEFINE_HOOK_MACROS
#define TERMINAL_FILE

Function Documentation

static void Backd ( int  n)
static

Here is the caller graph for this function:

static void Displ ( int  n,
char *  str 
)
static

Here is the caller graph for this function:

static void Displ_Str ( char *  s)
static

Here is the caller graph for this function:

static void Erase ( int  n)
static

Here is the caller graph for this function:

static void Forwd ( int  n,
char *  str 
)
static

Here is the caller graph for this function:

static int LE_Get_Char0 ( void  )
static

Here is the caller graph for this function:

static void Parse_Env_Var ( void  )
static

Here is the caller graph for this function:

void Pl_LE_Close_Terminal ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_LE_Emit_Beep ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

int Pl_LE_Get_Char ( void  )

Here is the caller graph for this function:

int Pl_LE_Initialize ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_LE_Ins_Mode ( int  ins_mode)

Here is the caller graph for this function:

int Pl_LE_Is_Interrupt_Key ( int  c)

Here is the caller graph for this function:

int Pl_LE_Kbd_Is_Not_Empty ( void  )

Here is the caller graph for this function:

void Pl_LE_Open_Terminal ( void  )

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_LE_Put_Char ( int  c)

Here is the caller graph for this function:

void Pl_LE_Screen_Size ( int *  row,
int *  col 
)

Here is the caller graph for this function:

Variable Documentation

int fd_out = -1
static
int interrupt_key
static
int use_ansi
static
int use_gui
static
int use_linedit
static