Re: [Toybox] microcom.c discarding data due to TCSAFLUSH

2024-05-23 Thread Yi-Yo Chiang via Toybox
On Fri, May 24, 2024 at 12:11 AM Rob Landley wrote: > On 5/20/24 09:42, Yi-Yo Chiang via Toybox wrote: > > Is there any particular reason to use TCSAFLUSH here? > > Partly because it's what strace said busybox and minicom were doing, and > partly > because I've had serial hardware that produced

Re: [Toybox] microcom.c discarding data due to TCSAFLUSH

2024-05-23 Thread Rob Landley
On 5/20/24 09:42, Yi-Yo Chiang via Toybox wrote: > Is there any particular reason to use TCSAFLUSH here? Partly because it's what strace said busybox and minicom were doing, and partly because I've had serial hardware that produced initial static on more than one occasion. In this case, it looks