The pipeclip package

[Tags:bsd2, program]

This opens up your $EDITOR or $VISUAL using the editor-open library. It then takes the edited text and sends it to the X11 clipboard.

As such, this will only work if you have X11. Translated, this is limited to Linux and BSD.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1
Change log CHANGELOG
Dependencies base (==4.*), bytestring, editor-open (>=0.6), Hclip, safe [details]
License BSD2
Copyright Copyright (c) 2015, Peter Harpending.
Author Peter Harpending
Maintainer peter@harpending.org
Stability Unknown
Category System, Text
Home page https://github.com/pharpend/pipeclip
Bug tracker https://github.com/pharpend/pipeclip/issues
Source repository head: git clone git://github.com/pharpend/pipeclip.git
this: git clone git://github.com/pharpend/pipeclip.git(tag 0.1.0.1)
Uploaded Tue May 19 17:07:58 UTC 2015 by pharpend
Distributions NixOS:0.1.0.1
Downloads 236 total (5 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
Last success reported on 2016-12-09 [all 7 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for pipeclip

Readme for pipeclip-0.1.0.1

pipeclip

This program pops open your $EDITOR or $VISUAL, takes whatever you inputted into the file, and pipes it to the X clipboard.

As such, this program only works on Linux and BSD.

I've tested it on Arch Linux and FreeBSD.

Installation

pipeclip is written in Haskell, so please install Haskell first: https://github.com/bitemyapp/learnhaskell/blob/master/install.md.

You also need to have xclip or xsel installed.

Then,

cabal install pipeclip

Usage

pipeclip v.0.1.0.0
Copyright (c) 2015, Peter Harpending.
Licensed under the FreeBSD license. See --license for info.

OPTIONS
    -h,--help             Show this page
    --license             Print out the license.
    --stdout              Print output to stdout instead of piping to the clipboard.
    -t,--template EXT     Name the temporary file the editor edits tmp.EXT so that 
                          it has highlighting and stuff.