-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathglobals.c
43 lines (42 loc) · 1023 Bytes
/
globals.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#include "tintin.h"
bool term_echoing = true;
bool keypad= DEFAULT_KEYPAD;
bool retain= DEFAULT_RETAIN;
bool bold = DEFAULT_BOLD;
int alnum = 0;
int acnum = 0;
int subnum = 0;
int varnum = 0;
int hinum = 0;
int routnum = 0;
int pdnum = 0;
int antisubnum = 0;
int bindnum = 0;
int hooknum = 0;
int gotpassword=0;
bool got_more_kludge=false;
int hist_num;
bool need_resize=false;
char *tintin_exec;
struct session *lastdraft;
bool aborting=false;
bool any_closed=false;
bool in_alias=false;
int in_read=0;
int recursion;
char *_; /* incoming line being processed */
bool real_quiet=false; /* if set, #verbose 0 will be really quiet */
char *history[HISTORY_SIZE];
struct session *sessionlist, *activesession, *nullsession;
pvars_t *pvars; /* the %0, %1, %2,....%9 variables */
char tintin_char = DEFAULT_TINTIN_CHAR;
char tintin_char_set = false;
char status[BUFFER_SIZE];
int LINES, COLS;
bool isstatus;
timens_t start_time;
timens_t idle_since;
#ifdef HAVE_SIMD
bool simd=true;
/**/ hs_scratch_t *hs_scratch=NULL;
#endif