2013-09-20 06:10:30 -04:00
|
|
|
#include "crypt.h"
|
|
|
|
#include "defines.h"
|
|
|
|
|
|
|
|
/* #include "estruct.h" */
|
2005-10-01 03:33:44 -04:00
|
|
|
#include "edef.h"
|
|
|
|
|
|
|
|
/* initialized global definitions */
|
|
|
|
|
|
|
|
int fillcol = 72; /* Current fill column */
|
2013-09-26 08:06:36 -04:00
|
|
|
|
|
|
|
|
2005-10-01 03:33:44 -04:00
|
|
|
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 */
|
|
|
|
int discmd = TRUE; /* display command flag */
|
|
|
|
int disinp = TRUE; /* display input characters */
|
2013-09-26 08:06:36 -04:00
|
|
|
|
2005-10-01 03:33:44 -04:00
|
|
|
int metac = CONTROL | '['; /* current meta character */
|
|
|
|
int ctlxc = CONTROL | 'X'; /* current control X prefix char */
|
|
|
|
int reptc = CONTROL | 'U'; /* current universal repeat char */
|
|
|
|
int abortc = CONTROL | 'G'; /* current abort command char */
|
|
|
|
|
|
|
|
int tabmask = 0x07; /* tabulator mask */
|
2013-09-25 01:23:52 -04:00
|
|
|
|
2013-09-27 02:16:29 -04:00
|
|
|
|
2013-09-20 06:10:30 -04:00
|
|
|
kbdstate kbdmode = STOP; /* current keyboard macro mode */
|
2005-10-01 03:33:44 -04:00
|
|
|
int kbdrep = 0; /* number of repetitions */
|
|
|
|
int restflag = FALSE; /* restricted use? */
|
|
|
|
int lastkey = 0; /* last keystoke */
|
|
|
|
long envram = 0l; /* # of bytes current in use by malloc */
|
|
|
|
int rval = 0; /* return value of a subprocess */
|
|
|
|
int overlap = 0; /* line overlap in forw/back page */
|
|
|
|
int scrollcount = 1; /* number of lines to scroll */
|
|
|
|
|
|
|
|
/* uninitialized global definitions */
|
|
|
|
|
|
|
|
int thisflag; /* Flags, this command */
|
|
|
|
int lastflag; /* Flags, last command */
|
|
|
|
int curgoal; /* Goal for C-P, C-N */
|
2010-08-01 17:37:28 -04:00
|
|
|
struct window *curwp; /* Current window */
|
|
|
|
struct window *wheadp; /* Head of list of windows */
|
2005-10-01 03:33:44 -04:00
|
|
|
|
|
|
|
char sres[NBUFN]; /* current screen resolution */
|