version 1.235, 2010/07/14 18:37:49 |
version 1.236, 2010/07/24 20:11:59 |
|
|
char *cwd; |
char *cwd; |
|
|
struct tty tty; |
struct tty tty; |
FILE *stdin_file; |
|
FILE *stdout_file; |
|
FILE *stderr_file; |
|
|
|
|
int stdin_fd; |
|
void *stdin_data; |
|
void (*stdin_callback)(struct client *, void *); |
|
struct bufferevent *stdin_event; |
|
|
|
int stdout_fd; |
|
struct bufferevent *stdout_event; |
|
|
|
int stderr_fd; |
|
struct bufferevent *stderr_event; |
|
|
struct event repeat_timer; |
struct event repeat_timer; |
|
|
struct timeval status_timer; |
struct timeval status_timer; |
|
|
|
|
#define CLIENT_TERMINAL 0x1 |
#define CLIENT_TERMINAL 0x1 |
#define CLIENT_PREFIX 0x2 |
#define CLIENT_PREFIX 0x2 |
/* 0x4 unused */ |
#define CLIENT_EXIT 0x4 |
#define CLIENT_REDRAW 0x8 |
#define CLIENT_REDRAW 0x8 |
#define CLIENT_STATUS 0x10 |
#define CLIENT_STATUS 0x10 |
#define CLIENT_REPEAT 0x20 /* allow command to repeat within repeat time */ |
#define CLIENT_REPEAT 0x20 /* allow command to repeat within repeat time */ |