Re: RE: RE: segmentation fault
Posted in 2009
try setting term to ansi
export TERM=3Dansi
j.
<= br />
On Apr 20, 2009, Everett Mills <Everett.Mills@n= ationalbeef.com>
wrote:
Felix-
I'm not a Linux guru by any stretch of the imagination, = so I'm
cross posting this to the more general Informix news list,
comp.databases.informix. You will have to look for responses there
or
subscribe to the informix list (not the same as IDS list) through
the
iiug. You would probably do well to subscribe in any case, because
a
= fair bit of useful information passes through there.
For those = who didn't see the original post to IDS list, I'm
adding it to
the end= .
As to the current issue, my new best guess is that it may have=
something
to do with the curses or ncurses library, but that's just a= wild
guess.
--EEM
> -----Original Message-----
> From: FELIX MWANGO MUTALE [mailto:[1]fmutale02@yahoo.com]
> Sent: Monday, April 20, 2009 2:57 AM
> To: Everett Mills
> Subject: Re: RE: segmentation fault []
>
> The follo= wing e-mail was sent to you via IDS Forum from FELIX
MWANGO
> MUTAL= E ([2]fmutale02@yahoo.com) at IP address 196.46.223.3.
>
>
****************************************************************=
********
**
> *****
>
> Re: RE: segmentation = fault
>
> Hello Everett,
>
> Thanks for y= our response. I have tried your suggestion but to
no
avail. I
>= ; am just wondering does RHEL 5 fully support the following
Informix
&= gt; products?
> Informix SE version 7.26 UC6R1
> Informix 4= gl Developer Version 7.32 UC4
> Informix 4gl Runtime Version 7.32 U= C4
> Informix 4gl Compiler RT Version 7.32 UC3
> Informix S= ql Development Version 7.32 UC4
> Informix Sql Runtime Version 7.32= UC4
>
> If it does, what environmental variables need to = be set ? I
have the
> following:
> PATH=3D$PATH:$HOME/phase= I/bin
>
> export PATH
> export DBDATE=3DDMY4/
> export DBSCREENOUT=3D/tmp/screen.out
> export DBPATH=3D/srs-p= rps/ppsys
> export INFORMIXDIR=3D/srs-prps/informix
> expor= t INFORMIXSERVER=3Dmainsrvr
> export TERMCAP=3D$INFORMIXDIR/etc/ter= mcap
> export INFORMIXTERM=3Dtermcap
> export INFORMIXSQLHO= STS=3D/srs-prps/informix/etc/sqlhosts
> export
>
LD_LI=
BRARY_PATH=3D$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib:$INFORMIXDIR/l
ib
= /e
> sql:$LD_LIBRARY_PATH
> export SQLEXEC=3D$INFORMIXDIR/l= ib/sqlexec
> export TERM=3Dvt100
> export ROWS=3D34, COLUMN= S=3D127
> ####export PATH=3D$PATH:$INFORMIXDIR/bin
>
= > What is astonishing is that, the segmentationfault come up
after theform
> is displayed and only fails to place the cursor in the i= nput
field.
This
> particular program I indicated to you works= perfectly well on
SCO
> OpenServer 5.05 and Informix 4gl 7,20 UD7.=
>
>
> I tried to change the termcap hoping I wou= ld overcome the
problem but,
it
> like the problem is fat fetc= hed. It would have helped me if the
error
was
> coming with me= ssage code but, it just comes up with
segmentation fault
and
>= it does not dump atall.
>
> I am stuck and frustrated. Pl= ease help Iam new to linux.
>
> Thanking you in advance.>
>
> Felix Mwango Mutale
>
>
*******************************************************************
*****<= br />**
> *****
> I posted a message over the above p= roblem but, I have had no
feed
back.
> Here
> is my= problem.
>
> We Installed RHEL 5 with these Informix pro= ducts
>
> Informix SE version 7.26 UC6R1
> Infor= mix 4gl Developer Version 7.32 UC4
> Informix 4gl Runtime Version = 7.32 UC4
> Informix 4gl Compiler RT Version 7.32 UC3
> In= formix Sql Development Version 7.32 UC4
> Informix Sql Runtime Ver= sion 7.32 UC4
>
> And the profile as:
>
&g= t; export DBSCREENOUT=3D/tmp/screen.out
> export DBPATH=3D/srs-prp= s/ppsys
> export INFORMIXDIR=3D/srs-prps/informix
> expor= t PATH=3D$INFORMIXDIR/bin:$PATH
> export INFORMIXDIR=3D/srs-prps/i= nformix
> export INFORMIXSERVER=3Dmainsrvr
> export TERMC= AP=3D/srs-prps/informix/etc/termcap
> export INFORMIXTERM=3Dtermca= p
> export INFORMIXSQLHOSTS=3D/srs-prps/informix/etc/sqlhosts
>
LD_LIBRARY_PATH=3D$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib:$INF=
ORMIXDIR/lib
/e
> sql
> export LD_LIBRARY_PATH=
> export SQLEXEC=3D$INFORMIXDIR/lib/sqlexec
> export TER= M=3Dvt100
>
> I have part of the code like this. I have t= ried to put displays
around
to
> track down the flow as= follows:
>
> LET GetInput =3D TRUE
> WHILE GetI= nput
> display " Inside infield manno 1 "
> display "GetI= nput =3D ", GetInput
> sleep 5
> INPUT w_manno,
>= ; w_surname
> WITHOUT DEFAULTS
> FROM manno,
> s= urname
>
> AFTER FIELD manno
> display " Inside = infield manno 2 "
> sleep 5
> IF w_manno <> " "
> AND w_manno IS NOT NULL
> THEN
> SELECT COUNT(*) =
> INTO w_cnt
>
> The second display is not comin= g. I can't put a display just
after the
> INPUT
> co= mmand or as I am getting a syntax error.
>
> I have also = tried the following:
>
> LET GetInput =3D TRUE
>= WHILE GetInput
> display " Inside infield manno 1 "
> di= splay "GetInput =3D ", GetInput
> sleep 5
> INPUT BY NAME= manno,
> surname
> WITHOUT DEFAULTS
>
>= ; But still I don't seem to get what is going on. How do control
the
= cursor
> to
> placed in the input field ? Is it an Inform= ix problem or linux
?
>
> Thanking you in advance.
= >
> Felix Mwango Mutale
__________________________________= _____________
Informix-list mailing list
[3]Informix-list@iiu= g.org
[4]http://www.iiug.org/mailman/listi= nfo/informix-list
References
1. 3D"mailto:fmutale02@yahoo=
2. 3D"mailto:fmutale02@yahoo.com"
3. 3D"mailto:Inform=
4. 3D"http://www.iiug.org/mailman/listinfo/informix-lis=