[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Writing to bash's tty too fast: workarounds?
From: |
Chet Ramey |
Subject: |
Re: Writing to bash's tty too fast: workarounds? |
Date: |
Tue, 10 Apr 2012 13:31:40 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
On 4/10/12 1:22 PM, George Nachman wrote:
> Thanks for getting back to me, Chet. The theory about the kernel's handling
> of a full input queue seems likely. In the case of bash + readline, would
> it be feasible to avoid readline changing the terminal settings while
> reading a here document? Seems like the only remedy if the kernel is
> misbehaving in this case.
But how would bash or readline know whether or not the user intends to
enter here-document lines individually, or cut and paste a large amount
of data? Only the user knows that for certain, and there is already a
workaround available to him.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/