aboutsummaryrefslogtreecommitdiff
path: root/vis-clipboard.1
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-08 10:42:09 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-08 10:42:09 +0100
commitbcca9c762ee1d27d43303a8af0c027eb85ffed4e (patch)
treebd15e96d78f46351d2b8786af68c2ac639e62bd4 /vis-clipboard.1
parent348adec643820a7b8380dcb66ce6cfc5420469f9 (diff)
downloadvis-bcca9c762ee1d27d43303a8af0c027eb85ffed4e.tar.gz
vis-bcca9c762ee1d27d43303a8af0c027eb85ffed4e.tar.xz
Move manual pages to man/ subfolder
Diffstat (limited to 'vis-clipboard.1')
-rw-r--r--vis-clipboard.1102
1 files changed, 0 insertions, 102 deletions
diff --git a/vis-clipboard.1 b/vis-clipboard.1
deleted file mode 100644
index f6638b8..0000000
--- a/vis-clipboard.1
+++ /dev/null
@@ -1,102 +0,0 @@
-.Dd November 29, 2016
-.Dt VIS-CLIPBOARD 1
-.Os Vis VERSION
-.
-.Sh NAME
-.Nm vis-clipboard
-.Nd Read from or write to the system clipboard
-.
-.Sh SYNOPSIS
-.Nm vis-clipboard
-.Fl -usable
-.Pp
-.Nm vis-clipboard
-.Fl -copy
-.Pp
-.Nm vis-clipboard
-.Fl -paste
-.
-.Sh DESCRIPTION
-.Nm vis-clipboard
-wraps various system-specific tools for interacting with a system clipboard,
-like
-.Xr xsel 1
-for X11,
-.Xr pbcopy 1
-for Mac OS X,
-and
-.Pa /dev/clipboard
-on Cygwin.
-.Pp
-.Nm vis-clipboard
-can run in three different ways,
-depending on the flag given on the command-line.
-.Bl -tag -width flag
-.It Fl -usable
-In this mode,
-.Nm vis-clipboard
-looks for a way to interface with the system clipboard.
-If it finds one,
-it terminates with exit code 0.
-If no interface to the system clipboard is available,
-it terminates with exit code 1.
-.It Fl -copy
-In this mode,
-.Nm vis-clipboard
-reads the content of standard input,
-and stores it in the system clipboard.
-.It Fl -paste
-In this mode,
-.Nm vis-clipboard
-reads the content of the system clipboard,
-and writes it to standard output.
-.El
-.
-.Sh ENVIRONMENT
-The following environment variables affect the operation of
-.Nm vis-clipboard :
-.Bl -tag -width Ev
-.It Ev DISPLAY
-If non-empty,
-.Nm vis-clipboard
-will prefer to access the X11 clipboard even if other options are available.
-.El
-.
-.Sh EXIT STATUS
-.Ex -std vis-clipboard
-.
-When run with the
-.Fl -usable
-flag,
-an exit status of 0 means that it found a supported system-specific tool,
-while 1 means that clipboard access is not available.
-.
-.Sh EXAMPLES
-Test whether clipboard access is available:
-.Bd -literal -offset indent
-if vis-clipboard --usable; then
- echo "Clipboard access available"
-else
- echo "No clipboard"
-fi
-.Ed
-.Pp
-Copy a friendly greeting to the clipboard:
-.Bd -literal -offset indent
-echo "Hello, World" | vis-clipboard --copy
-.Ed
-.Pp
-Send the current contents of the system clipboard to be recorded and analyzed:
-.Bd -literal -offset indent
-vis-clipboard --paste | curl -d - https://www.nsa.gov/
-.Ed
-.
-.Sh SEE ALSO
-.Xr pbcopy 1 ,
-.Xr pbpaste 1 ,
-.Xr vis 1 ,
-.Xr xclip 1 ,
-.Xr xsel 1
-.
-.Sh AUTHORS
-.An "Marc Andr\('e Tanner" Aq mat@brain-dump.org