As I said, I'm not even sure if it is possible at all. Thus, I'm currently rewriting my output function to return the cursor position in the return code. At least I'm using a UDF for this, so it's not that complicated.

Jens

_________________________
There are two types of vessels, submarines and targets.