diff options
author | bptato <nincsnevem662@gmail.com> | 2024-03-13 15:21:05 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-03-13 15:21:05 +0100 |
commit | 9ee1dd6e5167d9c2054dee5f9241e3bba286706f (patch) | |
tree | 4c36afa6c45f33f581206583fde23ca389a04a23 /doc | |
parent | 73909b09756a3ae2c987b3ef05d02b49c4f37eaa (diff) | |
download | chawan-9ee1dd6e5167d9c2054dee5f9241e3bba286706f.tar.gz |
man: rewrite in Nim
Depending on Perl just for this is silly. Now we use libregexp for filtering basically the same things as w3mman2html did. This required another patch to QuickJS to avoid pulling in the entire JS engine, but in return, we can now run regexes without a dummy JS context global variable. Also, man.nim now tries to find a man command on the system even if it's not in /usr/bin/man.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cha.1 | 2 | ||||
-rw-r--r-- | doc/protocols.md | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/cha.1 b/doc/cha.1 index 5af4319d..b5943465 100644 --- a/doc/cha.1 +++ b/doc/cha.1 @@ -1,4 +1,4 @@ -.TH CHA 1 +.TH cha 1 .SH NAME cha - the Chawan text-mode browser .SH SYNOPSIS diff --git a/doc/protocols.md b/doc/protocols.md index 2f1c7afd..84a8dde1 100644 --- a/doc/protocols.md +++ b/doc/protocols.md @@ -125,8 +125,8 @@ and `about:license`. `man:`, `man-k:` and `man-l:` are wrappers around the commands `man`, `man -k` and `man -l`. These look up man pages using `/usr/bin/man` and turn on-page references into links. A wrapper command `mancha` also exists; this has an -interface similar to `man`. Note that Perl is required for these protocols -to work. +interface similar to `man`. Note: this used to be based on w3mman2html.cgi, but +it has been rewritten in Nim (and therefore no longer depends on Perl either). `data:` decodes a data URL as defined in RFC 2397. |