Questions tagged [man]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
47 views

How do I update java manual pages with Homebrew?

I am using Homebrew to install AdoptOpenJDK 11. I want to see the documentation via the manual pages. Symptoms When I run man java, I see documentation from 2004. At the bottom: SEE ALSO javac(...
1
vote
0answers
99 views

How to open the Apple URL protocol x-man-page:// in iTerm and not Terminal (default)

Apple has some custom URLs defined and one of them is x-man-page. If you open a particular man page with it, it displays it in a nice yellow window (a provided profile for Terminal) with black text. ...
0
votes
0answers
58 views

man -k generates strange results - makewhatis is looking at files? [duplicate]

When I run man -k (apropos), makewhatis gives this weird output: ... ps2pdfwr(1) - Convert PostScript to PDF without specifying CompatibilityLevel, using ghostscript roff2pdf(1) ...
5
votes
2answers
1k views

Are my macOS man pages outdated?

I run macOS 10.14.6, "Mojave". I've been studying man screen to make some changes to its default behavior. The 2nd & 4th paragraphs under CUSTOMIZATION read: When screen is invoked, it executes ...
2
votes
0answers
149 views

macOS Terminal not using correct manpath

How to set $MANPATH or manpath for the macOS Terminal Help menu command: Open man Page for Selection? Having recently done a clean install of macOS Mojave (10.14.6), I am trying to get my macOS ...
3
votes
1answer
166 views

man -k and apropos cannot find pages in section 3 in Catalina

For example, run apropos printf: Printf(3o) - Formatted output functions Stdlib.Printf(3o) - no description gprintf(1), printf(1) - format and print data format(ntcl) ...
20
votes
7answers
3k views

Errors from whatis command. Unable to rebuild database with makewhatis?

How can I update the whatis database? $ sudo /usr/libexec/makewhatis Password: makewhatis: /usr/share/man/whatis.tmp: Read-only file system I believe being able to update this database will solve ...
1
vote
2answers
94 views

“man say” in macOS fails

macOS 10.14.4 If I type man say at the command line, I get the error: man: no manual page say. I've checked and the file say.1 is present in the folder /usr/share/man/man1. Why can man not find it?
0
votes
1answer
292 views

Where is the manpage of otools gcc etc. on macOS?

Many tools related with binaries, such otools, gcc, don't have manpages on my macOS (10.13.6). Is there a way to install the manpages for them?
20
votes
6answers
3k views

Copy all the text of an entire `man` page from Terminal.app

I am reading a very long man page (man ssh). I want to save all of that text for more convenient reading in a text-editor. Unfortunately, choosing either of : Edit → Select All → Copy Shell → Export ...
2
votes
2answers
301 views

Are man page sections 2 and 3 available in macOS Mojave?

Are the system calls (section 2) and library class (section 3) of the man pages available in macOS Mojave? I recently upgraded from an ancient MacBook Pro running OS X El Capitan and they aren't ...
14
votes
1answer
1k views

Why aren't the section titles of man pages completely greppable?

This was tested in El Capitan and in a colleague's High Sierra, in the standard Terminal (bash). user@hostname ~ $ man ls | grep "BU" BUGS user@hostname ~ $ man ls | grep "BUG" user@hostname ~ $ ...
1
vote
1answer
39 views

Exit Man opened from the touch bar

So in terminal there is a fun feature now, as you can open a man page of the current command by using the touchbar. I failed to close the man page though. The usual q did nothing as well as esc or ...
0
votes
1answer
72 views

Wrong indentation and spacing for manual pages in terminal

I am wondering why the manual pages in the Terminal app look like shite on my Mac running macOS Sierra 10.12.5? If I run the command man grep for instance I get a crappy layout of text in the ...