[Udpcast] problem reading from keyboard in a script with udp-sender

DeadManMoving sequel at neofreak.org
Mon Mar 6 17:19:06 CET 2006


Hi list,

i've been bashing my head on this one for a long time so i'd like to
know if someone could give me an hint on it.

I'm writing a script to control how i use udpcast to install my
machines. My problem is that when i try to use "read" (bash builtin),
right after udp-sender complete his transfer (Transfer complete.
Disconnecting ...), "read" cannot read from the keyboard and i'm having
this error :

read: read error: 0: Resource temporarily unavailable

I even try to write my script in perl but "chomp" fail at the same
place...

I'm pretty sure that it is a File Descriptor problem but don't know how
to solve it. I think the relevant udpcast code is in console.c but i'm
not a C programmer so i don't understand very well how things or going
out in this file.


Thanks a lot!

Tony




More information about the Udpcast mailing list