Screen-Scrape Konsole output

Duncan 1i5t5.duncan at
Thu Jun 3 17:41:54 BST 2010

Ram posted on Thu, 03 Jun 2010 17:59:04 +0530 as excerpted:

> I had a small automation program , that would screen-scrape konsole
> output and take actions accordingly
> To "read" the Konsole window , I used to use automated-mouseclicks and
> the use dcop to read the klipper output.

This has certainly piqued my curiosity.  Why...

... would you be reading konsole output, instead of using conventional 
shell redirection or piping?  There are all sorts of ways to get at that 
output and you seem to be choosing the least common and most difficult.  
Perhaps you have a valid reason, but you've not given it, thereby begging 
the question.[1]

It seems to me you're deliberately choosing the solution that goes a 
kilometer down the road by traveling round the world in the other 
direction.  Yes, it's certainly possible and there may be a valid reason, 
but readers of a question on how to do it without an explanation of why 
you aren't simply taking the simple route, can certainly be expected to 
ask the question begging to be asked...

[1] Yes, I'm aware of the legal use.  I'm using the literal meaning of the 
words.  Get over it.

Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list