projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Robert de Bath's multi-purpose patch, slightly modified.
[u/mdw/putty]
/
putty.h
diff --git
a/putty.h
b/putty.h
index
0636c4a
..
477a81e
100644
(file)
--- a/
putty.h
+++ b/
putty.h
@@
-62,6
+62,15
@@
GLOBAL int has_focus;
GLOBAL int app_cursor_keys, app_keypad_keys;
GLOBAL int app_cursor_keys, app_keypad_keys;
+GLOBAL int seen_key_event;
+GLOBAL int seen_disp_event;
+
+typedef enum {
+ US_NONE = 0, US_KEY = 1, US_DISP = 2, US_BOTH = 3
+} Unscroll_Trigger;
+
+GLOBAL Unscroll_trigger unscroll_event;
+
#define WM_NETEVENT (WM_USER + 1)
typedef enum {
#define WM_NETEVENT (WM_USER + 1)
typedef enum {
@@
-92,6
+101,12
@@
typedef struct {
GLOBAL Backend *back;
typedef struct {
GLOBAL Backend *back;
typedef struct {
+ void (*send) (char *buf, int len);
+} Ldisc;
+
+GLOBAL Ldisc *ldisc;
+
+typedef struct {
/* Basic options */
char host[512];
int port;
/* Basic options */
char host[512];
int port;
@@
-101,6
+116,7
@@
typedef struct {
/* SSH options */
int nopty;
enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher;
/* SSH options */
int nopty;
enum { CIPHER_3DES, CIPHER_BLOWFISH, CIPHER_DES } cipher;
+ int try_tis_auth;
/* Telnet options */
char termtype[32];
char termspeed[32];
/* Telnet options */
char termtype[32];
char termspeed[32];
@@
-113,6
+129,10
@@
typedef struct {
int linux_funkeys;
int app_cursor;
int app_keypad;
int linux_funkeys;
int app_cursor;
int app_keypad;
+ int nethack_keypad;
+ int alt_f4; /* is it special? */
+ int alt_space; /* is it special? */
+ int ldisc_term;
/* Terminal options */
int savelines;
int dec_om;
/* Terminal options */
int savelines;
int dec_om;
@@
-134,6
+154,7
@@
typedef struct {
short wordness[256];
/* russian language translation */
int xlat_enablekoiwin;
short wordness[256];
/* russian language translation */
int xlat_enablekoiwin;
+ int xlat_88592w1250;
int xlat_capslockcyr;
} Config;
int xlat_capslockcyr;
} Config;
@@
-152,6
+173,8
@@
GLOBAL Config cfg;
GLOBAL int default_protocol;
GLOBAL int default_port;
GLOBAL int default_protocol;
GLOBAL int default_port;
+struct RSAKey; /* be a little careful of scope */
+
/*
* Exports from window.c.
*/
/*
* Exports from window.c.
*/
@@
-185,8
+208,8
@@
void random_save_seed(void);
int do_config (void);
int do_reconfig (HWND);
void do_defaults (char *);
int do_config (void);
int do_reconfig (HWND);
void do_defaults (char *);
-void log
nego
t (char *);
-void show
negot
(HWND);
+void log
even
t (char *);
+void show
eventlog
(HWND);
void showabout (HWND);
void verify_ssh_host_key(char *host, struct RSAKey *key);
void get_sesslist(int allocate);
void showabout (HWND);
void verify_ssh_host_key(char *host, struct RSAKey *key);
void get_sesslist(int allocate);
@@
-214,7
+237,7
@@
void term_invalidate(void);
* Exports from raw.c.
*/
* Exports from raw.c.
*/
-Backend raw_backend;
+
extern
Backend raw_backend;
/*
* Exports from telnet.c.
/*
* Exports from telnet.c.
@@
-229,6
+252,12
@@
extern Backend telnet_backend;
extern Backend ssh_backend;
/*
extern Backend ssh_backend;
/*
+ * Exports from ldisc.c.
+ */
+
+extern Ldisc ldisc_term, ldisc_simple;
+
+/*
* Exports from sshrand.c.
*/
* Exports from sshrand.c.
*/