[fpc-pascal] Ncurses unit and newer releases of ncurses

Noel Duffy noelduffy at xtra.co.nz
Mon Mar 30 11:20:00 CEST 2020


On 30/03/20 8:17 pm, Michael Van Canneyt wrote:
> 
> 
> On Sun, 29 Mar 2020, Noel Duffy via fpc-pascal wrote:
> 
>> Running fpc 3.0.4 on Fedora 30.
>>
>> The ncurses unit is based on version 5.6 of ncurses, according to 
>> constants defined in the source. The upstream ncurses is now at 6.2, 
>> and I wondered if there are plans afoot to upgrade the ncurses unit to 
>> support a more recent ncurses version. Newer releases support 256 
>> colours and additional attributes like italic on supported terminals.
> 
> These plans exist, I even did some work on it already.

Great! It's not critical but it certainly would be nice to have.

>>
>> I don't know if some part of the ncurses unit automatically generated 
>> from from the C sources, so I don't know how difficult this job 
>> actually is.
> 
> Well, it's a manual job. The C sources proved too messy for h2pas...

I was afraid that that might be the case. My C has long since rusted 
away but if I can help to get this done let me know.




More information about the fpc-pascal mailing list