Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Mon Jan 09, 2017 7:01 am |
The technique I used to employ is a little complicated. I used the VT102 scrolling region code. At the start of a session I would do #SAYP {%concat(%char(27),"[1;##r")} where ## is the one less than the bottom line of the screen. Then I would set up a trigger to match the prompt with the ANSI Trigger flag set and a full capture, you will generally need a regex for this. The code for that trigger is simple #SUB {%concat(%char(27),"7",%char(27),"[1;##H",%char(27),"[K",%1,%char(27),"8")} in this case the ## is the actual bottom line of the screen.
If you want to use a similar system you can a reference on the codes here. |
|