Annotation of 43BSDTahoe/new/X/xterm/data.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  *     $Source: /u1/X/xterm/RCS/data.c,v $
                      3:  *     $Header: data.c,v 10.102 86/12/01 17:12:39 swick Rel $
                      4:  */
                      5: 
                      6: #include <setjmp.h>
                      7: #include <X/Xlib.h>
                      8: #include "scrollbar.h"
                      9: #include "ptyx.h"
                     10: 
                     11: #ifndef lint
                     12: static char sccs_id[] = "@(#)data.c\tX10/6.6B\t12/26/86";
                     13: #endif lint
                     14: 
                     15: Vertex T_boxlarge[NBOX] = {
                     16:        {0, 0, VertexDontDraw},
                     17:        {8, 0, VertexRelative},
                     18:        {0, 14, VertexRelative},
                     19:        {-8, 0, VertexRelative},
                     20:        {0, -14, VertexRelative},
                     21: };
                     22: Vertex T_box2[NBOX] = {
                     23:        {0, 0, VertexDontDraw},
                     24:        {7, 0, VertexRelative},
                     25:        {0, 12, VertexRelative},
                     26:        {-7, 0, VertexRelative},
                     27:        {0, -12, VertexRelative},
                     28: };
                     29: Vertex T_box3[NBOX] = {
                     30:        {0, 0, VertexDontDraw},
                     31:        {5, 0, VertexRelative},
                     32:        {0, 12, VertexRelative},
                     33:        {-5, 0, VertexRelative},
                     34:        {0, -12, VertexRelative},
                     35: };
                     36: Vertex T_boxsmall[NBOX] = {
                     37:        {0, 0, VertexDontDraw},
                     38:        {5, 0, VertexRelative},
                     39:        {0, 9, VertexRelative},
                     40:        {-5, 0, VertexRelative},
                     41:        {0, -9, VertexRelative},
                     42: };
                     43: Vertex T_boxicon[NBOX] = {             /* is filled-in in TekInit() */
                     44:        {0, 0, VertexDontDraw},
                     45:        {0, 0, VertexRelative},
                     46:        {0, 0, VertexRelative},
                     47:        {0, 0, VertexRelative},
                     48:        {0, 0, VertexRelative},
                     49: };
                     50: jmp_buf Tekend;
                     51: int Tbcnt = 0;
                     52: char *Tbuffer;
                     53: char *Tbptr;
                     54: TekLink *TekRefresh;
                     55: char *Tpushb;
                     56: char *Tpushback;
                     57: int Ttoggled = 0;
                     58: int bcnt = 0;
                     59: char buffer[BUF_SIZE];
                     60: char *bptr = buffer;
                     61: jmp_buf VTend;
                     62: Vertex VTbox[NBOX] = {
                     63:        {0, 0, VertexDontDraw},
                     64:        {0, 0, VertexRelative},
                     65:        {0, 0, VertexRelative},
                     66:        {0, 0, VertexRelative},
                     67:        {0, 0, VertexRelative},
                     68: };
                     69: Vertex status_box[NBOX] = {
                     70:        {0, 0, VertexDontDraw},
                     71:        {0, 0, VertexRelative},
                     72:        {0, 0, VertexRelative},
                     73:        {0, 0, VertexRelative},
                     74:        {0, 0, VertexRelative},
                     75: };
                     76: Vertex icon_box[NBOX] = {
                     77:        {0, 0, VertexDontDraw},
                     78:        {0, 0, VertexRelative},
                     79:        {0, 0, VertexRelative},
                     80:        {0, 0, VertexRelative},
                     81:        {0, 0, VertexRelative},
                     82: };
                     83: T_fontsize Tfontsize[TEKNUMFONTS] = {
                     84:        {9, 15},        /* large */
                     85:        {8, 13},        /* #2 */
                     86:        {6, 13},        /* #3 */
                     87:        {6, 10},        /* small */
                     88:        {0, 0},         /* icon is filled-in later */
                     89: };
                     90: 
                     91: 
                     92: #ifdef DEBUG
                     93: int debug = 0;                 /* true causes error messages to be displayed */
                     94: #endif DEBUG
                     95: Terminal term;         /* master data structure for client */
                     96: char *xterm_name;      /* argv[0] */
                     97: int am_slave = 0;      /* set to 1 if running as a slave process */
                     98: char *icon_geom;
                     99: int B_Pixel;
                    100: Pixmap B_Pixmap;
                    101: int L_flag;
                    102: int max_plus1;
                    103: int n_marginbell = N_MARGINBELL;
                    104: int pty_mask;
                    105: int re_verse;
                    106: int save_lines = SAVELINES;
                    107: int Select_mask;
                    108: int W_Pixel;
                    109: Pixmap W_Pixmap;
                    110: char *win_name;
                    111: int X_mask;
                    112: char *back_color;
                    113: char *curs_color;
                    114: char *curs_shape = 0;
                    115: char *f_b;
                    116: char *f_n;
                    117: char *f_t;
                    118: char *f_i;
                    119: char *fore_color;
                    120: char *geo_metry;
                    121: char *mous_color;
                    122: char *T_geometry = 0;
                    123: char *ptydev = "/dev/ptyxx";
                    124: char *ttydev = "/dev/ttyxx";
                    125: char log_def_name[] = "XtermLog.XXXXX";
                    126: int T_lastx = -1;
                    127: int T_lasty = -1;
                    128: int dropmenu = 0;
                    129: int doonalarmcode = 0;
                    130: int douniquesuffix = 1;
                    131: int grayborder = TRUE;

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.