[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 6k buffer bug in shells

From: L A Walsh
Subject: Re: 6k buffer bug in shells
Date: Sat, 10 Feb 2018 04:32:13 -0800
User-agent: Thunderbird

Chet Ramey wrote:

There have been several interesting discussions on this topic, most
centered on Linux:

   Seems most of those were 5-6 years ago.  Might explain why I can't
reproduce it, though I'm pasting into a remote TTY window in each case.
(one SecureCRT, other xterm) -- w/about 290899 chars pasted.

   Only case I've seen of pasted chars being eaten is if the
source code was indented with TAB... then various autocomplete
prompts swallow chars randomly based on number
of matching autocomplete entries.

including the following comment:

"So, after quite a lot of extra hours spent on this, we were able to
track MOST of the breakage to this commit:

Margarita Manterola and Maximiliano Curia did most of the work; here is
the final summary of their findings (the subsequent thread is interesting
as well):


The question is how to deal with large amounts of data in a situation where
the tty modes keep getting changed after each newline, while preserving
acceptable behavior for the usual case of cooked mode.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]