SHA256
1
0
forked from pool/ncurses
OBS User unknown
2008-08-21 15:51:08 +00:00
committed by Git OBS Bridge
parent 3d4c11d216
commit 691fd33fbb
5 changed files with 114 additions and 65 deletions

View File

@@ -5,63 +5,68 @@ There are several Ncurses Libraries which can be used for building
with an terminal based application. The standard Ncurses Libraries
is given with ABI 5.6
/usr/include/ncurses/*.h
/usr/lib/libncurses.so or /usr/lib64/libncurses.so
/usr/lib/libform.so or /usr/lib64/libform.so
/usr/lib/libmenu.so or /usr/lib64/libmenu.so
/usr/lib/libpanel.so or /usr/lib64/libpanel.so
and its header are installed in /usr/include/ e.g. (n)curses.h.
Nothing has to be added in the CFLAGS nor in the LDFLAGS.
Use the outout of
and its header are installed in /usr/include/ncurses/ e.g.
ncurses.h. For backward compatibility with simply older
programs the headers curses.h, ncurses.h, and term.h
will be also found in /usr/include/. Use the output of
ncurses5-config --cflags for CFLAGS
ncurses5-config --libs for LDFLAGS
to extend the CFLAGS and the LDFLAGS.
For a version with wide character support please use the
libraries with old ABI 5.6
/usr/include/ncursesw/*.h
/usr/lib/libncursesw.so or /usr/lib64/libncursesw.so
/usr/lib/libformw.so or /usr/lib64/libformw.so
/usr/lib/libmenuw.so or /usr/lib64/libmenuw.so
/usr/lib/libpanelw.so or /usr/lib64/libpanelw.so
together with the header files found at /usr/include/ncursesw/.
This can be done with `-I/usr/include/ncursesw' within the
CFLAGS and e.g. `-lncursesw' in the LDFLAGS.
Use the outout of
Use the output of
ncursesw5-config --cflags for CFLAGS
ncursesw5-config --libs for LDFLAGS
For a thread safe version (also known as `reentrant' please
to extend the CFLAGS and the LDFLAGS.
For a thread safe version (also known as `reentrant') please
use the libraries with ABI 6.0
/usr/include/ncurses6/ncurses/*.h
/usr/lib/ncurses6/libncurses.so or /usr/lib64/ncurses6/libncurses.so
/usr/lib/ncurses6/libform.so or /usr/lib64/ncurses6/libform.so
/usr/lib/ncurses6/libmenu.so or /usr/lib64/ncurses6/libmenu.so
/usr/lib/ncurses6/libpanel.so or /usr/lib64/ncurses6/libpanel.so
together with the header files found at /usr/include/ncursest/.
This can be done with `-I/usr/include/ncursest' within the
CFLAGS and e.g. `-lncursest' in the LDFLAGS.
Use the outout of
together with the header files found at /usr/include/ncurses6/ncurses/
e.g. ncurses.h. For backward compatibility with simply older programs
the headers curses.h, ncurses.h, and term.h will be also found in
/usr/include/ncurses6/. Use the output of
ncurses6-config --cflags for CFLAGS
ncurses6-config --libs for LDFLAGS
to extend the CFLAGS and the LDFLAGS.
For a version with both wide character support and thread safe
please use the libraries with ABI 6.0
/usr/include/ncurses6/ncursesw/*.h
/usr/lib/ncurses6/libncursesw.so or /usr/lib64/ncurses6/libncursesw.so
/usr/lib/ncurses6/libformw.so or /usr/lib64/ncurses6/libformw.so
/usr/lib/ncurses6/libmenuw.so or /usr/lib64/ncurses6/libmenuw.so
/usr/lib/ncurses6/libpanetw.so or /usr/lib64/ncurses6/libpanelw.so
/usr/lib/ncurses6/libpanelw.so or /usr/lib64/ncurses6/libpanelw.so
together with the header files found at /usr/include/ncursestw/.
This can be done with `-I/usr/include/ncursestw' within the
CFLAGS and e.g. `-lncursestw' in the LDFLAGS.
Use the outout of
Use the output of
ncursesw6-config --cflags for CFLAGS
ncursesw6-config --libs for LDFLAGS
to extend the CFLAGS and the LDFLAGS. It should be noted that the ABI 6.0
is not only thread safe but also includes extended mouse support and in
case of the wide character version also extended color support.