Article View: comp.protocols.appletalk
Article #6040papif won't eat pipes
From: Kenton C. Phillips
Date: Tue, 02 Jan 1990 20:08
Date: Tue, 02 Jan 1990 20:08
24 lines
1285 bytes
1285 bytes
I have CAP 5.0 running on a Sun (OS 3.5). I have found that papif works fine in the context papif <file but only gets the first several bytes when fed through a pipe: cat file | papif. This means that I can't use filters (e.g. psraster), a la TranScript's psif filter shell script. Scrutiny reveals that papif forks a "<stdin>" process in front of itself when reading from a pipe, presumably to allow seeking for page reversals. If 'file' is text, then papif also forks a pstext process. In the first case above, pstext gets put in front of papif. In the second case, in front of papif but behind "<stdin>". Can anyone help me to get papif to work with pipes? Thanks. -- Kenton C. Phillips Computer Systems Manager MIT Center for Space Research
Technical Details
Message-ID:
<1990Jan2.200830.22744@athena.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!space.mit.edu!kentonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!snorkelwacker!bloom-beacon!space.mit.edu!kenton From: kenton@space.mit.edu (Kenton C. Phillips) Newsgroups: comp.protocols.appletalk Subject: papif won't eat pipes Keywords: cap, papif Message-ID: <1990Jan2.200830.22744@athena.mit.edu> Date: 2 Jan 90 20:08:30 GMT Sender: news@athena.mit.edu (News system) Reply-To: kenton@space.mit.edu (Kenton C. Phillips) Distribution: na Organization: MIT Center for Space Research Lines: 24