version 1.1.1.1, 2000/01/09 17:00:56 |
version 1.1.1.2, 2000/01/22 14:16:02 |
Line 819 struct termentry term_tbl[] = |
|
Line 819 struct termentry term_tbl[] = |
|
|
|
#define TERMCOUNT (sizeof(term_tbl)/sizeof(struct termentry)) |
#define TERMCOUNT (sizeof(term_tbl)/sizeof(struct termentry)) |
|
|
|
/* mainly useful for external code */ |
|
GP_INLINE int |
|
term_count() |
|
{ |
|
return TERMCOUNT; |
|
} |
|
|
void list_terms() |
void list_terms() |
{ |
{ |
register int i; |
register int i; |
Line 961 void init_terminal() |
|
Line 968 void init_terminal() |
|
#ifdef NEXT |
#ifdef NEXT |
env_term = getenv("TERM"); |
env_term = getenv("TERM"); |
if (term_name == (char *) NULL |
if (term_name == (char *) NULL |
&& env_term != (char *) NULL && strcmp(term, "next") == 0) |
&& env_term != (char *) NULL && strcmp(env_term, "next") == 0) |
term_name = "next"; |
term_name = "next"; |
#endif /* NeXT */ |
#endif /* NeXT */ |
|
|
Line 1181 void test_term() |
|
Line 1188 void test_term() |
|
key_entry_height = (t->v_char); |
key_entry_height = (t->v_char); |
|
|
/* border linetype */ |
/* border linetype */ |
|
(*t->linewidth) (1.0); |
(*t->linetype) (-2); |
(*t->linetype) (-2); |
(*t->move) (0, 0); |
(*t->move) (0, 0); |
(*t->vector) (xmax_t - 1, 0); |
(*t->vector) (xmax_t - 1, 0); |