Hi,
I am creating a shellstream so that I can send commands and get responses from an embedded device.
Everything seems to be OK, but I don't understand the meaning of the arguments in CreateShellStream(...).
Specifically:
1) Why would I want to give a "terminalName"? Where/how is the terminal name used?
2) columns, rows, width, height? Again, I don't see how these are useable-- I just want to programmatically send commands and get responses for parsing. Are these intended for somekind of textbox display? What should I set them to for just parsing output?
3) Buffersize-- presumably should be as big or bigger than longest output from device?
Thanks for you help, and thanks for this really nice project!
-AT.
I am creating a shellstream so that I can send commands and get responses from an embedded device.
Everything seems to be OK, but I don't understand the meaning of the arguments in CreateShellStream(...).
Specifically:
1) Why would I want to give a "terminalName"? Where/how is the terminal name used?
2) columns, rows, width, height? Again, I don't see how these are useable-- I just want to programmatically send commands and get responses for parsing. Are these intended for somekind of textbox display? What should I set them to for just parsing output?
3) Buffersize-- presumably should be as big or bigger than longest output from device?
Thanks for you help, and thanks for this really nice project!
-AT.