A Terminal Dilemma


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers A Terminal Dilemma
# 1  
Old 04-13-2005
A Terminal Dilemma

Hi everyone, I hope this is the right place to ask this question...

I have a contract to convert a mainframe/DB2 application to using AIX/Oracle. Everything went fine but we are now running into a terminal problem. With the Mainframe app, the clients had great response time from remote locations. With the unix app, the response time is horrible. This seems to be because the mainframe application only sent data on tabs and returns. We need to be able to get our unix application to do this. I have been looking into this for some time and came up with a telnet LINEMODE option. The only problem is that it seems to be hard to find a client that supports this and still supports the ability for the client to position the cursor with the mouse (which is another requirement). Currently we are using PCOMM but can't get it to support this linemode option. I've tried putty which only supports sending on a return and not a tab, so I changed the code to have it send on tabs as well, but it doesn't support the ability to click on a field to position the mouse.

Could anyone offer me some advice here? Maybe some telnet clients that you might know of would be great!

Thanks,
-- Rocky
# 2  
Old 04-13-2005
You could try HummingBird Exceed(?)
# 3  
Old 04-13-2005
Isn't that an X-server? The application is all in a text based terminal, we really just need to stop it from doing a send/recv on each keystroke.
# 4  
Old 04-13-2005
I don't understand how you are using a mouse in conjunction with an ascii terminal. Please explain how that works.

If you are using an ascii terminal, it would take a lot of work to do that. Unix is deeply full duplex at it's heart. If you do "stty -a", you will probably see "echo" rather than "-echo". That means you type a character and it goes to the host which echos it on the screen. Since you are using telnet and therefore psuedo terminals, you can ignore xon/xoff problems. But most people want echoe on so that an erase character is echoed as backspace-space-backspace. The INTR character (usually cntl-C) sends a SIGINT immediately. EOF (usually cntl-D) immediately sends an EOF. SIGQUIT, job control, line erase, the list goes on and on. You are not going to hammer the unix terminal driver into your mold easily. If you succeed, all telnet sessions will be affected. Ditto anything else that uses psuedo terminals. Many unix programs will not function at all, vi comes quickly to mind. Others will not work very well.

Unless your users are bouncing off a satellite or two, I rather doubt that full duplex operation is the problem anyway. What happens when you do other stuff, is everything slow, or just your app? I sometimes need to access boxes in other parts of the world. I get pretty decent response except when I bounce off a satellite. Then I type a character and sometime later it appears. I type a line and wait for it to appear before I can hit return. I admit that linemode does start to look attractive in that environment.

If you are using a telnet client, your platform could run other clients. One option might be to go to a web based application. You would have a html server on the aix box, and the users would use netscape or whatever. Another option is to write your own server and write your own clients.
# 5  
Old 04-13-2005
The clients are using MS windows, so that's where the mouse comes in. The application has a few fields that the user can tab between and then submits the data. Using PCOMM, they can click a specific location and the cursor will be placed in that field.

The slowness we are experiencing is because we are in DC and some clients are in South America. When they type a long description in the field, it takes a long time because every character has to be echoed back and sometimes in takes a second or so just to get the character echoed back. Web based would be the best solution of course but unfortunately we can't do that currently, we have to make this current solution usable before we can do anything else in the long term.
# 6  
Old 04-13-2005
The only quick thing might be to turn off character echoing. The unix command is: stty -echo and you would need to find an option in your client to display characters as they are typed. It might be called half duplex mode. That still will break vi ans the passwd program won't be able to hide passwords, etc.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies

2. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

3. Red Hat

Patch management dilemma

I've inherited about 10 RHEL 3 boxes that are located in Europe behind a corporate firewall with no access to rhn.redhat.com I've been tasked with patching all of these systems but I ask, Does redhat issue patch bundles? In AIX, there are maintenance levels and Sun has patch clusters available... (4 Replies)
Discussion started by: Steelysteel
4 Replies

4. Shell Programming and Scripting

dilemma what to use c++ or script for demon process

Hello all i need to implement demon that needs to extract data from db load the data to memory and according to this data to perform actions like sending emails or write/update files this action needs to be preformed each 30 min's now i really don't know what to decide or to compile c++... (5 Replies)
Discussion started by: umen
5 Replies

5. What is on Your Mind?

Final Year Project dilemma

Hello everyone. Need some final year project ideas - what is actual/feasible and beneficial experience-wise? Preferably something related to Networking / Linux / UNIX / Security . Appreciate any help/idea. E.K. (0 Replies)
Discussion started by: reminiscent
0 Replies

6. Solaris

DiskSuite dilemma

Hello, We have this system a SunFire 280R running Solaris 8 Generic_117350-46. It has 2 36GB disks in it. They are mirrored with DiskSuite 4.2.1. When we execute a metastat all the devices report an Okay status, but when we go into metatool everything is in the Critical (maintenance)... (4 Replies)
Discussion started by: mgb
4 Replies

7. Programming

dilemma in control flow

hello im facing a queer problem when i execute the foll code in unix # include <stdio.h> # include <unistd.h> main(int argc,char *argv) { FILE *fp = fopen("/ras/chirag/fifotest/file.fifo","a"); int i=1; fprintf(fp,argv); printf("I SLEEP"); system("date"); for (i=0;i<50;i++)... (2 Replies)
Discussion started by: tej.buch
2 Replies
Login or Register to Ask a Question