From f1c982608f9ce86a62418f6868df3b8be8501ac5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 20 Aug 2009 18:35:53 +0000 Subject: [PATCH] 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. --- cmd-new-session.c | 4 +--- 1 file changed, 1 insertion(+), 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 @@ -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;