On 03/01/2023 06:15, Herbert Xu wrote:
Your patch breaks history support since that relies on there being a whole line in the input buffer.
Does it? preadbuffer() knows to call history() with the H_APPEND flag to append a next chunk of input to what was already added to the buffer.
Cheers, Harald van Dijk