Re: [Toybox] [PATCH] xputs: Do flush

2024-05-18 Thread Yi-Yo Chiang via Toybox
What I wanted to address with this patch are: 1. Fix this line of xputs() https://github.com/landley/toybox/blob/master/toys/net/microcom.c#L113 The prompt text is not flushed immediately, so it is not shown to the user until the escape char is entered (which defeats the purpose of the prompt,

Re: [Toybox] [PATCH] xputs: Do flush

2024-05-18 Thread Rob Landley
On 5/16/24 06:46, Yi-Yo Chiang via Toybox wrote: > The comment string claims xputs() to write, flush and check error. > However the 'flush' operation is actually missing due to 3e0e8c6 > changing the default buffering mode from 'line' to 'block'. That's sort of an Elliott question? Originally,