I need to be able to read the screen contents of my xterm from within an application. It looks like you can request the terminal to send a text selection via an escape sequence but I don't see any way to make the selection first. I must be missing something... Can anyone help?

Thanks in advance,

Gary Walborn