Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

4gl 'error' gives reverse video on entire screen

 
   Database Help (Home) -> Informix RSS
Next:  Export rtf  
Author Message
loc

External


Since: Dec 07, 2008
Posts: 10



(Msg. 1) Posted: Sun Dec 07, 2008 1:03 pm
Post subject: 4gl 'error' gives reverse video on entire screen
Archived from groups: comp>databases>informix (more info?)

I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
the 4gl 'error' command is executed the entire screen goes reverse
video. It only does this if I set INFORMIXTERM=terminfo. I need this
because function keys don't work unless I use terminfo. It also does
the reverse video on the entire screen if I press a function key which
does not have an 'on key' associated with it. Any ideas what is
causing this display problem? I'm using TERM=xterm.

 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
loc

External


Since: Dec 07, 2008
Posts: 10



(Msg. 2) Posted: Sun Dec 07, 2008 4:17 pm
Post subject: Re: 4gl 'error' gives reverse video on entire screen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 7, 7:02 pm, Ian Goddard wrote:
> loc wrote:
> > I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
> > the 4gl 'error' command is executed the entirescreengoesreverse
> > video.  It only does this if I set INFORMIXTERM=terminfo.  I need this
> > because function keys don't work unless I use terminfo.  It also does
> > thereversevideo on the entirescreenif I press a function key which
> > does not have an 'on key' associated with it.  Any ideas what is
> > causing this display problem?  I'm using TERM=xterm.
>
> Do you mean it just goesreversefor a moment and then back to normal?
> If so that sounds like xterm's visual bell.  Application sends the BEL
> char.  xterm doesn't know how to go "ding" so it flashes thescreeninstead.
>
> --
> Ian
>
> Hotmail is for spammers.  Real mail address is igoddard
> at nildram co uk

No it stays in reverse, I have to exit the program and type 'reset' to
get normal color back. What you suggest does sound like a
possibility, I'll investigate how to turn off the bell and see if
that's it. It does this anytime an invalid key is pressed so I think
you may be on to something.

 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
loc

External


Since: Dec 07, 2008
Posts: 10



(Msg. 3) Posted: Sun Dec 07, 2008 4:24 pm
Post subject: Re: 4gl 'error' gives reverse video on entire screen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 7, 7:02 pm, Ian Goddard wrote:
> loc wrote:
> > I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
> > the 4gl 'error' command is executed the entire screen goes reverse
> > video.  It only does this if I set INFORMIXTERM=terminfo.  I need this
> > because function keys don't work unless I use terminfo.  It also does
> > the reverse video on the entire screen if I press a function key which
> > does not have an 'on key' associated with it.  Any ideas what is
> > causing this display problem?  I'm using TERM=xterm.
>
> Do you mean it just goes reverse for a moment and then back to normal?
> If so that sounds like xterm's visual bell.  Application sends the BEL
> char.  xterm doesn't know how to go "ding" so it flashes the screen instead.
>
> --
> Ian
>
> Hotmail is for spammers.  Real mail address is igoddard
> at nildram co uk

Tried starting the xterm with +vb to disable the visual bell, but it
didn't fix the problem.
 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
Ian Goddard

External


Since: Dec 14, 2007
Posts: 16



(Msg. 4) Posted: Sun Dec 07, 2008 7:25 pm
Post subject: Re: 4gl 'error' gives reverse video on entire screen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

loc wrote:
> I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
> the 4gl 'error' command is executed the entire screen goes reverse
> video. It only does this if I set INFORMIXTERM=terminfo. I need this
> because function keys don't work unless I use terminfo. It also does
> the reverse video on the entire screen if I press a function key which
> does not have an 'on key' associated with it. Any ideas what is
> causing this display problem? I'm using TERM=xterm.

Do you mean it just goes reverse for a moment and then back to normal?
If so that sounds like xterm's visual bell. Application sends the BEL
char. xterm doesn't know how to go "ding" so it flashes the screen instead.

--
Ian

Hotmail is for spammers. Real mail address is igoddard
at nildram co uk
 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
Mario R. Canto

External


Since: Oct 01, 2003
Posts: 2



(Msg. 5) Posted: Sun Dec 07, 2008 9:27 pm
Post subject: Re: 4gl 'error' gives reverse video on entire screen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

loc escribió:
> I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
> the 4gl 'error' command is executed the entire screen goes reverse
> video. It only does this if I set INFORMIXTERM=terminfo. I need this
> because function keys don't work unless I use terminfo. It also does
> the reverse video on the entire screen if I press a function key which
> does not have an 'on key' associated with it. Any ideas what is
> causing this display problem? I'm using TERM=xterm.
> _______________________________________________
> Informix-list mailing list
> Informix-list DeleteThis @iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>
Your termcap and terminfo are incomplete. You can define the function
keys in termcap, or fix the wrong terminfo entry to go back from reverse
screen. Or you can download one of many termcap/terminfo files in the
iiug repository.
HTH

Mario R. Canto
 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
loc

External


Since: Dec 07, 2008
Posts: 10



(Msg. 6) Posted: Mon Dec 08, 2008 5:09 am
Post subject: Re: 4gl 'error' gives reverse video on entire screen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 8, 7:23 am, Ian Goddard wrote:
> loc wrote:
> > On Dec 7, 7:02 pm, Ian Goddard wrote:
> >> loc wrote:
> >>> I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
> >>> the 4gl 'error' command is executed the entirescreengoesreverse
> >>> video. It only does this if I set INFORMIXTERM=terminfo. I need this
> >>> because function keys don't work unless I use terminfo. It also does
> >>> thereversevideo on the entirescreenif I press a function key which
> >>> does not have an 'on key' associated with it. Any ideas what is
> >>> causing this display problem? I'm using TERM=xterm.
> >> Do you mean it just goesreversefor a moment and then back to normal?
> >> If so that sounds like xterm's visual bell. Application sends the BEL
> >> char. xterm doesn't know how to go "ding" so it flashes thescreeninstead.
>
> >> --
> >> Ian
>
> >> Hotmail is for spammers. Real mail address is igoddard
> >> at nildram co uk
>
> > No it stays in reverse, I have to exit the program and type 'reset' to
> > get normal color back. What you suggest does sound like a
> > possibility, I'll investigate how to turn off the bell and see if
> > that's it. It does this anytime an invalid key is pressed so I think
> > you may be on to something.
>
> Go into vi and hit ESC without being in insert mode. If the same thing
> happens, even if it's supposed to be off then (a) it is a visual bell
> and (b) xterm's mishandling it.
>
> You could also try some other terminal emulator such as gnome-terminal.
>
> --
> Ian
>
> Hotmail is for spammers. Real mail address is igoddard
> at nildram co uk

It works in vi. If I hit ESC while not in insert mode, it beeps. If
I start the xterm with -vb then the screen flashes in reverse, but
does go back to normal. So it seems the 4gl problem of staying in
reverse is a different issue.
 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
loc

External


Since: Dec 07, 2008
Posts: 10



(Msg. 7) Posted: Mon Dec 08, 2008 6:01 am
Post subject: Re: 4gl 'error' gives reverse video on entire screen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 8, 7:23 am, Ian Goddard wrote:
> loc wrote:
> > On Dec 7, 7:02 pm, Ian Goddard wrote:
> >> loc wrote:
> >>> I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
> >>> the 4gl 'error' command is executed the entirescreengoesreverse
> >>> video. It only does this if I set INFORMIXTERM=terminfo. I need this
> >>> because function keys don't work unless I use terminfo. It also does
> >>> thereversevideo on the entirescreenif I press a function key which
> >>> does not have an 'on key' associated with it. Any ideas what is
> >>> causing this display problem? I'm using TERM=xterm.
> >> Do you mean it just goesreversefor a moment and then back to normal?
> >> If so that sounds like xterm's visual bell. Application sends the BEL
> >> char. xterm doesn't know how to go "ding" so it flashes thescreeninstead.
>
> >> --
> >> Ian
>
> >> Hotmail is for spammers. Real mail address is igoddard
> >> at nildram co uk
>
> > No it stays in reverse, I have to exit the program and type 'reset' to
> > get normal color back. What you suggest does sound like a
> > possibility, I'll investigate how to turn off the bell and see if
> > that's it. It does this anytime an invalid key is pressed so I think
> > you may be on to something.
>
> Go into vi and hit ESC without being in insert mode. If the same thing
> happens, even if it's supposed to be off then (a) it is a visual bell
> and (b) xterm's mishandling it.
>
> You could also try some other terminal emulator such as gnome-terminal.
>
> --
> Ian
>
> Hotmail is for spammers. Real mail address is igoddard
> at nildram co uk

The xterm bell does not sound when using terminfo with 4gl, but
anytime it should sound is when I get the entire screen in reverse.
 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
Ian Goddard

External


Since: Dec 14, 2007
Posts: 16



(Msg. 8) Posted: Mon Dec 08, 2008 8:25 am
Post subject: Re: 4gl 'error' gives reverse video on entire screen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

loc wrote:
> On Dec 7, 7:02 pm, Ian Goddard wrote:
>> loc wrote:
>>> I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
>>> the 4gl 'error' command is executed the entirescreengoesreverse
>>> video. It only does this if I set INFORMIXTERM=terminfo. I need this
>>> because function keys don't work unless I use terminfo. It also does
>>> thereversevideo on the entirescreenif I press a function key which
>>> does not have an 'on key' associated with it. Any ideas what is
>>> causing this display problem? I'm using TERM=xterm.
>> Do you mean it just goesreversefor a moment and then back to normal?
>> If so that sounds like xterm's visual bell. Application sends the BEL
>> char. xterm doesn't know how to go "ding" so it flashes thescreeninstead.
>>
>> --
>> Ian
>>
>> Hotmail is for spammers. Real mail address is igoddard
>> at nildram co uk
>
> No it stays in reverse, I have to exit the program and type 'reset' to
> get normal color back. What you suggest does sound like a
> possibility, I'll investigate how to turn off the bell and see if
> that's it. It does this anytime an invalid key is pressed so I think
> you may be on to something.

Go into vi and hit ESC without being in insert mode. If the same thing
happens, even if it's supposed to be off then (a) it is a visual bell
and (b) xterm's mishandling it.

You could also try some other terminal emulator such as gnome-terminal.

--
Ian

Hotmail is for spammers. Real mail address is igoddard
at nildram co uk
 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
loc

External


Since: Dec 07, 2008
Posts: 10



(Msg. 9) Posted: Wed Dec 10, 2008 10:56 am
Post subject: Re: 4gl 'error' gives reverse video on entire screen [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 8, 7:23 am, Ian Goddard wrote:
> loc wrote:
> > On Dec 7, 7:02 pm, Ian Goddard wrote:
> >> loc wrote:
> >>> I'm using Informix 4GL 7.32.UC4 on Slackware Linux 12.1 and any time
> >>> the 4gl 'error' command is executed the entirescreengoesreverse
> >>> video. It only does this if I set INFORMIXTERM=terminfo. I need this
> >>> because function keys don't work unless I use terminfo. It also does
> >>> thereversevideo on the entirescreenif I press a function key which
> >>> does not have an 'on key' associated with it. Any ideas what is
> >>> causing this display problem? I'm using TERM=xterm.
> >> Do you mean it just goesreversefor a moment and then back to normal?
> >> If so that sounds like xterm's visual bell. Application sends the BEL
> >> char. xterm doesn't know how to go "ding" so it flashes thescreeninstead.
>
> >> --
> >> Ian
>
> >> Hotmail is for spammers. Real mail address is igoddard
> >> at nildram co uk
>
> > No it stays in reverse, I have to exit the program and type 'reset' to
> > get normal color back. What you suggest does sound like a
> > possibility, I'll investigate how to turn off the bell and see if
> > that's it. It does this anytime an invalid key is pressed so I think
> > you may be on to something.
>
> Go into vi and hit ESC without being in insert mode. If the same thing
> happens, even if it's supposed to be off then (a) it is a visual bell
> and (b) xterm's mishandling it.
>
> You could also try some other terminal emulator such as gnome-terminal.
>
> --
> Ian
>
> Hotmail is for spammers. Real mail address is igoddard
> at nildram co uk

I found the problem, as Ian pointed out it was the visual bell. Here
is what I did to fix it so when the bell should sound it won't go into
reverse and stay there.

$ infocmp -L > xterm.terminfo

Modified the generated xterm.terminfo file and changed
flash_screen=\E[?5h$<100/>\E[?5l
to
flash_screen=^G

$ tic -s xterm.terminfo

This put my modified terminfo xterm in ~/.terminfo.

Now I get the bell sound and the screen doesn't go into reverse. Does
anyone know why the 4GL programs are using flash_screen= instead of
bell= in the xterm terminfo file.
 >> Stay informed about: 4gl 'error' gives reverse video on entire screen 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
C UDR : Text to Char or reverse - Hi all, i implented some c-udr's in ids 10 successfully. The new request is to cast text-fields (simple large objetcs) and/or reverse. Main-problem is to cast TEXT-Field to the lvarchar-type. IBM-Doc and IDN says : you can't use text-fields in..

HPL Loading error with Fatal error in server row processin.. - Hi All Seeking help on HPL loading. HPL loading gives Fatal error in server row processing - SQL error -271 ISAM error -151. However, exactly same project and job works fine in another INFORMIX installation with slight version different. Data gets..

Informix sql Error 211 + Isam error 101 - Hello everyone, i have recently a problem when my aplication start to get a lot of locks, after that any other session try to make a select or any other operation it return error 211 isam 101 Maybe i understand the error 211 but i dont understand why is....

SQL error = -668 ISAM error = -127 - Hello everyone, I receive this error if I call my in ESQL-C written program from any SPL-procedure with the command "system(/path_to_my_program/ my_program)". The program works fine if I call it from command line. IDS can find all notify libra...

dbimport error - When I import a database which was exported from an Nt server into a windows server 2000 an error appears, which translated from spanish is: Dbimport.exe has produced an error. The program will be closed. A record of the error shall be created. Pls, I..
   Database Help (Home) -> Informix All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]