<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - Can TCL spawn 2 telnet sessions and then allow issuing commands to each? - Comments</title>
 <link>http://community.activestate.com/forum-topic/can-tcl-spawn-2-telnet-sessions-and-then-allow-issuing-commands-each</link>
 <description>Comments for &quot;Can TCL spawn 2 telnet sessions and then allow issuing commands to each?&quot;</description>
 <language>en</language>
<item>
 <title>spawn telnet query</title>
 <link>http://community.activestate.com/forum-topic/can-tcl-spawn-2-telnet-sessions-and-then-allow-issuing-commands-each#comment-4219</link>
 <description>&lt;p&gt;You want to use the BSD telnet, as the Microsoft one has proved more problematic to control.&lt;/p&gt;
</description>
 <pubDate>Mon, 18 Feb 2008 10:38:23 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 4219 at http://community.activestate.com</guid>
</item>
<item>
 <title>spawn telnet query</title>
 <link>http://community.activestate.com/forum-topic/can-tcl-spawn-2-telnet-sessions-and-then-allow-issuing-commands-each#comment-4213</link>
 <description>&lt;p&gt;What all can be the reasons for spawn telnet failure on a particular machine, while telnet is possible on that machine.&lt;/p&gt;
</description>
 <pubDate>Mon, 18 Feb 2008 03:59:38 -0800</pubDate>
 <dc:creator>ramyalenin</dc:creator>
 <guid isPermaLink="false">comment 4213 at http://community.activestate.com</guid>
</item>
<item>
 <title>Can Tcl spawn 2 telnet sessions</title>
 <link>http://community.activestate.com/forum-topic/can-tcl-spawn-2-telnet-sessions-and-then-allow-issuing-commands-each#comment-3251</link>
 <description>&lt;p&gt;Yes, you can have numerous telnet sessions running simultaneous.  It is then important to keep track of the spawn_id and manage input from the in the &#039;expect&#039; statement.&lt;/p&gt;
</description>
 <pubDate>Mon, 22 Oct 2007 18:00:16 -0700</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3251 at http://community.activestate.com</guid>
</item>
<item>
 <title>Can TCL spawn 2 telnet sessions and then allow issuing commands to each?</title>
 <link>http://community.activestate.com/forum-topic/can-tcl-spawn-2-telnet-sessions-and-then-allow-issuing-commands-each</link>
 <description>&lt;p&gt;Can TCL allowing spawning 2 telnet sessions to different switches then allow issuing command to each switch?&lt;/p&gt;
&lt;p&gt;Below is the sample code:&lt;/p&gt;
&lt;p&gt;spawn telnet $switch1_ipAddr&lt;br /&gt;
set spawn_switch1 $spawn_id&lt;br /&gt;
spawn telnet $switch2_ipAddr&lt;br /&gt;
set spawn_switch2 $spawn_id&lt;/p&gt;
&lt;p&gt;set commandToSend &quot;ls&quot;&lt;br /&gt;
send -i $spawn_switch1 &quot;$commandToSend\r&quot;&lt;br /&gt;
send -i $spawn_switch2 &quot;$commandToSend\r&quot;&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/can-tcl-spawn-2-telnet-sessions-and-then-allow-issuing-commands-each#comments</comments>
 <category domain="http://community.activestate.com/forums/activetcl-support-0">ActiveTcl support</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Mon, 22 Oct 2007 16:18:47 -0700</pubDate>
 <dc:creator>longisyard</dc:creator>
 <guid isPermaLink="false">1539 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
