Sponsored Content
Full Discussion: A Terminal Dilemma
Top Forums UNIX for Dummies Questions & Answers A Terminal Dilemma Post 69233 by Perderabo on Wednesday 13th of April 2005 10:49:09 AM
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.
 

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
DB2_CLOSE(3)								 1							      DB2_CLOSE(3)

db2_close - Closes a database connection

SYNOPSIS
bool db2_close (resource $connection) DESCRIPTION
This function closes a DB2 client connection created with db2_connect(3) and returns the corresponding resources to the database server. If you attempt to close a persistent DB2 client connection created with db2_pconnect(3), the close request is ignored and the persistent DB2 client connection remains available for the next caller. PARAMETERS
o $connection - Specifies an active DB2 client connection. RETURN VALUES
Returns TRUE on success or FALSE on failure. EXAMPLES
Example #1 Closing a connection The following example demonstrates a successful attempt to close a connection to an IBM DB2, Cloudscape, or Apache Derby database. <?php $conn = db2_connect('SAMPLE', 'db2inst1', 'ibmdb2'); $rc = db2_close($conn); if ($rc) { echo "Connection was successfully closed."; } ?> The above example will output: Connection was successfully closed. SEE ALSO
db2_connect(3), db2_pclose(3), db2_pconnect(3). PHP Documentation Group DB2_CLOSE(3)
All times are GMT -4. The time now is 01:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy