Assuming that you can get the output of your program into a file (via script or some other method), then you could use a native X editor to open the file, copy all the text, and paste it somewhere.
I am surprised I didn't think of this earlier, but I don't use X much. Carl