cppman icon indicating copy to clipboard operation
cppman copied to clipboard

How to read headers or not-classes via cppman?

Open autistic456 opened this issue 5 years ago • 2 comments

I cannot read for example headers, like: $ cppman '<iostream>', or man page for operators like $ cppman 'operators precedence'. Can authors please add to their README file also naming? Like what they named each section of man pages or a tutorial hot to look-up and properly name the man page entry? Also, may pages could not be reached: err 404

autistic456 avatar Jun 25 '20 11:06 autistic456

I also found similar problems. I can't find a way to access pages like constructor, lambda, etc. cppman seems only catch pages under std::

Gray-Stone avatar May 02 '23 20:05 Gray-Stone

For what I needed so far, it turns out You can do it by passing page title as the only unnamed parameter. cppman "C++ Operator Precedence" (or a unique string prefix for that page, e.g. cppman "C++ Op", i just usually reverse-search with C^-r + op)

cppman "Lambda expressions" or cppman "Lambda " (with the last space being necessary)

Though the overview pages"C++ reference" and "C++ language" are still half useless without cross-links to man pages, whose names are listed just as a plain text there.

zigmars avatar Sep 18 '23 10:09 zigmars