diff --git a/macssh/source/parse/parse.c b/macssh/source/parse/parse.c index fded693..2a42a73 100755 --- a/macssh/source/parse/parse.c +++ b/macssh/source/parse/parse.c @@ -54,6 +54,9 @@ extern Boolean encryptOK; // true if des encryption routines available #include "parse.proto.h" +extern void VSprintf(char *fmt, ...); +extern void VSdump(char *p, int len); + static char *getcname(struct WindRec *tw); static void encryptStatechange(struct WindRec *tw); static void process_suboption(struct WindRec *tw, unsigned char *start, unsigned char *end); @@ -109,6 +112,8 @@ void SendStringAsIfTyped(struct WindRec *tw, char *string, short len) int j; int res; + kbflush( tw ); + trflush_mac_nat(tw); while (len) { @@ -173,6 +178,7 @@ void SendStringAsIfTyped(struct WindRec *tw, char *string, short len) // all over the place. void SendCRAsIfTyped(struct WindRec *tw) { + kbflush( tw ); if (tw->echo) parse(tw,(unsigned char *) "\012\015",2); /* BYU LSC */