bug-ncurses
[Top][All Lists]
Advanced

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

Re: Corrections for 20030111


From: Daniel Weaver
Subject: Re: Corrections for 20030111
Date: Wed, 15 Jan 2003 17:48:55 -0800

At 07:50 PM 1/15/2003 +0100, Philippe Blain wrote:
>>From Philippe Blain, Bordeaux, France.
>My old computer: P133 - 8,4 Go - 32 Mo Red Hat Linux 7.0
>(Generous donator welcomed)
>
>>2---------------------------------------------------------------------------
>File : ncurses/base/lib_mvcur.c
>Function _nc_msec_cost()
>
>_nc_msec_cost() consider all delay mandatory (always included in the cost),
>while sometimes (rare) it is not required (low serial speed, xon_xoff, ...).
>
>The result is a cap cost >= real conditions of the computer.
>Propose adjustements by copying and adapting the code giving delay in
>tputs().
>The following code uses an integer instead of a float.

The code is correct.  It should NOT take into consideration XON/XOFF,
pad baud rade and no pad character.

Lets take for example XON/XOFF.  If I define two terminfo definitions
with everything the same but the XON/XOFF boolean, ncurses should
send the same strings.  The cursor movement would have the exact same
cost regardless of the settings for XON/XOFF.  


-----------------------------
Dan Weaver, ZNYX Networks
address@hidden




reply via email to

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