Author vstinner
Recipients serhiy.storchaka, twouters, vstinner
Date 2017-10-03.19:44:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507059844.65.0.213398074469.issue31680@psf.upfronthosting.co.za>
In-reply-to
Content
On Fedora 26, /usr/include/ncurses/curses.h contains:
---
/* These are defined only in curses.h, and are used for conditional compiles */
#define NCURSES_VERSION_MAJOR 6
#define NCURSES_VERSION_MINOR 0
#define NCURSES_VERSION_PATCH 20170212

/* This is defined in more than one ncurses header, for identification */
#undef  NCURSES_VERSION
#define NCURSES_VERSION "6.0"

/*
 * Identify the mouse encoding version.
 */
#define NCURSES_MOUSE_VERSION 2
---

You want to expose such versions? Do you know if there are "curses" implementations different than GNU ncurses?
https://www.gnu.org/software/ncurses/

I'm asking to know how other implementations expose their versions.
History
Date User Action Args
2017-10-03 19:44:04vstinnersetrecipients: + vstinner, twouters, serhiy.storchaka
2017-10-03 19:44:04vstinnersetmessageid: <1507059844.65.0.213398074469.issue31680@psf.upfronthosting.co.za>
2017-10-03 19:44:04vstinnerlinkissue31680 messages
2017-10-03 19:44:04vstinnercreate