On Sat, 19 Mar 2005 10:25:43 +0100 Oliver Neukum <[EMAIL PROTECTED]> wrote:
> Am Samstag, 19. M�rz 2005 06:41 schrieb Pete Zaitcev:

> > I would like someone who cares about cdc-acm to consider this patch.
> > 
> > A customer of mine hits this problem. They use a modem for remote access.
> > User connects, logs in. Then, bash prompt does not scroll, just overwrites
> > lowest line. This happens because LF is lost, only CR goes out. There's
> > a comment in the patch about it.
> 
> Upon further consideration, is this a comprehensive fix? As far as I can see
> it will work only for two byte combinations like CR/LF. A three or more byte
> combination will still fail. Isn't it possible to tell the line disciplines
> how many buffers there are?

Normally the line disciplines test for fit before every write. I do not
think another case exists where a single test is followed with several
smaller writes. So, the patch is limited this way on purpose. The thing
is, once we have a software FIFO, where do we stop expanding it? I thought
I needed to draw a line in the sand.

-- Pete


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to