can't change tty speed and buffer size on 8.0
Mikolaj Golub
to.my.trociny at gmail.com
Tue Oct 13 05:32:52 UTC 2009
On Mon, 12 Oct 2009 16:26:54 -0700 Doug Barton wrote:
> Mikolaj Golub wrote:
>> Hi,
>>
>> On 8.0-RC1 if you run this command:
>>
>> cat > /dev/null
>>
>> and try to input a long line, the maximum length you can input is 1920
>> characters.
>>
>> I have investigated a bit how I can increase a tty buffer as this is a problem
>> for me (I have logs with very long lines and I used to copy&past a particular
>> line into input of some script to structure it).
>
> I have no useful input on the buffer size issue, but if you wanted to
> post a bit of your script we may be able to help you find a different
> solution that doesn't involve cat. :)
Thanks, but cat was taken as a simple example just to illustrate the
problem. The real scripts are usually on perl with 'while(<>)' loop or 'perl
-ne' one liners. And sure I could find ways to workaround the problem and
actually this is what I did until ed@ provided the solution.
--
Mikolaj Golub
More information about the freebsd-stable
mailing list