Serial back end for Unix. Due to hardware limitations (no Linux box
[u/mdw/putty] / unix / uxcfg.c
index 6629bd9..de8e886 100644 (file)
@@ -10,7 +10,7 @@
 #include "dialog.h"
 #include "storage.h"
 
-void unix_setup_config_box(struct controlbox *b, int midsession, void *win)
+void unix_setup_config_box(struct controlbox *b, int midsession)
 {
     struct controlset *s;
     union control *c;
@@ -69,4 +69,11 @@ void unix_setup_config_box(struct controlbox *b, int midsession, void *win)
        }
     }
 
+    /*
+     * Serial back end is available on Unix. However, we have to
+     * mask out a couple of the configuration options: mark and
+     * space parity are not conveniently supported, and neither is
+     * DSR/DTR flow control.
+     */
+    ser_setup_config_box(b, midsession, 0x07, 0x07);
 }