From 988c4c42636a539f770117949e24e9f5fb49f34f Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Thu, 18 Feb 2016 12:23:21 +0100 Subject: [PATCH] termios.3: Further improvements to recent tweaks of canonical mode 4096 char limit Reported-by: Peter Hurley Signed-off-by: Michael Kerrisk --- man3/termios.3 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man3/termios.3 b/man3/termios.3 index 0cac2c678..3aaa365b3 100644 --- a/man3/termios.3 +++ b/man3/termios.3 @@ -732,8 +732,12 @@ and the remaining characters will be available for a future The maximum line length is 4096 chars (including the terminating newline character); lines longer than 4096 chars are truncated. -After 4095 characters, -input data up (but not including) any terminating newline is discarded. +After 4095 characters, input processing (e.g., +.B ISIG +and +.B ECHO* +processing) continues, but any input data after 4095 characters up to +(but not including) any terminating newline is discarded. This ensures that the terminal can always receive more input until at least one line can be read. .PP