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 14:42:55 +0100


> On 9 May 2021, at 14:38, Thomas Dickey <dickey@his.com> wrote:
> 
> I did this in 2000 (keeping in mind that ncurses 5.7 is a few years older).
> 
> 20000923
>       + split-out tgoto() again, this time into new file lib_tgoto.c, and
>         implement a conventional BSD-style tgoto() which is used if the
>         capability string does not contain terminfo-style padding or
>         parameters (requested by Andrey A Chernov).
> 
> If you stick to terminfo, it's portable.

OK, now it's all clear and I have a workaround--thank you!. It would be nice if 
in the future tgoto() etc. would work even when tgetent()/setupterm() are 
unsucessfull; I realize it's not documented behavior, but it is nice for us to 
provide the user an option that gives a working editor even if the terminfo 
database if broken.

Ciao,

                                        seba




reply via email to

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