Comments (5)
Hey there! Thanks for taking interest in stdman and hopefully we can get this resolved for you. To get some more info, will you answer these questions:
- Did you install stdman? :)
- Did you run
sudo mandb
after the install? - Does
man std::string
show the stdman man page properly? - Do you have bash-completion installed? (
yum install bash-completion -y
)
Cheers!
from stdman.
1、installed stdman and export MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man:/usr/man:/home/tang/work/stdman/share/man:/home/tang/work/stdman/man
2、run sudo makewhatis according answers from https://www.linuxquestions.org/questions/linux-newbie-8/mandb-command-not-found-4175473024/
because mandb: command not found
.
3、man std::string works.
4、installed bash-completion.
but still not work.
I used the same machines with others, so I don't want to have an effect on others. so I export MANPATH in my own bashrc.
from stdman.
Thanks for the quick update and good information!
- After installing bash-completion, did you reboot or open a new terminal or source the proper scripts?
- Does
man std::string::c_str
work? (just to prove that it's there to be completed) - Are you using bash or some other shell?
Exporting MANPATH
in your ~/.bashrc
should work just fine, so it's likely a different problem. When you run man std::string
, what does it look like? Does the very bottom line, in the left, say a version number or does it say libstdc++
? If it says libstdc++
, then the man page you're seeing for man std::string
is from GCC and not from stdman and our issue is with pathing. Otherwise, this seems like an issue with your shell and bash completion.
from stdman.
I forgot to change to a new terminal.
Now it works.
using bash.
both bash-completion
and sudo makewhatis
is needed for stdman works?
some one may not have root privilege.
from stdman.
makewhatis
/mandb
need to be run by root, but many systems may already have a cron job for doing this. If you want to use the man pages right away, without specifying their full path, the commands will likely be needed.
Glad things are working for you!
from stdman.
Related Issues (20)
- `apropos` does not show CPPreference manpages HOT 4
- fails to install on arch linux HOT 9
- Can't open man page for std::ref and others HOT 9
- std::async Synopsis formatting is messed up HOT 1
- New release HOT 1
- mac HOT 1
- Tags/Releases synced with cppreference archive updates HOT 3
- No manual entry for std::string_view HOT 1
- Suggestion to avoid need for MANPATH or installation in /usr/local
- equations in docs HOT 7
- functional manpage HOT 1
- How to man same name but from different header?
- cannot completion when pressing man std::string:: + tab HOT 1
- Minor cleanup coding format of <code>...</code>
- No manual entry for member functions HOT 6
- new tag release? HOT 2
- Non-printing characters in some manpages
- Some of the man pages don't include the examples from the website HOT 3
- Tag for 2022.02.01 missing? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stdman.