Skip to main content

C++ manual pages for Linux/MacOS

Project description

http://img.shields.io/pypi/v/cppman.svg?style=flat https://img.shields.io/github/downloads/aitjcize/cppman/total.svg

cppman

C++ manual pages for Linux, with source from cplusplus.com and cppreference.com, supporting all C++ versions provided by the sources.

https://raw.github.com/aitjcize/cppman/main/wiki/screenshot.png

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

https://raw.github.com/aitjcize/cppman/main/wiki/demo.gif

Installation

  1. Install from PyPI:

$ pip install cppman

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 Trizen:

$ trizen -S cppman

or install the git version

$ trizen -S cppman-git
  1. Debian / Ubuntu: cppman is available in Debian sid/unstable and Ubuntu vivid.

$ sudo apt-get install cppman
  1. MacOS X: cppman is available in Homebrew and MacPorts.

$ brew install cppman

or

$ sudo port install cppman

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.

  • Q: Why is bash completion is not working properly with ::?

  • A: It is because bash treats : like a white space. To fix this add export COMP_WORDBREAKS="${COMP_WORDBREAKS//:}" to your ~/.bashrc.

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

Support

If you find this project useful, consider buying me a coffee! ☕

Buy Me A Coffee

Notes

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cppman-0.6.2.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cppman-0.6.2-py3-none-any.whl (1.7 MB view details)

Uploaded Python 3

File details

Details for the file cppman-0.6.2.tar.gz.

File metadata

  • Download URL: cppman-0.6.2.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for cppman-0.6.2.tar.gz
Algorithm Hash digest
SHA256 ba316e254a88da2eeb64d1276cbf638e980792626042ef0f2278ecd2c92d1561
MD5 756bb6f5f011a116a197b79844a1edda
BLAKE2b-256 84bd0b449aa0e2b98f93b1a945cd90eba4d8f829f902633f503f22b102d7010f

See more details on using hashes here.

File details

Details for the file cppman-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: cppman-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 1.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for cppman-0.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e08f15a8a1f022f90b6ecf73aae3c81a728f5c8cdb0361999949604ab7dbe907
MD5 cfc1bab17bc2e7f433929c81a2e5891c
BLAKE2b-256 1cf70eb67a953900e257e1c860d3b704b578989ab0da15b0aba6742672ee83f6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page