473,379 Members | 1,167 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

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
Aug 4 '07 #1
4 1560
weaknessforcats
9,208 Expert Mod 8TB
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
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
JosAH
11,448 Expert 8TB
Wouldn't MIT's X11 be an option? It runs on MS Windows too.

kind regards,

Jos
Aug 4 '07 #4
Thanks Jos! I'll look into that right away.

-Myke
Aug 5 '07 #5

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

Similar topics

8
by: Marko Faldix | last post by:
Hello, with Python 2.3 I can write umlauts (a,o,u umlaut) to a file with this piece of code: import codecs f = codecs.open("klotentest.txt", "w", "latin-1") print >>f, unicode("My umlauts...
4
by: flamesrock | last post by:
First, I'm very new to gui programming, so please go lightly on me :) Ok, so far I've settled on wxPython, and what I'd like to do as a first leap is *convert* a text program into a gui program....
3
by: Mike Conmackie | last post by:
Greetings, I am trying to create a node in the output tree using a variable. Here are some fragments that I hope will explain the problem better. <xsl:stylesheet...
2
by: EJO | last post by:
Thanks, folks, for taking time to help! In query analyzer and profiler, there seem to be system processes that are generating high cpu time and disk io. Well, I guess the short of it is that I...
8
by: Greenhorn | last post by:
Hi, when i run the output file generated by using cc i get no output on my terminal. #include <stdio.h> main() { printf("Testing the printf functionality"); }
3
by: ferbar | last post by:
Hello all, This may sound pretty basic stuff.. but I'm working on a socket example whose client seems to work fine, but the server doesn't send to the client the expected result. The problem is...
2
by: Michael B. Trausch | last post by:
I am having a slight problem with UTF-8 output with Python. I have the following program: x = 0 while x < 0x4000: print u"This is Unicode code point %d (0x%x): %s" % (x, x, unichr(x)) x +=...
0
by: skip | last post by:
I have a fairly simple curses app which is giving me this error: addstr() returned ERR I'm trapping it and continuing. I can see that *some* of my addstring calls succeed. This one happens...
13
by: sayansayan | last post by:
two threads are running in a prog i need the output of one thread in a new terminal which the prog will create and the output of other thread in the old terminal
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.