version 1.717, 2017/02/06 22:05:11 |
version 1.718, 2017/02/08 08:25:12 |
|
|
/* Automatic name refresh interval, in microseconds. Must be < 1 second. */ |
/* Automatic name refresh interval, in microseconds. Must be < 1 second. */ |
#define NAME_INTERVAL 500000 |
#define NAME_INTERVAL 500000 |
|
|
/* |
/* Maximum size of data to hold from a pane. */ |
* Event watermarks. We start with FAST then if we hit full size for HITS reads |
#define READ_SIZE 4096 |
* in succession switch to SLOW, and return when we hit EMPTY the same number |
|
* of times. |
|
*/ |
|
#define READ_FAST_SIZE 4096 |
|
#define READ_SLOW_SIZE 128 |
|
|
|
#define READ_FULL_SIZE (4096 - 16) |
|
#define READ_EMPTY_SIZE 16 |
|
|
|
#define READ_CHANGE_HITS 3 |
|
|
|
/* Attribute to make GCC check printf-like arguments. */ |
/* Attribute to make GCC check printf-like arguments. */ |
#define printflike(a, b) __attribute__ ((format (printf, a, b))) |
#define printflike(a, b) __attribute__ ((format (printf, a, b))) |
|
|
|
|
TTYC_DL1, /* delete_line, dl */ |
TTYC_DL1, /* delete_line, dl */ |
TTYC_E3, |
TTYC_E3, |
TTYC_ECH, /* erase_chars, ec */ |
TTYC_ECH, /* erase_chars, ec */ |
TTYC_ED, /* csr_eos, cd */ |
TTYC_ED, /* clr_eos, cd */ |
TTYC_EL, /* clr_eol, ce */ |
TTYC_EL, /* clr_eol, ce */ |
TTYC_EL1, /* clr_bol, cb */ |
TTYC_EL1, /* clr_bol, cb */ |
TTYC_ENACS, /* ena_acs, eA */ |
TTYC_ENACS, /* ena_acs, eA */ |
|
|
struct bufferevent *event; |
struct bufferevent *event; |
|
|
struct event resize_timer; |
struct event resize_timer; |
|
|
u_int wmark_size; |
|
u_int wmark_hits; |
|
|
|
struct input_ctx *ictx; |
struct input_ctx *ictx; |
|
|