XXTermcap.c File Reference

Go to the source code of this file.

Defines

#define CAPABLEN   2
#define ISSPACE(c)   ((c) == ' ' || (c) == '\t' || (c) == '\r' || (c) == '\n')
#define ISDIGIT(x)   ((x) >= '0' && (x) <= '9')
#define NULL   0

Functions

static int check_for_tc ()
static int match_name ()
static char * strcat (char *s1, char *s2)
static char * strcpy (char *s1, char *s2)
static int strlen (char *s)
static int strcmp (char *s1, char *s2)
static int strncmp (char *s1, char *s2, int n)
static char * getenv (char *name)
static char * fgets (char *buf, count, fd)
int tgetent (char *bp, char *name)
static int match_name (char *buf, char *name)
int tgetnum (char *id)
int tgetflag (char *id)
char * tgetstr (char *id, char **area)
char * tgoto (char *cm, int destcol, int destline)
int tputs (char *cp, int affcnt, int(*outc)())

Variables

short ospeed = 0
char PC = 0
char * BC = 0
char * UP = 0
static char * capab = 0
static int tens_of_ms_p_char []


Define Documentation

#define CAPABLEN   2
 

Definition at line 17 of file XXTermcap.c.

Referenced by tgetflag(), tgetnum(), and tgetstr().

#define ISDIGIT x   )     ((x) >= '0' && (x) <= '9')
 

Definition at line 20 of file XXTermcap.c.

Referenced by tgetnum(), tgetstr(), and tputs().

#define ISSPACE c   )     ((c) == ' ' || (c) == '\t' || (c) == '\r' || (c) == '\n')
 

Definition at line 19 of file XXTermcap.c.

Referenced by tgetflag(), tgetnum(), and tgetstr().

#define NULL   0
 

Definition at line 31 of file XXTermcap.c.


Function Documentation

static int check_for_tc  )  [static]
 

Definition at line 233 of file XXTermcap.c.

References capab, count, p, strcpy(), strlen(), and tgetent().

Referenced by tgetent().

static char* fgets char *  buf,
count  ,
fd 
[static]
 

Definition at line 130 of file XXTermcap.c.

References c, cnt, count, NULL, and read.

static char* getenv char *  name  )  [static]
 

Definition at line 113 of file XXTermcap.c.

References _penviron, and p.

static int match_name char *  buf,
char *  name
[static]
 

Definition at line 213 of file XXTermcap.c.

static int match_name  )  [static]
 

Referenced by tgetent().

static char* strcat char *  s1,
char *  s2
[static]
 

Definition at line 38 of file XXTermcap.c.

References original.

static int strcmp char *  s1,
char *  s2
[static]
 

Definition at line 77 of file XXTermcap.c.

static char* strcpy char *  s1,
char *  s2
[static]
 

Definition at line 54 of file XXTermcap.c.

References original.

static int strlen char *  s  )  [static]
 

Definition at line 65 of file XXTermcap.c.

References original.

static int strncmp char *  s1,
char *  s2,
int  n
[static]
 

Definition at line 94 of file XXTermcap.c.

Referenced by add2env(), applicable(), check(), checkpath(), chk_ftime(), cktagdir(), common_dos_loop(), copy(), cpio_id(), crash_check(), crc_id(), decode(), do_chown(), do_open(), DOgetreply(), env_get_param(), env_prefix(), expandabbr(), extract(), fatFreeWithDir(), file_geom(), Find_Deleted_Entry(), find_user(), Findchar(), Findmacro(), FindMatches(), Findnum(), Findstr(), finduser(), first(), ftpreply(), fttyslot(), getfile(), gnu_symeq(), gnu_symprefix(), httptime(), implmacros(), is_reserved(), job(), lookup(), main(), makedhcp(), mapkey(), member(), name2dev(), nlist(), nm_sort(), p_b_cclass(), p_b_coll_elem(), p_bracket(), Pass2(), pat_match(), Print_Record(), Process(), process(), pspeak(), purl(), queryparam(), read_conf(), readbox(), Record_Logout_Time(), recurs_dos_loop(), reg_addr(), regexec(), regmatch(), res_init(), runvec(), search_dir(), search_hist(), Still_Logged_On(), strstr(), substrcmp(), symeq(), symprefix(), tar(), tar_id(), test11c(), test25b(), test25c(), test26a(), test29b(), test38a(), test39e(), test3d(), test8a(), tgetent(), tgetflag(), tgetnum(), tgetstr(), trysubmandir(), ustar_id(), valid_fs(), vcpio_id(), and wcs().

int tgetent char *  bp,
char *  name
 

Definition at line 164 of file XXTermcap.c.

References buf, capab, check_for_tc(), close, cp, fgets(), fp, getenv(), match_name(), NULL, open, strcmp, strcpy(), and strlen().

int tgetflag char *  id  ) 
 

Definition at line 305 of file XXTermcap.c.

References capab, CAPABLEN, cp, ISSPACE, NULL, and strncmp().

int tgetnum char *  id  ) 
 

Definition at line 270 of file XXTermcap.c.

References capab, CAPABLEN, cp, ISDIGIT, ISSPACE, NULL, and strncmp().

char* tgetstr char *  id,
char **  area
 

Definition at line 332 of file XXTermcap.c.

References capab, CAPABLEN, cp, i, ISDIGIT, ISSPACE, NULL, and strncmp().

char* tgoto char *  cm,
int  destcol,
int  destline
 

Definition at line 411 of file XXTermcap.c.

References NULL.

int tputs char *  cp,
int  affcnt,
int (*)()  outc
 

Definition at line 536 of file XXTermcap.c.

References delay(), ISDIGIT, NULL, ospeed, and PC.


Variable Documentation

char* BC = 0
 

Definition at line 24 of file XXTermcap.c.

char* capab = 0 [static]
 

Definition at line 27 of file XXTermcap.c.

Referenced by check_for_tc(), tgetent(), tgetflag(), tgetnum(), and tgetstr().

short ospeed = 0
 

Definition at line 22 of file XXTermcap.c.

char PC = 0
 

Definition at line 23 of file XXTermcap.c.

int tens_of_ms_p_char[] [static]
 

Initial value:

 {      
                                        
        0, 2000, 1333, 909, 743, 666, 500, 333, 166, 83, 55, 41, 20, 10, 5, 2
}

Definition at line 527 of file XXTermcap.c.

char* UP = 0
 

Definition at line 25 of file XXTermcap.c.


Generated on Fri Apr 14 23:14:54 2006 for minix by  doxygen 1.4.6