Implement Richard's really clever idea about bell overload mode:
[u/mdw/putty] / putty.h
diff --git a/putty.h b/putty.h
index f2c10ba..4b151de 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -99,8 +99,6 @@ typedef struct backend_tag Backend;
 #define ATTR_CUR_AND (~(ATTR_BOLD|ATTR_REVERSE|ATTR_BLINK|ATTR_COLOURS))
 #define ATTR_CUR_XOR 0x00BA0000UL
 
-#define SEL_NL { 13, 10 }
-
 GLOBAL int rows, cols, savelines;
 
 GLOBAL int has_focus;
@@ -111,7 +109,6 @@ GLOBAL unsigned long vbell_startpoint;
 GLOBAL int app_cursor_keys, app_keypad_keys, vt52_mode;
 GLOBAL int repeat_off, cr_lf_return;
 
-GLOBAL int seen_key_event;
 GLOBAL int seen_disp_event;
 GLOBAL int alt_pressed;
 
@@ -371,6 +368,12 @@ struct config_tag {
     } sshbug_ignore1, sshbug_plainpw1, sshbug_rsa1,
        sshbug_hmac2, sshbug_derivekey2, sshbug_rsapad2,
        sshbug_dhgex2;
+    /* Options for pterm. Should split out into platform-dependent part. */
+    int stamp_utmp;
+    int login_shell;
+    int scrollbar_on_left;
+    char boldfont[64];
+    int shadowboldoffset;
 };
 
 /*
@@ -486,6 +489,7 @@ void term_update(void);
 void term_invalidate(void);
 void term_blink(int set_cursor);
 void term_do_paste(void);
+int term_paste_pending(void);
 void term_paste(void);
 void term_nopaste(void);
 int term_ldisc(int option);
@@ -494,6 +498,7 @@ void logfopen(void);
 void logfclose(void);
 void term_copyall(void);
 void term_reconfig(void);
+void term_seen_key_event(void);
 
 /*
  * Exports from logging.c.