summaryrefslogtreecommitdiff
path: root/meta/packages/ncurses
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/ncurses
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadopenembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz
openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.bz2
openembedded-core-b2f192faabe412adce79534e22efe9fb69ee40e2.zip
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/ncurses')
-rw-r--r--meta/packages/ncurses/ncurses-native_5.4.bb6
-rw-r--r--meta/packages/ncurses/ncurses.inc86
-rw-r--r--meta/packages/ncurses/ncurses/20030906.patch43248
-rw-r--r--meta/packages/ncurses/ncurses/configure.patch193
-rw-r--r--meta/packages/ncurses/ncurses/mk_shared_lib.patch27
-rw-r--r--meta/packages/ncurses/ncurses/run_tic.patch23
-rw-r--r--meta/packages/ncurses/ncurses/tic.patch19
-rw-r--r--meta/packages/ncurses/ncurses/visibility.patch4904
-rw-r--r--meta/packages/ncurses/ncurses_5.4.bb7
9 files changed, 48513 insertions, 0 deletions
diff --git a/meta/packages/ncurses/ncurses-native_5.4.bb b/meta/packages/ncurses/ncurses-native_5.4.bb
new file mode 100644
index 0000000000..26d0897c9f
--- /dev/null
+++ b/meta/packages/ncurses/ncurses-native_5.4.bb
@@ -0,0 +1,6 @@
+SECTION = "libs"
+include ncurses_${PV}.bb
+inherit native
+EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
+DEPENDS = ""
+FILESPATH = "${FILE_DIRNAME}/local:${FILE_DIRNAME}/ncurses-${PV}-${PR}:${FILE_DIRNAME}/ncurses-${PV}:${FILE_DIRNAME}/ncurses:${FILE_DIRNAME}"
diff --git a/meta/packages/ncurses/ncurses.inc b/meta/packages/ncurses/ncurses.inc
new file mode 100644
index 0000000000..030cd1034c
--- /dev/null
+++ b/meta/packages/ncurses/ncurses.inc
@@ -0,0 +1,86 @@
+DESCRIPTION = "Ncurses library"
+HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html"
+LICENSE = "MIT"
+SECTION = "libs"
+DEPENDS = "ncurses-native"
+PACKAGES_prepend = "ncurses-tools "
+PACKAGES_append = " ncurses-terminfo"
+FILES_ncurses_append = " ${datadir}/tabset"
+RSUGGESTS_${PN} = "ncurses-terminfo"
+RPROVIDES = "libncurses5"
+
+inherit autotools
+
+# This keeps only tput/tset in ncurses
+# clear/reset are in already busybox
+FILES_ncurses-tools = "${bindir}/tic ${bindir}/toe ${bindir}/infotocap ${bindir}/captoinfo ${bindir}/infocmp ${bindir}/clear.${PN} ${bindir}/reset.${PN} ${bindir}/tack "
+FILES_ncurses-terminfo = "${datadir}/terminfo"
+FILES_${PN} = "${bindir}/tput ${bindir}/tset ${libdir}/lib*.so.* usr/share/tabset etc/terminfo"
+
+PARALLEL_MAKE=""
+
+EXTRA_OECONF = "--with-shared \
+ --without-profile \
+ --without-debug \
+ --disable-rpath \
+ --enable-echo \
+ --enable-const \
+ --without-ada \
+ --enable-termcap \
+ --without-cxx-binding \
+ --with-terminfo-dirs=${sysconfdir}/terminfo:${datadir}/terminfo \
+ --enable-overwrite"
+export BUILD_CCFLAGS = "-I${S}/ncurses -I${S}/include ${BUILD_CFLAGS}"
+export BUILD_LDFLAGS = ""
+export EXTRA_OEMAKE = '"BUILD_LDFLAGS=" "BUILD_CCFLAGS=${BUILD_CCFLAGS}"'
+
+do_stage() {
+ autotools_stage_all
+ ln -sf curses.h ${STAGING_INCDIR}/ncurses.h
+ ln -sf libncurses.so ${STAGING_LIBDIR}/libtermcap.so
+ ln -sf libncurses.a ${STAGING_LIBDIR}/libtermcap.a
+}
+
+do_install() {
+ autotools_do_install
+
+ # our ncurses has termcap support
+ ln -sf libncurses.so ${D}${libdir}/libtermcap.so
+ ln -sf libncurses.a ${D}${libdir}/libtermcap.a
+
+ # include some basic terminfo files
+ # stolen ;) from gentoo and modified a bit
+ for x in ansi console dumb linux rxvt screen sun vt{52,100,102,200,220} xterm-color xterm-xfree86
+ do
+ local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)"
+ local basedir="$(basename $(dirname "${termfile}"))"
+
+ if [ -n "${termfile}" ]
+ then
+ install -d ${D}${sysconfdir}/terminfo/${basedir}
+ mv ${termfile} ${D}${sysconfdir}/terminfo/${basedir}/
+ ln -s /etc/terminfo/${basedir}/${x} \
+ ${D}${datadir}/terminfo/${basedir}/${x}
+ fi
+ done
+ # i think we can use xterm-color as default xterm
+ if [ -e ${D}${sysconfdir}/terminfo/x/xterm-color ]
+ then
+ ln -sf xterm-color ${D}${sysconfdir}/terminfo/x/xterm
+ fi
+
+ mv ${D}${bindir}/clear ${D}${bindir}/clear.${PN}
+ mv ${D}${bindir}/reset ${D}${bindir}/reset.${PN}
+}
+
+
+pkg_postinst_ncurses-tools () {
+ update-alternatives --install ${bindir}/clear clear clear.${PN} 100
+ update-alternatives --install ${bindir}/reset reset reset.${PN} 100
+}
+
+
+pkg_prerm_ncurses-tools () {
+ update-alternatives --remove clear clear.${PN}
+ update-alternatives --remove reset reset.${PN}
+}
diff --git a/meta/packages/ncurses/ncurses/20030906.patch b/meta/packages/ncurses/ncurses/20030906.patch
new file mode 100644
index 0000000000..f65dfafef1
--- /dev/null
+++ b/meta/packages/ncurses/ncurses/20030906.patch
@@ -0,0 +1,43248 @@
+diff -urNd -urNd ncurses-5.3/ANNOUNCE ncurses-5.3.20030906.orig/ANNOUNCE
+--- ncurses-5.3/ANNOUNCE Sat Oct 12 18:36:19 2002
++++ ncurses-5.3.20030906.orig/ANNOUNCE Tue May 13 20:08:22 2003
+@@ -23,8 +23,8 @@
+ manual pages are provided for the library and tools.
+
+ The ncurses distribution is available via anonymous FTP at the GNU
+- distribution site [1]ftp://ftp.gnu.org/pub/gnu/ncurses.
+- It is also available at [2]ftp://invisible-island.net/ncurses.
++ distribution site [1]ftp://ftp.gnu.org/gnu/ncurses/ .
++ It is also available at [2]ftp://invisible-island.net/ncurses/ .
+
+ Release Notes
+
+@@ -268,60 +268,60 @@
+
+ cdk
+ Curses Development Kit
+- [3]http://invisible-island.net/cdk.
+- [4]http://www.vexus.ca/CDK.html
++ [3]http://invisible-island.net/cdk/
++ [4]http://www.vexus.ca/products/CDK/
+
+ ded
+ directory-editor
+- [5]http://invisible-island.net/ded.
++ [5]http://invisible-island.net/ded/
+
+ dialog
+ the underlying application used in Slackware's setup, and the
+ basis for similar applications on GNU/Linux.
+- [6]http://invisible-island.net/dialog.
++ [6]http://invisible-island.net/dialog/
+
+ lynx
+ the character-screen WWW browser
+- [7]http://lynx.isc.org/release.
++ [7]http://lynx.isc.org/release/
+
+ Midnight Commander
+ file manager
+- [8]www.gnome.org/mc/.
++ [8]http://www.ibiblio.org/mc/
+
+ mutt
+ mail utility
+- [9]http://www.mutt.org.
++ [9]http://www.mutt.org/
+
+ ncftp
+ file-transfer utility
+- [10]http://www.ncftp.com.
++ [10]http://www.ncftp.com/
+
+ nvi
+ New vi versions 1.50 are able to use ncurses versions 1.9.7 and
+ later.
+- [11]http://www.bostic.com/vi/.
++ [11]http://www.bostic.com/vi/
+
+ tin
+ newsreader, supporting color, MIME
+- [12]http://www.tin.org.
++ [12]http://www.tin.org/
+
+ taper
+ tape archive utility
+- [13]http://members.iinet.net.au/~yusuf/taper/.
++ [13]http://taper.e-survey.net.au/
+
+ vh-1.6
+ Volks-Hypertext browser for the Jargon File
+- [14]http://www.bg.debian.org/Packages/unstable/text/vh.html.
++ [14]http://www.debian.org/Packages/unstable/text/vh.html
+
+ as well as some that use ncurses for the terminfo support alone:
+
+ minicom
+ terminal emulator
+- [15]http://www.pp.clinet.fi/~walker/minicom.html.
++ [15]http://www.netsonic.fi/~walker/minicom.html
+
+ vile
+ vi-like-emacs
+- [16]http://invisible-island.net/vile.
++ [16]http://invisible-island.net/vile/
+
+ The ncurses distribution includes a selection of test programs
+ (including a few games).
+@@ -342,7 +342,7 @@
+ and testing of this package.
+
+ Beta versions of ncurses and patches to the current release are made
+- available at [23]ftp://invisible-island.net/ncurses.
++ available at [23]ftp://invisible-island.net/ncurses/ .
+
+ Future Plans
+
+@@ -357,35 +357,35 @@
+
+ The distribution includes and uses a version of the terminfo-format
+ terminal description file maintained by Eric Raymond.
+- [24]http://earthspace.net/~esr/terminfo.
++ [24]http://www.tuxedo.org/~esr/terminfo/ .
+
+ You can find lots of information on terminal-related topics not
+- covered in the terminfo file at [25]Richard Shuford's archive.
++ covered in the terminfo file at [25]Richard Shuford's archive .
+
+ References
+
+- 1. ftp://ftp.gnu.org/pub/gnu/ncurses
+- 2. ftp://invisible-island.net/ncurses
+- 3. http://invisible-island.net/cdk/cdk.html
+- 4. http://www.vexus.ca/CDK.html
+- 5. http://invisible-island.net/ded/ded.html
+- 6. http://invisible-island.net/dialog/dialog.html
++ 1. ftp://ftp.gnu.org/gnu/ncurses/
++ 2. ftp://invisible-island.net/ncurses/
++ 3. http://invisible-island.net/cdk/
++ 4. http://www.vexus.ca/products/CDK/
++ 5. http://invisible-island.net/ded/
++ 6. http://invisible-island.net/dialog/
+ 7. http://lynx.isc.org/release/
+- 8. file://localhost/usr/build/ncurses/ncurses-5.2-20021012/doc/html/www.gnome.org/mc/
++ 8. http://www.ibiblio.org/mc/
+ 9. http://www.mutt.org/
+ 10. http://www.ncftp.com/
+ 11. http://www.bostic.com/vi/
+ 12. http://www.tin.org/
+- 13. http://members.iinet.net.au/~yusuf/taper/
+- 14. http://www.bg.debian.org/Packages/unstable/text/vh.html
+- 15. http://www.pp.clinet.fi/~walker/minicom.html
+- 16. http://invisible-island.net/vile/vile.html
++ 13. http://taper.e-survey.net.au/
++ 14. http://www.debian.org/Packages/unstable/text/vh.html
++ 15. http://www.netsonic.fi/~walker/minicom.html
++ 16. http://invisible-island.net/vile/
+ 17. mailto:zmbenhal@netcom.com
+- 18. http://www.ccil.org/~esr/home.html
++ 18. http://www.tuxedo.org/~esr/
+ 19. mailto:dickey@herndon4.his.com
+ 20. http://www.familiepfeifer.de/Contact.aspx?Lang=en
+ 21. mailto:dickey@herndon4.his.com
+ 22. mailto:bug-ncurses@gnu.org
+- 23. ftp://invisible-island.net/ncurses
+- 24. http://earthspace.net/~esr/terminfo
++ 23. ftp://invisible-island.net/ncurses/
++ 24. http://www.tuxedo.org/~esr/terminfo/
+ 25. http://www.cs.utk.edu/~shuford/terminal_index.html
+diff -urNd -urNd ncurses-5.3/Ada95/gen/Makefile.in ncurses-5.3.20030906.orig/Ada95/gen/Makefile.in
+--- ncurses-5.3/Ada95/gen/Makefile.in Sat Jul 13 07:02:28 2002
++++ ncurses-5.3.20030906.orig/Ada95/gen/Makefile.in Tue May 13 20:08:22 2003
+@@ -1,5 +1,5 @@
+ ##############################################################################
+-# Copyright (c) 1998 Free Software Foundation, Inc. #
++# Copyright (c) 1998-2002,2003 Free Software Foundation, Inc. #
+ # #
+ # Permission is hereby granted, free of charge, to any person obtaining a #
+ # copy of this software and associated documentation files (the "Software"), #
+@@ -30,7 +30,7 @@
+ # Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en
+ #
+ # Version Control
+-# $Revision: 1.41 $
++# $Revision: 1.43 $
+ #
+ .SUFFIXES:
+
+@@ -53,6 +53,7 @@
+ AWK = @AWK@
+ LN_S = @LN_S@
+
++CC = @CC@
+ HOST_CC = @BUILD_CC@
+ CFLAGS = @CFLAGS@
+
+@@ -171,9 +172,9 @@
+ install \
+ install.libs :: $(ADA_OBJECTS)
+ @echo installing package $(ALIB) in $(ADA_OBJECTS)
+- @chmod a-wx $(ADA_SRCDIR)/*.ali
++ @-chmod a-wx $(ADA_SRCDIR)/*.ali
+ @$(top_srcdir)/tar-copy.sh '$(ALIB)[-.]*.ali' $(ADA_SRCDIR) $(ADA_OBJECTS)
+- @chmod u+x $(ADA_SRCDIR)/*.ali
++ @-chmod u+x $(ADA_SRCDIR)/*.ali
+
+ uninstall \
+ uninstall.libs ::
+diff -urNd -urNd ncurses-5.3/Ada95/src/Makefile.in ncurses-5.3.20030906.orig/Ada95/src/Makefile.in
+--- ncurses-5.3/Ada95/src/Makefile.in Sat Jul 13 07:02:23 2002
++++ ncurses-5.3.20030906.orig/Ada95/src/Makefile.in Tue May 13 20:08:22 2003
+@@ -30,7 +30,7 @@
+ # Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en
+ #
+ # Version Control
+-# $Revision: 1.26 $
++# $Revision: 1.27 $
+ #
+ .SUFFIXES:
+
+@@ -214,19 +214,19 @@
+
+
+ $(ABASE)-terminfo.o: \
+- $(ABASE)-terminfo.ads \
++ $(srcdir)/$(ABASE)-terminfo.ads \
+ $(srcdir)/$(ABASE)-terminfo.adb $(BASEDEPS)
+ $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-terminfo.adb
+
+
+ $(ABASE)-termcap.o: \
+- $(ABASE)-termcap.ads \
++ $(srcdir)/$(ABASE)-termcap.ads \
+ $(srcdir)/$(ABASE)-termcap.adb $(BASEDEPS)
+ $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-termcap.adb
+
+
+ $(ABASE)-putwin.o: \
+- $(ABASE)-putwin.ads \
++ $(srcdir)/$(ABASE)-putwin.ads \
+ $(srcdir)/$(ABASE)-putwin.adb $(BASEDEPS)
+ $(ADA) $(ADAFLAGS) -c -o $@ $(srcdir)/$(ABASE)-putwin.adb
+
+diff -urNd -urNd ncurses-5.3/INSTALL ncurses-5.3.20030906.orig/INSTALL
+--- ncurses-5.3/INSTALL Sun Sep 1 17:42:11 2002
++++ ncurses-5.3.20030906.orig/INSTALL Fri Sep 12 16:42:40 2003
+@@ -1,4 +1,4 @@
+--- $Id: INSTALL,v 1.56 2002/09/01 22:42:11 tom Exp $
++-- $Id: INSTALL,v 1.65 2003/08/30 22:44:10 tom Exp $
+ ---------------------------------------------------------------------
+ How to install Ncurses/Terminfo on your system
+ ---------------------------------------------------------------------
+@@ -168,6 +168,11 @@
+ databases are SVr4-compatible, but most seem to be. Exceptions include
+ DEC's Digital Unix (formerly known as OSF/1).
+
++ If you run the test programs WITHOUT installing terminfo, ncurses may
++ read the termcap file and cache that in $HOME/.terminfo, which will
++ thereafter be used instead of the terminfo database. See the comments
++ on "--enable-getcap-cache", to see why this is a Bad Thing.
++
+ It is possible to configure ncurses to use other terminfo database formats.
+ A few are provided as examples in the include-directory (see --with-caps).
+
+@@ -312,10 +317,6 @@
+ Compile without scroll-hints code. This option is ignored when
+ hashmap scrolling is configured, which is the default.
+
+- --enable-add-ons=DIR...
+- This is used to check if this package is a glibc add-on. This is used
+- only by the glibc makefiles.
+-
+ --enable-assertions
+ For testing, compile-in assertion code. This is used only for a few
+ places where ncurses cannot easily recover by returning an error code.
+@@ -454,6 +455,11 @@
+ --enable-xmc-glitch
+ Compile-in support experimental xmc (magic cookie) code.
+
++ --with-abi-version=NUM
++ Override the ABI version, which is used in shared library filenames.
++ Normally this is the same as the release version; some ports have
++ special requirements for compatibility.
++
+ --with-ada-compiler=CMD
+ Specify the Ada95 compiler command (default "gnatmake")
+
+@@ -472,7 +478,7 @@
+
+ --with-build-cc=XXX
+ If cross-compiling, specify a host C compiler, which is needed to
+- compile a few utilties which generate source modules for ncurses.
++ compile a few utilities which generate source modules for ncurses.
+ If you do not give this option, the configure script checks if the
+ $BUILD_CC variable is set, and otherwise defaults to gcc or cc.
+
+@@ -482,7 +488,7 @@
+ host compiler.
+
+ --with-build-cppflags=XXX
+- If cross-compiling, specify the host C preprocesor-flags. You might
++ If cross-compiling, specify the host C preprocessor-flags. You might
+ need to do this if the target compiler has unusual flags which confuse
+ the host compiler.
+
+@@ -544,9 +550,17 @@
+ NOTE: a few systems build shared libraries with fixed pathnames; this
+ option probably will not work for those configurations.
+
+- --with-libtool
+- Generate libraries with libtool. If this option is selected, then
+- it overrides all other library model specifications.
++ --with-libtool[=XXX]
++ Generate libraries with libtool. If this option is selected, then it
++ overrides all other library model specifications. Note that libtool
++ must already be installed, uses makefile rules dependent on GNU make,
++ and does not promise to follow the version numbering convention of
++ other shared libraries on your system. However, if the --with-shared
++ option does not succeed, you may get better results with this option.
++
++ If a parameter value is given, it must be the full pathname of the
++ particular version of libtool, e.g.,
++ /usr/bin/libtool-1.2.3
+
+ --with-manpage-format=XXX
+ Tell the configure script how you would like to install man-pages. The
+@@ -609,6 +623,9 @@
+ This is normally chosen automatically based on the type of system
+ which you are building on. We use it for testing the configure script.
+
++ --with-sysmouse
++ use FreeBSD sysmouse interface provide mouse support on the console.
++
+ --with-system-type=XXX
+ For testing, override the derived host system-type which is used to
+ decide things such as the linker commands used to build shared
+@@ -673,7 +690,7 @@
+ you may encounter when building a system with different versions of
+ ncurses:
+
+- 5.3 (pre-release)
++ 5.3 (October 12, 2002)
+ Interface changes:
+
+ + change type for bool used in headers to NCURSES_BOOL, which usually
+@@ -895,31 +912,34 @@
+ IF YOU ARE A SYSTEM INTEGRATOR:
+ ------------------------------
+
+- Beginning with 1.9.9, the ncurses distribution includes both a tset
+- utility and /usr/share/tabset directory. If you are installing ncurses,
+- it is no longer either necessary or desirable to install tset-jv.
+-
+ Configuration and Installation:
+
+- Configure with --prefix=/usr to make the install productions put
+- libraries and headers in the correct locations (overwriting any
+- previous curses libraries and headers). This will put the terminfo
+- hierarchy under /usr/share/terminfo; you may want to override this with
+- --datadir=/usr/share/misc; terminfo and tabset are installed under the
+- data directory.
++ On platforms where ncurses is assumed to be installed in /usr/lib,
++ the configure script uses "/usr" as a default:
+
+- Please configure the ncurses library in a pure-terminfo mode; that
+- is, with the --disable-termcap option. This will make the ncurses
+- library smaller and faster. The ncurses library includes a termcap
+- emulation that queries the terminfo database, so even applications
+- that use raw termcap to query terminal characteristics will win
+- (providing you recompile and relink them!).
++ Linux, FreeBSD, NetBSD, OpenBSD, Cygwin
+
+- If you must configure with termcap fallback enabled, you may also
+- wish to use the --enable-getcap option. This option speeds up
+- termcap-based startups, at the expense of not allowing personal
+- termcap entries to reference the terminfo tree. See the code in
+- ncurses/tinfo/read_termcap.c for details.
++ For other platforms, the default is "/usr/local". See the discussion
++ of the "--disable-overwrite" option.
++
++ The location of the terminfo is set indirectly by the "--datadir"
++ configure option, e.g., /usr/share/terminfo, given a datadir of
++ /usr/share. You may want to override this if you are installing
++ ncurses libraries in nonstandard locations, but wish to share the
++ terminfo database.
++
++ Normally the ncurses library is configured in a pure-terminfo mode;
++ that is, with the --disable-termcap option. This makes the ncurses
++ library smaller and faster. The ncurses library includes a termcap
++ emulation that queries the terminfo database, so even applications that
++ use raw termcap to query terminal characteristics will win (providing
++ you recompile and relink them!).
++
++ If you must configure with termcap fallback enabled, you may also wish
++ to use the --enable-getcap option. This speeds up termcap-based
++ startups, at the expense of not allowing personal termcap entries to
++ reference the terminfo tree. See comments in
++ ncurses/tinfo/read_termcap.c for further details.
+
+ Note that if you have $TERMCAP set, ncurses will use that value
+ to locate termcap data. In particular, running from xterm will
+@@ -939,11 +959,11 @@
+
+ Naming the Console Terminal
+
+- In various Linuxes (and possibly elsewhere) there has been a practice
+- of designating the system console driver type as `console'. Please
+- do not do this any more! It complicates peoples' lives, because it
+- can mean that several different terminfo entries from different
+- operating systems all logically want to be called `console'.
++ In various systems there has been a practice of designating the system
++ console driver type as `console'. Please do not do this! It
++ complicates peoples' lives, because it can mean that several different
++ terminfo entries from different operating systems all logically want to
++ be called `console'.
+
+ Please pick a name unique to your console driver and set that up
+ in the /etc/inittab table or local equivalent. Send the entry to the
+diff -urNd -urNd ncurses-5.3/MANIFEST ncurses-5.3.20030906.orig/MANIFEST
+--- ncurses-5.3/MANIFEST Sun Sep 1 17:08:22 2002
++++ ncurses-5.3.20030906.orig/MANIFEST Sun Jul 20 14:02:09 2003
+@@ -166,13 +166,11 @@
+ ./Ada95/src/terminal_interface.ads
+ ./INSTALL
+ ./MANIFEST
+-./Makefile.glibc
+ ./Makefile.in
+ ./Makefile.os2
+ ./NEWS
+ ./README
+ ./README.emx
+-./README.glibc
+ ./TO-DO
+ ./aclocal.m4
+ ./announce.html.in
+@@ -394,6 +392,7 @@
+ ./doc/html/man/form_win.3x.html
+ ./doc/html/man/infocmp.1m.html
+ ./doc/html/man/infotocap.1m.html
++./doc/html/man/key_defined.3x.html
+ ./doc/html/man/keybound.3x.html
+ ./doc/html/man/keyok.3x.html
+ ./doc/html/man/menu.3x.html
+@@ -593,6 +592,7 @@
+ ./man/form_win.3x
+ ./man/infocmp.1m
+ ./man/infotocap.1m
++./man/key_defined.3x
+ ./man/keybound.3x
+ ./man/keyok.3x
+ ./man/make_sed.sh
+@@ -673,6 +673,7 @@
+ ./misc/chkdef.cmd
+ ./misc/cleantic.cmd
+ ./misc/cmpdef.cmd
++./misc/csort
+ ./misc/emx.src
+ ./misc/form.def
+ ./misc/form.ref
+@@ -706,6 +707,7 @@
+ ./ncurses/base/MKunctrl.awk
+ ./ncurses/base/README
+ ./ncurses/base/define_key.c
++./ncurses/base/key_defined.c
+ ./ncurses/base/keybound.c
+ ./ncurses/base/keyok.c
+ ./ncurses/base/lib_addch.c
+@@ -736,7 +738,6 @@
+ ./ncurses/base/lib_initscr.c
+ ./ncurses/base/lib_insch.c
+ ./ncurses/base/lib_insdel.c
+-./ncurses/base/lib_insstr.c
+ ./ncurses/base/lib_instr.c
+ ./ncurses/base/lib_isendwin.c
+ ./ncurses/base/lib_leaveok.c
+@@ -861,6 +862,7 @@
+ ./ncurses/tty/tty_display.h
+ ./ncurses/tty/tty_input.h
+ ./ncurses/tty/tty_update.c
++./ncurses/widechar/charable.c
+ ./ncurses/widechar/lib_box_set.c
+ ./ncurses/widechar/lib_cchar.c
+ ./ncurses/widechar/lib_erasewchar.c
+@@ -869,9 +871,9 @@
+ ./ncurses/widechar/lib_hline_set.c
+ ./ncurses/widechar/lib_in_wch.c
+ ./ncurses/widechar/lib_in_wchnstr.c
+-./ncurses/widechar/lib_ins_nwstr.c
+ ./ncurses/widechar/lib_ins_wch.c
+ ./ncurses/widechar/lib_inwstr.c
++./ncurses/widechar/lib_slk_wset.c
+ ./ncurses/widechar/lib_unget_wch.c
+ ./ncurses/widechar/lib_vid_attr.c
+ ./ncurses/widechar/lib_vline_set.c
+@@ -913,12 +915,6 @@
+ ./progs/toe.c
+ ./progs/tput.c
+ ./progs/tset.c
+-./sysdeps/unix/sysv/linux/Makefile
+-./sysdeps/unix/sysv/linux/alpha/configure
+-./sysdeps/unix/sysv/linux/configure
+-./sysdeps/unix/sysv/linux/edit_man.sed
+-./sysdeps/unix/sysv/linux/edit_man.sh
+-./sysdeps/unix/sysv/linux/run_tic.sh
+ ./tack/COPYING
+ ./tack/HISTORY
+ ./tack/Makefile.in
+@@ -945,6 +941,7 @@
+ ./tar-copy.sh
+ ./test/Makefile.in
+ ./test/README
++./test/aclocal.m4
+ ./test/blue.c
+ ./test/bs.6
+ ./test/bs.c
+@@ -952,8 +949,15 @@
+ ./test/cardfile.dat
+ ./test/configure
+ ./test/configure.in
++./test/demo_defkey.c
++./test/demo_forms.c
++./test/demo_keyok.c
++./test/demo_menus.c
++./test/demo_panels.c
+ ./test/ditto.c
+ ./test/dots.c
++./test/edit_field.c
++./test/edit_field.h
+ ./test/filter.c
+ ./test/firework.c
+ ./test/firstlast.c
+@@ -961,8 +965,11 @@
+ ./test/gdc.c
+ ./test/hanoi.c
+ ./test/hashtest.c
++./test/ins_wide.c
++./test/inserts.c
+ ./test/keynames.c
+ ./test/knight.c
++./test/listused.sh
+ ./test/lrtest.c
+ ./test/modules
+ ./test/ncurses.c
+diff -urNd -urNd ncurses-5.3/NEWS ncurses-5.3.20030906.orig/NEWS
+--- ncurses-5.3/NEWS Sat Oct 12 17:35:42 2002
++++ ncurses-5.3.20030906.orig/NEWS Fri Sep 12 16:42:59 2003
+@@ -1,4 +1,4 @@
+--- $Id: NEWS,v 1.714 2002/10/12 22:35:42 tom Exp $
++-- $Id: NEWS,v 1.766 2003/09/06 22:40:56 tom Exp $
+
+ This is a log of changes that ncurses has gone through since Zeyd started
+ working with Pavel Curtis' original work, pcurses, in 1992.
+@@ -6,6 +6,531 @@
+ Changes through 1.9.9e are recorded by Zeyd M. Ben-Halim.
+ Changes since 1.9.9e are recorded by Thomas Dickey.
+
++20030906
++ + modify configure script to avoid using "head -1", which does not
++ work if POSIXLY_CORRECT (sic) is set.
++ + modify run_tic.in to avoid using wrong shared libraries when
++ cross-compiling (Dan Kegel).
++
++20030830
++ + alter configure script help message to make it clearer that
++ --with-build-cc does not specify a cross-compiler (suggested by Dan
++ Kegel <dank@kegel.com>).
++ + modify configure script to accommodate libtool 1.5, as well as add an
++ parameter to the "--with-libtool" option which can specify the
++ pathname of libtool (report by Chris Zubrzycki). We note that
++ libtool 1.5 has more than one bug in its C++ support, so it is not
++ able to install libncurses++, for instance, if $DESTDIR or the option
++ --with-install-prefix is used.
++
++20030823
++ > Philippe Blain:
++ + move assignments to SP->_cursrow, SP->_curscol into online_mvcur().
++ + make baudrate computation in delay_output() consistent with the
++ assumption in _nc_mvcur_init(), i.e., a byte is 9 bits.
++
++20030816
++ + modify logic in waddch_literal() to take into account zh_TW.Big5
++ whose multibyte sequences may contain "printable" characters, e.g.,
++ a "g" in the sequence "\247g" (Debian #204889, cf: 20030621).
++ + improve storage used by _nc_safe_strcpy() by ensuring that the size
++ is reset based on the initialization call, in case it were called
++ after other strcpy/strcat calls (report by Philippe Blain).
++ > Philippe Blain:
++ + remove an unused ifdef for REAL_ATTR & WANT_CHAR
++ + correct a place where _cup_cost was used rather than _cuu_cost
++
++20030809
++ + fix a small memory leak in _nc_free_termtype().
++ + close trace-file if trace() is called with a zero parameter.
++ + free memory allocated for soft-key strings, in delscreen().
++ + fix an allocation size in safe_sprintf.c for the "*" format code.
++ + correct safe_sprintf.c to not return a null pointer if the format
++ happens to be an empty string. This applies to the "configure
++ --enable-safe-sprintf" option (Redhat #101486).
++
++20030802
++ + modify casts used for ABSENT_BOOLEAN and CANCELLED_BOOLEAN (report by
++ Daniel Jacobowitz).
++ > Philippe Blain:
++ + change padding for change_scroll_region to not be proportional to
++ the size of the scroll-region.
++ + correct error-return in _nc_safe_strcat().
++
++20030726
++ + correct limit-checks in _nc_scroll_window() (report and test-case by
++ Thomas Graf <graf@dms.at> cf: 20011020).
++ + re-order configure checks for _XOPEN_SOURCE to avoid conflict with
++ _GNU_SOURCE check.
++
++20030719
++ + use clr_eol in preference to blanks for bce terminals, so select and
++ paste will have fewer trailing blanks, e.g., when using xterm
++ (request by Vincent Lefevre).
++ + correct prototype for wunctrl() in manpage.
++ + add configure --with-abi-version option (discussion with Charles
++ Wilson).
++ > cygwin changes from Charles Wilson:
++ + aclocal.m4: on cygwin, use autodetected prefix for import
++ and static lib, but use "cyg" for DLL.
++ + include/ncurses_dll.h: correct the comments to reflect current
++ status of cygwin/mingw port. Fix compiler warning.
++ + misc/run_tic.in: ensure that tic.exe can find the uninstalled
++ DLL, by adding the lib-directory to the PATH variable.
++ + misc/terminfo.src (nxterm|xterm-color): make xterm-color
++ primary instead of nxterm, to match XFree86's xterm.terminfo
++ usage and to prevent circular links.
++ (rxvt): add additional codes from rxvt.org.
++ (rxvt-color): new alias
++ (rxvt-xpm): new alias
++ (rxvt-cygwin): like rxvt, but with special acsc codes.
++ (rxvt-cygwin-native): ditto. rxvt may be run under XWindows, or
++ with a "native" MSWin GUI. Each takes different acsc codes,
++ which are both different from the "normal" rxvt's acsc.
++ (cygwin): cygwin-in-cmd.exe window. Lots of fixes.
++ (cygwinDBG): ditto.
++ + mk-1st.awk: use "cyg" for the DLL prefix, but "lib" for import
++ and static libs.
++
++20030712
++ + update config.guess, config.sub
++ + add triples for configuring shared libraries with the Debian
++ GNU/FreeBSD packages (patch by Robert Millan <zeratul2@wanadoo.es>).
++
++20030705
++ + modify CF_GCC_WARNINGS so it only applies to gcc, not g++. Some
++ platforms have installed g++ along with the native C compiler, which
++ would not accept gcc warning options.
++ + add -D_XOPEN_SOURCE=500 when configuring with --enable-widec, to
++ get mbstate_t declaration on HPUX 11.11 (report by David Ellement).
++ + add _nc_pathlast() to get rid of casts in _nc_basename() calls.
++ + correct a sign-extension in wadd_wch() and wecho_wchar() from
++ 20030628 (report by Tomohiro KUBOTA).
++ + work around omission of btowc() and wctob() from wide-character
++ support (sic) in NetBSD 1.6 using mbtowc() and wctomb() (report by
++ Gabor Z Papp).
++ + add portability note to curs_get_wstr.3x (Debian #199957).
++
++20030628
++ + rewrite wadd_wch() and wecho_wchar() to call waddch() and wechochar()
++ respectively, to avoid calling waddch_noecho() with wide-character
++ data, since that function assumes its input is 8-bit data.
++ Similarly, modify waddnwstr() to call wadd_wch().
++ + remove logic from waddnstr() which transformed multibyte character
++ strings into wide-characters. Rewrite of waddch_literal() from
++ 20030621 assumes its input is raw multibyte data rather than wide
++ characters (report by Tomohiro KUBOTA).
++
++20030621
++ + write getyx() and related 2-return macros in terms of getcury(),
++ getcurx(), etc.
++ + modify waddch_literal() in case an application passes bytes of a
++ multibyte character directly to waddch(). In this case, waddch()
++ must reassemble the bytes into a wide-character (report by Tomohiro
++ KUBOTA <kubota@debian.org>).
++
++20030614
++ + modify waddch_literal() in case a multibyte value occupies more than
++ two cells.
++ + modify PutAttrChar() to compute the number of character cells that
++ are used in multibyte values. This fixes a problem displaying
++ double-width characters (report/test by Mitsuru Chinen
++ <mchinen@yamato.ibm.com>).
++ + add a null-pointer check for result of keyname() in _tracechar()
++ + modify _tracechar() to work around glibc sprintf bug.
++
++20030607
++ + add a call to setlocale() in cursesmain.cc, making demo display
++ properly in a UTF-8 locale.
++ + add a fallback definition in curses.priv.h for MB_LEN_MAX (prompted
++ by discussion with Gabor Z Papp).
++ + use macros NCURSES_ACS() and NCURSES_WACS() to hide cast needed to
++ appease -Wchar-subscript with g++ 3.3 (Debian #195732).
++ + fix a redefinition of $RANLIB in the configure script when libtool
++ is used, which broke configure on Mac OS X (report by Chris Zubrzycki
++ <beren@mac.com>).
++ + simplify ifdef for bool declaration in curses.h.in (suggested by
++ Albert Chin-A-Young).
++ + remove configure script check to allow -Wconversion for older
++ versions of gcc (suggested by Albert Chin-A-Young).
++
++20030531
++ + regenerated html manpages.
++ + modify ifdef's in curses.h.in that disabled use of __attribute__()
++ for g++, since recent versions implement the cases which ncurses uses
++ (Debian #195230).
++ + modify _nc_get_token() to handle a case where an entry has no
++ description, and capabilities begin on the same line as the entry
++ name.
++ + fix a typo in ncurses_dll.h reported by gcc 3.3.
++ + add an entry for key_defined.3x to man_db.renames.
++
++20030524
++ + modify setcchar() to allow converting control characters to complex
++ characters (report/test by Mitsuru Chinen <mchinen@yamato.ibm.com>).
++ + add tkterm entry -TD
++ + modify parse_entry.c to allow a terminfo entry with a leading
++ 2-character name (report by Don Libes).
++ + corrected acsc in screen.teraterm, which requires a PC-style mapping.
++ + fix trace statements in read_entry.c to use lseek() rather than
++ tell().
++ + fix signed/unsigned warnings from Sun's compiler (gcc should give
++ these warnings, but it is unpredictable).
++ + modify configure script to omit -Winline for gcc 3.3, since that
++ feature is broken.
++ + modify manlinks.sed to add a few functions that were overlooked since
++ they return function pointers: field_init, field_term, form_init,
++ form_term, item_init, item_term, menu_init and menu_term.
++
++20030517
++ + prevent recursion in wgetch() via wgetnstr() if the connection cannot
++ be switched between cooked/raw modes because it is not a TTY (report
++ by Wolfgang Gutjahr <gutw@knapp.com>).
++ + change parameter of define_key() and key_defined() to const (prompted
++ by Debian #192860).
++ + add a check in test/configure for ncurses extensions, since there
++ are some older versions, etc., which would not compile with the
++ current test programs.
++ + corrected demo in test/ncurses.c of wgetn_wstr(), which did not
++ convert wchar_t string to multibyte form before printing it.
++ + corrections to lib_get_wstr.c:
++ + null-terminate buffer passed to setcchar(), which occasionally
++ failed.
++ + map special characters such as erase- and kill-characters into
++ key-codes so those will work as expected even if they are not
++ mentioned in the terminfo.
++ + modify PUTC() and Charable() macros to make wide-character line
++ drawing work for POSIX locale on Linux console (cf: 20021221).
++
++20030510
++ + make typography for program options in manpages consistent (report
++ by Miloslav Trmac <mitr@volny.cz>).
++ + correct dependencies in Ada95/src/Makefile.in, so the builds with
++ "--srcdir" work (report by Warren L Dodge).
++ + correct missing definition of $(CC) in Ada95/gen/Makefile.in
++ (reported by Warren L Dodge <warrend@mdhost.cse.tek.com>).
++ + fix typos and whitespace in manpages (patch by jmc
++ <jmc@prioris.mini.pw.edu.pl>).
++
++20030503
++ + fix form_driver() cases for REQ_CLR_EOF, REQ_CLR_EOL, REQ_DEL_CHAR,
++ REQ_DEL_PREV and REQ_NEW_LINE, which did not ensure the cursor was at
++ the editing position before making modifications.
++ + add test/demo_forms and associated test/edit_field.c demos.
++ + modify test/configure.in to use test/modules for the list of objects
++ to compile rather than using the list of programs.
++
++20030419
++ + modify logic of acsc to use the original character if no mapping is
++ defined, noting that Solaris does this.
++ + modify ncurses 'b' test to avoid u