Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!opal!tub!gmdtub!simon!simon From: simon@gmdtub (Simon Leinen) Newsgroups: comp.windows.x Subject: Re: printing a selection from xterm Message-ID: Date: 17 Dec 90 16:06:04 GMT References: <696@lyman.pppl.gov> Sender: news@bigfoot.first.gmd.de Reply-To: simon@opal.CS.TU-Berlin.DE Organization: GMD-FIRST, Berlin Lines: 18 In-reply-to: monticel@lyman.pppl.gov's message of 11 Dec 90 18:53:42 GMT >>>>> 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" 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.