version 1.113, 2009/09/23 06:05:02 |
version 1.114, 2009/09/23 06:12:58 |
|
|
#ifndef TMUX_H |
#ifndef TMUX_H |
#define TMUX_H |
#define TMUX_H |
|
|
#define PROTOCOL_VERSION 2 |
#define PROTOCOL_VERSION 3 |
|
|
#include <sys/param.h> |
#include <sys/param.h> |
#include <sys/time.h> |
#include <sys/time.h> |
|
|
#define IDENTIFY_88COLOURS 0x4 |
#define IDENTIFY_88COLOURS 0x4 |
#define IDENTIFY_HASDEFAULTS 0x8 |
#define IDENTIFY_HASDEFAULTS 0x8 |
int flags; |
int flags; |
|
|
u_int sx; |
|
u_int sy; |
|
}; |
}; |
|
|
struct msg_resize_data { |
|
u_int sx; |
|
u_int sy; |
|
}; |
|
|
|
struct msg_unlock_data { |
struct msg_unlock_data { |
char pass[PASS_MAX]; |
char pass[PASS_MAX]; |
}; |
}; |
|
|
void tty_putc(struct tty *, u_char); |
void tty_putc(struct tty *, u_char); |
void tty_pututf8(struct tty *, const struct grid_utf8 *); |
void tty_pututf8(struct tty *, const struct grid_utf8 *); |
void tty_init(struct tty *, int, char *); |
void tty_init(struct tty *, int, char *); |
|
void tty_resize(struct tty *); |
void tty_start_tty(struct tty *); |
void tty_start_tty(struct tty *); |
void tty_stop_tty(struct tty *); |
void tty_stop_tty(struct tty *); |
void tty_detect_utf8(struct tty *); |
void tty_detect_utf8(struct tty *); |