A bat
script to simulate a basic version of man
for Windows.
choco install less gzip
ansicon
(Only on older versions of Windows, Windows 10 can handle colours fine without it)
- Select the version you want and rename it
man.bat
- Put
man.bat
somewhere in you PATH. - Set PATH_TO_FOLDER_WITH_MAN_DIRS and PATH_TO_FOLDER_WITH_GZ_MAN_DIRS to the location(s) of your Manpages.
- Set PATH_TO_GROFF/PATH_TO_MANDOC to the full PATH to your
groff.exe
ormandoc.exe
NOTE: You will have to setup/install your manpages manually. (i.e. Copy them to your man_root/man_gz_root folder(s))
NOTE2: The provided manpages are pandoc conversions of markdown files found here for the commands listed by running help
on Windows.
NOTE3: (Tables display better with the mandoc
version of the script.)