xsel gives access to the X selection from the command line. The author himself considers this utility a "quick hack", nevertheless I find it very usefull as it avoids the annoyance of copy'n'paste from terminals (it's very handy when filling bug reports in bugzilla for example). See its homepage for some quite interesting applications. I hope you also find it interesting enough to include in Gentoo.
Created attachment 6016 [details] xsel-0.04.ebuild This ebuild expects to find xsel.c and xsel.man (available from the program homepage) in FILESDIR. That was my option, but they could be specified as easily in SRC_URI.
Created attachment 6017 [details, diff] xsel-0.04.patch Patch to fix a typo cousing a gcc warning.
I forgot to mention that x11-misc seems to be the apropriate category for this utility.
Created attachment 6057 [details] xsel-0.04.1.ebuild The typo was already updated upstream. New ebuild for it (change were version bump, less the patch line). PS: I would have made the above xsel-0.04.ebuild and xsel-0.04.patch attachements obsolete but guess what!? No authorization for that!
Reassigning...seems to do about the same thing as xclip in portage.
I'm reluctant to add this, seeing as it is a "quick hack" - plus we have xclip which does the same thing and isn't a hack. Comments?
This does the same as xclip, which is already in Portage. I've been using this app myself for a long time, you might want to check it out, if only because it's emergeable. Closing WONTFIX, since we already have something better ;)