[Coco] OS9 Programming question
Robert Gault
robert.gault at att.net
Fri Jan 18 21:44:23 EST 2013
Bill Pierce wrote:
>
> Actually, I think I answered my problem by reading my own question (as usual). I noted in the previous response to Robert Gault that the signals were being sent to the keyin routine and being processed as a key read. As a temporary fix until I figure out why the chars are being sent to start with, I've added a filter to my input routine to filter any character below chr$(8) as the characters seem to be between 1-4 anyway. This way the arrow keys will still come through and it seems to have solved the problem.
> This is only a temp fix. The real problem needs to be resolved in the player programs where the chars are being generated.
>
> Bill P
>
Could be.
What does wait do when it receives data from the child process?
for(sngnum = 0; sngnum <= numsng; sngnum++) {
fname = selection[sngnum];
args = parms[sngnum];
os9fork(fname,len,args,1,1,80);
wait(0);
}
How would the substitution of sleep for wait work with your code?
More information about the Coco
mailing list