2013-10-09 08:11:43 +00:00
|
|
|
/* globals.c -- implements globals.h */
|
2013-10-09 05:15:38 +00:00
|
|
|
#include "globals.h"
|
2013-09-20 10:10:30 +00:00
|
|
|
|
2013-10-09 05:15:38 +00:00
|
|
|
#include "defines.h"
|
2005-10-01 07:33:44 +00:00
|
|
|
|
|
|
|
/* initialized global definitions */
|
|
|
|
|
|
|
|
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 05:23:52 +00:00
|
|
|
|
2013-09-27 06:16:29 +00:00
|
|
|
|
2005-10-01 07:33:44 +00:00
|
|
|
int rval = 0; /* return value of a subprocess */
|
|
|
|
|
|
|
|
/* uninitialized global definitions */
|
|
|
|
|
|
|
|
int thisflag; /* Flags, this command */
|
|
|
|
int lastflag; /* Flags, last command */
|
|
|
|
int curgoal; /* Goal for C-P, C-N */
|