diff --git a/src/unix_interact.c b/src/unix_interact.c index 467acc5b679b5c9ba3c1c59cce203ad53f398467..cf46a899199b8c2d5b72f03ef479c91ca9cf42bf 100644 --- a/src/unix_interact.c +++ b/src/unix_interact.c @@ -257,9 +257,14 @@ do_make_raw(struct terminal_attributes *s) CAST(unix_termios, self, s); CLONED(unix_termios, res, self); - /* FIXME: Modify the VMIN and TIME attributes. */ CFMAKERAW(&res->ios); + /* Modify VMIN and VTIME, to save some bandwidth and make traffic + * analysis of interactive sessions a little harder. */ + res->ios.c_cc[VMIN] = 4; + /* Inter-character timer, in units of 0.1s */ + res->ios.c_cc[VTIME] = 1; + return &res->super; }