On Mon, 30 May 2011, Matthias Klose wrote:
On 05/30/2011 11:26 AM, Thomas Dickey wrote:
On Mon, 30 May 2011, Matthias Klose wrote:
not yet decided what to do about this. In sid, the curses module is forced
to
link with libncursesw.
Redhat and SuSE are using the feature (of ncurses) which allows the
terminfo-level part to be built as a separate library. For low-level
users such as readline, that helps since they can be linked against
a library which is independent of ncurses/ncursesw differences.
readline references
tgetflag tgoto tgetstr tgetnum tgetent BC PC UP
which are not defined in libtic, only in libncurses{,w}.
libtic is a different thing than the low-level terminfo library.
Debian does not provide the latter. ncurses can be configured to split
its "ncurses" library into 3 parts. The low-level terminfo library would
contain the interfaces for terminfo and termcap (which are the ones used
by readline). It also contains some utility functions used only by
ncurses/ncursesw - all using ncurses private naming "_nc_" prefix...
Another option would be not to link libreadline with any curses library, and
require executables to link with the appropriate curses library.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]