<?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: Telnet and OpenVMS control chars in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505514#M42894</link>
    <description>What doesn't work?  &lt;BR /&gt;What happens?  &lt;BR /&gt;What (else) have you tried? &lt;BR /&gt;&lt;BR /&gt;If you're not already, please ensure you're familiar with how escape and control sequences work, and forget what you know about the PC keyboard and keycodes and Windows keyboard programming here.  &lt;BR /&gt;&lt;BR /&gt;That is not, BTW, F10.  &lt;BR /&gt;&lt;BR /&gt;F10 in eight-bit:&lt;BR /&gt;&lt;BR /&gt;CSI 2 1 ~ &lt;BR /&gt;&lt;BR /&gt;In seven-bit:&lt;BR /&gt;&lt;BR /&gt;ESC [ 2 1 ~&lt;BR /&gt;&lt;BR /&gt;Poke around at vt100.net or in your VT-series terminal manual of choice.  For the core sequences, see SMGTERMS.TXT &lt;BR /&gt;&lt;BR /&gt;$ search sys$system:smgterms.txt f10&lt;BR /&gt;&lt;BR /&gt;The basics of control sequences are described in the OpenVMS I/O User's Reference Manual, in the section on the terminal driver.  If you don't know the architecture of the sequences, go take a look at that now.&lt;BR /&gt;&lt;BR /&gt;It is feasible to screen-scrape using pseudo-terminals on OpenVMS, and to then pass communications over the wire.  To keep the encapsulation entirely on OpenVMS, to pass over network messages, and thus to give the future legacy Windows application developers a saner starting point when they're maintaining and porting this stuff you're working on.&lt;BR /&gt;&lt;BR /&gt;And if you're looking at this stuff, do not use the Windows-integrated Hilgreave Hyperterm.   Get PuTTY or get the current Hilgreave Hyperterm, or get the VTstar tool off the older Freeware.  That latter one is the actual VT code, built as a terminal emulator.  The integrated Hilgreave Hyperterm is really bad.  These and various other options are far better terminal emulators.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC</description>
    <pubDate>Wed, 30 Sep 2009 11:31:22 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2009-09-30T11:31:22Z</dc:date>
    <item>
      <title>Telnet and OpenVMS control chars</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505513#M42893</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm developing a screen scraping app in VB.Net that will connect to an OpenVMS system.  I've got as far as being able to connect, login and pass simple commands where required, such as when asked to select option 1, 2, or 3, sending the correct key code returns the data I need.&lt;BR /&gt;&lt;BR /&gt;The problem I am having is one of the options requires I hit the F10 key (if I was using an emulator) and try as I might I cannot seem to pass the correct value.  If I look at the key mapping for the emulation package EMSoft I see the F10 key is sent as /27[212~ but this does not seem to work for me.&lt;BR /&gt;&lt;BR /&gt;Does anyone have any experience of doing this who could possibly point me in the right direction?&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;BR /&gt;Terry.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Sep 2009 10:47:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505513#M42893</guid>
      <dc:creator>Terry.R</dc:creator>
      <dc:date>2009-09-30T10:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and OpenVMS control chars</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505514#M42894</link>
      <description>What doesn't work?  &lt;BR /&gt;What happens?  &lt;BR /&gt;What (else) have you tried? &lt;BR /&gt;&lt;BR /&gt;If you're not already, please ensure you're familiar with how escape and control sequences work, and forget what you know about the PC keyboard and keycodes and Windows keyboard programming here.  &lt;BR /&gt;&lt;BR /&gt;That is not, BTW, F10.  &lt;BR /&gt;&lt;BR /&gt;F10 in eight-bit:&lt;BR /&gt;&lt;BR /&gt;CSI 2 1 ~ &lt;BR /&gt;&lt;BR /&gt;In seven-bit:&lt;BR /&gt;&lt;BR /&gt;ESC [ 2 1 ~&lt;BR /&gt;&lt;BR /&gt;Poke around at vt100.net or in your VT-series terminal manual of choice.  For the core sequences, see SMGTERMS.TXT &lt;BR /&gt;&lt;BR /&gt;$ search sys$system:smgterms.txt f10&lt;BR /&gt;&lt;BR /&gt;The basics of control sequences are described in the OpenVMS I/O User's Reference Manual, in the section on the terminal driver.  If you don't know the architecture of the sequences, go take a look at that now.&lt;BR /&gt;&lt;BR /&gt;It is feasible to screen-scrape using pseudo-terminals on OpenVMS, and to then pass communications over the wire.  To keep the encapsulation entirely on OpenVMS, to pass over network messages, and thus to give the future legacy Windows application developers a saner starting point when they're maintaining and porting this stuff you're working on.&lt;BR /&gt;&lt;BR /&gt;And if you're looking at this stuff, do not use the Windows-integrated Hilgreave Hyperterm.   Get PuTTY or get the current Hilgreave Hyperterm, or get the VTstar tool off the older Freeware.  That latter one is the actual VT code, built as a terminal emulator.  The integrated Hilgreave Hyperterm is really bad.  These and various other options are far better terminal emulators.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC</description>
      <pubDate>Wed, 30 Sep 2009 11:31:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505514#M42894</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-09-30T11:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and OpenVMS control chars</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505515#M42895</link>
      <description>&lt;!--!*#--&gt;&amp;gt; {...] /27[212~ [...]&lt;BR /&gt;&lt;BR /&gt;Huh?  My VT 220 Programmer Pocket Guide says:&lt;BR /&gt;&lt;BR /&gt;      CSI 2 1 ~&lt;BR /&gt;&lt;BR /&gt;where CSI could be ESC [ (7-bit) instead of&lt;BR /&gt;a real CSI (8-bit) %x9B.&lt;BR /&gt;&lt;BR /&gt;Hard to believe that a Web search couldn't&lt;BR /&gt;resolve this.</description>
      <pubDate>Wed, 30 Sep 2009 11:34:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505515#M42895</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-30T11:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and OpenVMS control chars</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505516#M42896</link>
      <description>Hi guys and thanks for the prompt responses.&lt;BR /&gt;&lt;BR /&gt;Steven, please understand that I know absolutely nothing about OpenVMS or the Alpha so if my question seemed rather basic, sorry.  &lt;BR /&gt;&lt;BR /&gt;Stephen,&lt;BR /&gt;Thanks for your comments and pointers, they are really, really helpful.  I am onsite again tomorrow and will go through your post to see what I can figure out.&lt;BR /&gt;&lt;BR /&gt;Will let you know what transpires.&lt;BR /&gt;&lt;BR /&gt;Thanks again.&lt;BR /&gt;Terry.</description>
      <pubDate>Wed, 30 Sep 2009 12:02:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505516#M42896</guid>
      <dc:creator>Terry.R</dc:creator>
      <dc:date>2009-09-30T12:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and OpenVMS control chars</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505517#M42897</link>
      <description>We all started out with no knowledge of the platform.&lt;BR /&gt;&lt;BR /&gt;Don't force-fit a familiar solution in an unfamiliar and disparate environment.    And don't avoid an easier solution simply because you're unfamiliar with it.&lt;BR /&gt;&lt;BR /&gt;That is the path of frustration.  &lt;BR /&gt;&lt;BR /&gt;Familiarity can sometimes breed contemptible code.&lt;BR /&gt;&lt;BR /&gt;There can be alternatives to screen-scraping, and there can be other approaches toward encapsulating a tool that does need to screen-scrape.  And if you are going to screen-scrape, there are almost certainly tools and libraries around that can do that for you.  (The pseudo terminal APU stuff is discussed in a couple of places in the OpenVMS manual set; there's a full PTD library for that.)&lt;BR /&gt;&lt;BR /&gt;I prefer to avoid spreading around application-level knowledge of the innards of how one operating system or one platform is implemented along to another disparate platform; to encapsulate, privatize and objectify this data.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Sep 2009 12:17:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505517#M42897</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-09-30T12:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and OpenVMS control chars</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505518#M42898</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] I know absolutely nothing about&lt;BR /&gt;&amp;gt; OpenVMS [...]&lt;BR /&gt;&lt;BR /&gt;The key to finding the info is realizing that&lt;BR /&gt;it's a _terminal_ question, not a computer or&lt;BR /&gt;OS question.  Thus, knowing nothing about&lt;BR /&gt;VMS is actually not much of a handicap.&lt;BR /&gt;Well, not for the F10 question, anyway.</description>
      <pubDate>Wed, 30 Sep 2009 12:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505518#M42898</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-09-30T12:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and OpenVMS control chars</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505519#M42899</link>
      <description>I used KEA!X and in keyboard mapping I could remap the keys. Could it be that F10 is mapped to something different from F10 ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Thu, 01 Oct 2009 10:21:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505519#M42899</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2009-10-01T10:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet and OpenVMS control chars</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505520#M42900</link>
      <description>Terry,&lt;BR /&gt;&lt;BR /&gt;Alittle trick to find what is sent by the terminal or the emulator.&lt;BR /&gt;&lt;BR /&gt; Login to the VMS thru the emulator. Edit a dummy file with the EDT editor (EDIT/EDT dummy). When in keypad mode (normal editing) press the ESC key (better CTRL[ so you are shure that the ESC key is not remmaped by the emulator) and after that the key you want to see what it sends. The editor will insert the whole escape sequence.&lt;BR /&gt;&lt;BR /&gt; For example if you press&lt;BR /&gt;&lt;CTRL&gt;&lt;F10&gt; the editor will insert:&lt;BR /&gt;&lt;ESC&gt;[21~&lt;BR /&gt;&lt;BR /&gt;This works because in the EDT editor two consequent ESC means that you want insert an ESC in the text.&lt;BR /&gt;&lt;BR /&gt;Bojan&lt;/ESC&gt;&lt;/F10&gt;&lt;/CTRL&gt;</description>
      <pubDate>Thu, 01 Oct 2009 10:38:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/telnet-and-openvms-control-chars/m-p/4505520#M42900</guid>
      <dc:creator>Bojan Nemec</dc:creator>
      <dc:date>2009-10-01T10:38:01Z</dc:date>
    </item>
  </channel>
</rss>

