summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-07 20:27:41 -0400
committerJune McEnroe <june@causal.agency>2018-09-07 20:27:41 -0400
commit13941662b1d4b1d5e49f7ad42a5cf8207ebbbcdb (patch)
treec2670e7d656bf6c515d8b2c4ef41fa734b2e887f /bin
parentAdd modem.1 (diff)
downloadsrc-13941662b1d4b1d5e49f7ad42a5cf8207ebbbcdb.tar.gz
src-13941662b1d4b1d5e49f7ad42a5cf8207ebbbcdb.zip
Add pbd.1
Diffstat (limited to 'bin')
-rw-r--r--bin/pbd.152
1 files changed, 52 insertions, 0 deletions
diff --git a/bin/pbd.1 b/bin/pbd.1
new file mode 100644
index 00000000..4de31faf
--- /dev/null
+++ b/bin/pbd.1
@@ -0,0 +1,52 @@
+.Dd $Mdocdate$
+.Dt PBD 1
+.Os "Causal Agency"
+.Sh NAME
+.Nm pbd ,
+.Nm pbcopy ,
+.Nm pbpaste ,
+.Nm open
+.Nd macOS pasteboard daemon
+.Sh SYNOPSIS
+.Nm pbd
+.Nm pbcopy
+.Nm pbpaste
+.Nm open Ar
+.Sh DESCRIPTION
+.Nm pbd
+is a daemon which pipes into macOS
+.Xr pbcopy 1 ,
+from
+.Xr pbpaste 1
+and invokes
+.Xr open 1
+in response to messages
+sent over TCP port 7062.
+.Pp
+The socket can be forwarded through
+.Xr ssh 1
+and the stub implementations of
+.Nm pbcopy ,
+.Nm pbpaste
+and
+.Nm open
+can be used remotely
+to access the local pasteboard
+and open URLs.
+.Pp
+Forwarding can be configured with:
+.Bd -literal
+RemoteForward 7062 127.0.0.1:7062
+.Ed
+.Sh EXAMPLES
+.Bd -literal
+pbd &
+ssh -R 7062:127.0.0.1:7062 tux.local
+pbpaste
+.Ed
+.Sh SEE ALSO
+.Xr open 1 ,
+.Xr pbcopy 1 ,
+.Xr pbpaste 1 ,
+.Xr ssh 1 ,
+.Xr ssh_config 5
p;id=10ae7bedbd1dac946ee97c3fb27676cde2237621&follow=1'>Add -R restricted flagJune McEnroe 2020-02-11Add chroot targetJune McEnroe 2020-02-11Exit focus and paste modes on err exitJune McEnroe 2020-02-11Add startup GPLv3 note and URLJune McEnroe 2020-02-11Make sure -D_GNU_SOURCE ends up in CFLAGS on LinuxJune McEnroe 2020-02-11Add note about setting PKG_CONFIG_PATHJune McEnroe 2020-02-11Rename query ID on nick changeJune McEnroe 2020-02-11Call completeClear when closing a windowJune McEnroe 2020-02-11Don't insert color codes for non-mentionsJune McEnroe 2020-02-11Take first two words in colorMentionsJune McEnroe 2020-02-11Use time_t for save signatureJune McEnroe 2020-02-11Set self.nick to * initiallyJune McEnroe 2020-02-11Define ColorCap instead of hardcoding 100June McEnroe 2020-02-11Move hash to top of chat.hJune McEnroe 2020-02-11Move base64 out of chat.hJune McEnroe 2020-02-11Move XDG_SUBDIR out of chat.hJune McEnroe 2020-02-11Fix whois idle unit calculationJune McEnroe 2020-02-11Cast towupper to wchar_tJune McEnroe 2020-02-11Cast set but unused variables to voidJune McEnroe 2020-02-11Declare strlcatJune McEnroe 2020-02-11Check if VDSUSP existsJune McEnroe 2020-02-11Fix completeReplace iterationJune McEnroe 2020-02-11Use pkg(8) to configure on FreeBSDJune McEnroe 2020-02-11Remove legacy codeJune McEnroe 2020-02-11Add INSTALLING section to READMEJune McEnroe