guohengkai / cppman

C++ 98/11/14 manual pages for Linux/MacOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

image

image

cppman

C++ 98/11/14 manual pages for Linux, with source from cplusplus.com and cppreference.com.

image

Features

  • Supports two backends (switch it with cppman -s):
  • Syntax highlighting support for sections and example source code.
  • Usage/Interface similar to the 'man' command
  • Hyperlink between manpages (only available when pager=vim)
    • Press Ctrl-] when cursor is on keyword to go forward and Ctrl-T to go backward.
    • You can also double-click on keyword to go forward and right-click to go backward.
  • Frequently update to support cplusplus.com.

Demo

Using vim as pager

image

Installation

  1. Install from PyPI:

Note that cppman requires Python 3. Make sure that either pip is configured for Python 3 installation, your default Python interpreter is version 3 or just use pip3 instead.

  1. Arch Linux users can find it on AUR or using Yaourt:

or install the git version

  1. Debian / Ubuntu: cppman is available in Debian sid/unstable and Ubuntu vivid.

Package Maintainers

FAQ

  • Q: Can I use the system man command instead of cppman?
  • A: Yes, just execute cppman -m true and all cached man pages are exposed to the system man command. Note: You may want to download all available man pages with cppman -c.

Bugs

  • Please report bugs / mis-formatted pages to the github issue tracker.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Notes

  • manpages-cpp is renamed to cppman since September 19, 2012

About

C++ 98/11/14 manual pages for Linux/MacOS

License:GNU General Public License v3.0


Languages

Language:Python 88.3%Language:Vim Script 5.4%Language:Roff 3.1%Language:Shell 2.9%Language:Makefile 0.3%