[comp.archives] [xpert] Re: printing a selection from xterm

simon@gmdtub (Simon Leinen) (12/19/90)

Archive-name: x11/contrib/xselection/1990-12-17
Archive: expo.lcs.mit.edu:/pub/contrib/xselection.tar.Z [18.30.0.212]
Original-posting-by: simon@gmdtub (Simon Leinen)
Original-subject: Re: printing a selection from xterm
Reposted-by: emv@ox.com (Edward Vielmetti)

>>>>> On 11 Dec 90 18:53:42 GMT, monticel@lyman.pppl.gov (Don Monticello) said:

Don> I'd like to be able to print the current selection in xterm.
Don> Currently I type "lpr<ret>" and paste the selection into standard
Don> input.  This is a kludge because it sometimes looses text.  Is
Don> there a better way?

Richard Hesketh's `xselection' program can do this without cutting and
pasting:

	xselection PRIMARY | lpr

Xselection is FTPable as expo.lcs.mit.edu:/pub/contrib/xselection.tar.Z

-rw-rw-rw-  1 ftp          9233 Nov  2 03:35 xselection.tar.Z

-- 
Simon.