Debian bug report logs - #1331
terminfo(3ncurses) says <term.h>, but nonexistent

Package: ncurses-developer; Reported by: Ian Jackson <iwj10@cus.cam.ac.uk>; 54 days old.

Message received at debian-bugs:


From cus.cam.ac.uk!iwj10 Thu Sep  7 05:16:18 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
	(Smail3.1.28.1 #15) id m0sqfsQ-000EskA; Thu, 7 Sep 95 05:16 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA08034
  (5.67b/IDA-1.5 for debian-bugs-pipe@mongo.pixar.com); Thu, 7 Sep 1995 05:16:03 -0700
Received: by bootes.cus.cam.ac.uk 
	(Smail-3.1.29.0 #36) id m0sqfsH-000C0ZA; Thu, 7 Sep 95 13:16 BST
Received: by chiark
	id <m0sqSp3-0002ZZA@chiark.al.cl.cam.ac.uk>
	(Debian /\oo/\ Smail3.1.29.1 #29.33); Wed, 6 Sep 95 23:19 BST
Message-Id: <m0sqSp3-0002ZZA@chiark.al.cl.cam.ac.uk>
Date: Wed, 6 Sep 95 23:19 BST
From: Ian Jackson <iwj10@cus.cam.ac.uk>
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: terminfo(3ncurses) says <term.h>, but nonexistent
Precedence: air-mail

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.

Acknowledgement sent to Ian Jackson <iwj10@cus.cam.ac.uk>:
New bug report received and forwarded. Full text available.
Report forwarded to debian-devel@pixar.com:
Bug#1331; Package ncurses-developer. Full text available.
Ian Jackson / iwj10@thor.cam.ac.uk, with the debian-bugs tracking mechanism
This page last modified 07:43:01 GMT Wed 01 Nov