oml@LANL.GOV (Olaf Lubeck) (07/06/88)
Is it possible to stdio from a C Client program to a NeWS window? Is this what psio does? How does one open a stream to a NeWS window? reply to: oml@lanl.gov
greg@gergle.UUCP (07/08/88)
>Is it possible to stdio from a C Client program to a NeWS window? >Is this what psio does? How does one open a stream to a NeWS window? >reply to: The psio* routines create a stream connection to a NeWS lightweight process. Different calls and data structures are used to make the C client interface portable. Something sent with psio_putc() will be read as stdin by the NeWS lightweight process. The catch is that NeWS lightweight process will be expecting PostScript to execute on the stdin file. This means you can't just do a gets() on the C stdin and expect to relay it to a NeWS window without some trickery. I hope this answers your question. -greg.