[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Single Page

Top Document: comp.windows.x Frequently Asked Questions (FAQ) 2/7
Previous Document: 36)! How can I control the mouse with the keyboard?
Next Document: 38) Where are the resources loaded from?


37) How can I print the current X selection?



You could paste it into an xterm after executing the lpr command.  However, a
program by Richard Hesketh (rlh2@ukc.ac.uk) specifically for manipulating the
selection will help; e.g.

	% xselection PRIMARY | lpr 

finds the primary selection and prints it.

This command can be placed in a window-manager menu or in shell-scripts.
xselection also permits the setting of the selection and other properties. A
version is on ftp.x.org.

Also available is ria.ccs.uwo.ca:pub/xget_selection.tar.Z, which can be
adapted to do this.



Top Document: comp.windows.x Frequently Asked Questions (FAQ) 2/7
Previous Document: 36)! How can I control the mouse with the keyboard?
Next Document: 38) Where are the resources loaded from?

Part1 - Part2 - Part3 - Part4 - Part5 - Part6 - Part7 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
faq%craft@uunet.uu.net (X FAQ maintenance address)

Last Update October 12 2008 @ 00:14 AM

© 2008 FAQS.ORG. All rights reserved.