Path: utzoo!utgpu!watserv1!ria!ria.ccs.uwo.ca!peter From: peter@ria.ccs.uwo.ca (Peter Marshall) Newsgroups: comp.windows.x Subject: Re: xterm/dxterm selection into pipe? Message-ID: <1991Jan31.153244@ria.ccs.uwo.ca> Date: 31 Jan 91 20:32:44 GMT References: <1991Jan29.162418@amdew.llnl.gov> Sender: news@ria.ccs.uwo.ca Reply-To: peter@ria.ccs.uwo.ca (Peter Marshall) Organization: Univ. Western Ontario, London Ont. CA Lines: 20 In article <1991Jan29.162418@amdew.llnl.gov>, sowa@amdew.llnl.gov (Erik C. Sowa) writes: |> I would like to be able to pipe the contents of the highlighted |> selection in a terminal window (xterm or dxterm) into various commands, |> principally lpr. This would give me a "print selection" capability. Any |> solutions out there? BTW, I am running ultrix 4.0 / DECwindows, but I |> have the R4 clients. I wrote a little routine named xget_selection which I think does this. It is available via anonymous ftp to ria.ccs.uwo.ca as pub/xget_selection.tar.Z. -- Peter Marshall, Manager (Academic Networking) CCS, NSC, U. of Western Ontario, London, Canada N6A 5B7 (519)661-2111x6032 peter.marshall@uwo.ca pm@uwovax (BITNET); peter@ria.uucp