stevel 02/02/28 10:26:57
Modified: docs/manual/OptionalTasks telnet.html
Log:
doc improvements
Revision Changes Path
1.7 +15 -4 jakarta-ant/docs/manual/OptionalTasks/telnet.html
Index: telnet.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/OptionalTasks/telnet.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- telnet.html 3 Feb 2002 22:09:09 -0000 1.6
+++ telnet.html 28 Feb 2002 18:26:57 -0000 1.7
@@ -10,11 +10,14 @@
<h2><a name="telnet">Telnet</a></h2>
<h3>Description</h3>
Task to automate a remote telnet session. The task uses
-nested <read> to indicate strings to wait for, and
-<write> tags to specify text to send.
+nested <tt><read></tt> to indicate strings to wait for, and
+<tt><write><tt> tags to specify text to send.
<p>If you do specify a userid and password, the system will
assume a common unix prompt to wait on. This behavior can be easily
over-ridden.</p>
+<p><b>Note:</b> This task depends on external libraries not included in the
Ant distribution.
+See <a href="../install.html#librarydependencies">Library Dependencies</a>
for more information.</p>
+
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
@@ -102,7 +105,9 @@
</telnet>
</pre></blockquote>
-A timeout can be specified at the <telnet> level or at the
<read> level. This will connect, issue a sleep command that is suppressed
from displaying and wait 10 seconds before quitting.
+A timeout can be specified at the <telnet> level or at the
<read> level.
+This will connect, issue a sleep command that is suppressed from displaying
and wait
+10 seconds before quitting.
<blockquote><pre>
<telnet userid="bob" password="badpass"
server="localhost" timeout="20">
<read>/home/bob</read>
@@ -120,8 +125,14 @@
<read timeout="10">&lt;/HTML&gt;</read>
</telnet>
</pre></blockquote>
+<p>
+To use this task against the WinNT telnet service, you need to configure the
service to use
+classic authentication rather than NTLM negotiated authentication.
+This can be done in the Telnet Server Admin app:
+select "display/change registry settings", then "NTLM", then set the value
of NTLM to 1.
+</p>
<hr>
-<p align="center">Copyright © 2001 Apache Software Foundation. All
rights
+<p align="center">Copyright © 2001-2002 Apache Software Foundation. All
rights
Reserved.</p>
</body>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>