Life is remarkably hard for simpleminded programs. :-( My programs
are making a separate telnet connection for each command, because
it's easier to recognize end-of-output that way than by searching
for a prompt string that doesn't even include a carriage return.
The telnet face seems to have been designed much more for human
user convenience than for programmatic simplicity.