<?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 Re: How to get answerback from VT or PC with emulator in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870745#M20297</link>
    <description>Thanks all for your help&lt;BR /&gt;&lt;BR /&gt;We want to be able to get answerback from VT/PC in order to use it as a test in a dcl command procedure&lt;BR /&gt;&lt;BR /&gt;Steph</description>
    <pubDate>Wed, 17 Nov 2004 06:24:52 GMT</pubDate>
    <dc:creator>Guillou_2</dc:creator>
    <dc:date>2004-11-17T06:24:52Z</dc:date>
    <item>
      <title>How to get answerback from VT or PC with emulator</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870738#M20290</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I would like to be able to get the answerback implemented on a VT or on a PC with the emulator Relection. How can I do that?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;&lt;BR /&gt;Steph</description>
      <pubDate>Tue, 16 Nov 2004 08:58:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870738#M20290</guid>
      <dc:creator>Guillou_2</dc:creator>
      <dc:date>2004-11-16T08:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to get answerback from VT or PC with emulator</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870739#M20291</link>
      <description>On a VT - IIRC - enter SETUP key (F4), it's in there somewhere.&lt;BR /&gt;Reflextion may depend on the version. In version 6 (on the current desktop):&lt;BR /&gt;Choose SetUp, View settings. You get a box 'Reflextio Settings'. Choose "answerback" where you can enter the message. Options "Answerback concealed" and "auto-answerback" allow you to hide the message and to send it automatically.&lt;BR /&gt;&lt;BR /&gt;(I haven't tried it but just looked into the possibilities)&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Tue, 16 Nov 2004 09:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870739#M20291</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-11-16T09:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get answerback from VT or PC with emulator</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870740#M20292</link>
      <description>On a VT - IIRC - enter SETUP (F4), it's in there somewher.&lt;BR /&gt;Refelxtion may depend on the version. In version 6:&lt;BR /&gt;Choose SetUp, View settings. You get a box 'Reflextio Settings'. Choose "answerback" where you can enter the message. options "Answerback concealed" and "auto-answerback" allow you to hide the message and to send it automatically.&lt;BR /&gt;&lt;BR /&gt;(I haven't tried it but just looked into the possibilities)&lt;BR /&gt;&lt;BR /&gt;Willem</description>
      <pubDate>Tue, 16 Nov 2004 09:44:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870740#M20292</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2004-11-16T09:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get answerback from VT or PC with emulator</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870741#M20293</link>
      <description>Thanks for this reply but I would like to find a dcl procedure in order to get the string that is implemented in the answerback on VT or Pc with Reflection</description>
      <pubDate>Tue, 16 Nov 2004 09:57:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870741#M20293</guid>
      <dc:creator>Guillou_2</dc:creator>
      <dc:date>2004-11-16T09:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get answerback from VT or PC with emulator</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870742#M20294</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;To get the answerback, you'll need to send a 'control-E' to the terminal, and read back the answer. For example in DCL:&lt;BR /&gt;&lt;BR /&gt;$ e="e"&lt;BR /&gt;$ e[0,8]=5&lt;BR /&gt;$ read/prompt=&amp;amp;e sys$command test&lt;BR /&gt;$ show symbol test&lt;BR /&gt;&lt;BR /&gt;This assumes that the answerback is terminated.&lt;BR /&gt;If it is not, it get's more tricky and you may need to use a timeout on a QIO (can no longer use DCL, as the read will fail).&lt;BR /&gt;Or you can follow the answerback question with an other escape-sequence-answer question such that the answer will terminate the read.&lt;BR /&gt;&lt;BR /&gt;Something like:&lt;BR /&gt;&lt;BR /&gt;$control_e[0,8] = 5&lt;BR /&gt;$csi[0,8] = 155&lt;BR /&gt;$write sys$output control_e,csi,"5n" !Ask for answerback + indentification&lt;BR /&gt;$read/prompt="" sys$command test&lt;BR /&gt;$ read sys$command test&lt;BR /&gt;&lt;BR /&gt;Btw, a similar technique can be used to read things like terminal Id and cursor position.&lt;BR /&gt;Example below. But reall you should use SMG or a direct call to SYS$QIOW and examine the terminator to do that properly.&lt;BR /&gt;&lt;BR /&gt;What language/tool/script did you intent to use?&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein,&lt;BR /&gt;&lt;BR /&gt;$csi[0,8] = 155&lt;BR /&gt;$set term/noecho/noesc                  !Any escape will become terminator.&lt;BR /&gt;$write sys$output csi,"5n",csi,"5n"     !Ask identification twice&lt;BR /&gt;$read/prompt="" sys$command escape      !Terminate with escape part of first&lt;BR /&gt;$set term/esc                           !Full escape sequences are terminators&lt;BR /&gt;$read/prompt="" sys$command ident       !Read body of first escape sequence&lt;BR /&gt;$                                       ! terminated by second escape sequence.&lt;BR /&gt;$set term/echo                          !Reset terminal.&lt;BR /&gt;$write sys$output ident&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 10:11:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870742#M20294</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-11-16T10:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to get answerback from VT or PC with emulator</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870743#M20295</link>
      <description>VT escape sequences are documented here&lt;BR /&gt;&lt;A href="http://www.vt100.net" target="_blank"&gt;http://www.vt100.net&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 10:11:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870743#M20295</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2004-11-16T10:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to get answerback from VT or PC with emulator</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870744#M20296</link>
      <description>Hi Steph,&lt;BR /&gt;Hein posted the best procedure to get answerback.&lt;BR /&gt;Why would you read the answerback?&lt;BR /&gt;In past I used answerback to identify workstation; if you need of this, remember VT can be moved. It's better read TT_ACCPORNAM of terminal line.&lt;BR /&gt;If you need something like password don't forget set concealed answerback on terminal.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Tue, 16 Nov 2004 11:29:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870744#M20296</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2004-11-16T11:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to get answerback from VT or PC with emulator</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870745#M20297</link>
      <description>Thanks all for your help&lt;BR /&gt;&lt;BR /&gt;We want to be able to get answerback from VT/PC in order to use it as a test in a dcl command procedure&lt;BR /&gt;&lt;BR /&gt;Steph</description>
      <pubDate>Wed, 17 Nov 2004 06:24:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-answerback-from-vt-or-pc-with-emulator/m-p/4870745#M20297</guid>
      <dc:creator>Guillou_2</dc:creator>
      <dc:date>2004-11-17T06:24:52Z</dc:date>
    </item>
  </channel>
</rss>

