By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,953 Members | 1,109 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,953 IT Pros & Developers. It's quick & easy.

Directing output to arbitrary host terminal

P: 3
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
Aug 4 '07 #1
Share this Question
Share on Google+
4 Replies


weaknessforcats
Expert Mod 5K+
P: 9,197
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.
Aug 4 '07 #2

P: 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
Aug 4 '07 #3

Expert 10K+
P: 11,448
Wouldn't MIT's X11 be an option? It runs on MS Windows too.

kind regards,

Jos
Aug 4 '07 #4

P: 3
Thanks Jos! I'll look into that right away.

-Myke
Aug 5 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.