summary refs log tree commit diff
path: root/bin/man/pbd.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
committerJune McEnroe <june@causal.agency>2018-09-11 22:08:54 -0400
commit324026700184917040f360aced5995856eea838f (patch)
tree648db1074e9b7d573fc2d56710711b9bf1eaa0c0 /bin/man/pbd.1
parentRewrite gfx.7 and render plaintext README (diff)
downloadsrc-324026700184917040f360aced5995856eea838f.tar.gz
src-324026700184917040f360aced5995856eea838f.zip
Move bin man pages to bin/man
Diffstat (limited to 'bin/man/pbd.1')
-rw-r--r--bin/man/pbd.159
1 files changed, 59 insertions, 0 deletions
diff --git a/bin/man/pbd.1 b/bin/man/pbd.1
new file mode 100644
index 00000000..bb4380b0
--- /dev/null
+++ b/bin/man/pbd.1
@@ -0,0 +1,59 @@
+.Dd September 7, 2018
+.Dt PBD 1
+.Os "Causal Agency"
+.
+.Sh NAME
+.Nm pbd ,
+.Nm pbcopy ,
+.Nm pbpaste ,
+.Nm open
+.Nd macOS pasteboard daemon
+.
+.Sh SYNOPSIS
+.Nm
+.Nm pbcopy
+.Nm pbpaste
+.Nm open
+.Ar
+.
+.Sh DESCRIPTION
+.Nm
+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:
+.Pp
+.Dl RemoteForward 7062 127.0.0.1:7062
+.
+.Sh EXAMPLES
+.Bd -literal -offset indent
+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