[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set_field_back A_BLINK problem

From: Thomas Dickey
Subject: Re: set_field_back A_BLINK problem
Date: Fri, 25 Nov 2011 07:37:47 -0500
User-agent: Mutt/1.5.18 (2008-05-17)

On Thu, Nov 24, 2011 at 08:01:28AM +0000, Pablo Cazallas Gonz?ffffe1lez wrote:
> I'm sorry, I didn't explain the problem so well...
> The terminal that I am using blinks, I'm totally sure.
> What I tried to mean is that changing the attribute of the most of the form's 
> fields to A_BLINK works, but it doesn't work for some of them when the field 
> buffer is empty at the moment of the change. 
> It is a form with 6 fields, the first four of them blink when I change the 
> attribute, but the last two don't.
> If I set the attribute to another different than A_BLINK, set_field_back() 
> changes it as well.

Reviewing the (form library) code, I don't see anything that would make
its behavior like that.  It stores the video attributes for a field in
one place, keeps all of the bits.  A quick check here modifying
test/demo_forms shows all of the fields blinking (after modifying the
call to set_field_back).

Can you reproduce the problem with a test program that we can discuss?
> Any idea about how to fix it?
> Thanks a lot and regards,
> Pablo.
> LRU #493328
> --- El mi?, 23/11/11, Thomas Dickey <address@hidden> escribi?:
> De: Thomas Dickey <address@hidden>
> Asunto: Re: set_field_back A_BLINK problem
> Para: "Pablo Cazallas Gonz?ffffe1lez" <address@hidden>
> CC: address@hidden
> Fecha: mi?rcoles, 23 de noviembre, 2011 17:46
> On Wed, Nov 23, 2011 at 03:05:32PM +0000, Pablo Cazallas Gonz?ffffe1lez wrote:
> > Hi,
> > 
> > I am developing with ncurses 5.7 in ANSI-C a form application. 
> > 
> > When I try to change the background of a field to A_BLINK, it doesn't work.
> > And if I set it with A_REVERSE it works.
> > 
> > The cursor is never in the field that I try to change.
> > 
> > Is it a bug in the library? How can I fix it?
> no.? It's a common limitation.
> In general, terminal backgrounds don't blink.
> -- 
> Thomas E. Dickey <address@hidden>
> http://invisible-island.net
> ftp://invisible-island.net

Thomas E. Dickey <address@hidden>

Attachment: signature.asc
Description: Digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]