23 lines
503 B
C
23 lines
503 B
C
|
|
||
|
#define TINNbool 29
|
||
|
#define att_Nbool 26
|
||
|
#define TINNnum 12
|
||
|
#define att_Nnum 11
|
||
|
#define TINNstr 594
|
||
|
#define att_Nstr 273
|
||
|
|
||
|
#define TINFO struct tinfo
|
||
|
struct tinfo
|
||
|
{
|
||
|
char *name; /* Terminal name */
|
||
|
char boolcap[TINNbool]; /* Boolean capabilities */
|
||
|
short numcap[TINNnum]; /* Numeric capabilities */
|
||
|
char *strcap[TINNstr]; /* String capabilities */
|
||
|
char eos; /* end of struct */
|
||
|
};
|
||
|
|
||
|
EXTERN TINFO *read_tinfo(),*dumbterm();
|
||
|
EXTERN TINFO *Terminfo;
|
||
|
|
||
|
#define CUR_TI Terminfo->
|