summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-21 18:10:52 -0400
committerJune McEnroe <june@causal.agency>2020-04-21 18:10:52 -0400
commitf6d39710f9965c55b4050f81f0a0ae0b3049a7a3 (patch)
treecbcace856150dc9b20f016b10e299bd39954aa8f /home
parentUse . as ${LDLIBS.$@} separator (diff)
downloadsrc-f6d39710f9965c55b4050f81f0a0ae0b3049a7a3.tar.gz
src-f6d39710f9965c55b4050f81f0a0ae0b3049a7a3.zip
Add Markus Kuhn's wcwidth implementation
And wcfix script for macOS, based on
<https://blog.nytsoi.net/2015/05/04/emoji-support-for-weechat> to fix
some emoji display in catgirl. Somehow this code from 2007 against
Unicode 5.0 does a better job than whatever the hell macOS Mojave's libc
is doing.
Diffstat (limited to 'home')
-rwxr-xr-xhome/.local/bin/wcfix7
1 files changed, 7 insertions, 0 deletions
diff --git a/home/.local/bin/wcfix b/home/.local/bin/wcfix
new file mode 100755
index 00000000..b31bd19b
--- /dev/null
+++ b/home/.local/bin/wcfix
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -eu
+
+export DYLD_FORCE_FLAT_NAMESPACE=1
+export DYLD_INSERT_LIBRARIES=~/.local/lib/libwcwidth.dylib
+
+exec "$@"
title='2020-08-15 17:40:17 -0400'>2020-08-15Add FreeBSD rc scriptJune McEnroe 2020-08-15Call setproctitle with number of servicesJune McEnroe 2020-08-15Rename project to catsitJune McEnroe 2020-08-15Use only LOG_NOTICE and LOG_WARNINGJune McEnroe 2020-08-15Make log messages consistentJune McEnroe 2020-08-15Remove closelog callJune McEnroe 2020-08-15Implement service statusJune McEnroe 2020-08-15Parse control commandsJune McEnroe 2020-08-15Read service pipesJune McEnroe 2020-08-15Implement non-blocking line-buffered readingJune McEnroe 2020-08-15Generate tags fileJune McEnroe 2020-08-15Just use CLOCK_MONOTONIC and clean up includesJune McEnroe 2020-08-15Reap childrenJune McEnroe 2020-08-14Implement serviceSignal, serviceStop, serviceRestartJune McEnroe 2020-08-14Reset restartInterval and restartDeadline on startJune McEnroe 2020-08-14Switch to timespec for timeoutsJune McEnroe 2020-08-14Implement serviceStartJune McEnroe 2020-08-14Flesh out Service structJune McEnroe 2020-08-14Build environment for servicesJune McEnroe 2020-08-14Implement spawntab parsingJune McEnroe 2020-08-14Open syslog, daemonize, write PIDJune McEnroe 2020-08-14Implement user and group lookupJune McEnroe 2020-08-14Add install targetJune McEnroe 2020-08-14Add spawnd skeletonJune McEnroe