Many variables which are used to describe the terminal environ‐ ment are available to the programmer. They are: type name description ─────────────────────────────────────────────────────────────────── WINDOW *curscr current version of the screen (terminal screen). WINDOW *stdscr standard screen. Most updates are usually done here. char * Defterm default terminal type if type cannot be determined bool Myterm use the terminal specification in Defterm as ter‐ minal, irrelevant of real terminal type char * ttytype full name of the current terminal. int LINES number of lines on the terminal int COLS number of columns on the terminal int ERR error flag returned by routines on a fail. int OK flag returned by routines upon success.[top]
Vote for polarhome |