In the Gui4Cli source this part reacts to a change in console output specification
(con:0/0/.. etc)
done with the Gui4Cli interpreter command
Set output
Is there any way of checking if I can read from Pipe: without it blocking (due to no data)?
I found SetBlockingMode(), but (1) it has the wrong semantics (I can't check a Read() will succeed without calling Read(), thus getting data I don't want yet), and (2) it's OS4-only (ideally I'd like something compatible with OS3).
Is there an easy way to check that an AmigaDOS command exists? In my particular case, I wish to check that "Curl" exists in the command path, so that I can check before hand if executing "Run >NIL: Curl ..." should work or not (and if not then warn the user it is missing).
I canNOT just try to Lock() the command's name, because AmigaDOS will search the command path, but Lock() will not!
I just tried using LoadSeg(), but that doesn't seem to search the command path either.
I have a program that uses a plugin system. The main executable feeds audio data to the selected plugin sequentially. Whenever a chunk of data is received, the plugin invokes an encoding routine, which then writes the encoded portion of data into a file. The result is an MP3, FLAC etc. file, depending on the selected plugin.