+enum {
+ /*
+ * Line discipline option states: off, on, up to the backend.
+ */
+ LD_YES, LD_NO, LD_BACKEND
+};
+
+enum {
+ /*
+ * Line discipline options which the backend might try to control.
+ */
+ LD_EDIT, /* local line editing */
+ LD_ECHO /* local echo */
+};
+
+enum {
+ /*
+ * Close On Exit behaviours. (cfg.close_on_exit)
+ */
+ COE_NEVER, /* Never close the window */
+ COE_NORMAL, /* Close window on "normal" (non-error) exits only */
+ COE_ALWAYS /* Always close the window */
+};
+