On Wednesday 20 February 2008 17:39, Jate Sujjavanich wrote:
> I run a script in the background which starts dropbear client. Dropbear
> sets stdin to non-blocking. This causes my msh shell in the foreground
> to print infinite prompts because lineedit is expecting a blocking read
> (in safe_read).
> 
> msh -> sh spawn_dbclient & -> dbclient args
> 
> Should dbclient's fcntl be affecting msh's stdin?

BTW: just "fixed" it. see nonblock_safe_read() in libbb.
--
vda
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to