void setup_screen () { /* * get screen size from termcap entry & setup sizes */ ScreenSize (&LINES, &COLS); cmd_line = FALSE; Raw (TRUE); set_win_size (&LINES, &COLS); }
/* * get screen size from termcap entry & setup sizes */ void setup_screen( void) { _line = 1; ScreenSize(&cLINES, &cCOLS); cmd_line = FALSE; Raw(TRUE); set_win_size(&cLINES, &cCOLS); }