<?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 Setting background color with SMG$ calls in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/setting-background-color-with-smg-calls/m-p/4315178#M44868</link>
    <description>I am calling smg$put_line from BASIC and setting attributes like foreground color and inverse video.  I know how to set color using smg$m_user1 in the rendition-set argument, referring to smgterm.txt. What I would like to do is set both the foreground and background colors, for which I know the escape codes, but I don't know how to properly define.</description>
    <pubDate>Fri, 28 Nov 2008 21:36:18 GMT</pubDate>
    <dc:creator>Stephen Eickhoff_1</dc:creator>
    <dc:date>2008-11-28T21:36:18Z</dc:date>
    <item>
      <title>Setting background color with SMG$ calls</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-background-color-with-smg-calls/m-p/4315178#M44868</link>
      <description>I am calling smg$put_line from BASIC and setting attributes like foreground color and inverse video.  I know how to set color using smg$m_user1 in the rendition-set argument, referring to smgterm.txt. What I would like to do is set both the foreground and background colors, for which I know the escape codes, but I don't know how to properly define.</description>
      <pubDate>Fri, 28 Nov 2008 21:36:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-background-color-with-smg-calls/m-p/4315178#M44868</guid>
      <dc:creator>Stephen Eickhoff_1</dc:creator>
      <dc:date>2008-11-28T21:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting background color with SMG$ calls</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/setting-background-color-with-smg-calls/m-p/4315179#M44869</link>
      <description>If you have a support contract, call up HP and ask them to find the following support article for you, and other old examples that were once around:&lt;BR /&gt;&lt;BR /&gt;Example-C How To Display Color Text Using SMG$ Routines &lt;BR /&gt;The SMG$M_USER1 through SMG$M_USER8 can be used to set user-defined attributes for the rendition-set argument to the following calls:  SMG$CHANGE_RENDITION &lt;BR /&gt;     &lt;A href="http://h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC940221001554.html" target="_blank"&gt;http://h18000.www1.hp.com/support/asktima/appl_tools/CHAMP_SRC940221001554.html&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;This example code was once directly available, but looks to have been moved or deleted now; neither the James search tool nor Google return these old examples.&lt;BR /&gt;</description>
      <pubDate>Sat, 29 Nov 2008 18:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/setting-background-color-with-smg-calls/m-p/4315179#M44869</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2008-11-29T18:12:55Z</dc:date>
    </item>
  </channel>
</rss>

