/* UNISRC_ID: %W% %E% */ /********************************************************************* * file: h/scrn/terminal.h * part #: * internal sequence #: * * ************************************************************ * * " c Copyright Hewlett-Packard Company, 1984.* All * * * rights are reserved. Copying or other reproduction * * * of this program except for archival purposes is * * * prohibited without the prior written consent of * * * Hewlett-Packard Company." * * ************************************************************ * * * This file contains the declarations and structures for the terminal * emulator. The definitions are external to the terminal driver. * * Pisces Q-DOS project * Karen Helt PCD * ---------------------------------------------------- * initial 2/24/83 * add font changing 3/11/83 * change window structure in * term_data 3/31/83 * move general window stuff * to wmcom.h 4/5/83 jab * add comments 6/15/83 * change term_data 9/1/83 * split into two files 10/21/83 * ************************************************************************/ #define T0GETPARM (('z' << 8) | 0) /* get terminal 0 parameters */ #define T0SETPARM (('z' << 8) | 1) /* set terminal 0 parameters */ struct t0parm { int base_font_num; /* term base font escape seq number */ char base_font_char; /* term base font escape seq char */ int alt_font_num; /* term alt font escape seq number */ char alt_font_char; /* term alt font escape seq char */ int font_width; /* font width in dots */ int font_height; /* font height in dots */ int log_height; /* height of logical screen in rows */ int log_width; /* width of logical screen in columns */ int win_row; /* row of the window in the buffer */ int win_col; /* column of the window in the buffer */ int curs_row; /* row of the cursor in the buffer */ int curs_col; /* column of the cursor in the buffer */ char default_cursor; /* use the default cursor associated with font */ char cursval; /* cursor value */ char curs_top; /* top of cursor, dots from bottom of char */ char curs_bot; /* bottom of cursor, dots from bottom of char */ };