Terminal Emulators and Informix 
Author Message
 Terminal Emulators and Informix

I have recently come across a problem and it is a showstopper for me.  I am
trying to write an sql that is called from an Expect script.  However, when
run from various terminal emulators it fails.  I have had success with the
script when running it from the Linux Bash shell, the AIX term shell on AIX
4.3.3 and from KDE's (Linux) shell.  But from any other emulator or terminal
it fails.  I believe that Informix is querying the Term variables but I do
not know how to set it up or force it from differing emulations.

Ths script is writing in Korn shell, it then Executes an Expect script which
feeds the information needed for the SQL.  When the SQL completes it sends
the data to a file which is then picked up by the original Ksh program and
prints it out.  All variables are exported.  I'm stumped since it works from
some emulators but not all.

Any help would be greatly appreciated.  Please send repsonsed to



Wed, 18 Jun 1902 08:00:00 GMT
 Terminal Emulators and Informix

Have the script dump its environment.  Could be something is not being set.

Art S. Kagel

Quote:

> I have recently come across a problem and it is a showstopper for me.  I am
> trying to write an sql that is called from an Expect script.  However, when
> run from various terminal emulators it fails.  I have had success with the
> script when running it from the Linux Bash shell, the AIX term shell on AIX
> 4.3.3 and from KDE's (Linux) shell.  But from any other emulator or terminal
> it fails.  I believe that Informix is querying the Term variables but I do
> not know how to set it up or force it from differing emulations.

> Ths script is writing in Korn shell, it then Executes an Expect script which
> feeds the information needed for the SQL.  When the SQL completes it sends
> the data to a file which is then picked up by the original Ksh program and
> prints it out.  All variables are exported.  I'm stumped since it works from
> some emulators but not all.

> Any help would be greatly appreciated.  Please send repsonsed to




Wed, 18 Jun 1902 08:00:00 GMT
 Terminal Emulators and Informix

Quote:
> Have the script dump its environment.  Could be something is not being set.

Watching an app run, with a simple prompt command and a call to run a
child, I did

echo "1^J" | test.4ge

Poof, input and thats it, seems that immediately after the prompt
command, the app dies. The same follows for input commands. However,
change the ^J to a ^M and hello, it works, however, this is not really
consistent since I found that r4gl applications behave slightly
differently to i4gl builds of the same app. \r and \n both work in r4gl
builds, but only \n works in i4gl builds.

brettt

Quote:
> Art S. Kagel


> > I have recently come across a problem and it is a showstopper for me.  I am
> > trying to write an sql that is called from an Expect script.  However, when
> > run from various terminal emulators it fails.  I have had success with the
> > script when running it from the Linux Bash shell, the AIX term shell on AIX
> > 4.3.3 and from KDE's (Linux) shell.  But from any other emulator or terminal
> > it fails.  I believe that Informix is querying the Term variables but I do
> > not know how to set it up or force it from differing emulations.

> > Ths script is writing in Korn shell, it then Executes an Expect script which
> > feeds the information needed for the SQL.  When the SQL completes it sends
> > the data to a file which is then picked up by the original Ksh program and
> > prints it out.  All variables are exported.  I'm stumped since it works from
> > some emulators but not all.

> > Any help would be greatly appreciated.  Please send repsonsed to




Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. NT Terminal Emulator for Oracle

2. terminal emulator for linux

3. Linux Terminal Emulator

4. Terminal Emulator for Linux

5. Terminal Emulator

6. Freeware Terminal Emulator

7. Graphical Text Editor for MV Terminal Emulators

8. Terminal Emulator for Windows NT ?

9. Terminal Emulator for Windows NT

10. Syslink Terminal Emulator


 
Powered by phpBB® Forum Software