aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-08-20 18:35:53 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-08-20 18:35:53 +0000
commitf1c982608f9ce86a62418f6868df3b8be8501ac5 (patch)
treeb73b89a677fceded61cefdb6a8eef9d079599f60
parentc18e027ad54e60f56aecf4442b353793c75e33a2 (diff)
downloadrtmux-f1c982608f9ce86a62418f6868df3b8be8501ac5.tar.gz
rtmux-f1c982608f9ce86a62418f6868df3b8be8501ac5.tar.bz2
rtmux-f1c982608f9ce86a62418f6868df3b8be8501ac5.zip
VTIME and VMIN are only necessary in noncanonical mode, so Solaris reuses the
VEOF and VEOL indexes for them. ICANON is set by default, so don't bother to set VTIME and VMIN.
-rw-r--r--cmd-new-session.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmd-new-session.c b/cmd-new-session.c
index 032657b9..3974b666 100644
--- a/cmd-new-session.c
+++ b/cmd-new-session.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-new-session.c,v 1.58 2009-08-20 05:34:57 nicm Exp $ */
+/* $Id: cmd-new-session.c,v 1.59 2009-08-20 18:35:53 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -214,8 +214,6 @@ cmd_new_session_exec(struct cmd *self, struct cmd_ctx *ctx)
tio.c_cc[VERASE] = CERASE;
tio.c_cc[VKILL] = CKILL;
tio.c_cc[VEOF] = CEOF;
- tio.c_cc[VTIME] = CTIME;
- tio.c_cc[VMIN] = CMIN;
tio.c_cc[VSTART] = CSTART;
tio.c_cc[VSTOP] = CSTOP;
tio.c_cc[VSUSP] = CSUSP;