Bug#1331: terminfo(3ncurses) says <term.h>, but nonexistent
Package: ncurses-developer
Version: 1.9.3-1
>From terminfo(3ncurses):
SYNOPSIS
#include <curses.h>
#include <term.h>
However,
chiark:~> find /usr/include -name term.h -ls
27761 30 -rw-r--r-- 1 root root 30664 Jul 21 05:23 /usr/include/ncurses/term.h
4082 29 -rw-r--r-- 1 root root 28894 Jan 21 1995 /usr/include/ncurses-broken/term.h
chiark:~>
(ncurses-broken is not relevant here.)
The manpage for ncurses(3ncurses) doesn't say that you have to use
-I/usr/include/ncurses (and indeed, one should not need to).
I suggest the addition of a symlink:
root@chiark:~> cd /usr/include/
root@chiark:include> ln -s ncurses/term.h .
root@chiark:include>
Ian.
Reply to: