I want to be able to allow the user to move the starting position of a text window (%tx) so that the next time the text window appears, it will be where the user 'left it'.
I tried using %sp and %gp, but the window moves around. I suspect that this is due to the %sp being relative to a parent window. However, I don't have a parent window that contains the text window. I assumed that the coordinates would be relative to the screen itself, but this is clearly not the case.
I must be missing something in the use of the %sp and %gp commands. Can anyone shed light on what I am doing incorrectly, or can suggest a change/addition to achieve the desired effect?
Thanks, Bill