Thanks to all. The choice of "ssword:" was deliberate, however. I felt it was
more appropriate even if it was technically incorrect. :)
I found a couple other problems as well. The port was incorrect and the web
browser sample was totally wrong.
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> Stuart Roebuck <[EMAIL PROTECTED]> wrote:
>
> > I haven't looked back at the current sources,
>
> But I did 8-)
>
> > but I don't think this is a typo.
> >
> > (Note: - = new, + = old)
> >
> > On Thursday, November 30, 2000, at 12:14 AM, Chris Todd wrote:
> >
> >> -A simple example of connecting to a server and running a command.
> >> This assumes a prompt of "login:" for the userid, and a prompt of
> >> "password:" for the password.
>
> >> +A simple example of connecting to a server and running a command.
> >> This assumes a prompt of "ogin:" for the userid, and a prompt of
> >> "ssword:" for the password.
>
> Neither the old nor the new version is correct 8-), the task expects
> "ogin:" and "assword:", I'm going to commit the change during the next
> couple of hours.
>
> Stefan
=====
-----------------
Scott Carlson
Marquette University Alumnus
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
Index: index.html
===================================================================
RCS file: /home/cvspublic/jakarta-ant/docs/index.html,v
retrieving revision 1.159
diff -w -b -u -r1.159 index.html
--- index.html 2000/11/30 12:41:08 1.159
+++ index.html 2000/11/30 22:52:02
@@ -5384,7 +5384,7 @@
</tr>
<tr>
<td>port</td>
- <td>the port number of the remote telnet server. Defaults to port 21.</td>
+ <td>the port number of the remote telnet server. Defaults to port 23.</td>
<td>No</td>
</tr>
<tr>
@@ -5432,7 +5432,7 @@
The task can be used with other ports as well:
<blockquote><pre>
-<telnet userid="bob" password="badpass"
server="localhost" defaultTimeout="20">
+<telnet port="80" server="localhost"
timeout="20">
<read/>
<write>GET / http/0.9</write>
<write/>