Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3718

Re: Reading from %pipe% blocks if the program writes only a few output

From news@zzo38computer.org.invalid
Newsgroups comp.lang.postscript
Subject Re: Reading from %pipe% blocks if the program writes only a few output
Date 2022-01-10 18:21 -0800
Organization Aioe.org NNTP Server
Message-ID <1641867519.bystand@zzo38computer.org> (permalink)
References <1641626040.bystand@zzo38computer.org> <zpCdnTXKXLGRGEb8nZ2dnUU7_83NnZ2d@giganews.com>

Show all headers | View raw


John Reiser <vendor@BitWagon.com> wrote:
> Sounds like the writing PostScript process should use 'flush' or '(%stdout%) flushfile'
> to force the few bytes into the file from the output buffer.

The writing process is not a PostScript program, but a C program; the
PostScript program is reading the output from it. (Note that it does
not do this with standard input (even if it is connected to the same
C program); it only does this with a pipe. (The C program does flush
the output. The PostScript program is doing input; it does flush stdout
but that doesn't affect the %pipe% at all.)

-- 
Don't laugh at the moon when it is day time in France.

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Reading from %pipe% blocks if the program writes only a few output news@zzo38computer.org.invalid - 2022-01-07 23:16 -0800
  Re: Reading from %pipe% blocks if the program writes only a few output John Reiser <vendor@BitWagon.com> - 2022-01-09 16:59 -0800
    Re: Reading from %pipe% blocks if the program writes only a few output news@zzo38computer.org.invalid - 2022-01-10 18:21 -0800
  Re: Reading from %pipe% blocks if the program writes only a few output (example) news@zzo38computer.org.invalid - 2022-01-11 15:56 -0800
    Re: Reading from %pipe% blocks if the program writes only a few output (example) luser droog <luser.droog@gmail.com> - 2022-01-16 15:36 -0800
      Re: Reading from %pipe% blocks if the program writes only a few output (example) news@zzo38computer.org.invalid - 2022-01-20 01:12 -0800
        Re: Reading from %pipe% blocks if the program writes only a few output (example) luser droog <luser.droog@gmail.com> - 2022-01-20 16:56 -0800
          Re: Reading from %pipe% blocks if the program writes only a few output (example) luser droog <luser.droog@gmail.com> - 2022-01-24 09:29 -0800

csiph-web