bugDatabase-driven manual pager suite - Bugs: bug #59542, man -H: (asynchronous) browser...

 
 

bug #59542: man -H: (asynchronous) browser fails to find generated html

Submitter:  Konrad Schwarz <znok>
Submitted:  Wed 25 Nov 2020 02:53:12 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 17 Mar 2022 06:57:32 PM UTC, comment #1: 
Colin Watson <cjwatson>
Group administrator
Wed 25 Nov 2020 02:53:12 PM UTC, original submission:  

I've seen this on both Fedora and Cygwin: starting man -Hfirefox or man -Hcygstart results in an error that the generated HTML file in $TMP cannot be found.

Perhaps man is deleting this file too early?  I.e., the "browser" after -H is merely forwarding the file name to the heavyweight main browser process; that process could report success back before actually opening the file, causing the "browser" spawned by man to exit quickly, at which point man deletes the file, before the main browser process actually opens the file.

If so, a possibly work around would be for man to wait at least e.g. 10s before deleting the file.  Or one could cache the generated HTML in the man hierarchy, similar to cat pages.

Konrad Schwarz <znok>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cjwatson (Posted a comment)
  • -email is unavailable- added by znok (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-03-17 cjwatson StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code