<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to capture telnet output using  shell/perl script ?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059077#M719225</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a newsgroup running at forums.sybase.com.&lt;BR /&gt;We can find the all newsgroups and number of messages in each group by executing following commands:&lt;BR /&gt;&lt;BR /&gt;telnet test.com 119&lt;BR /&gt;&lt;BR /&gt;this command will connect to test.com. Then you can execute "list" and get the list of Newsgroups with message numbers. &lt;BR /&gt;Then you can execute "quit" to quit telnet session.&lt;BR /&gt;&lt;BR /&gt;I want to capture the output of "list" command.&lt;BR /&gt;Is it possible to do this ??&lt;BR /&gt;Thanks</description>
    <pubDate>Thu, 28 Aug 2003 16:15:53 GMT</pubDate>
    <dc:creator>Praveen Hari</dc:creator>
    <dc:date>2003-08-28T16:15:53Z</dc:date>
    <item>
      <title>How to capture telnet output using  shell/perl script ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059077#M719225</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a newsgroup running at forums.sybase.com.&lt;BR /&gt;We can find the all newsgroups and number of messages in each group by executing following commands:&lt;BR /&gt;&lt;BR /&gt;telnet test.com 119&lt;BR /&gt;&lt;BR /&gt;this command will connect to test.com. Then you can execute "list" and get the list of Newsgroups with message numbers. &lt;BR /&gt;Then you can execute "quit" to quit telnet session.&lt;BR /&gt;&lt;BR /&gt;I want to capture the output of "list" command.&lt;BR /&gt;Is it possible to do this ??&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 28 Aug 2003 16:15:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059077#M719225</guid>
      <dc:creator>Praveen Hari</dc:creator>
      <dc:date>2003-08-28T16:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture telnet output using  shell/perl script ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059078#M719226</link>
      <description>Try "telnet server | tee spoolfielname"&lt;BR /&gt;when back brow your spool file&lt;BR /&gt;I suppose you will get some escape sequences.&lt;BR /&gt;&lt;BR /&gt;Hope this Help&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;JL</description>
      <pubDate>Thu, 28 Aug 2003 16:22:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059078#M719226</guid>
      <dc:creator>Jean-Luc Oudart</dc:creator>
      <dc:date>2003-08-28T16:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture telnet output using  shell/perl script ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059079#M719227</link>
      <description>It worked. Thanks.</description>
      <pubDate>Thu, 28 Aug 2003 16:33:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059079#M719227</guid>
      <dc:creator>Praveen Hari</dc:creator>
      <dc:date>2003-08-28T16:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to capture telnet output using  shell/perl script ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059080#M719228</link>
      <description>You could also use the script command, man script. That takes everything and puts it to a named file:&lt;BR /&gt;&lt;BR /&gt;script /tmp/your_output_filename&lt;BR /&gt;&lt;BR /&gt;or if you want to append to that same file:&lt;BR /&gt;&lt;BR /&gt;script -a /tmp/your_output_filename&lt;BR /&gt;&lt;BR /&gt;It may give you cleaner output.</description>
      <pubDate>Thu, 28 Aug 2003 19:41:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-capture-telnet-output-using-shell-perl-script/m-p/3059080#M719228</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-08-28T19:41:33Z</dc:date>
    </item>
  </channel>
</rss>

