<?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: Crash using smg$scroll_display_area in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651972#M100147</link>
    <description>Hi Seinhorst,&lt;BR /&gt;&lt;BR /&gt;This problem has been fixed. Latest kit of SMGRTL will have this fixed image included. We verified this problem on V8.3-1H1 system with the latest image.&lt;BR /&gt;&lt;BR /&gt;$ test_program_given&lt;BR /&gt;&lt;BR /&gt;   â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  &lt;BR /&gt;$  â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  &lt;BR /&gt;&lt;BR /&gt;This test program with new SMGSHR image succesfully creates a rectangular box.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ranjan</description>
    <pubDate>Thu, 24 Jun 2010 03:39:43 GMT</pubDate>
    <dc:creator>Ranjan Sarangi</dc:creator>
    <dc:date>2010-06-24T03:39:43Z</dc:date>
    <item>
      <title>Crash using smg$scroll_display_area</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651968#M100143</link>
      <description>When I use the smg$scroll_display_area subroutine in a pascal program, it crashes when the first and the last line are empty, and scrolling a full screen minus one line (see example).&lt;BR /&gt;&lt;BR /&gt;Are we using it the wrong way, or is it a (known) bug?&lt;BR /&gt;&lt;BR /&gt;OS: HP OpenVMS Industry Standard 64 Operating System, Version V8.3-1H1&lt;BR /&gt;Patches: NO&lt;BR /&gt;HW: Integrity&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;[INHERIT('SYS$LIBRARY:STARLET.PEN',&lt;BR /&gt;         'SYS$LIBRARY:PASCAL$SMG_ROUTINES.PEN')] PROGRAM TEST(INPUT,OUTPUT);&lt;BR /&gt;&lt;BR /&gt;VAR&lt;BR /&gt;        disp: UNSIGNED;&lt;BR /&gt;        pasteboard: UNSIGNED;&lt;BR /&gt;        I: INTEGER;&lt;BR /&gt;        rows,cols:INTEGER;&lt;BR /&gt;        testlen:INTEGER;&lt;BR /&gt;        doScroll:BOOLEAN;&lt;BR /&gt;BEGIN&lt;BR /&gt;        testlen:=19;&lt;BR /&gt;        doScroll:=TRUE;&lt;BR /&gt;&lt;BR /&gt;        smg$create_pasteboard(pasteboard,,rows,cols);&lt;BR /&gt;        smg$create_virtual_display(testlen,60,disp,smg$m_border);&lt;BR /&gt;        smg$paste_virtual_display(disp,pasteboard,2,5);&lt;BR /&gt;&lt;BR /&gt;        FOR I := 2 TO (testlen-1) DO&lt;BR /&gt;                smg$put_chars(disp,DEC(I,2,1),I,1);&lt;BR /&gt;&lt;BR /&gt;        IF doScroll THEN&lt;BR /&gt;                smg$scroll_display_area(disp,,,,,,testlen-1);&lt;BR /&gt;END.&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2010 13:37:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651968#M100143</guid>
      <dc:creator>Seinhorst</dc:creator>
      <dc:date>2010-06-23T13:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Crash using smg$scroll_display_area</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651969#M100144</link>
      <description>Hi Seinhorst,&lt;BR /&gt;&lt;BR /&gt;Some info on "smg$scroll_display_area", in case you have not already referred -&lt;BR /&gt;&lt;A href="http://www.itec.suny.edu/scsys/vms/OVMSDOC0731/731final/5841/5841pro_058.html" target="_blank"&gt;http://www.itec.suny.edu/scsys/vms/OVMSDOC0731/731final/5841/5841pro_058.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://pupgg.princeton.edu/HELP/RTL_ROUTINES/SMG_/SMG_SCROLL_DISPLAY_AREA" target="_blank"&gt;http://pupgg.princeton.edu/HELP/RTL_ROUTINES/SMG_/SMG_SCROLL_DISPLAY_AREA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Murali</description>
      <pubDate>Wed, 23 Jun 2010 14:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651969#M100144</guid>
      <dc:creator>P Muralidhar Kini</dc:creator>
      <dc:date>2010-06-23T14:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Crash using smg$scroll_display_area</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651970#M100145</link>
      <description>My Pascal is rusty, but I don't see any error-handling in the posted code.  &lt;BR /&gt;&lt;BR /&gt;If that's the case, then you might want to revisit that and implement some error handling.  &lt;BR /&gt;&lt;BR /&gt;The SMG manual looks to be somewhat spotty here in this regard (as various Pascal examples lack any error handling), though I do see error handling in a Pascal example for the SMG$SELECT_FROM_MENU call, located on page SMG-344 in the SMG manual at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/73final/documentation/pdf/ovms_73_rtl_smg.pdf" target="_blank"&gt;http://h71000.www7.hp.com/doc/73final/documentation/pdf/ovms_73_rtl_smg.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Failure to have error handling means errors can cascade, of course, and can make an entire application harder to support and harder to maintain.&lt;BR /&gt;&lt;BR /&gt;The other programming document to read through here (if you've not already done so) is the OpenVMS Programming Concepts Manual, which describes the format and structure and usage of condition handling; of errors and returns and related handling.  That's the generic model used underneath all OpenVMS languages.&lt;BR /&gt;&lt;BR /&gt;The Pascal and OpenVMS manuals are available via:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hp.com/openvms/doc" target="_blank"&gt;http://www.hp.com/openvms/doc&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You might also want to apply the current mandatory ECOs, but that's secondary to the problems in the code.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jun 2010 16:11:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651970#M100145</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-06-23T16:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Crash using smg$scroll_display_area</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651971#M100146</link>
      <description>Seinhorst,&lt;BR /&gt;&lt;BR /&gt;  I think you've found a bug. Your code, run on OpenVMS/IA64 V8.3-1H1, gets an ACCVIO in OTS$MOVE called from SMG$FLUSH_BUFFER. &lt;BR /&gt;&lt;BR /&gt;  The same code run on OpenVMS/Alpha V8.3 is successful (or, at least, doesn't result in an ACCVIO).&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I don't see any error-handling in the posted code. &lt;BR /&gt;  &lt;BR /&gt;  Error handling might be appropriate when calling routines that are documented to signal expected errors, but in this case, no RTL routine passed with correct arguments should ever signal an ACCVIO. &lt;BR /&gt;&lt;BR /&gt;Your arguments are valid. My experiments show the ACCVIO occurs if the count is 18 or higher, but only on Itanium. I believe it's a bug. &lt;BR /&gt;&lt;BR /&gt;My version of your program is in MACRO32, so it's not a Pascal issue. Most likely something in SMGRTL. Please raise a case with HP customer support.&lt;BR /&gt;&lt;BR /&gt;(and, BTW, it's very nice to see such a succinct reproducer!)</description>
      <pubDate>Thu, 24 Jun 2010 00:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651971#M100146</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2010-06-24T00:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Crash using smg$scroll_display_area</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651972#M100147</link>
      <description>Hi Seinhorst,&lt;BR /&gt;&lt;BR /&gt;This problem has been fixed. Latest kit of SMGRTL will have this fixed image included. We verified this problem on V8.3-1H1 system with the latest image.&lt;BR /&gt;&lt;BR /&gt;$ test_program_given&lt;BR /&gt;&lt;BR /&gt;   â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  &lt;BR /&gt;$  â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â                                                              â  &lt;BR /&gt;   â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  â  &lt;BR /&gt;&lt;BR /&gt;This test program with new SMGSHR image succesfully creates a rectangular box.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ranjan</description>
      <pubDate>Thu, 24 Jun 2010 03:39:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651972#M100147</guid>
      <dc:creator>Ranjan Sarangi</dc:creator>
      <dc:date>2010-06-24T03:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Crash using smg$scroll_display_area</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651973#M100148</link>
      <description>Hi Ranjan,&lt;BR /&gt;&lt;BR /&gt;It looks to me like (from your update) the kit is not yet out for the customers. An idea about the kit name/number and probable release date for the kit? &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ketan&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jun 2010 04:05:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651973#M100148</guid>
      <dc:creator>Shriniketan Bhagwat</dc:creator>
      <dc:date>2010-06-24T04:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Crash using smg$scroll_display_area</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651974#M100149</link>
      <description>Hi Sriniketan,&lt;BR /&gt;&lt;BR /&gt;VMS831H1I_SMGRTL-V0200 kit will have the fix for OpenVMS IA64 V8.3-1H1 version. Usually it takes 8-9 weeks of time to make it available for customers.&lt;BR /&gt;&lt;BR /&gt; - ranjan</description>
      <pubDate>Thu, 24 Jun 2010 07:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651974#M100149</guid>
      <dc:creator>Ranjan Sarangi</dc:creator>
      <dc:date>2010-06-24T07:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Crash using smg$scroll_display_area</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651975#M100150</link>
      <description>Hi Ranjan,&lt;BR /&gt;&lt;BR /&gt;On 23-jun-2010 I received your message:&lt;BR /&gt;&lt;BR /&gt;" VMS831H1I_SMGRTL-V0200 kit will have the fix for OpenVMS IA64 V8.3-1H1 version. Usually it takes 8-9 weeks of time to make it available for customers. &lt;BR /&gt;&lt;BR /&gt;- ranjan "&lt;BR /&gt;&lt;BR /&gt;Do you know the status of this kit. I can't find this kit.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Maarten Seinhorst&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Sep 2010 09:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/crash-using-smg-scroll-display-area/m-p/4651975#M100150</guid>
      <dc:creator>Seinhorst</dc:creator>
      <dc:date>2010-09-14T09:51:57Z</dc:date>
    </item>
  </channel>
</rss>

