summary refs log tree commit diff
path: root/www/git.causal.agency
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/git.causal.agency/about-filter.sh3
-rw-r--r--www/git.causal.agency/source-filter.sh1
2 files changed, 3 insertions, 1 deletions
diff --git a/www/git.causal.agency/about-filter.sh b/www/git.causal.agency/about-filter.sh
index 216c86e9..26a52648 100644
--- a/www/git.causal.agency/about-filter.sh
+++ b/www/git.causal.agency/about-filter.sh
@@ -1,8 +1,9 @@
 #!/bin/sh
 
+export LANG=en_US.UTF-8
 case "$1" in
 	(*.[1-9])
-		/usr/bin/mandoc -T utf8 \
+		/usr/bin/mandoc \
 			| /usr/local/libexec/ttpre \
 			| /usr/bin/sed -E \
 				's,([a-z0-9_-]+)[(]([1-9])[)],<a href="\1.\2">&</a>,g'
diff --git a/www/git.causal.agency/source-filter.sh b/www/git.causal.agency/source-filter.sh
index 868859b4..5c5eb734 100644
--- a/www/git.causal.agency/source-filter.sh
+++ b/www/git.causal.agency/source-filter.sh
@@ -1,5 +1,6 @@
 #!/bin/sh
 
+export LANG=en_US.UTF-8
 case "$1" in
 	(*.[1-9])
 		/usr/local/libexec/about-filter "$@"
qf.c?id=956c25d98c3c7af4ff78c3175630b281c780b3c7&follow=1'>Set TABSIZE=4June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe