tricky redraw problem

Michal Hajek <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <CAJ7z5acct+rS4hAdUZb1N9bJ6xCBrePYzWSEpLiQtJdErUxLWg@mail.gmail.com>
Hi,

presume form like

database formonly
screen size 22 by 78
{
---------------------------------------------------------------------------------
  [      B] [      B] [      B] [      B] [      B] [      B] [      B]
  [      B] [      B] [      B] [      B] [      B] [      B] [      B]
  [      B] [      B] [      B] [      B] [      B] [      B] [      B]
  [      B] [      B] [      B] [      B] [      B] [      B] [      B]
  [      B] [      B] [      B] [      B] [      B] [      B] [      B]
  [      B] [      B] [      B] [      B] [      B] [      B] [      B]
  [      B] [      B] [      B] [      B] [      B] [      B] [      B]
  [      B] [      B] [      B] [      B] [      B] [      B] [      B]
--------------------------------------------------------------------------------
...
...

Works ok.. for the data..

But when

 input array DX without defaults from d_s.*
     attribute (current row display="reverse")

is used, active field become inversed, but it does not return to
normal text when cursor is moved to next field.

The problem is (I really enjoy catching escape sequences)
- one field is inversed
- program moves cursor to top left corner
- program moves cursor to bottom right corner
- program move cursor to and inverse next field - it supposes that
moving cursor through whole screen will turn off attributes from all
text? WTF?

How to find where is the problem? Aubit or terminfo database?

Thanks, Michal

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.