<?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 simulate keyboard input ? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-keyboard-input/m-p/3465667#M210836</link>
    <description>Hi !&lt;BR /&gt;&lt;BR /&gt;I have to launch an executable program that asks some strings from the keyboard, and I want to do it in background (without interaction). I've heard that there is an utility suitable to do it. Can you help me ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Augusto</description>
    <pubDate>Tue, 18 Jan 2005 12:12:59 GMT</pubDate>
    <dc:creator>Augusto Vinhaes</dc:creator>
    <dc:date>2005-01-18T12:12:59Z</dc:date>
    <item>
      <title>How to simulate keyboard input ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-keyboard-input/m-p/3465667#M210836</link>
      <description>Hi !&lt;BR /&gt;&lt;BR /&gt;I have to launch an executable program that asks some strings from the keyboard, and I want to do it in background (without interaction). I've heard that there is an utility suitable to do it. Can you help me ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Augusto</description>
      <pubDate>Tue, 18 Jan 2005 12:12:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-keyboard-input/m-p/3465667#M210836</guid>
      <dc:creator>Augusto Vinhaes</dc:creator>
      <dc:date>2005-01-18T12:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to simulate keyboard input ?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-keyboard-input/m-p/3465668#M210837</link>
      <description>Probably the most powerful tool is "expect" which can look for patterns in the output and supply input.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.42/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.42/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;However, for simple tasks all you need is to redirect stdin.&lt;BR /&gt;&lt;BR /&gt;myscript.sh &amp;lt; myinputfile &amp;amp;&lt;BR /&gt;&lt;BR /&gt;Another usefuk tools is the utility "script" which can record all terminal input and output and make the above tasks easier. Man script for details.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jan 2005 12:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-simulate-keyboard-input/m-p/3465668#M210837</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-01-18T12:17:58Z</dc:date>
    </item>
  </channel>
</rss>

