X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/5a73255e97ac417640274e014d50a58e3fa51255..42856df411d7491a1e40c4d21c985b03a6206e22:/putty.h diff --git a/putty.h b/putty.h index b6b13344..cdab4aa8 100644 --- a/putty.h +++ b/putty.h @@ -93,15 +93,6 @@ typedef HDC Context; GLOBAL int rows, cols, savelines; -#define INBUF_SIZE 2048 -GLOBAL unsigned char inbuf[INBUF_SIZE]; -GLOBAL int inbuf_head; - -#define OUTBUF_SIZE 2048 -#define OUTBUF_MASK (OUTBUF_SIZE-1) -GLOBAL unsigned char outbuf[OUTBUF_SIZE]; -GLOBAL int outbuf_head, outbuf_reap; - GLOBAL int has_focus; GLOBAL int in_vbell; @@ -312,8 +303,8 @@ typedef struct { int bellovl_s; /* period of silence to re-enable bell (s) */ char bell_wavefile[FILENAME_MAX]; int scrollbar; - int locksize; - int lockfont; + int scrollbar_in_fullscreen; + enum { RESIZE_TERM, RESIZE_DISABLED, RESIZE_FONT } resize_action; int bce; int blinktext; int win_name_always; @@ -341,6 +332,7 @@ typedef struct { /* translations */ VT_Mode vtmode; char line_codepage[32]; + int xlat_capslockcyr; /* X11 forwarding */ int x11_forward; char x11_display[128]; @@ -504,7 +496,7 @@ extern Backend ssh_backend; * Exports from ldisc.c. */ -extern void ldisc_send(char *buf, int len); +extern void ldisc_send(char *buf, int len, int interactive); /* * Exports from sshrand.c. @@ -539,8 +531,9 @@ void EnableSizeTip(int bEnable); #define CP_UTF8 65001 #endif void init_ucs_tables(void); -void lpage_send(int codepage, char *buf, int len); -void luni_send(wchar_t * widebuf, int len); +void lpage_send(int codepage, char *buf, int len, int interactive); +void luni_send(wchar_t * widebuf, int len, int interactive); +wchar_t xlat_uskbd2cyrllic(int ch); int check_compose(int first, int second); int decode_codepage(char *cp_name); char *cp_enumerate (int index);