On 3/23/19 4:21 PM, Carlos Franke wrote:
> Hi,
> 
> other then using [shell], is there a way to read from a named pipe /
> fifo in Linux?
> 
> I tried [textfile] and [msgfile] from zexy. Both fail to read from a
> pipe, [msgfile] with the error message:
> 
>     pd: getbytes() failed -- out of memory
>     msgfile_read: could not reserve -1 bytes to read into


the problem being, that pipes don't have a "size", and both textfile and
msgfile attempt to read the entire file on startup.

anyhow, zexy also has [freadln] and [fwriteln] which should work ok.

gmads
IOhannes

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to