|
| From: | Michael Panteleit |
| Subject: | Re: [Mldonkey-users] Need a prompt in telnet interface |
| Date: | 26 Dec 2002 10:45:42 +0100 |
| User-agent: | Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
Carl Lobo <address@hidden> writes:
> i think that if you just write a command a "readline"
> operation should block until the command is executed.
No program can ever be sure that a command was executed when there is
no "last command executed, what should I do next" (or as we call it
"prompt").
In high level languages like Perl you can easily execute
commands like
print $tellme->cmd("client_stats");
if the system knows how long to wait (fixed time or encounter of the
prompt).
Meikel
| [Prev in Thread] | Current Thread | [Next in Thread] |