Re: possible regression with pty.c commit

From: Alan Cox
Date: Mon Jul 13 2009 - 07:47:55 EST


> Alan, I forgot to tell - I'm using KDE 3.5.9 (3.5.10). Don't know whether this can be reproduced with KDE 4.x.x.

Dumping out the traces tty side the tty code appears to be
working correctly. The userspace on the other hand appears broken and to
only work by chance with the old code.

For one it wants for new output to appear before checking for "Password:"
and in doing so consumes any partial output it receives without checking.
I suspect it should be doing line += more

One for the KDE people as its not the kind of thing we can fudge back
kernel side if my diagnosis is right.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/