1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 15:26:23 -05:00

Display related global flags moved to terminal/tcap.

This commit is contained in:
Renaud 2013-10-09 16:11:43 +08:00
parent f166293e73
commit 867f0d9d60
4 changed files with 8 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* globals.c -- implements global.h */
/* globals.c -- implements globals.h */
#include "globals.h"
#include "defines.h"
@ -9,8 +9,6 @@
int fillcol = 72; /* Current fill column */
int eolexist = TRUE; /* does clear to EOL exist */
int revexist = FALSE; /* does reverse video exist? */
int flickcode = FALSE; /* do flicker supression? */
int sgarbf = TRUE; /* TRUE if screen is garbage */
int clexec = FALSE; /* command line execution flag */

View File

@ -8,8 +8,6 @@
extern int fillcol; /* Fill column */
extern int eolexist; /* does clear to EOL exist? */
extern int revexist; /* does reverse video exist? */
extern int flickcode; /* do flicker supression? */
extern int gfcolor; /* global forgrnd color (white) */
extern int gbcolor; /* global backgrnd color (black) */

3
tcap.c
View File

@ -34,6 +34,9 @@
#if TERMCAP
boolean eolexist = TRUE ; /* does clear to EOL exist */
boolean revexist = FALSE ; /* does reverse video exist? */
char sres[ NBUFN] ; /* current screen resolution */
#if UNIX

View File

@ -3,6 +3,7 @@
#include "defines.h" /* COLOR, SCROLLCODE */
#include "retcode.h"
/*
* The editor communicates with the display using a high level interface. A
@ -70,6 +71,9 @@ extern struct terminal term ;
extern int ttrow ; /* Row location of HW cursor */
extern int ttcol ; /* Column location of HW cursor */
extern boolean eolexist ; /* does clear to EOL exist? */
extern boolean revexist ; /* does reverse video exist? */
extern char sres[] ; /* Current screen resolution. */
#endif