3 ms·
Maybe I can search the interwebs to answer this question but I prefer to ask the HN crowd. Back in highschool in remember someone (on an HP-UX) showing me that
by darkwater 3y ago
Maybe I can search the interwebs to answer this question but I prefer to ask the HN crowd. Back in highschool in remember someone (on an HP-UX) showing me that you could jump to any underlined word (referring to a section) by pressing some key combination, but for the life of me I cannot remember which.
I already checked man(1) and man(7), and could not find it either. Maybe this is just a fake memory?
- epcoa 3y agoI’m not familiar with any custom man viewer functionality but maybe you're thinking of the CDE help viewer, dthelpview which would display man pages.
- darkwater 3y agoNo, it was in a dumb text terminal. But maybe I just made it up, and I'm confusing it with classic "hjkl" navigation.
- enriquto 3y agoyou can, from inside vim. You press "K" over a word and it opens the manpage. If you have configured vim as your manpage viewer, you can thus navigate all manpages.
- sovietswag 3y agoThis sounds like texinfo (invoke via the ‘info’ command). Fun fact ironically a lot of the original groff documentation is written in texinfo, see: https://lists.gnu.org/archive/html/groff/2005-10/msg00107.html https://lists.gnu.org/archive/html/groff/2005-10/msg00107.ht...
- ksherlock 3y agoIf it was man, keep in mind that "man ohman" is essentially "nroff -man /usr/share/man/man1/ohman.1 | $PAGER" so you're not interacting with man or nroff but a pager. Nowadays, less (or more, which is probably actually less) is the most common pager but there were others and HPUX may have used something like pg. pg was an AT&T thing, more was a BSD thing, less was a GNU thing. With all 3, / starts a regular expression search so you could use that to search for anything, underlined or not. Less also supports tag files so you could use 't' to jump to the next tag.