<?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 vt220/ANSI terminal programming in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vt220-ansi-terminal-programming/m-p/2734927#M944162</link>
    <description>I'm trying to use ansi escape sequences to save and restore cursor positions on a vt220 terminal. I understand that I get:&lt;BR /&gt;&lt;BR /&gt;&lt;ESC&gt;[s - for save&lt;BR /&gt;&lt;ESC&gt;[u - for unsave (or restore)&lt;BR /&gt;&lt;BR /&gt;For testing, I'm calling printf from the HP-UX command line like this:&lt;BR /&gt;&lt;BR /&gt;$printf "\033[s\033[HTEST\033[u" &amp;gt; /dev/pts/tw&lt;BR /&gt;&lt;BR /&gt;The TEST text comes through fine, the change to the home position works, but the save/restore fails me.&lt;BR /&gt;&lt;BR /&gt;Ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/ESC&gt;&lt;/ESC&gt;</description>
    <pubDate>Thu, 30 May 2002 21:11:11 GMT</pubDate>
    <dc:creator>A. Daniel King_1</dc:creator>
    <dc:date>2002-05-30T21:11:11Z</dc:date>
    <item>
      <title>vt220/ANSI terminal programming</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt220-ansi-terminal-programming/m-p/2734927#M944162</link>
      <description>I'm trying to use ansi escape sequences to save and restore cursor positions on a vt220 terminal. I understand that I get:&lt;BR /&gt;&lt;BR /&gt;&lt;ESC&gt;[s - for save&lt;BR /&gt;&lt;ESC&gt;[u - for unsave (or restore)&lt;BR /&gt;&lt;BR /&gt;For testing, I'm calling printf from the HP-UX command line like this:&lt;BR /&gt;&lt;BR /&gt;$printf "\033[s\033[HTEST\033[u" &amp;gt; /dev/pts/tw&lt;BR /&gt;&lt;BR /&gt;The TEST text comes through fine, the change to the home position works, but the save/restore fails me.&lt;BR /&gt;&lt;BR /&gt;Ideas?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/ESC&gt;&lt;/ESC&gt;</description>
      <pubDate>Thu, 30 May 2002 21:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt220-ansi-terminal-programming/m-p/2734927#M944162</guid>
      <dc:creator>A. Daniel King_1</dc:creator>
      <dc:date>2002-05-30T21:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: vt220/ANSI terminal programming</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt220-ansi-terminal-programming/m-p/2734928#M944163</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Rather than rely on hardcoded terminal codes, you should avail yourself of 'tput'.  have a look at the man pages for 'tput(1)'.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 30 May 2002 21:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt220-ansi-terminal-programming/m-p/2734928#M944163</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-05-30T21:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: vt220/ANSI terminal programming</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vt220-ansi-terminal-programming/m-p/2734929#M944164</link>
      <description>Very cool with tput.  I'm now pass-through printing, too (tput mc5, tput mc4).</description>
      <pubDate>Thu, 13 Jun 2002 21:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vt220-ansi-terminal-programming/m-p/2734929#M944164</guid>
      <dc:creator>A. Daniel King_1</dc:creator>
      <dc:date>2002-06-13T21:30:43Z</dc:date>
    </item>
  </channel>
</rss>

