|
On Tue, May 07, 2002 at 12:33:40AM -0500, Scott Klement wrote: > We are proud to announce the latest release from the stable branch > of the open-source TN5250 Project. Many thanks for the release. Alas, it doesn't compile cleanly on my debian potato 2.2r6, because NCURSES_COLOR_T is not defined. I worked around it with the following patch to cursesterm.c: --- cursesterm.c.orig Tue May 7 13:46:42 2002 +++ cursesterm.c Tue May 7 13:42:53 2002 @@ -29,6 +29,11 @@ #define A_VERTICAL ((1UL) << ((22) + 8)) #endif /* A_VERTICAL */ +/* Some older versions of ncurses don't define NCURSES_COLOR_T */ +#ifndef NCURSES_COLOR_T +#define NCURSES_COLOR_T short +#endif + /* Mapping of 5250 colors to curses colors */ struct _curses_color_map { char *name; -- Esda Feinstrumpffabrik GmbH Frank Richter, Leiter EDV Hauptstr. 76, D-09392 Auerbach E-Mail: frichter@esda.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.