Directing output to arbitrary host terminal

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MykeAndrews
    New Member
    • Aug 2007
    • 3

    Directing output to arbitrary host terminal

    If this topic is discussed in another post, I apologize. I was unable to find it but I'm struggling to come up with good key words to search for.

    My issue is this: I'm trying to create a "shell" GUI program that transmits commands to a host terminal. At the same time, this program must be able to read the terminal's responses and react accordingly. While manipulating the incoming data is complicated, it would be easily done. What I cannot figure out how to do is transmit the data to the terminal and input the results. Knowing nothing about the terminal window besides the executable files and a handful of extra libraries, is this possible?

    Provided is a list of the "Supporting Communication Libraries":

    --- Supporting Communication Libraries ---
    ALCAPI32.DLL Build Version 3.1.4.0
    Description: Windows32/ALC Communications API Loader

    ECAALC32.DLL Build Version 3.1.4.0
    Description: Windows32/ALC Communications API for ECA
    Configuration Information:
    ALC Service: ALC_GATEWAY

    ECAAPI32.DLL Build Version 3.1.4.0
    Description: Windows32/ECA Communications API

    ECAMS32.DLL Build Version 3.1.4.0
    Description: Windows32/ECA Message Switch

    ECAEXE32.EXE Build Version 3.1.4.0
    Description: Windows32/ECA Message Switch Executive
    Configuration Information:
    Workstation: xxxxxxxxxxxxx
    IPC Address: xxx.xxx.xxx.xxx

    I am beyond clueless. If there is any advice to be given, I'd greatly appreciate it.

    -Myke
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Can you use Microsoft Internet Information Server?

    You give few details about the host and the client.

    Oracle provides Pro-C to connect clients.

    You may also look into Microsoft ODBC which is a generalized interface to communicate with a host database.

    As a last resort you could use ftp, but try to avoid this.

    Comment

    • MykeAndrews
      New Member
      • Aug 2007
      • 3

      #3
      Thanks weaknessforcats !

      I unfortunately know very little about the program. All I have access to is the terminal screen. I'm not privy to the innerworkings and I am not welcome to edit the terminal or make any changes to anything beyond my program. I'm sorry for how vague this sounds. I have very little information. That's why I'm hoping to be able to push directly to the terminal and read it as well, which may not even be possible.

      A side thought would be any way to print out to the terminal without making it the active window. Again, I don't know if any of this is possible. If there is a better language someone could suggest for this sort of thing, I'm willing to learn it to make this work.

      -Myke

      Comment

      • JosAH
        Recognized Expert MVP
        • Mar 2007
        • 11453

        #4
        Wouldn't MIT's X11 be an option? It runs on MS Windows too.

        kind regards,

        Jos

        Comment

        • MykeAndrews
          New Member
          • Aug 2007
          • 3

          #5
          Thanks Jos! I'll look into that right away.

          -Myke

          Comment

          Working...