Hacker News new | ask | show | jobs
by s20n 66 days ago
For me man(3) is the most interesting of them all.

Run `apropos . | grep "(3)"`; you'll be surprised how many libraries come with man pages for their functions (e.g; curl).

Now I wonder if there are any IDEs that can automatically dial into these man pages and pull up documentation for functions?

2 comments

  apropos --sections=3 .
may be a better version of what you propose, depending on what you're looking for. On my system, this also gives me entries from sections like '3x' and '3ossl' and '3bsd'.
There's guaranteed to be some sort of context-sensitive man plugin for vim &| nvim for shell scripts.

Also, have you ever seen the DOS Borland IDE context sensitive help UX?

I think for Vim, it’s “K”. But for emacs, you only need to use “m-x man” and have a nice viewer.
Cool. And GNU "info" is a hyperlinked doc viewer system. Some GNU and other projects promote info doc as more authoritative than man pages. Man pages are expanded cheat sheets.

For in-depth doc, I do appreciate docset-based indexed search apps like Dash that can download and update comprehensive doc locally with greater performance and less internet dependency than internet only. There's even vim and nvim plugins to bring that to them too without leaving the terminal.