<?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: Putting ESCAPE codes into a file in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076283#M87035</link>
    <description>Jennifer,&lt;BR /&gt;         If you are inserting these characters into a DCL script, then the best approach is that described by Hein.    If you don't do it this way, you will have fun trying to print the script because the escape characters will be translated in the process.    Here is how I do it.&lt;BR /&gt;&lt;BR /&gt;$   ESC[0,7] = 27&lt;BR /&gt;$   Bold = ESC + "[1;1m"   ! Bold Text&lt;BR /&gt;$   Rev  = ESC + "[7;1m"   ! Reverse Video&lt;BR /&gt;$   Norm = ESC + "[0m"     ! Back to normal&lt;BR /&gt;&lt;BR /&gt;$   Write sys$output "''ESC'[17;9f"   ! Move the cursor to Line 17, Column 9.&lt;BR /&gt;&lt;BR /&gt;etc, etc.&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
    <pubDate>Fri, 26 Oct 2007 06:42:52 GMT</pubDate>
    <dc:creator>The Brit</dc:creator>
    <dc:date>2007-10-26T06:42:52Z</dc:date>
    <item>
      <title>Putting ESCAPE codes into a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076278#M87030</link>
      <description>Is anyone out there able to tell me how to put an ESCAPE code into a file.&lt;BR /&gt;An ESCAPE P code is needed to make a DYMO label printer use a 16point font.</description>
      <pubDate>Thu, 25 Oct 2007 12:25:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076278#M87030</guid>
      <dc:creator>Jennifer Werner</dc:creator>
      <dc:date>2007-10-25T12:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Putting ESCAPE codes into a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076279#M87031</link>
      <description>If you use EDT e.g. its:&lt;BR /&gt;&lt;BR /&gt;&lt;GOLD&gt;27&lt;GOLD&gt;&lt;KP3&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;GOLD&gt;&amp;gt;KP3&amp;gt; is called 'special insert' and 27 is the ascii code (in decimal) for &lt;ESC&gt;.&lt;BR /&gt;&lt;BR /&gt;regards Kalle&lt;BR /&gt;&lt;BR /&gt;P.S. &lt;GOLD&gt; is the PF1 key and &lt;KP3&gt; the 3 on the right edit keyboard.&lt;/KP3&gt;&lt;/GOLD&gt;&lt;/ESC&gt;&lt;/GOLD&gt;&lt;/KP3&gt;&lt;/GOLD&gt;&lt;/GOLD&gt;</description>
      <pubDate>Thu, 25 Oct 2007 12:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076279#M87031</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2007-10-25T12:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Putting ESCAPE codes into a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076280#M87032</link>
      <description>In EDT (EDITx/EDT) I just hit escape twice.&lt;BR /&gt;That'll do it.&lt;BR /&gt;That trick also allows you so 'see' escape sequences as issued by keystrokes.&lt;BR /&gt;For example, hit escape, followed by 'page-down' and you see: &lt;ESC&gt;[6~&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in TPU use: TPU COPY_TEXT(ASCII(27)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;in DCL:&lt;BR /&gt;&lt;BR /&gt;$ x = "x"&lt;BR /&gt;$ x[0,8] = 27&lt;BR /&gt;$ open/appe tmp tmp.tmp&lt;BR /&gt;$ write tmp x&lt;BR /&gt;$ dump/rec tmp.tmp&lt;BR /&gt;:&lt;BR /&gt;Record number 6 (00000006), 1 (0001) byte, RFA(0001,0000,0066)&lt;BR /&gt;                   1B ................................ 000000&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy!&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;&lt;/ESC&gt;</description>
      <pubDate>Thu, 25 Oct 2007 12:54:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076280#M87032</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-10-25T12:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Putting ESCAPE codes into a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076281#M87033</link>
      <description>In TPU (EVE), use ^V (Control V) to enter control characters into a file from the keyboard. The next character typed will be entered as text. It works for most control keys - I think the only ones excluded are ^S and ^Q.&lt;BR /&gt;&lt;BR /&gt;The sequence ^V ^[ (Control V then Control [) will enter an escape character.</description>
      <pubDate>Thu, 25 Oct 2007 17:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076281#M87033</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2007-10-25T17:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Putting ESCAPE codes into a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076282#M87034</link>
      <description>Jennifer,&lt;BR /&gt;&lt;BR /&gt;Do you need a one-shot? In which case EDT/TPU will do. Or, is the need for an ongoing creation of new files.&lt;BR /&gt;&lt;BR /&gt;In the latter case, all of the languages have their own specific syntax for representing non-printable characters (e.g., ESCAPE).&lt;BR /&gt;&lt;BR /&gt;In DCL, the assignment statements (=,==) have the square brackets syntax, to wit:&lt;BR /&gt;&lt;BR /&gt; $ ESCAPE_CHARACTER_STRING[0,8] = 27&lt;BR /&gt;&lt;BR /&gt;You will find examples of this syntax in files in SYS$EXAMPLES.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Thu, 25 Oct 2007 21:27:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076282#M87034</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2007-10-25T21:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Putting ESCAPE codes into a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076283#M87035</link>
      <description>Jennifer,&lt;BR /&gt;         If you are inserting these characters into a DCL script, then the best approach is that described by Hein.    If you don't do it this way, you will have fun trying to print the script because the escape characters will be translated in the process.    Here is how I do it.&lt;BR /&gt;&lt;BR /&gt;$   ESC[0,7] = 27&lt;BR /&gt;$   Bold = ESC + "[1;1m"   ! Bold Text&lt;BR /&gt;$   Rev  = ESC + "[7;1m"   ! Reverse Video&lt;BR /&gt;$   Norm = ESC + "[0m"     ! Back to normal&lt;BR /&gt;&lt;BR /&gt;$   Write sys$output "''ESC'[17;9f"   ! Move the cursor to Line 17, Column 9.&lt;BR /&gt;&lt;BR /&gt;etc, etc.&lt;BR /&gt;&lt;BR /&gt;Dave.</description>
      <pubDate>Fri, 26 Oct 2007 06:42:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076283#M87035</guid>
      <dc:creator>The Brit</dc:creator>
      <dc:date>2007-10-26T06:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Putting ESCAPE codes into a file</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076284#M87036</link>
      <description>Within minutes of the post I had helpful replies.  The replies DID lead to the solution!&lt;BR /&gt;I just had to open a file with EDT (which I never use), press the ESC key twice and then press the letter of the escape code and save the file.&lt;BR /&gt;Then I had to use the following print command...&lt;BR /&gt;PRINT UT:LABUPITCH.COM /QUE=LABEL_TEST2&lt;BR /&gt;which sends the escape code.&lt;BR /&gt;Then print the file as usual.</description>
      <pubDate>Thu, 01 Nov 2007 13:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/putting-escape-codes-into-a-file/m-p/5076284#M87036</guid>
      <dc:creator>Jennifer Werner</dc:creator>
      <dc:date>2007-11-01T13:09:38Z</dc:date>
    </item>
  </channel>
</rss>

