| 502 | } |
| 503 | |
| 504 | void |
| 505 | term_startup(int *wid, int *hgt) |
| 506 | { |
| 507 | /* code to sense display adapter is required here - MJA */ |
| 508 | |
| 509 | attrib_text_normal = ATTRIB_NORMAL; |
| 510 | attrib_text_intense = ATTRIB_INTENSE; |
| 511 | |
| 512 | /* These are defaults and may get overridden */ |
| 513 | attrib_gr_normal = attrib_text_normal; |
| 514 | attrib_gr_intense = attrib_text_intense; |
| 515 | g_attribute = attrib_text_normal; /* Give it a starting value */ |
| 516 | |
| 517 | #ifdef SCREEN_VGA |
| 518 | if (iflags.usevga) { |
| 519 | vga_term_startup(wid, hgt); |
| 520 | } else |
| 521 | #endif |
| 522 | #ifdef SCREEN_VESA |
| 523 | if (iflags.usevesa) { |
| 524 | vesa_term_startup(wid, hgt); |
| 525 | } else |
| 526 | #endif |
| 527 | txt_startup(wid, hgt); |
| 528 | |
| 529 | *wid = CO; |
| 530 | *hgt = LI; |
| 531 | |
| 532 | #ifdef CLIPPING |
| 533 | if (CO < COLNO || LI < ROWNO + 3) |
| 534 | setclipped(); |
| 535 | #endif |
| 536 | |
| 537 | init_ttycolor(); |
| 538 | |
| 539 | #ifdef MONO_CHECK |
| 540 | monoflag = txt_monoadapt_check(); |
| 541 | #else |
| 542 | monoflag = 0; |
| 543 | #endif |
| 544 | |
| 545 | inversed = 0; |
| 546 | } |
| 547 | |
| 548 | void |
| 549 | term_start_screen(void) |
nothing calls this directly
no test coverage detected