<?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 do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054447#M37901</link>
    <description>A simple way is to use the C run-time function "system".&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;&lt;BR /&gt;int system (const char *string);&lt;BR /&gt;&lt;BR /&gt;This passes the string to the host environment to be executed by the command processor.&lt;/STDLIB.H&gt;</description>
    <pubDate>Fri, 22 Jun 2007 07:46:28 GMT</pubDate>
    <dc:creator>Walter Miller_1</dc:creator>
    <dc:date>2007-06-22T07:46:28Z</dc:date>
    <item>
      <title>How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054445#M37899</link>
      <description>Hi community&lt;BR /&gt;&lt;BR /&gt;does somebody know how to do a &lt;BR /&gt;&lt;BR /&gt;$ SET DISPLAY/CREATE/NODE= /TRANSPORT= /SERVER= /SCREEN=&lt;BR /&gt;&lt;BR /&gt;in a language like C or Pascal ?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Geni</description>
      <pubDate>Fri, 22 Jun 2007 06:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054445#M37899</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2007-06-22T06:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054446#M37900</link>
      <description>Hi Heinz&lt;BR /&gt;It's Friday and I'm just out the door, but..&lt;BR /&gt;&lt;BR /&gt;sys$examples ... [.decw] has a few C programs in it. &lt;BR /&gt;&lt;BR /&gt;Any good?&lt;BR /&gt;&lt;BR /&gt;Steven</description>
      <pubDate>Fri, 22 Jun 2007 07:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054446#M37900</guid>
      <dc:creator>Steve-Thompson</dc:creator>
      <dc:date>2007-06-22T07:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054447#M37901</link>
      <description>A simple way is to use the C run-time function "system".&lt;BR /&gt;&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;&lt;BR /&gt;int system (const char *string);&lt;BR /&gt;&lt;BR /&gt;This passes the string to the host environment to be executed by the command processor.&lt;/STDLIB.H&gt;</description>
      <pubDate>Fri, 22 Jun 2007 07:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054447#M37901</guid>
      <dc:creator>Walter Miller_1</dc:creator>
      <dc:date>2007-06-22T07:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054448#M37902</link>
      <description>Steve: There is no example for this&lt;BR /&gt;&lt;BR /&gt;Walter: There is a possibility to the oposite (SHOW DISPLAY) with a QIO and a undocumented IO$_SENSEMODE | IO$M_WS_DISPLAY. &lt;BR /&gt;&lt;BR /&gt;I Would prefere a solution with a qio or another system_service&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jun 2007 07:58:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054448#M37902</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2007-06-22T07:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054449#M37903</link>
      <description>have a look at create_decterm.c and .com in&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/freeware/freeware40/srh_examples/" target="_blank"&gt;http://h71000.www7.hp.com/freeware/freeware40/srh_examples/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jun 2007 08:09:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054449#M37903</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2007-06-22T08:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054450#M37904</link>
      <description>&lt;!--!*#--&gt;I have some code that asks for the values (in fortran)&lt;BR /&gt;c&lt;BR /&gt;c the below values should be in $iodef&lt;BR /&gt;c but in fortran they are not there so&lt;BR /&gt;c I define them myself.&lt;BR /&gt;c&lt;BR /&gt;        integer*4 decw$c_ws_dsp_node&lt;BR /&gt;        parameter (decw$c_ws_dsp_node=1)    &lt;BR /&gt;        integer*4 decw$c_ws_dsp_transport&lt;BR /&gt;        parameter (decw$c_ws_dsp_transport=2)&lt;BR /&gt;        integer*4 decw$c_ws_dsp_server&lt;BR /&gt;        parameter (decw$c_ws_dsp_server=3)   &lt;BR /&gt;        integer*4 decw$c_ws_dsp_screen&lt;BR /&gt;        parameter (decw$c_ws_dsp_screen=4)  &lt;BR /&gt;        integer*4 io$m_ws_display&lt;BR /&gt;        parameter (io$m_ws_display=64)      &lt;BR /&gt;c&lt;BR /&gt;c First try the DECW$DISPLAY&lt;BR /&gt;c&lt;BR /&gt;        istat= sys$assign('decw$display',chan,,,)&lt;BR /&gt;        if(istat) then&lt;BR /&gt;c&lt;BR /&gt;c decw$display exists, so now get it&lt;BR /&gt;c THis code gets the value, but if you &lt;BR /&gt;c replace the sensmode with setmode, it &lt;BR /&gt;c should set it&lt;BR /&gt;c&lt;BR /&gt;          opcode = io$_sensemode .or. io$m_ws_display&lt;BR /&gt;c&lt;BR /&gt;c Get transportname&lt;BR /&gt;c&lt;BR /&gt;          istat = sys$qiow(%val(EFN$C_ENF),%val(chan),%val(opcode),iosb,,,&lt;BR /&gt;     1                     %ref(transportname),%val(len(transportname)),&lt;BR /&gt;     1                      %val(decw$c_ws_dsp_transport),,,)&lt;BR /&gt;          if(istat) istat = iosb.wstatus&lt;BR /&gt;c &lt;BR /&gt;c I assume you can translate to c&lt;BR /&gt;c You need 4 qios to set all elements&lt;BR /&gt;c</description>
      <pubDate>Fri, 22 Jun 2007 09:01:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054450#M37904</guid>
      <dc:creator>Fekko Stubbe</dc:creator>
      <dc:date>2007-06-22T09:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054451#M37905</link>
      <description>Allocate and open a channel to WSA0:, and toss an IO$_SETMODE [masked with whatever the WS arguments] at the WSAu: cloned device, and off you go.&lt;BR /&gt;&lt;BR /&gt;If you're creating a process and seeking to have it use DECwindows to display output, you can pass in the WSAu: device into the created process.  LOGINOUT looks at the I/O channels to decide what its target is; toss the WSAu: cloned device at all three arguments; input, output and error. &lt;BR /&gt;&lt;BR /&gt;I'll post an article on this topic over at the new HoffmanLabs site later today.&lt;BR /&gt;&lt;BR /&gt;Stephen Hoffman&lt;BR /&gt;HoffmanLabs LLC&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 Jun 2007 10:17:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054451#M37905</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-06-22T10:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054452#M37906</link>
      <description>Article and C code (SENSEMODE, not SETMODE) posted to &lt;A href="http://64.223.189.234/node/375" target="_blank"&gt;http://64.223.189.234/node/375&lt;/A&gt;</description>
      <pubDate>Fri, 22 Jun 2007 14:00:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054452#M37906</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2007-06-22T14:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to do a SET DISPLAY/CREATE/NODE=/TRANSPORT=/SERVER=/SCREEN= in C or Pascal</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054453#M37907</link>
      <description>Hi Fekko and Hoff&lt;BR /&gt;&lt;BR /&gt;Thanks a lot. I will be able to solve the problem now by using SETMODE instead of sensemode. I wrote a hack to test it and it seems that this is working well.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Geni</description>
      <pubDate>Sun, 24 Jun 2007 08:10:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-do-a-set-display-create-node-transport-server-screen-in-c/m-p/5054453#M37907</guid>
      <dc:creator>Heinz W Genhart</dc:creator>
      <dc:date>2007-06-24T08:10:58Z</dc:date>
    </item>
  </channel>
</rss>

