diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-20 18:35:53 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-08-20 18:35:53 +0000 |
commit | f1c982608f9ce86a62418f6868df3b8be8501ac5 (patch) | |
tree | b73b89a677fceded61cefdb6a8eef9d079599f60 /cmd-new-session.c | |
parent | c18e027ad54e60f56aecf4442b353793c75e33a2 (diff) |
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.
Diffstat (limited to 'cmd-new-session.c')
-rw-r--r-- | cmd-new-session.c | 4 |
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; |