diff options
author | bptato <nincsnevem662@gmail.com> | 2023-12-10 17:15:18 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2023-12-10 17:29:41 +0100 |
commit | 48b197133783bf7ec7211b1e114b6ca73f36a3c6 (patch) | |
tree | b1bbc4ddec8791022f04b11587c1aee3c7b1656a /res | |
parent | 2dec7483045c9e5696182db7b4ad842491b6c2b2 (diff) | |
download | chawan-48b197133783bf7ec7211b1e114b6ca73f36a3c6.tar.gz |
Separate gopher conversion from main binary
Now we use a (much simplified) gopher2html binary in libexec, instead of converting gopher directories to HTML in loader/gopher. This has two advantages: * Less ugly conversion logic in the loader module; we can just convert the file line by line. (The previous converter also had some correctness issues, that is fixed now as well.) * If the user desires, they can replace the gopher converter with another binary using the mailcap mechanism. The disadvantages are: * For now, source display is broken. This is a problem with all mailcap filters in general, and should be fixed in the future. (That said, the previous version also only displayed the converted HTML source, which was not really useful anyway.) * The proper directory structure is required for this to work; OTOH plenty of work has been done so that this is as frictionless as possible, so it should not really be a problem.
Diffstat (limited to 'res')
-rw-r--r-- | res/config.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/config.toml b/res/config.toml index ae1192bc..3b4cefcd 100644 --- a/res/config.toml +++ b/res/config.toml @@ -33,7 +33,7 @@ urimethodmap = [ tmpdir = "/tmp/cha" editor = "vi %s +%d" w3m-cgi-compat = false -cgi-dir = "${%CHA_BIN_DIR}/../libexec/chawan/cgi-bin" +cgi-dir = "${%CHA_LIBEXEC_DIR}/cgi-bin" [network] max-redirect = 10 |