Finding the prompt of a telnet session

romeoagogo

Limp Gawd
Joined
Aug 25, 2004
Messages
159
I am trying to figure out how to tell the prompt of a telnet session I am in. Its not like a regular telnet shell however; it is a menu based point of sale program. So normally in a telnet shell you would see -

user@host>

or something like that for the prompt, but in this case there is nothing like that, just a screen of menus. I tried logging all the output and the only thing I came across that seems to be consistent with the end of server output is the string: "[?25h". I don't know if this is just same escape code tho or if it really does act as the prompt in this case. Any insight would be appreciated.

thanks
 
Back
Top