RFE: Add ncurses extensions to LSB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
Fix Committed
|
Medium
|
Unassigned | ||
Mandriva |
Fix Released
|
Wishlist
|
Bug Description
In the python appbat build we have:
+/* For LSB compilation, ncurses will be found but ncurses
+ * extension to curses aren't part of the specification.
+ * So we try to detect that situation, and work around it
+ */
+#if !defined(getattrs) && !defined(getsyx)
+#define STRICT_SYSV_CURSES /* Don't use ncurses extensions */
+
+#include <term.h>
+#include <unctrl.h>
+
+extern WINDOW * newscr;
+
+#define getattrs(win) ((win)?
+#define getsyx(y,x) do { if(newscr-
+ else getyx(newscr,
+ } while(0)
+#define setsyx(y,x) do { if((y)==-1 && (x)==-1) newscr-
+ else {newscr-
+ } while(0)
+#endif
So it looks like it uses at least newscr, getattrs, getsysx, setsysx
[reply] [-] Comment 1
Changed in mandriva: | |
importance: | Unknown → Wishlist |
status: | Unknown → Fix Released |