Julius Morales Reolizo wrote:
> The last line that did not show at the stdin and the same as the
> of curl.
> For example, I tried it on telnet://rainmaker.wunderground.com/ the
> screen shows
> but the "Press RETURN to continue:" does not show. On the succeeding
> "Press Return to menu", but "or enter 3 letter forcast city code--" is
> Same at the next screen "Selection:" is missing. Therefore, I can
> the last line that should be seen is missing. Well, actually not
> but shown at the next
> command that is sent. I tried it for a whole day same thing is
> Command first then the last line then the result of the command minus
> last line.
> BTW, I apologize for my top posting is kinda normal for a reply button
How are you displaying the data received from the server (wunderground)?
If you are writing the data directly to a console window, the data is
usually buffered until (1) a newline is found in the data, or (2) a read
request is made to the window (implied flush), or (3) the contents of
the buffer are flushed.
This would explain why you are not seeing the last prompt received by
the server, since there is no newline present, and I assume the data you
are sending back to the server does not originate from your console
Feel free to post your application code, then we might be able to offer
Received on 2008-05-27