summary refs log tree commit diff
path: root/.bin/pbcopy
diff options
context:
space:
mode:
authorJune McEnroe <curtis.mcenroe@adgear.com>2017-01-06 11:49:29 -0500
committerJune McEnroe <curtis.mcenroe@adgear.com>2017-01-06 11:55:02 -0500
commitee442870809ebfd9eefd8868314cafa5c001d925 (patch)
tree74902c85cc5e6964a94281e6e90a138e419e4d24 /.bin/pbcopy
parentAdd custom keyboard layout for macOS (diff)
downloadsrc-ee442870809ebfd9eefd8868314cafa5c001d925.tar.gz
src-ee442870809ebfd9eefd8868314cafa5c001d925.zip
Implement pbcopy and pbpaste in C
Ted Unangst broke my netcat implementation of pbpaste with this commit:
<https://github.com/openbsd/src/commit/bb978d8>, which, when /dev/null
is attached to stdin, causes nc to exit and never read from the socket.

Turns out the core functionality of netcat can be implemented in about
50 lines of C.
Diffstat (limited to '.bin/pbcopy')
-rwxr-xr-x.bin/pbcopy1
1 files changed, 0 insertions, 1 deletions
diff --git a/.bin/pbcopy b/.bin/pbcopy
deleted file mode 100755
index 925e098e..00000000
--- a/.bin/pbcopy
+++ /dev/null
@@ -1 +0,0 @@
-exec nc localhost 7062 > /dev/null
ass='logmsg'> 2021-02-06Enable tapping, reverse scroll, set scaling in wsconsctlJune McEnroe 2021-02-06Set root window to black on purple snowJune McEnroe 2021-02-06Add xmodmap configurationJune McEnroe 2021-02-06Add initial OpenBSD X configurationJune McEnroe cwm still needs a lot more rebinding, and I need to actually look at its other options. xterm definitely still needs some configuration, but I at least managed to get it to use a decent looking font. Very happy that OpenBSD includes Luxi Mono, which is what my usual font, Go Mono, is based on anyway. Still missing is xmodmap and such. 2021-02-06Add xterm output to schemeJune McEnroe