Bug 71801 - [patch] Add ncurses utility programs: infocmp, tic and toe.
Summary: [patch] Add ncurses utility programs: infocmp, tic and toe.
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.3-BETA4
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-16 21:40 UTC by Thierry Thomas
Modified: 2007-01-05 13:28 UTC (History)
0 users

See Also:


Attachments
ncurses.diff (5.51 KB, patch)
2004-09-16 21:40 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2004-09-16 21:40:19 UTC
	- tic is the the terminfo entry-description compiler;
	- toe lists the table of terminfo entries;
	- infocmp compares or prints out terminfo descriptions.

	infotocap and captoinfo are links to tic:
	- captoinfo converts a termcap description into a terminfo description;
	- infotocap converts a terminfo description into a termcap description.

	Reason:
	- the port x11/rxvt-unicode needs tic to add an entry for itself; without
	  it, its $TERM must be defined as rxvt;
	- the port devel/ncurses cannot be packaged: "conflicts with system ncurses".

	Remarks:
	- no initial terminfo database is installed;
	- these programs are installed by compat/linux.

	Next step will be to upgrade the base libncurses to a version supporting
	wide chars, but this is another story...

Fix: Please apply the following patch:
How-To-Repeat: 	N/A.
Comment 1 Thomas E. Dickey 2006-12-27 13:42:17 UTC
ncurses 5.6 provides support for hashed-databases, in the general style
of the FreeBSD src/lib/libncurses base.  If properly configured, it can
(still) read the termcap hashed database, and read/write a similar
terminfo database.

Since the customized source in FreeBSD, e.g.,

	http://www.freebsd.org/cgi/cvsweb.cgi/src/lib/libncurses/termcap.c

is all based on the upstream source with minor 1- 2-line changes,
it would be simple for someone to update the sources and have less
work to do to keep up with the upstream development.

	http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/ncurses/Makefile

Furthermore, I note that the most recent change to the ncurses port
dropped the terminfo database entirely, e.g., in

	http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/ncurses/Makefile

so there is no compatibility consideration for the port at this time that
would preclude using the terminfo hashed databases rather than the
directory tree.  In fact, since there is no terminfo database now,
the port itself is defective since it no longer provides many of the
terminal types used from other systems.

Short: redirect this toward fixing the port by adding the utilities there.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
Comment 2 Thierry Thomas freebsd_committer freebsd_triage 2007-01-05 13:26:56 UTC
State Changed
From-To: open->closed


The port devel/ncurses is now packageable, and it includes everything.