Name

pwm-clip — set the system clipboard

Synopsis

pwm-clip

Description

The pwm-clip 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.

The following terminals are currently supported:

xtermtmuxscreen

If pwm-clip is invoked in an unsupported terminal it will print an error message and exit.

Environment Variables

TERM

The name of the terminal used by pwm-clip to determine whether setting the system clipboard is supported

Exit Status

The following exit values are returned:

0

Command successfully executed.

1

An unspecified error has occured.

2

Invalid command line options were specified.

See Also

pwm(1), xterm(1), tmux(1), screen(1)