diff options
author | June McEnroe <june@causal.agency> | 2021-02-09 17:36:40 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-02-09 17:36:40 -0500 |
commit | a1147531b04b1108d06f054adf203067e8794008 (patch) | |
tree | 3b7bd5fe59b5dc579408a9cbbf2b1da9a086546f /bin/man1 | |
parent | Add macOS-like copy and paste to xterm (diff) | |
download | src-a1147531b04b1108d06f054adf203067e8794008.tar.gz src-a1147531b04b1108d06f054adf203067e8794008.zip |
Use flags for pbd client behaviour
Diffstat (limited to 'bin/man1')
-rw-r--r-- | bin/man1/pbd.1 | 41 |
1 files changed, 24 insertions, 17 deletions
diff --git a/bin/man1/pbd.1 b/bin/man1/pbd.1 index bbc7b785..f0665891 100644 --- a/bin/man1/pbd.1 +++ b/bin/man1/pbd.1 @@ -1,20 +1,13 @@ -.Dd September 7, 2018 +.Dd February 9, 2021 .Dt PBD 1 .Os . .Sh NAME -.Nm pbd , -.Nm pbcopy , -.Nm pbpaste , -.Nm open +.Nm pbd .Nd macOS pasteboard daemon . .Sh SYNOPSIS -.Nm -.Nm pbcopy -.Nm pbpaste -.Nm open -.Ar +.Nm Op Fl s | c | p | o Ar url . .Sh DESCRIPTION .Nm @@ -30,12 +23,7 @@ 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 +and the flags can be used remotely to access the local pasteboard and open URLs. . @@ -44,11 +32,30 @@ Forwarding can be configured with: .Pp .Dl RemoteForward 7062 127.0.0.1:7062 . +.Pp +The arguments are as follows: +.Bl -tag -width Ds +.It Fl c +Behave as +.Xr pbcopy 1 . +.It Fl o Ar url +Behave as +.Xr open 1 . +.It Fl p +Behave as +.Xr pbpaste 1 . +.It Fl s +Run the server. +This is the default. +.El +.Pp +ACAB. +. .Sh EXAMPLES .Bd -literal -offset indent pbd & ssh -R 7062:127.0.0.1:7062 tux.local -pbpaste +pbd -p .Ed . .Sh SEE ALSO |