Neovim: test man.vim on sunOS

Created on 7 May 2018  路  3Comments  路  Source: neovim/neovim

low good first issue runtime

Most helpful comment

I would like to tackle this.

All 3 comments

I would like to tackle this.

Hi,

not sure if I understand what you're asking, but on OS X, man -l is illegal:

```mbp:nvim-osx64 marek$ man -l
man: invalid option -- l
man, version 1.6c

usage: man [-adfhktwW] [section] [-M path] [-P pager] [-S list]
[-m system] [-p string] name ...

However, you may wanna be looking for `man -d`:

```man -d nvim
Reading config file /private/etc/man.conf
Looked whether there exists a message catalog man, but there is none
(and for English messages none is needed)

found man directory /usr/share/man
found man directory /usr/local/share/man
found man directory /usr/X11/man
found manpath map /bin --> /usr/share/man
found manpath map /sbin --> /usr/share/man
found manpath map /usr/bin --> /usr/share/man
found manpath map /usr/sbin --> /usr/share/man
found manpath map /usr/local/bin --> /usr/local/share/man
found manpath map /usr/local/sbin --> /usr/local/share/man
found manpath map /usr/X11/bin --> /usr/X11/man
found manpath map /usr/bin/X11 --> /usr/X11/man
found manpath map /usr/bin/mh --> /usr/share/man
# etc. etc

And man -M adds a man page on path, i.e. man -M share/man/ nvim is successful, when man nvim is not. Note that when I wanna combine the two, i.e. man -dM share/man/ nvim, this does not work for some reason:

not executing command: (cd '/Users/${profile_name}/Downloads/nvim-osx64/share/man/' && (echo ".ll 11.7i"; echo ".nr LL 11.7i"; /bin/cat '/Users/${profile_name}/Downloads/nvim-osx64/share/man//man1/nvim.1') | /usr/bin/tbl | /usr/bin/groff -Wall -mtty-char -Tascii -mandoc -c | (/usr/bin/less -is || true))

Does that help?

PS: This is Mac OS Sierra - 10.12.6

We just need the :Man command tested on illumos or solaris or whatever.

We can close this and expect a bug report if anyone finds a problem there.

Was this page helpful?
0 / 5 - 0 ratings