Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

ven043.c File Reference


Detailed Description

make_terminfo: Create a Terminfo Description for a Terminal

Author:
JoergM
See also:

Definition in file ven043.c.

#include "geo002.h"
#include "gen04.h"
#include "geo001.h"
#include "geo57.h"
#include "hen40.h"
#include "heo01.h"

Go to the source code of this file.

Defines

#define ARGS(x)   ((x) == 0)
#define ATTR_MESSAGE   2
#define ATTR_NORMAL   0
#define ATTR_REVERSE   1
#define LABELLINE   2
#define LABELSIZE   13
#define MF__   MOD__"free_key_list"
#define MF__   MOD__"maketi_session"
#define MOD__   "ven043.c:"
#define MOVE_LABEL(i)
#define MSG(x)   {msg x;}

Functions

static SIGNALFUNCTYPE catch_alarm ()
static SIGNALFUNCTYPE catch_signal ()
static void close_session ()
static int create_temp_file ()
static void delete_key (function)
static void delete_key ()
static void fill_line (lno, lch)
static void fill_line ()
static void free_key_list ()
static int get_cursor_keys ()
static int get_key ()
global int main (int argc, char **argv)
static int maketi_session ()
static void msg (char *,...)
static int open_session ()
static void prompt_label (function)
static void prompt_label ()
static int read_key (function, replace_uncond)
static int read_key ()
static void remove_temp_file ()
static void set_attrib (attribute)
static void set_attrib ()
char * sqlerrs ()
static void write_bool (capname, var)
static void write_bool ()
static void write_header ()
static void write_hifkeys ()
static void write_label (pos)
static void write_label ()
static void write_number (capname, var)
static void write_number ()
static int write_output ()
static void write_string (capname, var)
static void write_string ()
static void write_terminfo ()

Variables

static int accepted_on = 0
static int cur_label = 0
static int in_curses = 0
static char * input_TERM = NULL
static char key_buf [256]
static int label_cols = 0
static int label_count = 0
static int label_lines = 0
static int message_on = 0
static int opt_delete = 0
static int opt_escape = 0
static int opt_hifkey = 0
static int opt_untic = 0
static char * output_file = NULL
static char * output_TERM = NULL
static char * temp_file = NULL
static FILE * tempfp = NULL
static TERMIO_INFO termio_extern
static TERMIO_INFO termio_intern
static char * USAGE []
static char * VERSION = "@(#)maketi 7.2 2000-07-25 "


Generated by  Doxygen 1.6.0   Back to index