Rocket U2 | UniVerse & UniData

 View Only
Expand all | Collapse all

Can anyone help me visualize a web page using Accuterm?

  • 1.  Can anyone help me visualize a web page using Accuterm?

    Posted 05-24-2023 12:20

    I am new to accuterm, about a year now, and am still struggling with trying to understand the pieces I need in place to have a graphical accuterm screen display on the internet. I've been told repeatedly that its possible and functioning with my release of accuterm8. Can anyone share with me even a static screen accuterm display on the web? Even just a box that says 'You are here.'

    There are obviously pieces I need for the web address to access my accuterm display but I don't even know what questions to ask....

    Anyone?



    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------


  • 2.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 10:42

    Is this the kind of thing you're looking for?

    PROGRAM EMV_ALERT_BOX_ATW_TST

    ! Copyright 1994-2023 Marcus Rhodes <marcus1@thinqware.com>

    !           This program is free software;  You can redistribute it and/or
    !           modify it under the terms of the GNU general  public  license
    !           version 3 as published by the Free Software Foundation.

    ! Modified: 11/19/2018 10:24:31 by Marcus

    ! Platform: Any Pick; Any OS; AccuTerm; Any emulation

    ! Function: Test-drives EMV_ALERT_BOX_ATW.

    ! Upcoming:

       EQU IDENTITY TO 'EMV_ALERT_BOX_ATW_TST'

    !  INCLUDE EMV,BIN EMV_UBIQUITOUS_STUFF

       ALRT_TXT  = 'This is a test.~~     For the next sixty seconds, this st'
       ALRT_TXT := 'ation will conduct a test of the emergency broadcast syst'
       ALRT_TXT := 'em.  This is only a test.~~     This is a test of the Eme'
       ALRT_TXT := 'rgency Broadcast System.  The broadcasters of your area, '
       ALRT_TXT := 'in voluntary cooperation with the federal, state and loca'
       ALRT_TXT := "l 'authorities', have developed this system to keep you i"
       ALRT_TXT := 'nformed in the event of an emergency.~~     If this had b'
       ALRT_TXT := 'een an actual emergency, you would have been instructed w'
       ALRT_TXT := 'here to tune in your area for news and official informati'
       ALRT_TXT := 'on.~~And he said, "Put your head between your knees, and '
       ALRT_TXT := 'kiss your bum goodbye!"'

       CALL EMV_ALERT_BOX_ATW( CHANGE( ALRT_TXT, '~', @AM ) )

    STOP


    SUBROUTINE EMV_ALERT_BOX_ATW( MESSAGES )

    ! Copyright 1994-2023 Marcus Rhodes <marcus1@thinqware.com>

    !           This program is free software; You can redistribute it and/or
    !           modify it under the terms of the GNU general  public  license
    !           version 3 as published by the Free Software Foundation.

    ! Modified: 04/09/2021 17:20:41 by Marcus

    ! Platform: Any Pick; Any OS; AccuTerm; Any emulation

    ! Function: Shows MESSAGES in a Windows MsgBox with Ok button.

    ! Var_name IO Typ Description____________________________________________
    ! MESSAGES >< Str Text to be displayed in the message-box.
    !                 If null or unassigned, a substitute message is display-
    !                 ed, and returned.
    !                 There's no need to neutralize any string delimiters; We
    !                 take care of that here.

    ! Upcoming: Change is the only constant. -- Heraclitus

    ! Old name: N/A

    ! Catalog : EMV_ALERT_BOX_ATW

    ! New name: N/A

       EQU IDENTITY TO 'EMV_ALERT_BOX_ATW'

       CALL EMV_VBA_STR_FMT_ATW( MESSAGES, ( MESSAGES ) )

       VBA_CODE  = CHAR( 27 ) : CHAR( 2 )
       VBA_CODE := 'Pdim s as accutermclasses.session'
       VBA_CODE := '`set s = activesession'
       VBA_CODE := '`MsgBox ' : MESSAGES : ',0,"!!! ATTENTION !!!"'

       CRT CHANGE( VBA_CODE, '`', CHAR( 25 ) ) : CHAR( 13 ) :

    RETURN ;! to the calling program.



    ------------------------------
    Marcus Rhodes
    marcus1@thinqware.com
    ------------------------------



  • 3.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 11:09

    Hi Marcus, thank you for responding. This appears to be a pick program that will force a windows popup on a users desktop, is that correct?

    I am looking for something that can be seen on the web/internet.

    Kathleen



    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------



  • 4.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 11:10

    Yes.  Correct.  You may want to turn to Kevin King of Precision Solutions.



    ------------------------------
    Marcus Rhodes
    marcus1@thinqware.com
    ------------------------------



  • 5.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 11:29

    I will give it a shot :)
    You can write a Pick BASIC program, that will build an HTML page, and then make Accuterm throw  that page out to the Windows process
    Windows will then display that page using your default web browser

    Like that?



    ------------------------------
    Will Johnson
    Systems Analyst
    Rocket Forum Shared Account
    ------------------------------



  • 6.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 11:33

    And, of course, if you can get the permission set up correctly, you Pick application can write directly to you web-site's directories, creating/deleting pages as needed.  If you've ever done any hand-coding of your web-site, this should be super-simple.



    ------------------------------
    Marcus Rhodes
    marcus1@thinqware.com
    ------------------------------



  • 7.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 11:48

    I'm not sure WIll - can you post a super simple example so I can see if it's what I am looking for?
    Thank you



    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------



  • 8.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 12:01

    My code tends to be highly parameterized however you can launch any type of file from Accuterm using the Pick BASIC command

    EQUATE STX TO CHAR(2), ESC TO CHAR(27), CR TO CHAR(13)

    PRINT ESC:STX:'<':DRIVE:FILE:CR


    You can write for example this item "<HTML><BODY>Hello World</BODY></HTML>" to the FILE location on any accessible drive, making sure you call the file something.html and then launch that file.  Lauching means to throw it at Windows and let Windows decide what to do with this surprising attack

    In the case of any file with the html suffix what Windows should do it launch your default browser and hand off the file to that browser to do it's own magic with it.  I.E. display it in a browser.



    ------------------------------
    Will Johnson
    Systems Analyst
    Rocket Forum Shared Account
    ------------------------------



  • 9.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 12:09

    Thank you Will but no, that is not what I am looking for...

    I need the portal setup for my accuterm screens to be accessed through the internet.



    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------



  • 10.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 12:14

    Yes you can access accuterm through a web browser

    https://www.zumasys.com/2019/09/11/here-comes-the-fun-accuterm-8-is-here/



    ------------------------------
    Will Johnson
    Systems Analyst
    Rocket Forum Shared Account
    ------------------------------



  • 11.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-25-2023 12:26

    Do you have this setup on your system? I know how to find documentation. I do not have contact with someone who is actually doing so at this time (using accuterm over the web). If that is you please advise as to the setup. If that is not you, thank you for attempting to help.
    Kathleen



    ------------------------------
    Kathleen Hambrick
    Programmer at Colwell
    ------------------------------



  • 12.  RE: Can anyone help me visualize a web page using Accuterm?

    PARTNER
    Posted 05-26-2023 14:25

    Hi Will,

    Is the Accuterm 8 for the Web ready for prime time? - I tried it about a year ago and it was not working well.

    I have been working on porting all of our software to the web and we've been successful so far.  However, as I'm sure you know doing it well is not as easy as pressing a button.  We have inserted into an IFRAME of our web page WebSSH which does a terminal interface from the browser and it works, but it's extremely limited, one of the complains I get is that since we can't really change the font size they complain that it's too small.

    Not sure if you're the right person to ask but how can I see how it could work or who can I talk to about it?

    Regards, Sam



    ------------------------------
    Samuel A Powell
    President/Developer
    Advanced Transportation Systems Inc
    Colorado Springs CO US
    ------------------------------



  • 13.  RE: Can anyone help me visualize a web page using Accuterm?

    Posted 05-26-2023 14:44

    I thought Accuterm was now owned by Rocket ?
    So you have to talk to them, or whoever is your interlevel vendor



    ------------------------------
    Will Johnson
    Systems Analyst
    Rocket Forum Shared Account
    ------------------------------



  • 14.  RE: Can anyone help me visualize a web page using Accuterm?

    PARTNER
    Posted 05-25-2023 14:22
    Edited by Christine Rizza 05-25-2023 14:21

    The problem, in my opinion, is the approach is not yield the correct results with AccuTerm.
    Perhaps, if I understand you should define the project more explicitly:

    1) Will my web server be Apache or Apache Tomcat?
    2) Will I be using web services, REST, or other technologies to connect to Universe or Unidata?
    3) How do I make sure the access to the database is secure?
    4) How do I make sure the connection and access are scalable?
    5) How do I integrate the current UniBasic code to support my current applications and the web ones?

    I did this years ago when we moved off telnet to be 100% Web-based.
    I think the mental exercise should be first instead of code.



    ------------------------------
    Doug Averch
    Owner
    U2 Logic
    ------------------------------