Red Hat Bugzilla – Bug 435441
RFE Use of standard input in evince
Last modified: 2008-08-28 08:58:39 EDT
Description of problem:
At the moment, evince does not deal with standard input.
If the content of a PDF files comes from the standard input, it is silently
Version-Release number of selected component (if applicable):
evince < PDF_FILE
COMMAND_GENERATING_PDF | evince
Steps to Reproduce:
1. generate a PDF file with an application such as ps2pdf, or any other PDF
2. pipe it to evince
3. get an empty display
evince starts with an empty window.
evince starts with the PDF stream opened in the display window
Test case: man -t man | ps2pdf - | evince
or maybe: man -t man | ps2pdf - | evince -
In fact, the kind of behaviour I'm thinking about is gv's
man -t man | ps2pdf - | gv -
Triage here. Is this even possible to do?
It's possible, but it's not a feature that we'll add on the fedora side. Work with upstream, suggest the feature on the evince mailing list and see how that works out.
(In reply to comment #2)
> It's possible, but it's not a feature that we'll add on the fedora side. Work
> with upstream, suggest the feature on the evince mailing list and see how that
> works out.
Sent a request on the mailing list as of today.
2008-08-28 klockan 14:17 skrev firstname.lastname@example.org:
> > At the moment, evince does not deal with standard input.
> > If the content of a PDF files comes from the standard input, it is silently
> > discarded.
That is deliberate. Evince is a GUI program, not a command line filtering
tool. Implementing this would interfere with the "single instance" approach
currently used. Perhaps a shell script like this would help you:
cat > $TMPFILE