diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-26 00:37:13 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-26 00:43:18 +0100 |
commit | fe9ac5f7824f935d22a1935b1f6f3c51823d3d02 (patch) | |
tree | 217fe9bd3715801d2a698269006a3c6819cbb575 /res | |
parent | b4aab9abc237b97a64def0f4ddf2dd7793f30916 (diff) | |
download | chawan-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')
-rw-r--r-- | res/license.html | 22 | ||||
-rw-r--r-- | res/urimethodmap | 3 |
2 files changed, 24 insertions, 1 deletions
diff --git a/res/license.html b/res/license.html index 93a830c2..fc62d77f 100644 --- a/res/license.html +++ b/res/license.html @@ -4,6 +4,7 @@ <TITLE>Licensing</TITLE> </HEAD> <BODY> +<P> Chawan itself is dedicated to the public domain. However, it contains and depends on projects with different licensing terms. <P> @@ -22,6 +23,7 @@ Table of contents: <LI><A HREF="#chawan">Chawan</A> <LI><A HREF="#quickjs">QuickJS</A> <LI><A HREF="#punycode">Punycode library</A> +<LI><A HREF="#w3mman">w3mman</A> </UL> <H2 id=chawan>Chawan</H2> <PRE> @@ -87,7 +89,7 @@ THE SOFTWARE. </PRE> <H2 id=punycode>Punycode library</H2> -We also vendor the punycode library, which is no longer included in the Nim +We vendor the punycode library, which is no longer included in the Nim standard library. This library is distributed under the following terms: <PRE> MIT License @@ -112,5 +114,23 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. </PRE> + +<H2 id=w3mman>w3mman</H2> +Chawan uses a customized version of w3mman2html.cgi from w3m for viewing man +pages. This script distributed under the following terms: +<PRE> +(C) Copyright 1994-2002 by Akinori Ito +(C) Copyright 2002-2011 by Akinori Ito, Hironori Sakamoto, Fumitoshi Ukai + +Use, modification and redistribution of this software is hereby granted, +provided that this entire copyright notice is included on any copies of +this software and applications and derivations thereof. + +This software is provided on an "as is" basis, without warranty of any +kind, either expressed or implied, as to any matter including, but not +limited to warranty of fitness of purpose, or merchantability, or +results obtained from use of this software. +</PRE> + </BODY> </HTML> 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 |