Mercurial > projects > pwm
view pwm-clip.1.xml @ 29:00d782cb45fa
Read configuration file on startup
author | Guido Berhoerster <guido+pwm@berhoerster.name> |
---|---|
date | Thu, 28 Sep 2017 10:06:59 +0200 |
parents | 5bdea77d0c1d |
children |
line wrap: on
line source
<?xml version="1.0"?> <!-- Copyright (C) 2017 Guido Berhoerster <guido+pwm@berhoerster.name> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. --> <refentry xmlns="http://docbook.org/ns/docbook" xml:lang="en"> <info> <author> <personname> <firstname>Guido</firstname> <surname>Berhoerster</surname> </personname> <email>guido+pwm@berhoerster.name</email> <personblurb/> </author> <date>21 September, 2017</date> </info> <refmeta> <refentrytitle>pwm-clip</refentrytitle> <manvolnum>1</manvolnum> <refmiscinfo class="source"/> <refmiscinfo class="version"/> <refmiscinfo class="manual">User Commands</refmiscinfo> </refmeta> <refnamediv> <refname>pwm-clip</refname> <refpurpose>set the system clipboard</refpurpose> </refnamediv> <refsynopsisdiv> <cmdsynopsis> <command>pwm-clip</command> </cmdsynopsis> </refsynopsisdiv> <refsect1> <title>Description</title> <para>The <command>pwm-clip</command> utility reads from the standard input stream until it encounters a newline character or the stream is at end-of-file, then removes any newline character at the end and places the data in the system clipboard. On X11 systems it sets the CLIPBOARD selection.</para> <para>The following terminals are currently supported: <simplelist type="horiz" columns="3"> <member>xterm</member> <member>tmux</member> <member>screen</member> </simplelist> </para> <para>If <command>pwm-clip</command> is invoked in an unsupported terminal it will print an error message and exit.</para> </refsect1> <refsect1> <title>Environment Variables</title> <variablelist> <varlistentry> <term> <literal>TERM</literal> </term> <listitem> <para>The name of the terminal used by <command>pwm-clip</command> to determine whether setting the system clipboard is supported</para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1> <title>Exit Status</title> <para>The following exit values are returned:</para> <variablelist> <varlistentry> <term>0</term> <listitem> <para>Command successfully executed.</para> </listitem> </varlistentry> <varlistentry> <term>1</term> <listitem> <para>An unspecified error has occured.</para> </listitem> </varlistentry> <varlistentry> <term>2</term> <listitem> <para>Invalid command line options were specified.</para> </listitem> </varlistentry> </variablelist> </refsect1> <refsect1> <title>See Also</title> <para><citerefentry><refentrytitle>pwm</refentrytitle> <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>xterm</refentrytitle> <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>tmux</refentrytitle> <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>screen</refentrytitle> <manvolnum>1</manvolnum></citerefentry></para> </refsect1> </refentry>