Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2020-03

Ncurses unit and newer releases of ncurses

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Noel Duffy

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 , 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.

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.

Cheers,
Noel

Reply by email

Michael Van Canneyt
to Noel Duffy
Noel Duffy wrote 7 lines
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 , 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.

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...

Michael.

Reply by email

Noel Duffy
to Michael Van Canneyt
Michael Van Canneyt wrote 13 lines
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 , > 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.

Show quoted text 6 lines
> > 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.

Reply by email