Files
Arquivotheca.Solaris-2.5/lib/libcurses/screen/curses.c
seta75D 7c4988eac0 Init
2021-10-11 19:38:01 -03:00

44 lines
1.2 KiB
C
Executable File

/* Copyright (c) 1988 AT&T */
/* All Rights Reserved */
/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */
/* The copyright notice above does not evidence any */
/* actual or intended publication of such source code. */
#ident "@(#)curses.c 1.6 93/05/05 SMI" /* SVr4.0 1.13 */
/* Define global variables */
#include "curses_inc.h"
WINDOW *stdscr, *curscr, *_virtscr;
int LINES, COLS, TABSIZE, COLORS, COLOR_PAIRS;
short curs_errno = -1;
int (*_setidln)(), (*_useidln)(), (*_quick_ptr)();
int (*_do_slk_ref)(), (*_do_slk_tch)(), (*_do_slk_noref)();
void (*_rip_init)(); /* to initialize rip structures */
void (*_slk_init)(); /* to initialize slk structures */
SCREEN *SP;
MOUSE_STATUS Mouse_status = {-1, -1, {BUTTON_RELEASED, BUTTON_RELEASED, BUTTON_RELEASED}, 0};
#ifdef _VR3_COMPAT_CODE
void (*_y16update)();
chtype *acs32map;
#undef acs_map
_ochtype *acs_map;
#else /* _VR3_COMPAT_CODE */
chtype *acs_map;
#endif /* _VR3_COMPAT_CODE */
char *curses_version = "SVR4", curs_parm_err[32];
bool _use_env = TRUE;
#ifdef DEBUG
FILE *outf = stderr; /* debug output file */
#endif /* DEBUG */
short _csmax, /* max size of a multi-byte character */
_scrmax; /* max size of a multi-column character */
bool _mbtrue; /* a true multi-byte character */