Loretta SALINO
2009-06-03 17:43:15 UTC
I've a Python script that communicates with Octave. It sends commands and
receives answers. However, if the data shown in an Octave console are too
long, they are shown by "most", which provides scrolling capabilities and
the like. The part of my Python script comm'ing with Octave relies on plain
console output, where the last string is the Octave prompt. Then pyexpect
knows, that the output has finished and the data can be sent back to the
client. How can I get rid of "most" and activate plain output into a
console?
OTOH I could connect to Octave as a server. Are there any examples out there
showing how to do that with version *3.0.5*?
Best regards
Loretta
receives answers. However, if the data shown in an Octave console are too
long, they are shown by "most", which provides scrolling capabilities and
the like. The part of my Python script comm'ing with Octave relies on plain
console output, where the last string is the Octave prompt. Then pyexpect
knows, that the output has finished and the data can be sent back to the
client. How can I get rid of "most" and activate plain output into a
console?
OTOH I could connect to Octave as a server. Are there any examples out there
showing how to do that with version *3.0.5*?
Best regards
Loretta