summary refs log tree commit diff
path: root/.bin/pbpaste
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2017-01-06 11:49:29 -0500
committerJune McEnroe <june@causal.agency>2017-01-06 11:55:02 -0500
commit1eeb00eebb9aed478425fc5a531ec7656c2c5708 (patch)
tree1552211b217d72299161f2aa3b0759f3dc57fbd9 /.bin/pbpaste
parentAdd custom keyboard layout for macOS (diff)
downloadsrc-1eeb00eebb9aed478425fc5a531ec7656c2c5708.tar.gz
src-1eeb00eebb9aed478425fc5a531ec7656c2c5708.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/pbpaste')
-rwxr-xr-x.bin/pbpaste1
1 files changed, 0 insertions, 1 deletions
diff --git a/.bin/pbpaste b/.bin/pbpaste
deleted file mode 100755
index 9ce6f6dd..00000000
--- a/.bin/pbpaste
+++ /dev/null
@@ -1 +0,0 @@
-exec nc localhost 7062 < /dev/null
160e8ac43f8614ce&follow=1'>Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe