Package: man2html
Version: 1.6g-12
Severity: normal
Tags: patch
The problem:
1) Install and configure man2html package.
2) Make sure that MANHTMLPAGER is not set.
3) Run `hman` command (script) to view man pages in the default
browser: lynx.
3) Bug: Get red lynx error: "executable rejected due to location or
path"
Proposed fix:
Change line# 70 in /usr/bin/hman from:
CG="lynxcgi:/usr/lib/cgi-bin/man"
to
CG="http://$HOST/cgi-bin/man"
With fix in place `hman` runs as expected.
A temporary workaround, to avoid this problem rather than fixing it:
Set `MANHTMLPAGER=sensible-browser` prior to starting `hman`.
-- System Information:
Debian Release: 10.4
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-9-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages man2html depends on:
ii apache2 [httpd-cgi] 2.4.38-3+deb10u3
ii debconf [debconf-2.0] 1.5.71
ii gawk 1:4.2.1+dfsg-1
ii libc6 2.28-10
ii lynx 2.8.9rel.1-3
ii man-db 2.8.5-2
ii man2html-base 1.6g-11
ii sensible-utils 0.0.12
man2html recommends no packages.
Versions of packages man2html suggests:
ii chromium [www-browser] 80.0.3987.162-1~deb10u1
ii google-chrome-stable [www-browser] 83.0.4103.106-1
ii lynx [www-browser] 2.8.9rel.1-3
ii swish++ 6.1.5-5
ii w3m [www-browser] 0.5.3-37
-- debconf information:
man2html/index_manpages: true