Bug 117449 - kpdf should read files from stdin with the - option
Summary: kpdf should read files from stdin with the - option
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kpdf
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR wishlist
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-01 19:03 UTC by Tristan Miller
Modified: 2010-03-05 15:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Implements reading from stdin, based on code from kghostview (3.58 KB, patch)
2009-01-05 22:03 UTC, Matthew Flaschen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Miller 2005-12-01 19:03:19 UTC
Version:            (using KDE KDE 3.5.0)
Installed from:    Slackware Packages

kghostview will read a postscript file from stdin when the - option is used.  Example:

$ antiword -pa4 -m8859-1 somefile.doc | kghostview -

However, kpdf will not do likewise for PDF files in stdin:

$ antiword -aa4 -m8859-1 somefile.doc | kpdf -

Please fix this so that kpdf will read from stdin.  Obviously, the file should not appear in the "Open recent" menu.
Comment 1 Rex Dieter 2005-12-01 19:38:21 UTC
*** Bug 117450 has been marked as a duplicate of this bug. ***
Comment 2 Chris Bainbridge 2006-06-04 17:23:33 UTC
*** This bug has been confirmed by popular vote. ***
Comment 3 Tristan Miller 2007-06-16 11:00:45 UTC
Please also see Bug 117452 for the general case.
Comment 4 Raúl 2007-06-17 02:07:30 UTC
I suggest marking this as duplicate of http://bugs.kde.org/show_bug.cgi?id=117452
Comment 5 Tristan Miller 2008-11-20 13:03:43 UTC
I should add, this feature should be mentioned in the usage notes output by the --help option.
Comment 6 Matthew Flaschen 2009-01-05 22:00:10 UTC
I implemented this, basically along the lines of kghostview.  A patch is attached.  It doesn't include any documentation since I didn't know how that was done; however, it should just be a line or two (e.g "If - is used in place of a file, KPDF will read a PDF from standard in.").
Comment 7 Matthew Flaschen 2009-01-05 22:03:13 UTC
Created attachment 29945 [details]
Implements reading from stdin, based on code from kghostview
Comment 8 Albert Astals Cid 2009-01-05 23:02:59 UTC
kpdf is in deep maitainance mode, just critical bugfixes so i'm not going to add this feature to kpdf sorry.

On the other hand okular already implements this feature.
Comment 9 Matthew Flaschen 2009-01-05 23:13:55 UTC
Oh, sorry to hear that.  If you are not willing to reconsider (it's really small, non-disruptive code), perhaps you could close this as WONTFIX.
Comment 10 Tristan Miller 2010-03-05 15:54:31 UTC
Closing as UNMAINTAINED.  Also, as another poster mentioned, Okular has this feature.