bug-ncurses
[Top][All Lists]
Advanced

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

Re: Different behavior in Linux and Mac OS X


From: Sebastiano Vigna
Subject: Re: Different behavior in Linux and Mac OS X
Date: Sun, 9 May 2021 03:20:48 +0100

On 9 May 2021, at 00:22, Thomas Dickey <dickey@his.com> wrote:

> Rechecking the MacPorts - I see that I omitted the -L to get gcc to
> link against the MacPorts version.  Accounting for that, there's no
> unexplained difference between Linux and MacOS: the latter is using
> ncurses 5.7 (which predates all of those changes).

Er... no:

ncurses @6.2_1 (devel)
    emulation of curses in System V Release 4.0

> To make your program work portably _now_, I'd initialize things, e.g.,
> with a call to tgetent or setupterm (the latter, passing the
> reference to the error-return code so that failures don't stop
> the program).

No, that's the first thing I tried. It almost works, but not completely. The 
cursor is not always positioned correctly. There is some visible improvement 
from the no-setupterm() version, but still it does not work.

Ciao,

                                        seba




reply via email to

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