On Fri, 12 Jul 2002, Ville Herva wrote:

> I was wondering whether people feel that something like this should exist in
> the XFree86 distribution:

Yes, please!

I was very fortunate to find xcut some months ago, which does the paste
thing but not the cut:

http://xcut.sourceforge.net/

>   echo puppa | xsel -c      # 'puppa' is now the current X selection
>   echo puppa | xsel --copy  # same as above
>
>   xsel -p | less            # pastes the current X selection to less
>   xsel --paste | less       # same as above

Btw. it should be possible to see if stdin or stdout was a pipe and do the
right thing automatically.

-Peter

"C++ is more of a rube-goldberg type thing full of high-voltages,
large chain-driven gears, sharp edges, exploding widgets, and spots to
get your fingers crushed. And because of it's complexity many (if not
most) of it's users don't know how it works, and can't tell ahead of
time what's going to cause them to loose an arm." -- Grant Edwards

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to