about summary refs log tree commit diff stats
path: root/res/urimethodmap
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-01-26 00:37:13 +0100
committerbptato <nincsnevem662@gmail.com>2024-01-26 00:43:18 +0100
commitfe9ac5f7824f935d22a1935b1f6f3c51823d3d02 (patch)
tree217fe9bd3715801d2a698269006a3c6819cbb575 /res/urimethodmap
parentb4aab9abc237b97a64def0f4ddf2dd7793f30916 (diff)
downloadchawan-fe9ac5f7824f935d22a1935b1f6f3c51823d3d02.tar.gz
Add mancha man page viewer
derived from w3mman2html.cgi, there are only a few minor differences:

* different man page opener command
* use man:, man-k:, man-l: instead of query string to specify action
* no form input (C-lC-uman:pageC-m is faster anyway)

TODO rewrite in Nim so we don't have to depend on Perl...
Diffstat (limited to 'res/urimethodmap')
-rw-r--r--res/urimethodmap3
1 files changed, 3 insertions, 0 deletions
diff --git a/res/urimethodmap b/res/urimethodmap
index 47de1364..ae82d648 100644
--- a/res/urimethodmap
+++ b/res/urimethodmap
@@ -13,3 +13,6 @@ ftps:		cgi-bin:ftps
 gopher:		cgi-bin:gopher
 gophers:	cgi-bin:gophers
 spartan:	cgi-bin:spartan
+man:		cgi-bin:man?%s
+man-k:		cgi-bin:man?%s
+man-l:		cgi-bin:man?%s