I'm automaticng some telnet tasks in C++ based on this library QTelnet. The steps are the following:
Login to server via telnet. Telnet asks for user (I put user + [enter]), then asks for password (I put password + [enter]).
Telnet shows list of options, that can be selected putting the number + [enter]. Picture example: telnet list of options:
I select an option, and telnet shows me some fields to fill in, and tells me that when I finish editing press [enter]. Picture example: telnet fill fields:
I have done steps 1 and 2, because it's just replying to the server with the character or word + enter (LF or new line).
I would like to know how telnet handles the data in point 3. How does it separate it? With some special character? Because as I understand it is necessary to differentiate the answer for each field.
Note: The images are only for reference.