Logo Search packages:      
Sourcecode: hanterm-classic version File versions  Download package

data.c

/*
 *    $XConsortium: data.c,v 1.10 91/02/06 14:23:58 gildea Exp $
 */

/*
 * Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts.
 *
 *                         All Rights Reserved
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose and without fee is hereby granted,
 * provided that the above copyright notice appear in all copies and that
 * both that copyright notice and this permission notice appear in
 * supporting documentation, and that the name of Digital Equipment
 * Corporation not be used in advertising or publicity pertaining to
 * distribution of the software without specific, written prior permission.
 *
 *
 * DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
 * ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
 * DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
 * ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
 * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
 * SOFTWARE.
 */

#include "ptyx.h"       /* gets Xt stuff, too */
#include "data.h"
#include <setjmp.h>

int bcnt = 0;
#if !defined(NO_PATCH_CURSOR_MOVE) /* by hanmaum 1998.2.6 */
Char buffer[BUF_SIZE+20];
Char *bptr = buffer+10;
#else
Char buffer[BUF_SIZE];
Char *bptr = buffer;
#endif
XPoint VTbox[NBOX] = {
      {0, 0},
      {0, 0},
      {0, 0},
      {0, 0},
      {0, 0},
};
XPoint hVTbox[NBOX] = {
      {0, 0},
      {0, 0},
      {0, 0},
      {0, 0},
      {0, 0},
};


#ifdef      DEBUG
int debug = 0;          /* true causes error messages to be displayed */
#endif      /* DEBUG */
XtermWidget term;       /* master data structure for client */
char *xterm_name; /* argv[0] */
int am_slave = 0; /* set to 1 if running as a slave process */
int max_plus1;
int pty_mask;
#if defined(linux)||defined(SVR4)||(defined(hpux)&&OSMAJORVERSION>=10)
fd_set Select_mask;
#else
int Select_mask;
#endif
int X_mask;
char *ptydev;
char *ttydev;
#ifdef ALLOWLOGFILEONOFF
char log_def_name[] = "HantermLog.XXXXX";
#endif

int waitingForTrackInfo = 0;
EventMode eventMode = NORMAL;

GC visualBellGC;

int VTgcFontMask = GCFont;

Generated by  Doxygen 1.6.0   Back to index