Rocket U2 | UniVerse & UniData

 View Only
  • 1.  Wintegrate Escape Codes to Control Wintegrate

    Posted 12-04-2022 02:37
    Inside a proc you can do T I27,"`:" to set the column width of the wintegrate emulator to 80 characters. Is there a listing of what escape sequences exist to manipulate the wintegrate emulator?

    The end goal is to change the wintegrate terminal type programmatically.

    Thanks in advance!

    ------------------------------
    Nivethan Thiyagarajah
    Programmer
    Asynchron Systems Inc
    Toronto ON CA
    ------------------------------


  • 2.  RE: Wintegrate Escape Codes to Control Wintegrate

    PARTNER
    Posted 12-05-2022 10:50
    Edited by Mike Young 12-05-2022 10:50
    In the wIntegrate installation sub-directory CONFIG (ie c:\program files (x86)\wintegrate\config) there are client scripts (mainly to resize wIntegrate cols, rows, backpages, font) we use to resize/config wIntegrate using WIN.PCSCRIPT called sz{cols}x{rows}.wis e.g. sz80x24.wis

    In your routine you could simply run the script by setting COLS and ROWS e.g.
    COLS = 80
    ROWS = 24
    CALL WIN.PCSCRIPT("Config/sz" : COLS : "x" : ROWS : ".wis", "")

    ------------------------------
    Mike Young
    Senior PS Techical Consultant
    Aptean
    Atlanta GA US
    ------------------------------



  • 3.  RE: Wintegrate Escape Codes to Control Wintegrate

    Posted 12-06-2022 09:27
    Thank you, that pointed me in the right direction.

    You can also do CALL WIN.COMSUB('Set Emulation="vt100"') to set specific variables without having a script on the host PC.


    https://community.rocketsoftware.com/forums/forum-home/digestviewer/view-question?ContributedContentKey=6acb43de-13b8-4e62-9864-c0631c4a3353&CommunityKey=9623ec16-9dfa-45ef-b0ef-482ea8980f44&tab=digestviewer


    ------------------------------
    Nivethan Thiyagarajah
    Programmer
    Asynchron Systems Inc
    Toronto ON CA
    ------------------------------