C++ manual pages for Linux/MacOS
Project description
cppman
C++ manual pages for Linux, with source from cplusplus.com and cppreference.com, supporting all C++ versions provided by the sources.
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
Installation
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.
Arch Linux users can find it on AUR or using Trizen:
$ trizen -S cppman
or install the git version
$ trizen -S cppman-git
Debian / Ubuntu: cppman is available in Debian sid/unstable and Ubuntu vivid.
$ sudo apt-get install cppman
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
Fork it
Create your feature branch (git checkout -b my-new-feature)
Commit your changes (git commit -am 'Add some feature')
Push to the branch (git push origin my-new-feature)
Create new Pull Request
Support
If you find this project useful, consider buying me a coffee! ☕
Notes
manpages-cpp is renamed to cppman since September 19, 2012
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cppman-0.6.3.tar.gz.
File metadata
- Download URL: cppman-0.6.3.tar.gz
- Upload date:
- Size: 814.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16a782b87b0848c5202b61965402258f8fc8260cbf0867cb876992eb3d046eb0
|
|
| MD5 |
ff03a9e295bf1e7f73d3a841c2467fbb
|
|
| BLAKE2b-256 |
a297b0c1de5b35cc4e66eb32accffd261c22d511aba964a7aed3b210a85851b7
|
File details
Details for the file cppman-0.6.3-py3-none-any.whl.
File metadata
- Download URL: cppman-0.6.3-py3-none-any.whl
- Upload date:
- Size: 886.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ecbf58ff8508f734b2f9f628734665e4ab74db2291dccdcaa967ba221045239
|
|
| MD5 |
0444c608ac8ed70607af7db394eb086b
|
|
| BLAKE2b-256 |
bc3abbf1c667f0b3a82ee701719438dc382e410e99e9aa1b88addb15f22cd838
|