Summary: | would like perldoc IO Slave | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | mark |
Component: | general | Assignee: | Michael Pyne <mpyne> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | kde-bugs, kjetil, nicolasg |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | All | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
mark
2002-11-13 01:21:39 UTC
I suppose this bug could technically be marked as "Resolved" because this has been implemented in KDE 3.2.2. However, if it is, I'll be tempted to open a new bug report about /how well/ it works. :) - If the 'perldoc' command is not installed, a white screen is shown instead of a useful message that it needs to be installed. - "perldoc:/" should do something useful by default, it doesn't for me. I get an error: "Can't enter folder /". This gives me no clue how to address the issue. - Using the IO slave on a known-to-exist module doesn't work for me: "perldoc:/Fatal" returns "The only existing directories are functions and faq". - Based on that message, you might think these syntaxes would return some result, but they don't: "perldoc:/faq/" or "perldoc:/functions/" - The only variation that worked for me was this, and I had to guess at the syntax: perldoc:/functions/push - Even when a result comes up, the results are not formatted. The function name, arguments and description are all run together. Looking at the page source, I see that a simple "blockquote" is used. It should be quite easy to generate some nicely formatted HTML. This would work for the above case: perldoc -uf push | pod2html That just passes the unformatted POD to an HTML formatter. I'm glad to see some progress has been made here and I look forward to a higher quality implementation of it. *** Bug 84324 has been marked as a duplicate of this bug. *** *** Bug 70540 has been marked as a duplicate of this bug. *** To comment #1: where is the KIO slave? As for supporting by the standard way, it means supporting the man output given by the corresponding Perl tool (which perldoc uses). However there is a problem supporting this man output with the current man: KIO slave. Have a nice day! *** This bug has been confirmed by popular vote. *** I have imported the Perldoc ioslave I wrote back in December into playground/ioslaves. Once I have moved it to kdesdk (probably when the 4.2 window opens) I will close this bug but until then this is probably what you want... kio_perldoc is available from kdesdk, and will be released with KDE 4.2. |