--- ncurses-5.7+20100313.orig/debian/libncursesw5-dev.links
+++ ncurses-5.7+20100313/debian/libncursesw5-dev.links
@@ -0,0 +1,2 @@
+lib/libncursesw.so.5 usr/lib/libncursesw.so
+lib/libticw.so.5 usr/lib/libticw.so
--- ncurses-5.7+20100313.orig/debian/README.Debian
+++ ncurses-5.7+20100313/debian/README.Debian
@@ -0,0 +1,22 @@
+ncurses for Debian
+------------------
+
+The ncurses package is split into nine parts:
+
+libncurses5 The ncurses shared libraries
+libncurses5-dev Development environment
+libncurses5-dbg Debugging libraries
+
+libncursesw5 The ncurses shared libraries, with wide character
+ support
+libncursesw5-dev Development environment for libncursesw5
+libncursesw5-dbg Debugging libraries for libncursesw5
+
+ncurses-bin Various small applications (clear, reset, tic, etc.)
+ncurses-base Standard terminal entries
+ncurses-term All the rest of the terminal entries
+
+All debian systems should have libncurses5, ncurses-base, and ncurses-bin
+installed. The -dev and -dbg packages are only useful for developers wishing to
+compile programs which use ncurses. ncurses-term is the full contents of the
+terminfo database, and includes many strange and obsolete terminals.
--- ncurses-5.7+20100313.orig/debian/control
+++ ncurses-5.7+20100313/debian/control
@@ -0,0 +1,189 @@
+Source: ncurses
+Section: libs
+Priority: required
+Maintainer: Craig Small <csmall@debian.org>
+Uploaders: Sven Joachim <svenjoac@gmx.de>
+Build-Depends: debhelper (>= 7),
+ g++-multilib [amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc],
+ libgpm-dev [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386],
+ quilt (>= 0.40)
+Standards-Version: 3.8.4
+Vcs-Browser: http://git.debian.org/?p=collab-maint/ncurses.git
+Vcs-Git: git://git.debian.org/collab-maint/ncurses.git
+Homepage: http://invisible-island.net/ncurses/
+
+Package: libncurses5
+Architecture: any
+Priority: required
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: libgpm2 [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386]
+Description: shared libraries for terminal handling
+ This package contains the shared libraries necessary to run programs
+ compiled with ncurses.
+
+Package: libncurses5-dev
+Architecture: any
+Section: libdevel
+Priority: optional
+Depends: libncurses5 (= ${binary:Version}), ncurses-bin (= ${binary:Version}),
+ libc-dev, ${misc:Depends}
+Conflicts: ncurses-dev, libncurses-dev
+Replaces: ncurses-dev, libncurses-dev
+Provides: libncurses-dev, ncurses-dev
+Description: developer's libraries and docs for ncurses
+ This package contains the header files, static libraries
+ and symbolic links that developers using ncurses will need.
+ It also includes the libraries' man pages and other documentation.
+
+Package: libncurses5-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${shlibs:Depends}, libncurses5-dev (= ${binary:Version}), ${misc:Depends}
+Description: debugging/profiling libraries for ncurses
+ This package contains the debugging libraries for ncurses.
+
+Package: libncursesw5
+Architecture: any
+Priority: important
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: libgpm2 [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386]
+Description: shared libraries for terminal handling (wide character support)
+ This package contains the shared libraries necessary to run programs
+ compiled with ncursesw, which includes support for wide characters.
+
+Package: libncursesw5-dev
+Architecture: any
+Section: libdevel
+Priority: optional
+Depends: libncursesw5 (= ${binary:Version}), ncurses-bin (= ${binary:Version}),
+ libc-dev, ${misc:Depends}
+Suggests: libncurses5-dev
+Description: developer's libraries for ncursesw
+ This package contains the header files, static libraries
+ and symbolic links that developers using ncursesw will need.
+ .
+ This package includes support for wide characters.
+
+Package: libncursesw5-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${shlibs:Depends}, libncursesw5-dev (= ${binary:Version}), ${misc:Depends}
+Description: debugging/profiling libraries for ncurses
+ This package contains the debugging libraries for ncursesw.
+ .
+ This package includes support for wide characters.
+
+Package: lib64ncurses5
+Architecture: i386 powerpc sparc s390
+Priority: optional
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Replaces: amd64-libs (<= 1.2)
+Description: shared libraries for terminal handling (64-bit)
+ This package contains the shared libraries necessary to run programs
+ compiled with ncurses.
+ .
+ This package supports the 64-bit ABI variant of your system's
+ architecure.
+
+Package: lib64ncurses5-dev
+Architecture: i386 powerpc sparc s390
+Section: libdevel
+Priority: optional
+Depends: lib64ncurses5 (= ${binary:Version}), libncurses5-dev, lib64c-dev, ${misc:Depends}
+Replaces: amd64-libs-dev (<= 1.2)
+Description: developer's libraries for ncurses (64-bit)
+ This package contains the header files, static libraries
+ and symbolic links that developers using ncurses will need.
+ .
+ This package supports the 64-bit ABI variant of your system's
+ architecure.
+
+Package: lib32ncurses5
+Architecture: amd64 ppc64
+Priority: optional
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libc6-i386 (<= 2.9-18)
+Replaces: ia32-libs (<< 1.10)
+Description: shared libraries for terminal handling (32-bit)
+ This package contains the shared libraries necessary to run programs
+ compiled with ncurses.
+ .
+ This package supports the 32-bit ABI variant of your system's
+ architecure.
+
+Package: lib32ncurses5-dev
+Architecture: amd64 ppc64
+Section: libdevel
+Priority: optional
+Depends: lib32ncurses5 (= ${binary:Version}), libncurses5-dev, lib32c-dev, ${misc:Depends}
+Conflicts: libc6-i386 (<= 2.9-18)
+Description: developer's libraries for ncurses (32-bit)
+ This package contains the header files, static libraries
+ and symbolic links that developers using ncurses will need.
+ .
+ This package supports the 32-bit ABI variant of your system's
+ architecure.
+
+Package: lib32ncursesw5
+Architecture: amd64 ppc64
+Priority: optional
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: libc6-i386 (<= 2.9-18)
+Description: shared libraries for terminal handling (wide character support) (32-bit)
+ This package contains the shared libraries necessary to run programs
+ compiled with ncursesw, which includes support for wide characters.
+ .
+ This package supports the 32-bit ABI variant of your system's
+ architecure.
+
+Package: lib32ncursesw5-dev
+Architecture: amd64 ppc64
+Section: libdevel
+Priority: optional
+Depends: lib32ncursesw5 (= ${binary:Version}), libncursesw5-dev, lib32c-dev, ${misc:Depends}
+Conflicts: libc6-i386 (<= 2.9-18)
+Suggests: lib32ncurses5-dev
+Description: developer's libraries for ncursesw (32-bit)
+ This package contains the header files, static libraries
+ and symbolic links that developers using ncursesw will need.
+ .
+ This package includes support for wide characters.
+ This package supports the 32-bit ABI variant of your system's
+ architecure.
+
+Package: ncurses-bin
+Architecture: any
+Section: utils
+Priority: required
+Essential: yes
+Pre-Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: terminal-related programs and man pages
+ This package contains the programs used for manipulating the terminfo
+ database and individual terminfo entries, as well as some programs for
+ resetting terminals and such.
+
+Package: ncurses-base
+Architecture: all
+Section: utils
+Priority: required
+Essential: yes
+Depends: ${misc:Depends}
+Conflicts: ncurses, ncurses-runtime
+Provides: ncurses-runtime
+Breaks: ncurses-term (<< 5.7+20100313-3)
+Description: basic terminal type definitions
+ This package contains terminfo data files to support the most common types of
+ terminal, including ansi, dumb, linux, rxvt, screen, sun, vt100, vt102, vt220,
+ vt52, and xterm.
+
+Package: ncurses-term
+Architecture: all
+Section: admin
+Priority: standard
+Depends: ${misc:Depends}
+Replaces: ncurses-base (<< 5.7+20100313-1)
+Description: additional terminal type definitions
+ This package contains all of the numerous terminal definitions not found in
+ the ncurses-base package.
--- ncurses-5.7+20100313.orig/debian/hurd.ti
+++ ncurses-5.7+20100313/debian/hurd.ti
@@ -0,0 +1,164 @@
+hurd|The GNU Hurd console server,
+# Over-all properties.
+# We use 8-bit characters
+ km,
+# Although we don't do XON/XOFF, we don't want padding characters.
+ xon,
+# Hard reset.
+ rs1=\EM,
+
+# Note about compatibility to vt100: We don't specify <xenl>, as we
+# don't have the eat_newline_glitch. We don't support setting or
+# removing tab stops (hts/tbc).
+
+# Cursor related capabilities.
+
+# Moving the cursor.
+# We have automatic margins.
+ am,
+# We wrap around the left edge.
+ bw,
+# Carriage return and newline.
+ cr=^M, nel=^M^J,
+# Move cursor to home position (to position P1, P2).
+ home=\E[H, cup=\E[%i%p1%d;%p2%dH,
+# Move cursor one character (P1 characters) backwards.
+# We use ^H instead \E[D for cub1, as only ^H implements <bw> and it
+# is one byte instead three.
+ cub1=^H, cub=\E[%p1%dD,
+# Move cursor one line (P1 lines) downwards.
+ cud1=\E[B, cud=\E[%p1%dB,
+# Move cursor one character (P1 characters) forwards.
+ cuf1=\E[C, cuf=\E[%p1%dC,
+# Move cursor one line (P1 lines) upwards.
+ cuu1=\E[A, cuu=\E[%p1%dA,
+# Set horizontal (vertical) cursor position to P1.
+ hpa=\E[%i%p1%dG, vpa=\E[%i%p1%dd,
+# Save (restore) cursor position.
+ sc=\E7, rc=\E8,
+# Set the scrolling region to lines P1 to P2.
+ csr=\E[%i%p1%d;%p2%dr,
+
+# Modifying cursor attributes.
+# Make cursor invisible, very visible or normal.
+ civis=\E[?25l, cvvis=\E[34l, cnorm=\E[?25h,
+
+# Tabulator stops.
+# We have tabulator stops every eight rows.
+ it#8,
+# Move cursor to next tabulator stop.
+ ht=^I,
+# Move cursor to previous tabulator stop.
+ cbt=\E[Z,
+# XXX When we implement this.
+# Set tab stop in the current column of every row.
+# hts=\EH,
+# Delete all tab stops.
+# tbc=\E[3g,
+
+
+# Screen editing capabilities.
+# Clear screen.
+ clear=\Ec,
+# Clear to end of screen.
+ ed=\E[J,
+# Clear to end (beginning) of line.
+ el=\E[K, el1=\E[1K,
+
+# Insert one character (P1 characters).
+# <ich1> not included because we have insert mode.
+# ich1=\E[@,
+ ich=\E[%p1%d@,
+# Enter (leave) insert mode.
+ smir=\E[4h, rmir=\E[4l,
+# It is save to move when in insert mode.
+ mir,
+# Delete one character (P1 characters).
+ dch1=\E[P, dch=\E[%p1%dP,
+# Erase the next N characters.
+ ech=\E[%p1%dX,
+# Insert one line (P1 lines).
+ il1=\E[L, il=\E[%p1%dL,
+# Delete one line (P1 lines).
+ dl1=\E[M, dl=\E[%p1%dM,
+# Scroll the whole screen one line (P1 lines) upwards. We don't use
+# ^J, because this could put things into the scrollback buffer.
+ ind=\E[S, indn=\E[%p1%dS,
+# Scroll the whole screen one line (P1 lines) downwards.
+ rin=\E[%p1%dT, ri=\E[T,
+
+
+# Bell capabilities.
+# Audible bell.
+ bel=^G,
+# Flash the screen (visible bell).
+ flash=\Eg,
+
+
+# Keycodes for special keys.
+# Backspace key.
+ kbs=\177,
+# Keycode for left, down, right and up arrow key.
+ kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA,
+# Keycodes for function keys.
+ kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[15~,
+ kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~,
+ kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~,
+ kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~,
+ kf18=\E[32~, kf19=\E[33~, kf20=\E[34~,
+# Keycode for backtab key.
+ kcbt=\E[Z,
+# Keycode for suspend key.
+ kspd=^Z,
+# Keycode for home (insert, delete, end) key.
+ khome=\E[1~, kich1=\E[2~, kdch1=\E[3~, kend=\E[4~,
+# Keycode for previous (next) page key.
+ kpp=\E[5~, knp=\E[6~,
+# Keycode for center of keypad area.
+ kb2=\E[G,
+# Mouse event has occured.
+ kmous=\E[M,
+
+# Text attribute capabilities.
+ acsc=++\,\,--..00ii``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+
+# Color support.
+# We erase the screen with the current background color.
+ bce,
+# Number of colors and color pairs at the same time.
+ colors#8,
+ pairs#64,
+# Video attributes colliding with color.
+# ORed: A_STANDOUT 1, A_UNDERLINE 2, A_REVERSE 4, A_BLINK 8, A_DIM 16,
+# A_BOLD 32, A_INVIS 64
+# We don't define this as we do our own display optimization,
+# depending on the display driver. Alternatively, we could provide
+# different terminfo entries.
+# ncv#18,
+# Set background (foreground) color.
+ setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
+# Set default color pair to its original value.
+ op=\E[39;49m,
+
+# Video attributes.
+# Overstrikes are erasable with a blank.
+ eo,
+# It is save to move when in standout mode.
+ msgr,
+# Enable dim (blinking, bold, invisible, reverse) attribute.
+ dim=\E[2m, blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m,
+# Enable (disable) standout mode.
+ smso=\E[7m, rmso=\E[27m,
+# Enable (disable) underline mode.
+ smul=\E[4m, rmul=\E[24m,
+# Enable (disable) italic mode.
+ sitm=\E[3m, ritm=\E[23m,
+# Enable (disable) real bold (not intensity bright) mode. This is a
+# GNU extension.
+ gsbom=\E[>1h, grbom=\E[>1l,
+# Enable (disable) alternative character set.
+ smacs=\E[11m, rmacs=\E[10m,
+# Set all attributes.
+ sgr=\E[0%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m,
+# Reset all attributes.
+ sgr0=\E[0m,
--- ncurses-5.7+20100313.orig/debian/history.old
+++ ncurses-5.7+20100313/debian/history.old
@@ -0,0 +1,20 @@
+Galen Hazelwood <galenh@micron.net> created this package, from sources
+found in ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.0.tar.gz. It
+borrows heavily from the original debianization put together by Bruce
+Perens <Bruce@Pixar.com> and benifitted considerably from a lot of
+help from David Engel <david@elo.ods.com>. Michael Alan Dorman
+<mdorman@debian.org> arranged the beast into its present form, and put
+a lot of effort into making ncurses fit with Debian in the best way
+possible. His patches for packaging the ill-fated 4.1 release form the
+backbone of this version. The current maintainer is greatly in debt to
+his illustrious predecessors.
+
+During Galen's absence, Richard Braakman <dark@xs4all.nl>, James Troup
+jjtroup@comp.brad.ac.uk> and J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl>
+worked on ncurses, resulting in the 1.9.9g-8.8 version that got included in
+Debian 2.0.
+
+Ray took the new upstream 4.2 sources and re-did most of the packaging using
+the current Debian tools. I (Galen) finally rejoined the debian world at
+this point and used ray's work for the new ncurses 4.2 packages. (Thanks
+for picking up the slack for me, guys. I owe you some beers.)
--- ncurses-5.7+20100313.orig/debian/rules
+++ ncurses-5.7+20100313/debian/rules
@@ -0,0 +1,456 @@
+#!/usr/bin/make -f
+# This file has gone through many maintainers. Mostly rewritten
+# by Daniel Jacobowitz.
+
+include /usr/share/quilt/quilt.make
+
+# These are important since this is a library package
+soname=5
+vername=5.7
+sodepver = (>= 5.7+20100313)
+
+# Name our packages
+package-base=ncurses-base
+package-bin=ncurses-bin
+package-lib=libncurses$(soname)
+package-lib-32=lib32ncurses$(soname)
+package-lib-64=lib64ncurses$(soname)
+package-libw=libncursesw$(soname)
+package-libw-32=lib32ncursesw$(soname)
+package-dev=libncurses$(soname)-dev
+package-dev-32=lib32ncurses$(soname)-dev
+package-dev-64=lib64ncurses$(soname)-dev
+package-devw=libncursesw$(soname)-dev
+package-devw-32=lib32ncursesw$(soname)-dev
+package-dbg=libncurses$(soname)-dbg
+package-dbgw=libncursesw$(soname)-dbg
+package-term=ncurses-term
+
+workdir=$(shell pwd)
+tempdir=debian/tmp
+fulltempdir=$(workdir)/$(tempdir)
+
+srcdir=$(shell pwd)
+objdir=$(srcdir)/obj
+objdir-static=$(srcdir)/obj-static
+objdir-32=$(srcdir)/obj-32
+objdir-64=$(srcdir)/obj-64
+wobjdir=$(srcdir)/obj-wide
+wobjdir-static=$(srcdir)/obj-wide-static
+wobjdir-32=$(srcdir)/obj-wide-32
+objdir-debug=$(srcdir)/obj-debug
+wobjdir-debug=$(srcdir)/obj-wide-debug
+
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_HOST_GNU_SYSTEM ?= $(shell dpkg-architecture -qDEB_HOST_GNU_SYSTEM)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+ifeq ($(DEB_HOST_ARCH),i386)
+build_64_target = x86_64-$(DEB_HOST_GNU_SYSTEM)
+build_64 = build-64
+endif
+
+ifeq ($(DEB_HOST_ARCH),powerpc)
+build_64_target = powerpc64-$(DEB_HOST_GNU_SYSTEM)
+build_64 = build-64
+endif
+
+ifeq ($(DEB_HOST_ARCH),s390)
+build_64_target = s390x-$(DEB_HOST_GNU_SYSTEM)
+build_64 = build-64
+endif
+
+ifeq ($(DEB_HOST_ARCH),sparc)
+build_64_target = sparc64-$(DEB_HOST_GNU_SYSTEM)
+build_64 = build-64
+endif
+
+ifeq ($(DEB_HOST_ARCH),amd64)
+build_32_target = i486-$(DEB_HOST_GNU_SYSTEM)
+build_32 = build-32 build-wide-32
+lib32 = /lib32
+usr_lib32 = /usr/lib32
+endif
+
+ifeq ($(DEB_HOST_ARCH),ppc64)
+build_32_target = powerpc-$(DEB_HOST_GNU_SYSTEM)
+build_32 = build-32 build-wide-32
+lib32 = /lib32
+usr_lib32 = /usr/lib32
+endif
+
+ifneq ($(findstring linux,$(DEB_HOST_GNU_SYSTEM)),)
+with_gpm = --with-gpm
+endif
+
+CFLAGS = -O2 -g
+CONFARGS = --prefix=/usr \
+ --with-shared \
+ --mandir=/usr/share/man \
+ --without-profile --without-debug \
+ --disable-rpath --enable-echo \
+ --enable-const \
+ --without-ada \
+ $(with_gpm) \
+ --enable-symlinks \
+ --disable-lp64 \
+ --with-chtype='long' \
+ --with-mmask-t='long' \
+ --disable-termcap \
+ --with-default-terminfo-dir=/usr/share/terminfo \
+ --with-terminfo-dirs="/etc/terminfo:/lib/terminfo:/usr/share/terminfo" \
+ --with-ticlib
+
+ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+CONFARGS += --with-build-cc=gcc --host=$(DEB_HOST_GNU_TYPE)
+endif
+
+# Files for /lib/terminfo.
+libterminfofiles=a/ansi c/cons25 c/cons25-debian c/cygwin d/dumb h/hurd l/linux m/mach \
+ m/mach-bold m/mach-color p/pcansi r/rxvt r/rxvt-m r/rxvt-basic \
+ r/rxvt-unicode \
+ s/screen s/screen-bce s/screen-s s/screen-w s/sun v/vt100 v/vt102 \
+ v/vt220 v/vt52 x/xterm x/xterm-debian x/xterm-xfree86 x/xterm-color \
+ x/xterm-mono x/xterm-r5 x/xterm-r6 x/xterm-vt220 \
+ x/xterm-256color s/screen-256color s/screen-256color-bce \
+ w/wsvt25 w/wsvt25m E/Eterm E/Eterm-color
+
+# Blacklist terminfo entries shipped by other Debian packages so that we do
+# not begin shipping them by accident.
+badterminfo = 5/5250 b/bterm i/iterm i/iterm-am i/iterm-color \
+ j/jfbterm k/kon l/linux-5250 m/mlterm
+
+# The ncurses configure test won't work when cross compiling (e.g. for
+# 64 bit libraries), so force the libgpm soname to the correct value.
+export cf_cv_gpm_soname=libgpm.so.2
+
+$(objdir)/config.status: $(QUILT_STAMPFN)
+ test -d $(objdir) || mkdir $(objdir)
+ cd $(objdir) && CFLAGS="$(CFLAGS)" $(srcdir)/configure \
+ $(CONFARGS) \
+ --with-install-prefix=$(fulltempdir) \
+ --enable-overwrite
+
+$(objdir-static)/config.status: $(QUILT_STAMPFN)
+ test -d $(objdir-static) || mkdir $(objdir-static)
+ cd $(objdir-static) && CFLAGS="$(CFLAGS)" $(srcdir)/configure \
+ $(CONFARGS) \
+ --without-shared \
+ --without-dlsym \
+ --with-install-prefix=$(fulltempdir) \
+ --enable-overwrite
+
+$(objdir-32)/config.status: $(QUILT_STAMPFN)
+ test -d $(objdir-32) || mkdir $(objdir-32)
+
+ cd $(objdir-32) && CFLAGS="$(CFLAGS)" CC="gcc -m32" \
+ BUILD_CC="gcc" CXX="g++ -m32" \
+ $(srcdir)/configure \
+ $(CONFARGS) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(build_32_target) \
+ --without-gpm \
+ --with-install-prefix=$(fulltempdir) \
+ --enable-overwrite --libdir=$(usr_lib32)
+
+$(objdir-64)/config.status: $(QUILT_STAMPFN)
+ test -d $(objdir-64) || mkdir $(objdir-64)
+
+ # Force necessary configure checks which do not work when
+ # cross compiling; all Debian platforms return unsigned char
+ # for this configure check.
+ cf_cv_type_of_bool='unsigned char'; export cf_cv_type_of_bool; \
+ cd $(objdir-64) && CFLAGS="$(CFLAGS)" CC="gcc -m64" \
+ BUILD_CC="gcc" CXX="g++ -m64" \
+ $(srcdir)/configure \
+ $(CONFARGS) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(build_64_target) \
+ --without-gpm \
+ --with-install-prefix=$(fulltempdir) \
+ --enable-overwrite --libdir=/usr/lib64
+
+$(objdir-debug)/config.status: $(QUILT_STAMPFN)
+ test -d $(objdir-debug) || mkdir $(objdir-debug)
+ cd $(objdir-debug) && \
+ CFLAGS="$(CFLAGS) -DTRACE" $(srcdir)/configure \
+ $(CONFARGS) \
+ --with-install-prefix=$(fulltempdir) \
+ --enable-overwrite
+
+$(wobjdir)/config.status: $(QUILT_STAMPFN)
+ test -d $(wobjdir) || mkdir $(wobjdir)
+ cd $(wobjdir) && CFLAGS="$(CFLAGS)" $(srcdir)/configure \
+ $(CONFARGS) \
+ --with-install-prefix=$(fulltempdir) \
+ --disable-overwrite --enable-widec
+
+$(wobjdir-static)/config.status: $(QUILT_STAMPFN)
+ test -d $(wobjdir-static) || mkdir $(wobjdir-static)
+ cd $(wobjdir-static) && CFLAGS="$(CFLAGS)" $(srcdir)/configure \
+ $(CONFARGS) \
+ --without-shared \
+ --without-dlsym \
+ --with-install-prefix=$(fulltempdir) \
+ --disable-overwrite --enable-widec
+
+$(wobjdir-debug)/config.status: $(QUILT_STAMPFN)
+ test -d $(wobjdir-debug) || mkdir $(wobjdir-debug)
+ cd $(wobjdir-debug) && \
+ CFLAGS="$(CFLAGS) -DTRACE" $(srcdir)/configure \
+ $(CONFARGS) \
+ --with-install-prefix=$(fulltempdir) \
+ --disable-overwrite --enable-widec
+
+$(wobjdir-32)/config.status: $(QUILT_STAMPFN)
+ test -d $(wobjdir-32) || mkdir $(wobjdir-32)
+
+ cd $(wobjdir-32) && CFLAGS="$(CFLAGS)" CC="gcc -m32" \
+ BUILD_CC="gcc" BUILD_CPPFLAGS="-D_GNU_SOURCE" CXX="g++ -m32" \
+ $(srcdir)/configure \
+ $(CONFARGS) \
+ --build=$(DEB_BUILD_GNU_TYPE) \
+ --host=$(build_32_target) \
+ --without-gpm \
+ --with-install-prefix=$(fulltempdir) \
+ --disable-overwrite --enable-widec \
+ --libdir=$(usr_lib32)
+
+
+build: build-normal build-static build-wide build-debug build-wide-debug \
+ build-wide-static $(build_64) $(build_32)
+
+ touch $@
+
+build-normal: $(objdir)/config.status
+ cd $(objdir) && $(MAKE)
+ touch $@
+
+build-static: $(objdir-static)/config.status
+ cd $(objdir-static) && $(MAKE)
+ touch $@
+
+build-32: $(objdir-32)/config.status
+ cd $(objdir-32) && $(MAKE)
+ touch $@
+
+build-64: $(objdir-64)/config.status
+ cd $(objdir-64) && $(MAKE)
+ touch $@
+
+build-debug: $(objdir-debug)/config.status
+ cd $(objdir-debug) && $(MAKE)
+ touch $@
+
+build-wide: $(wobjdir)/config.status
+ cd $(wobjdir) && $(MAKE)
+ touch $@
+
+build-wide-static: $(wobjdir-static)/config.status
+ cd $(wobjdir-static) && $(MAKE)
+ touch $@
+
+build-wide-32: $(wobjdir-32)/config.status
+ cd $(wobjdir-32) && $(MAKE)
+ touch $@
+
+build-wide-debug: $(wobjdir-debug)/config.status
+ cd $(wobjdir-debug) && $(MAKE)
+ touch $@
+
+clean: unpatch
+ dh_testdir
+ rm -f build
+ rm -rf $(objdir)
+ rm -rf $(objdir-static)
+ rm -rf $(objdir-32)
+ rm -rf $(objdir-64)
+ rm -rf $(wobjdir)
+ rm -rf $(wobjdir-static)
+ rm -rf $(wobjdir-32)
+ rm -rf $(objdir-debug)
+ rm -rf $(wobjdir-debug)
+ rm -f build-normal build-static build-wide build-debug build-wide-debug \
+ build-wide-static $(build_32) $(build_64)
+ rm -f debian/shlibs.local
+ dh_clean
+
+install: build
+ # Generate proper debhelper files for so-named packages
+ dh_testdir
+ dh_testroot
+ dh_prep
+
+ifneq ($(build_32),)
+ #$(MAKE) -C $(objdir-32) install.libs
+ #$(MAKE) -C $(wobjdir-32) install.libs
+ #test -d $(tempdir)$(lib32) || mkdir $(tempdir)$(lib32)
+ #mv $(tempdir)$(usr_lib32)/libncurses.so.$(vername) $(tempdir)$(lib32)/
+ #mv $(tempdir)$(usr_lib32)/libncurses.so.$(soname) $(tempdir)$(lib32)/
+ #mv $(tempdir)$(usr_lib32)/libncursesw.so.$(vername) $(tempdir)$(lib32)/
+ #mv $(tempdir)$(usr_lib32)/libncursesw.so.$(soname) $(tempdir)$(lib32)/
+ #mv $(tempdir)$(usr_lib32)/libtic.so.$(vername) $(tempdir)$(lib32)/
+ #mv $(tempdir)$(usr_lib32)/libtic.so.$(soname) $(tempdir)$(lib32)/
+ #mv $(tempdir)$(usr_lib32)/libticw.so.$(vername) $(tempdir)$(lib32)/
+ #mv $(tempdir)$(usr_lib32)/libticw.so.$(soname) $(tempdir)$(lib32)/
+endif
+
+ifneq ($(build_64),)
+ #$(MAKE) -C $(objdir-64) install.libs
+ #test -d $(tempdir)/lib64 || mkdir $(tempdir)/lib64
+ #mv $(tempdir)/usr/lib64/libncurses.so.$(vername) $(tempdir)/lib64/
+ #mv $(tempdir)/usr/lib64/libncurses.so.$(soname) $(tempdir)/lib64/
+ #mv $(tempdir)/usr/lib64/libtic.so.$(vername) $(tempdir)/lib64/
+ #mv $(tempdir)/usr/lib64/libtic.so.$(soname) $(tempdir)/lib64/
+endif
+
+ # Install into our base directory
+ #$(MAKE) -C $(objdir-debug) install.libs
+ #$(MAKE) -C $(wobjdir-debug) install.libs
+
+ # Copy libraries to the debug directory
+ #test -d $(tempdir)/usr/lib/debug || mkdir -p $(tempdir)/usr/lib/debug
+ #cp -a $(tempdir)/usr/lib/*.so.* $(tempdir)/usr/lib/debug
+
+ # Rename static debug libraries.
+ for lib in $(objdir-debug)/lib/*.a; do \
+ mv $$lib `echo $$lib | sed 's/\.a$$/_g.a/'`; \
+ done
+ for lib in $(wobjdir-debug)/lib/*.a; do \
+ mv $$lib `echo $$lib | sed 's/\.a$$/_g.a/'`; \
+ done
+
+ # Install non -DTRACE versions.
+ GZIP='-9' $(MAKE) -C $(objdir) install
+ $(MAKE) -C $(wobjdir) install.libs
+
+ # Remove blacklisted terminal types.
+ cd $(tempdir)/usr/share/terminfo && rm -f $(badterminfo)
+
+ # Compile Debian-specific terminfo entries before moving files
+ # into their packages. Hurd uses gsbom/grbom, so pass -x to tic.
+ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
+ for ti in xterm hurd rxvt rxvt-unicode screen; do \
+ LD_LIBRARY_PATH=$${LD_LIBRARY_PATH}:$(fulltempdir)/usr/lib:$(fulltempdir)/lib \
+ TERMINFO=$(fulltempdir)/usr/share/terminfo \
+ $(tempdir)/usr/bin/tic -x debian/$$ti.ti; \
+ done
+else
+ @build_ver=`sed -n -e \
+ 's/^.*NCURSES_VERSION_STRING \"\(.*\)\"$$/\1/p' \
+ obj/include/ncurses_cfg.h`; \
+ if [ "$$build_ver" != `tic -V | sed 's/^.* //'` ]; then \
+ echo "Build environment version mismatch for tic!"; \
+ exit 1; \
+ fi
+
+ for ti in xterm hurd rxvt rxvt-unicode screen; do \
+ TERMINFO=$(fulltempdir)/usr/share/terminfo \
+ tic -x debian/$$ti.ti; \
+ done
+
+endif
+
+ # Move ncurses-base terminfo entries to /lib/terminfo.
+ for f in $(libterminfofiles); do \
+ dir=$(tempdir)/lib/terminfo/$$(dirname $$f); \
+ mkdir -p $$dir; \
+ mv $(tempdir)/usr/share/terminfo/$$f $$dir; \
+ done
+
+ # Create an empty /etc/terminfo for the sysadmin.
+ mkdir -p $(tempdir)/etc/terminfo
+ install --mode 644 --owner=root --group=root \
+ debian/README.etc $(tempdir)/etc/terminfo/README
+
+ dh_install -s
+
+binary: binary-arch binary-indep
+
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installman -s
+ dh_installdocs -s debian/FAQ
+ dh_installchangelogs -s NEWS
+ dh_installexamples -s
+ dh_installdirs -s
+
+ # Strip the packages, shipping detached debugging symbols. Need to strip
+ # $(package-devw) separately, because -X$(package-libw) excludes it.
+ dh_strip -s -X$(package-dbg) -X$(package-dbgw) -X$(package-libw) \
+ --dbg-package=$(package-dbg)
+ dh_strip -p$(package-devw)
+ dh_strip -p$(package-libw) --dbg-package=$(package-dbgw)
+ dh_compress -s
+ dh_fixperms -s
+ dh_link -s
+ dh_makeshlibs -p$(package-lib) -V "$(package-lib) $(sodepver)"
+ dh_makeshlibs -p$(package-libw) -V "$(package-libw) $(sodepver)"
+ifneq ($(build_32),)
+ dh_makeshlibs -p$(package-lib-32) -V "$(package-lib-32) $(sodepver)"
+ dh_makeshlibs -p$(package-libw-32) -V "$(package-libw-32) $(sodepver)"
+endif
+ifneq ($(build_64),)
+ dh_makeshlibs -p$(package-lib-64) -V "$(package-lib-64) $(sodepver)"
+endif
+ dh_shlibdeps -p$(package-lib) -p$(package-libw) \
+ -ldebian/$(package-lib)/lib:debian/$(package-lib)/usr/lib:debian/$(package-libw)/usr/lib \
+ -- -L$(shell pwd)/debian/shlibs.dummy
+
+ifneq ($(build_32),)
+ # It should not be necessary to use $(lib32):$(usr_lib32): here.
+ # But dpkg-shlibdeps has a hardcoded list of paths, which does not
+ # include the /emul directories, and there are no symlinks in
+ # /lib/ldconfig yet for these directories either.
+ dh_shlibdeps -p$(package-lib-32) \
+ -l$(lib32):$(usr_lib32):debian/$(package-lib-32)$(lib32):debian/$(package-lib-32)$(usr_lib32) \
+ -- -L$(shell pwd)/debian/shlibs.dummy
+ dh_shlibdeps -p$(package-libw-32) \
+ -l$(lib32):$(usr_lib32):debian/$(package-libw-32)$(lib32):debian/$(package-libw-32)$(usr_lib32) \
+ -- -L$(shell pwd)/debian/shlibs.dummy
+endif
+
+ifneq ($(build_64),)
+ # Unfortunately, dh_shlibdeps runs ldd, and 64-bit ldd doesn't run on
+ # a 31-bit S/390 build daemon, so I can't always use dh_shlibdeps.
+ # So this is allowed to fail.
+ -dh_shlibdeps -p$(package-lib-64) \
+ -ldebian/$(package-lib-64)/lib64:debian/$(package-lib-64)/usr/lib64 \
+ -- -L$(shell pwd)/debian/shlibs.dummy
+endif
+
+ # We don't ship any binaries linked against the 64-bit libraries, so
+ # don't add them to shlibs. They have the same sonames, so they
+ # override the 32-bit versions, messing up the dependencies from
+ # ncurses-bin.
+ cat debian/$(package-lib)/DEBIAN/shlibs \
+ debian/$(package-libw)/DEBIAN/shlibs > debian/shlibs.local
+
+ dh_shlibdeps -s -N$(package-lib) -N$(package-libw) \
+ -N$(package-lib-32) -N$(package-libw-32) -N$(package-lib-64) \
+ -ldebian/$(package-lib)/lib:debian/$(package-lib)/usr/lib:debian/$(package-libw)/usr/lib
+
+ dh_gencontrol -s
+ dh_installdeb -s
+ dh_md5sums -s
+ dh_builddeb -s
+
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+
+ dh_installdocs -i
+ dh_installchangelogs -i NEWS
+ dh_install -i
+ dh_lintian -i
+ dh_compress -i
+ dh_fixperms -i
+ dh_link -i
+ dh_gencontrol -i
+ dh_installdeb -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+.PHONY: binary binary-arch binary-indep clean patch unpatch install
--- ncurses-5.7+20100313.orig/debian/ncurses-bin.dirs
+++ ncurses-5.7+20100313/debian/ncurses-bin.dirs
@@ -0,0 +1 @@
+usr/share/terminfo
--- ncurses-5.7+20100313.orig/debian/compat
+++ ncurses-5.7+20100313/debian/compat
@@ -0,0 +1 @@
+7
--- ncurses-5.7+20100313.orig/debian/ncurses-base.preinst
+++ ncurses-5.7+20100313/debian/ncurses-base.preinst
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ install|upgrade)
+ if [ -L /usr/share/doc/ncurses-base ]
+ then
+ rm -f /usr/share/doc/ncurses-base
+ fi
+ ;;
+
+ abort-upgrade)
+
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- ncurses-5.7+20100313.orig/debian/lib32ncurses5.install
+++ ncurses-5.7+20100313/debian/lib32ncurses5.install
@@ -0,0 +1,5 @@
+obj-32/lib/libncurses.so.* lib32
+obj-32/lib/libtic.so.* lib32
+obj-32/lib/libpanel.so.* usr/lib32
+obj-32/lib/libform.so.* usr/lib32
+obj-32/lib/libmenu.so.* usr/lib32
--- ncurses-5.7+20100313.orig/debian/lib32ncurses5-dev.links
+++ ncurses-5.7+20100313/debian/lib32ncurses5-dev.links
@@ -0,0 +1,2 @@
+lib32/libncurses.so.5 usr/lib32/libncurses.so
+lib32/libtic.so.5 usr/lib32/libtic.so
--- ncurses-5.7+20100313.orig/debian/libncursesw5.install
+++ ncurses-5.7+20100313/debian/libncursesw5.install
@@ -0,0 +1,5 @@
+usr/lib/libncursesw.so.* lib
+usr/lib/libticw.so.* lib
+usr/lib/libpanelw.so.*
+usr/lib/libformw.so.*
+usr/lib/libmenuw.so.*
--- ncurses-5.7+20100313.orig/debian/FAQ
+++ ncurses-5.7+20100313/debian/FAQ
@@ -0,0 +1,52 @@
+This file is a list of frequently reported problems with ncurses which are
+considered bugs elsewhere or configuration problems. If you're going to report a
+bug in ncurses, you should probably look over this list first.
+
+********
+
+If you use escape codes to configure a terminal, ncurses applications will just
+overwrite your settings when they exit.
+
+The proper way to do this is to also provide a custom terminfo type which sets
+the terminal correctly. For instance, for controlling the cursor
+shape/color/etc., change the 'cnorm' capability.
+
+********
+
+If you hit the "Print Screen" key while in a Linux console, your current
+application will likely dump core.
+
+The kernel maps that key to ^\, which generates a SIGQUIT by default. There's no
+bug here (although why that key was chosen is unclear).
+
+********
+
+Home/End keys don't work in some non-full-screen applications.
+
+The situation with this is somewhat complicated. For a background summary, see:
+
+ http://dickey.his.com/xterm/xterm.faq.html#xterm_pc_style
+ http://dickey.his.com/xterm/xterm.faq.html#xterm_arrows
+
+Essentially, the key sequences in terminfo entries (particularly khome and kend)
+are for full-screen applications only. This means that they are only valid after
+an 'smkx' sequence, to put the terminal into application mode. If you want to
+use these sequences in non-application mode, you need to recognize similar
+sequences - the versions which start with CSI (\E [) rather than SS3 (\E O). One
+example of how is in /etc/zshrc in recent Debian ZSH packages.
+
+********
+
+The Debian terminfo entry for xterm doesn't work with some other xterms
+
+There's no way to win this. For a while, Debian made its xterm default to a
+terminal type of 'xterm-debian', which seemed to fix the problem. In that case,
+however, connecting to remote non-Debian machines requires you to change your
+terminal type (since there will be no entry for xterm-debian there). Having
+changed back to a default terminal type of 'xterm', when you sit at a non-Debian
+system using some other version of xterm, applications on the Debian system may
+use features not available in your current xterm.
+
+The only workaround for this problem is to set your terminal type from xterm to
+one of the feature-limited versions when you log in to a Debian system remotely.
+"xterm-r6" and the associated terminal types are appropriate for this.
--- ncurses-5.7+20100313.orig/debian/lib64ncurses5-dev.links
+++ ncurses-5.7+20100313/debian/lib64ncurses5-dev.links
@@ -0,0 +1,2 @@
+lib64/libncurses.so.5 usr/lib64/libncurses.so
+lib64/libtic.so.5 usr/lib64/libtic.so
--- ncurses-5.7+20100313.orig/debian/libncursesw5-dev.install
+++ ncurses-5.7+20100313/debian/libncursesw5-dev.install
@@ -0,0 +1,7 @@
+usr/include/ncursesw
+usr/lib/libncursesw.so
+usr/lib/libticw.so
+usr/lib/libformw.so
+usr/lib/libmenuw.so
+usr/lib/libpanelw.so
+obj-wide-static/lib/*.a usr/lib
--- ncurses-5.7+20100313.orig/debian/lib32ncursesw5.install
+++ ncurses-5.7+20100313/debian/lib32ncursesw5.install
@@ -0,0 +1,5 @@
+obj-wide-32/lib/libncursesw.so.* lib32
+obj-wide-32/lib/libticw.so.* lib32
+obj-wide-32/lib/libpanelw.so.* usr/lib32
+obj-wide-32/lib/libformw.so.* usr/lib32
+obj-wide-32/lib/libmenuw.so.* usr/lib32
--- ncurses-5.7+20100313.orig/debian/screen.ti
+++ ncurses-5.7+20100313/debian/screen.ti
@@ -0,0 +1,73 @@
+screen|VT 100/ANSI X3.64 virtual terminal,
+ am, km, mir, msgr, xenl,
+ cols#80, it#8, lines#24, colors#8, pairs#64,
+ bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
+ clear=\E[H\E[J, cr=\r, csr=\E[%i%p1%d;%p2%dr,
+ cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
+ cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
+ dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
+ enacs=\E(B\E)0, home=\E[H,
+ ht=\t, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
+ ind=\n, is2=\E)0, kbs=\177, kcub1=\EOD, kcud1=\EOB,
+ kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP,
+ kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ,
+ kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~,
+ kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kend=\E[4~,
+ kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=\EE,
+ rc=\E8, rev=\E[7m, ri=\EM, rmcup=\E[?1049l, rmir=\E[4l,
+ rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
+ sgr0=\E[m, smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
+ smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
+ civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
+ op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00,
+screen-bce|VT 100/ANSI X3.64 virtual terminal with bce,
+ am, bce, km, mir, msgr, xenl,
+ cols#80, it#8, lines#24, colors#8, pairs#64,
+ bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
+ clear=\E[H\E[J, cr=\r, csr=\E[%i%p1%d;%p2%dr,
+ cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
+ cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
+ dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
+ enacs=\E(B\E)0, home=\E[H,
+ ht=\t, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
+ ind=\n, is2=\E)0, kbs=\177, kcub1=\EOD, kcud1=\EOB,
+ kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP,
+ kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ,
+ kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~,
+ kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kend=\E[4~,
+ kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=\EE,
+ rc=\E8, rev=\E[7m, ri=\EM, rmcup=\E[?1049l, rmir=\E[4l,
+ rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
+ sgr0=\E[m, smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
+ smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
+ civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
+ op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00,
+screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line,
+ am, bce, km, mir, msgr, xenl,
+ cols#80, it#8, lines#24, colors#8, pairs#64,
+ bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z,
+ clear=\E[H\E[J, cr=\r, csr=\E[%i%p1%d;%p2%dr,
+ cub=\E[%p1%dD, cub1=\b, cud=\E[%p1%dB, cud1=\n,
+ cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P,
+ dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
+ enacs=\E(B\E)0, home=\E[H,
+ ht=\t, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L,
+ ind=\n, is2=\E)0, kbs=\177, kcub1=\EOD, kcud1=\EOB,
+ kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kf1=\EOP,
+ kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\EOQ,
+ kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~,
+ kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kend=\E[4~,
+ kich1=\E[2~, knp=\E[6~, kpp=\E[5~, nel=\EE,
+ rc=\E8, rev=\E[7m, ri=\EM, rmcup=\E[?1049l, rmir=\E[4l,
+ rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7,
+ sgr0=\E[m, smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
+ smso=\E[3m, smul=\E[4m, tbc=\E[3g, smacs=^N, rmacs=^O, flash=\Eg,
+ tsl=\E_, fsl=\E\\, dsl=\E_\E\\,
+ civis=\E[?25l, cnorm=\E[34h\E[?25h, cvvis=\E[34l,
+ op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++\054\054hhII00,
--- ncurses-5.7+20100313.orig/debian/lib32ncursesw5-dev.links
+++ ncurses-5.7+20100313/debian/lib32ncursesw5-dev.links
@@ -0,0 +1,2 @@
+lib32/libncursesw.so.5 usr/lib32/libncursesw.so
+lib32/libticw.so.5 usr/lib32/libticw.so
--- ncurses-5.7+20100313.orig/debian/ncurses-bin.install
+++ ncurses-5.7+20100313/debian/ncurses-bin.install
@@ -0,0 +1,4 @@
+usr/bin
+usr/share/man/man1
+usr/share/man/man5
+usr/share/man/man7
--- ncurses-5.7+20100313.orig/debian/ncurses-bin.manpages
+++ ncurses-5.7+20100313/debian/ncurses-bin.manpages
@@ -0,0 +1 @@
+obj-wide/man/ncursesw5-config.1
--- ncurses-5.7+20100313.orig/debian/rxvt-unicode.ti
+++ ncurses-5.7+20100313/debian/rxvt-unicode.ti
@@ -0,0 +1,66 @@
+# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
+# Updated: Özgür Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
+# Updated: Marc Lehmann <pcg@goof.com>, 17 Feb 2005
+# Notes:
+# It has an AIX extension
+# box2=lqkxjmwuvtn,
+# but the latter does not work correctly.
+#
+rxvt-unicode|rxvt-unicode terminal (X Window System),
+ am, bce, eo, km, msgr, xenl,
+ cols#80, it#8, lines#24,
+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~-A.B+C\,D0EhFiG,
+ bel=^G, blink=\E[5m, bold=\E[1m, blink=\E[5m, civis=\E[?25l,
+ clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
+ csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
+ cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
+ cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
+ cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM,
+ dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
+ flash=\E[?5h$<50/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, ht=^I,
+ hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
+ ind=^J, is1=\E[?47l\E=\E[?1l,
+ is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l,
+ kDC=\E[3$, kIC=\E2$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,
+ kPRV=\E[5$, kRIT=\E[c,
+ kbs=\177,
+ ka1=\EOw, ka3=\EOy,
+ kb2=\EOu,
+ kc1=\EOq, kc3=\EOs,
+ kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB,
+ kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, kel=\E[8\^,
+ kend=\E[8~, kent=\EOM, kf1=\E[11~, kf10=\E[21~,
+ kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~,
+ kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~,
+ kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~,
+ kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~,
+ kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~,
+ kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8,
+ rev=\E[7m, ri=\EM,
+ rmso=\E[27m, rmul=\E[24m,
+ rs1=\Ec,
+ rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>,
+ sgr0=\E[m\E(B,
+ enacs=, smacs=\E(0, rmacs=\E(B,
+ smso=\E[7m, smul=\E[4m, tbc=\E[3g,
+ vpa=\E[%i%p1%dd,
+ colors#88, pairs#256, btns#5, lm#0,
+ ccc, eo, npc, mc5i, ncv#0, mir, xon, bw,
+ ech=\E[%p1%dX,
+ mc0=\E[i, mc4=\E[4i, mc5=\E[5i,
+ sitm=\E[3m, ritm=\E[23m,
+ smam=\E[?7h, rmam=\E[?7l,
+ smir=\E[4h, rmir=\E[4l,
+ smcup=\E[?1049h, rmcup=\E[r\E[?1049l,
+ smkx=\E[?1h\E=, rmkx=\E[?1l\E>,
+ indn=\E[%p1%dS, rin=\E[%p1%dT,
+ sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
+ op=\E[39;49m,
+ setaf=\E[38;5;%p1%dm, setab=\E[48;5;%p1%dm,
+ setf=%?%p1%{7}%>%t\E[38;5;%p1%dm%e\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;,
+ setb=%?%p1%{7}%>%t\E[48;5;%p1%dm%e\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m%;,
+ initc=\E]4;%p1%d;rgb\:%p2%{65535}%*%{1000}%/%4.4X/%p3%{65535}%*%{1000}%/%4.4X/%p4%{65535}%*%{1000}%/%4.4X\E\\,
+ sc=\E7,
+ s0ds=\E(B, s1ds=\E(0, s2ds=\E*B, s3ds=\E+B,
+ u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c,
+
--- ncurses-5.7+20100313.orig/debian/libncurses5-dev.examples
+++ ncurses-5.7+20100313/debian/libncurses5-dev.examples
@@ -0,0 +1 @@
+test/*
--- ncurses-5.7+20100313.orig/debian/shlibs.dummy
+++ ncurses-5.7+20100313/debian/shlibs.dummy
@@ -0,0 +1,8 @@
+libncurses 5
+libform 5
+libmenu 5
+libpanel 5
+libncursesw 5
+libformw 5
+libmenuw 5
+libpanelw 5
--- ncurses-5.7+20100313.orig/debian/lib64ncurses5.install
+++ ncurses-5.7+20100313/debian/lib64ncurses5.install
@@ -0,0 +1,5 @@
+obj-64/lib/libncurses.so.* lib64
+obj-64/lib/libtic.so.* lib64
+obj-64/lib/libpanel.so.* usr/lib64
+obj-64/lib/libform.so.* usr/lib64
+obj-64/lib/libmenu.so.* usr/lib64
--- ncurses-5.7+20100313.orig/debian/ncurses-term.links
+++ ncurses-5.7+20100313/debian/ncurses-term.links
@@ -0,0 +1,6 @@
+/lib/terminfo/c/cons25 /usr/share/terminfo/c/cons25
+/lib/terminfo/s/sun /usr/share/terminfo/s/sun
+/lib/terminfo/v/vt100 /usr/share/terminfo/v/vt100
+/lib/terminfo/v/vt220 /usr/share/terminfo/v/vt220
+/lib/terminfo/x/xterm-color /usr/share/terminfo/x/xterm-color
+/lib/terminfo/x/xterm-r6 /usr/share/terminfo/x/xterm-r6
--- ncurses-5.7+20100313.orig/debian/libncursesw5-dbg.install
+++ ncurses-5.7+20100313/debian/libncursesw5-dbg.install
@@ -0,0 +1,11 @@
+obj-wide-debug/lib/libncursesw.so.* usr/lib/debug
+obj-wide-debug/lib/libticw.so.* usr/lib/debug
+obj-wide-debug/lib/libformw.so.* usr/lib/debug
+obj-wide-debug/lib/libmenuw.so.* usr/lib/debug
+obj-wide-debug/lib/libpanelw.so.* usr/lib/debug
+obj-wide-debug/lib/libncursesw_g.a usr/lib
+obj-wide-debug/lib/libticw_g.a usr/lib
+obj-wide-debug/lib/libformw_g.a usr/lib
+obj-wide-debug/lib/libmenuw_g.a usr/lib
+obj-wide-debug/lib/libpanelw_g.a usr/lib
+obj-wide-debug/lib/libncurses++w_g.a usr/lib
--- ncurses-5.7+20100313.orig/debian/libncurses5-dev.install
+++ ncurses-5.7+20100313/debian/libncurses5-dev.install
@@ -0,0 +1,8 @@
+usr/include/*.h
+usr/lib/libncurses.so
+usr/lib/libtic.so
+usr/lib/libform.so
+usr/lib/libmenu.so
+usr/lib/libpanel.so
+obj-static/lib/*.a usr/lib
+usr/share/man/man3
--- ncurses-5.7+20100313.orig/debian/lib32ncurses5-dev.install
+++ ncurses-5.7+20100313/debian/lib32ncurses5-dev.install
@@ -0,0 +1,11 @@
+obj-32/lib/libncurses.so usr/lib32
+obj-32/lib/libtic.so usr/lib32
+obj-32/lib/libform.so usr/lib32
+obj-32/lib/libmenu.so usr/lib32
+obj-32/lib/libpanel.so usr/lib32
+obj-32/lib/libncurses.a usr/lib32
+obj-32/lib/libncurses++.a usr/lib32
+obj-32/lib/libtic.a usr/lib32
+obj-32/lib/libform.a usr/lib32
+obj-32/lib/libmenu.a usr/lib32
+obj-32/lib/libpanel.a usr/lib32
--- ncurses-5.7+20100313.orig/debian/README.etc
+++ ncurses-5.7+20100313/debian/README.etc
@@ -0,0 +1,2 @@
+This directory is for system-local terminfo descriptions. By default, ncurses
+will search this directory first, then /lib/terminfo, then /usr/share/terminfo.
--- ncurses-5.7+20100313.orig/debian/changelog.old
+++ ncurses-5.7+20100313/debian/changelog.old
@@ -0,0 +1,41 @@
+ncurses (4.1-1) unstable; urgency=low
+
+ * New upstream version. Removed deb-files.
+
+ -- Michael Alan Dorman <mdorman@lot49.med.miami.edu> Wed, 7 May 1997 16:39:28 -0400
+
+ncurses (4.0-1) unstable; urgency=high
+
+ * Upgrade to 4.0, which syncronizes the ABI and version numbers (and
+ goes to a major-only ABI number, which is more like other packages).
+ * Ditched use of dpkg-shlibdeps for the moment---I feel more confident
+ of my ability to maintain the dependencies by hand.
+
+ -- Michael Alan Dorman <mdorman@calder.med.miami.edu> Fri, 27 Dec 1996 09:24:47 -0500
+
+ncurses (1.9.9g-3) unstable; urgency=low
+
+ * Upgrade to 1.9.9g final release
+ * Remove xterm-color from -base, since default xterm is now color
+
+ -- Michael Alan Dorman <mdorman@calder.med.miami.edu> Mon, 16 Dec 1996 14:06:49 -0500
+
+ncurses (1.9.9g-2) unstable; urgency=low
+
+ * Upgraded to latest (11/20) snapshot
+ * New soname, so new lib names
+
+ -- Michael Alan Dorman <mdorman@calder.med.miami.edu> Mon, 16 Dec 1996 13:28:51 -0500
+
+ncurses (1.9.9g-1) unstable; urgency=low
+
+ * Upgraded to latest upstream snapshot
+ * New soname, so new lib names.
+
+ -- Michael Alan Dorman <mdorman@calder.med.miami.edu> Sun, 22 Sep 1996 14:32:56 -0400
+
+ncurses (1.9.9e-3) unstable; urgency=low
+
+ * Moved to new source packaging format.
+
+ -- Michael Alan Dorman <mdorman@calder.med.miami.edu> Thu, 12 Sep 1996 15:19:35 -0400
--- ncurses-5.7+20100313.orig/debian/libncurses5-dbg.install
+++ ncurses-5.7+20100313/debian/libncurses5-dbg.install
@@ -0,0 +1,11 @@
+obj-debug/lib/libncurses.so.* usr/lib/debug
+obj-debug/lib/libtic.so.* usr/lib/debug
+obj-debug/lib/libform.so.* usr/lib/debug
+obj-debug/lib/libmenu.so.* usr/lib/debug
+obj-debug/lib/libpanel.so.* usr/lib/debug
+obj-debug/lib/libncurses_g.a usr/lib
+obj-debug/lib/libtic_g.a usr/lib
+obj-debug/lib/libform_g.a usr/lib
+obj-debug/lib/libmenu_g.a usr/lib
+obj-debug/lib/libpanel_g.a usr/lib
+obj-debug/lib/libncurses++_g.a usr/lib
--- ncurses-5.7+20100313.orig/debian/lib32ncursesw5-dev.install
+++ ncurses-5.7+20100313/debian/lib32ncursesw5-dev.install
@@ -0,0 +1,11 @@
+obj-wide-32/lib/libncursesw.so usr/lib32
+obj-wide-32/lib/libticw.so usr/lib32
+obj-wide-32/lib/libformw.so usr/lib32
+obj-wide-32/lib/libmenuw.so usr/lib32
+obj-wide-32/lib/libpanelw.so usr/lib32
+obj-wide-32/lib/libncursesw.a usr/lib32
+obj-wide-32/lib/libncurses++w.a usr/lib32
+obj-wide-32/lib/libticw.a usr/lib32
+obj-wide-32/lib/libformw.a usr/lib32
+obj-wide-32/lib/libmenuw.a usr/lib32
+obj-wide-32/lib/libpanelw.a usr/lib32
--- ncurses-5.7+20100313.orig/debian/rxvt.ti
+++ ncurses-5.7+20100313/debian/rxvt.ti
@@ -0,0 +1,166 @@
+# From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
+# Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
+# Notes:
+# rxvt 2.21b uses
+# smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
+# but some applications don't work with that.
+# It also has an AIX extension
+# box2=lqkxjmwuvtn,
+# and
+# ech=\E[%p1%dX,
+# but the latter does not work correctly.
+#
+# The distributed terminfo says it implements hpa and vpa, but they are not
+# implemented correctly, using relative rather than absolute positioning.
+#
+# rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
+# Since rxvt is not really compatible with xterm, it should be configured as
+# "rxvt" (monochrome) and "rxvt-color".
+#
+# removed dch/dch1 because they are inconsistent with bce/ech -TD
+#
+# Debian's changes:
+# Debian uses two termcap/terminfo entries:
+# rxvt for color displays
+# rxvt-m for monochrome displays
+# Debian also prefers ^? for kbs (backspace).
+#
+# These additional changes were added for the ncurses package:
+# Remove kf0 (wtf has F0 anyhow?) due to conflict with kf10.
+# Move hpa and vpa back to rxvt-basic, since they were fixed
+# to use absolute positioning long ago.
+# Use vt220+keypad after rxvt+pcfkeys, since rxvt uses \E[11~ for
+# F1 (\EOP is for KP_F1).
+# Use smkx instead of rmkx in rs2.
+rxvt-basic|rxvt-m|rxvt terminal base (X Window System),
+ OTbs, am, bce, eo, km, mir, msgr, xenl, xon,
+ cols#80, it#8, lines#24,
+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+ bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l,
+ clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M,
+ csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H,
+ cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C,
+ cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A,
+ dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K,
+ enacs=\E(B\E)0, flash=\E[?5h\E[?5l, home=\E[H, ht=^I,
+ hpa=\E[%i%p1%dG,
+ hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L,
+ ind=^J, is1=\E[?47l\E=\E[?1l,
+ is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kbs=^?,
+ kcbt=\E[Z, kmous=\E[M, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
+ rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E>, rmso=\E[27m,
+ rmul=\E[24m,
+ rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H,
+ rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E=\E[?1000l\E[?25h,
+ s0ds=\E(B, s1ds=\E(0, sc=\E7,
+ sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;,
+ sgr0=\E[0m\017, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h,
+ smkx=\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
+ vpa=\E[%i%p1%dd,
+ use=rxvt+pcfkeys, use=vt220+keypad,
+# Key Codes from rxvt reference:
+#
+# Note: Shift + F1-F10 generates F11-F20
+#
+# For the keypad, use Shift to temporarily override Application-Keypad
+# setting use Num_Lock to toggle Application-Keypad setting if Num_Lock
+# is off, escape sequences toggle Application-Keypad setting.
+# Also note that values of Home, End, Delete may have been compiled
+# differently on your system.
+#
+# Normal Shift Control Ctrl+Shift
+# Tab ^I ESC [ Z ^I ESC [ Z
+# BackSpace ^H ^? ^? ^?
+# Find ESC [ 1 ~ ESC [ 1 $ ESC [ 1 ^ ESC [ 1 @
+# Insert ESC [ 2 ~ paste ESC [ 2 ^ ESC [ 2 @
+# Execute ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ESC [ 3 @
+# Select ESC [ 4 ~ ESC [ 4 $ ESC [ 4 ^ ESC [ 4 @
+# Prior ESC [ 5 ~ scroll-up ESC [ 5 ^ ESC [ 5 @
+# Next ESC [ 6 ~ scroll-down ESC [ 6 ^ ESC [ 6 @
+# Home ESC [ 7 ~ ESC [ 7 $ ESC [ 7 ^ ESC [ 7 @
+# End ESC [ 8 ~ ESC [ 8 $ ESC [ 8 ^ ESC [ 8 @
+# Delete ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ESC [ 3 @
+# F1 ESC [ 11 ~ ESC [ 23 ~ ESC [ 11 ^ ESC [ 23 ^
+# F2 ESC [ 12 ~ ESC [ 24 ~ ESC [ 12 ^ ESC [ 24 ^
+# F3 ESC [ 13 ~ ESC [ 25 ~ ESC [ 13 ^ ESC [ 25 ^
+# F4 ESC [ 14 ~ ESC [ 26 ~ ESC [ 14 ^ ESC [ 26 ^
+# F5 ESC [ 15 ~ ESC [ 28 ~ ESC [ 15 ^ ESC [ 28 ^
+# F6 ESC [ 17 ~ ESC [ 29 ~ ESC [ 17 ^ ESC [ 29 ^
+# F7 ESC [ 18 ~ ESC [ 31 ~ ESC [ 18 ^ ESC [ 31 ^
+# F8 ESC [ 19 ~ ESC [ 32 ~ ESC [ 19 ^ ESC [ 32 ^
+# F9 ESC [ 20 ~ ESC [ 33 ~ ESC [ 20 ^ ESC [ 33 ^
+# F10 ESC [ 21 ~ ESC [ 34 ~ ESC [ 21 ^ ESC [ 34 ^
+# F11 ESC [ 23 ~ ESC [ 23 $ ESC [ 23 ^ ESC [ 23 @
+# F12 ESC [ 24 ~ ESC [ 24 $ ESC [ 24 ^ ESC [ 24 @
+# F13 ESC [ 25 ~ ESC [ 25 $ ESC [ 25 ^ ESC [ 25 @
+# F14 ESC [ 26 ~ ESC [ 26 $ ESC [ 26 ^ ESC [ 26 @
+# F15 (Help) ESC [ 28 ~ ESC [ 28 $ ESC [ 28 ^ ESC [ 28 @
+# F16 (Menu) ESC [ 29 ~ ESC [ 29 $ ESC [ 29 ^ ESC [ 29 @
+# F17 ESC [ 31 ~ ESC [ 31 $ ESC [ 31 ^ ESC [ 31 @
+# F18 ESC [ 32 ~ ESC [ 32 $ ESC [ 32 ^ ESC [ 32 @
+# F19 ESC [ 33 ~ ESC [ 33 $ ESC [ 33 ^ ESC [ 33 @
+# F20 ESC [ 34 ~ ESC [ 34 $ ESC [ 34 ^ ESC [ 34 @
+# Application
+# Up ESC [ A ESC [ a ESC O a ESC O A
+# Down ESC [ B ESC [ b ESC O b ESC O B
+# Right ESC [ C ESC [ c ESC O c ESC O C
+# Left ESC [ D ESC [ d ESC O d ESC O D
+# KP_Enter ^M ESC O M
+# KP_F1 ESC O P ESC O P
+# KP_F2 ESC O Q ESC O Q
+# KP_F3 ESC O R ESC O R
+# KP_F4 ESC O S ESC O S
+# XK_KP_Multiply * ESC O j
+# XK_KP_Add + ESC O k
+# XK_KP_Separator , ESC O l
+# XK_KP_Subtract - ESC O m
+# XK_KP_Decimal . ESC O n
+# XK_KP_Divide / ESC O o
+# XK_KP_0 0 ESC O p
+# XK_KP_1 1 ESC O q
+# XK_KP_2 2 ESC O r
+# XK_KP_3 3 ESC O s
+# XK_KP_4 4 ESC O t
+# XK_KP_5 5 ESC O u
+# XK_KP_6 6 ESC O v
+# XK_KP_7 7 ESC O w
+# XK_KP_8 8 ESC O x
+# XK_KP_9 9 ESC O y
+rxvt+pcfkeys|fragment for PC-style fkeys,
+ kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$,
+ kPRV=\E[5$, kRIT=\E[c, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C,
+ kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, kend=\E[8~,
+ kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~,
+ kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~,
+ kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[12~,
+ kf20=\E[34~, kf21=\E[23$, kf22=\E[24$, kf23=\E[11\^,
+ kf24=\E[12\^, kf25=\E[13\^, kf26=\E[14\^, kf27=\E[15\^,
+ kf28=\E[17\^, kf29=\E[18\^, kf3=\E[13~, kf30=\E[19\^,
+ kf31=\E[20\^, kf32=\E[21\^, kf33=\E[23\^, kf34=\E[24\^,
+ kf35=\E[25\^, kf36=\E[26\^, kf37=\E[28\^, kf38=\E[29\^,
+ kf39=\E[31\^, kf4=\E[14~, kf40=\E[32\^, kf41=\E[33\^,
+ kf42=\E[34\^, kf43=\E[23@, kf44=\E[24@, kf5=\E[15~,
+ kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~,
+ khome=\E[7~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kslt=\E[4~,
+ kDN=\E[b, kDN5=\EOb, kDN6=\EOB, kLFT5=\EOd, kLFT6=\EOD,
+ kRIT5=\EOc, kRIT6=\EOC, kUP=\E[a, kUP5=\EOa, kUP6=\EOA,
+rxvt|rxvt terminal emulator (X Window System),
+ ncv@,
+ sgr0=\E[m\017,
+ use=rxvt-basic, use=ecma+color,
+rxvt-color|rxvt terminal emulator (X Window System),
+ use=rxvt,
+rxvt-xpm|rxvt terminal emulator (X Window System),
+ use=rxvt,
+rxvt-cygwin|rxvt terminal emulator (X Window System) on cygwin,
+ acsc=0\333+\257\,\256-\^`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376,
+ use=rxvt,
+rxvt-cygwin-native|rxvt terminal emulator (native MS Window System port) on cygwin,
+ acsc=0\333+\257\,\256-\^`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330~\376,
+ use=rxvt-cygwin,
+
+# This variant is supposed to work with rxvt 2.7.7 when compiled with
+# NO_BRIGHTCOLOR defined. rxvt needs more work...
+rxvt-16color|xterm with 16 colors like aixterm,
+ ncv#32, use=ibm+16color, use=rxvt,
+
--- ncurses-5.7+20100313.orig/debian/libncurses5.install
+++ ncurses-5.7+20100313/debian/libncurses5.install
@@ -0,0 +1,5 @@
+usr/lib/libncurses.so.* lib
+usr/lib/libtic.so.* lib
+usr/lib/libpanel.so.*
+usr/lib/libform.so.*
+usr/lib/libmenu.so.*
--- ncurses-5.7+20100313.orig/debian/changelog
+++ ncurses-5.7+20100313/debian/changelog
@@ -0,0 +1,1536 @@
+ncurses (5.7+20100313-5) unstable; urgency=low
+
+ * New patch 01-debian-kfreebsd-terminfo.patch, adding a cons25-debian
+ terminfo entry to ncurses-base for the Debian GNU/kfreebsd console
+ (Closes: #607662).
+
+ -- Sven Joachim <svenjoac@gmx.de> Wed, 29 Dec 2010 19:55:00 +0100
+
+ncurses (5.7+20100313-4) unstable; urgency=low
+
+ * New patch 09-fix-delscreen-segfault.diff taken from upstream
+ patchlevel 20100501, fixes a segfault or infinite loop in applications
+ using multiple screens (Closes: #597175).
+
+ -- Sven Joachim <svenjoac@gmx.de> Tue, 28 Sep 2010 07:08:17 +0200
+
+ncurses (5.7+20100313-3) unstable; urgency=low
+
+ * Fix dangling symlinks in ncurses-term that were introduced by the
+ removal of the ncurses-base compatibility symlinks in version
+ 5.7+20100313-1 (Closes: #576127). Add versioned Breaks against older
+ ncurses-term versions in ncurses-base.
+ * Correct rxvt-unicode sgr0 terminfo entry (Closes: #595484).
+
+ -- Sven Joachim <svenjoac@gmx.de> Sat, 11 Sep 2010 21:13:00 +0200
+
+ncurses (5.7+20100313-2) unstable; urgency=medium
+
+ [ Sven Joachim ]
+ * Disable rmm and smm features in xterm terminfo entry (see #574396).
+ * Include an empty /usr/share/terminfo directory in ncurses-bin to
+ ensure that configure scripts detect terminfo support (Closes: #575284).
+ * Let libncurses5-dev and libncursesw5-dev depend on the same version of
+ ncurses-bin to mitigate the impact of #480437.
+ * Explicitly specify source format 1.0 (lintian warning).
+
+ -- Sven Joachim <svenjoac@gmx.de> Thu, 25 Mar 2010 14:13:38 +0100
+
+ncurses (5.7+20100313-1) unstable; urgency=low
+
+ [ Sven Joachim ]
+ * New upstream patchlevel.
+ - Workaround for bug in g++ 4.1-4.4 warnings for wattrset() macro
+ on amd64 (Closes: #542031).
+ - Fix typo in curs_mouse.3x (Closes: #429198).
+ - Modify CF_MAN_PAGES configure macro to replace all occurrences of
+ TPUT in tput.1's manpage (Closes: #573597).
+ - Bump shlibs version, as there are several new symbols.
+ * Remove patch introduced in 5.5-2, applied upstream. Remove patch
+ introduced in version 5.7+20090627-1, no longer necessary.
+ * Switch patch system to quilt.
+ - Add a short debian/README.source as recommended by policy.
+ * Configure with /usr/share/terminfo as default terminfo dir, so that
+ we get the correct tabset directory (Closes: #509919, LP: #200773).
+ * Update xterm terminfo entry from xterm 246 (Closes: #444250).
+ * Derive xterm{16,256,88}-color from xterm-debian rather than
+ xterm-new for correct backspace key behavior.
+ * Move the debugging libraries back to /usr/lib/debug (Closes: #553239),
+ ship detached debugging symbols (Closes: #532022).
+ * Fix typo in debian/rules that lead to a dangling symlink in
+ lib64ncurses-dev (Closes: #563272).
+ * Install the binaries built without trace support in ncurses-bin
+ to avoid symbol lookup errors (Closes: #365120).
+ * Build static libraries with "--without-dlsym" (Closes: #556378).
+ * Remove compatibility symlinks in /usr/share/terminfo that were only
+ necessary for upgrades from versions prior to 5.4-9.
+ * debian/control cleanups:
+ - Adjust priority of the source package to required.
+ - Remove duplicate Section field for library packages.
+ - Fix dependencies of lib32ncursesw5-dev.
+ - Fix long descriptions of 32-bit packages on 64-bit systems.
+ - Do not recommend libgpm2 in non-native library packages, nor on
+ non-Linux architectures.
+ - Remove very old Replaces/Conflicts/Provides on ncurses-developer,
+ ncurses and tput.
+ - Version the "Replaces: ia32-libs" for lib32ncurses-dev.
+ - Remove no longer needed "Replaces: ncurses-term" and
+ "Depends: libncurses5" from ncurses-base.
+ - Set Homepage field to http://invisible-island.net/ncurses/.
+ - Add Vcs-Browser and Vcs-Git fields.
+ - Add ${misc:Depends} in all Depends fields.
+ - Add myself to Uploaders.
+ * Add lintian override for alleged spelling error in ncurses-base'
+ extended description; "linux" refers to a terminal type there.
+ * Use dh_install instead of dh_movefiles to install files and clean
+ up debian/rules a bit.
+ * Update Standards-Version to 3.8.4, no changes needed.
+
+ [ Craig Small ]
+ * New maintainer Closes: 543852
+ * Cross compile patch applied Closes: #550716
+
+ -- Sven Joachim <svenjoac@gmx.de> Sun, 21 Feb 2010 09:45:58 +0100
+
+ncurses (5.7+20090803-2) unstable; urgency=low
+
+ * Updating package to standards version 3.8.3.
+ * Removing vcs fields.
+ * Orphaning package.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 27 Aug 2009 08:42:21 +0200
+
+ncurses (5.7+20090803-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090803:
+ - fixes regression with UTF-8 characters (Closes: #539735, #539745).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 04 Aug 2009 11:19:05 +0200
+
+ncurses (5.7+20090801-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090801.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 04 Aug 2009 11:15:22 +0200
+
+ncurses (5.7+20090728-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090728.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 03 Aug 2009 15:12:44 +0200
+
+ncurses (5.7+20090725-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090725.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 03 Aug 2009 14:57:29 +0200
+
+ncurses (5.7+20090718-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090718.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 03 Aug 2009 14:23:38 +0200
+
+ncurses (5.7+20090711-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090711.
+ * Using patch-stamp rather than patch in rules (Closes: #538639).
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 29 Jul 2009 09:17:59 +0200
+
+ncurses (5.7+20090704-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090704.
+ * Adding conflicts to old libc in order to allow upgrade for ia32
+ transition (Closes: #538834).
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 29 Jul 2009 08:43:27 +0200
+
+ncurses (5.7+20090627-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090627.
+ * Adding patch to remove depends to curses.priv.h for expanded.c,
+ otherwise FTBFS.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 16 Jul 2009 23:20:13 +0200
+
+ncurses (5.7+20090613-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090613.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 14 Jul 2009 12:42:47 +0200
+
+ncurses (5.7+20090607-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090607:
+ - fix a regression in lib_tputs.c (Closes: #536177).
+ * Correcting location of debug symbols in the debug packages (Closes:
+ #532022).
+ * Updating package to standards version 3.8.2.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 08 Jul 2009 02:24:00 +0200
+
+ncurses (5.7+20090606-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090606.
+ * Removing leftovers from ia32 transition (Closes: #535385).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 07 Jul 2009 17:19:49 +0200
+
+ncurses (5.7+20090530-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090530.
+ * Using /{,usr/}lib32 instead of /emul/ia32-linux/ in amd64
+ architecture (Closes: #533012).
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 29 Jun 2009 09:21:07 -0300
+
+ncurses (5.7+20090523-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090523.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 24 May 2009 15:13:01 +0200
+
+ncurses (5.7+20090516-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090516:
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 18 May 2009 12:29:59 +0200
+
+ncurses (5.7+20090510-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090510.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 11 May 2009 15:25:16 +0200
+
+ncurses (5.7+20090502-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090502.
+ * Using correct rfc-2822 date formats in changelog.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 05 May 2009 00:19:41 +0200
+
+ncurses (5.7+20090425-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090425.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 04 May 2009 10:25:00 +0200
+
+ncurses (5.7+20090419-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090419.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 03 May 2009 13:07:00 +0200
+
+ncurses (5.7+20090418-1) UNRELEASED; urgency=low
+
+ * Merging upstream version 5.7+20090418.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 03 May 2009 13:01:00 +0200
+
+ncurses (5.7+20090411-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090411.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 12 Apr 2009 21:01:00 +0200
+
+ncurses (5.7+20090404-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090404.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 06 Apr 2009 11:22:00 +0200
+
+ncurses (5.7+20090328-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090328.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 05 Apr 2009 11:12:00 +0200
+
+ncurses (5.7+20090321-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090321.
+ * Updating section of debug packages.
+ * Updating to standards version 3.8.1.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 30 Mar 2009 11:11:00 +0200
+
+ncurses (5.7+20090314-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090314.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 14 Mar 2009 07:14:00 +0100
+
+ncurses (5.7+20090228-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090228.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 01 Mar 2009 23:06:00 +0100
+
+ncurses (5.7+20090221-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090221.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 26 Feb 2009 11:26:00 +0100
+
+ncurses (5.7+20090214-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090214.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 18 Feb 2009 14:44:00 +0100
+
+ncurses (5.7+20090207-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090207.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 10 Feb 2009 16:07:00 +0100
+
+ncurses (5.7+20090124-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090124.
+ * Removing bash.dpatch, went upstream.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 26 Jan 2009 01:50:00 +0100
+
+ncurses (5.7+20090117-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090117.
+ * Applying patch from David Riebenbauer <davrieb@liegesta.at> to avoid
+ bashism in ncurses-config (Closes: #512161).
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 18 Jan 2009 09:18:00 -0500
+
+ncurses (5.7+20090110-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090110.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 14 Jan 2009 10:49:00 -0500
+
+ncurses (5.7+20090105-1) unstable; urgency=low
+
+ * AMerging upstream version 5.7+20090105.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 10 Jan 2009 13:14:11 -0500
+
+ncurses (5.7+20090104-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20090104.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 10 Jan 2009 12:39:00 -0500
+
+ncurses (5.7+20090103-1) UNRELEASED; urgency=low
+
+ * Merging upstream version 5.7+20090103.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 10 Jan 2009 11:12:00 -0500
+
+ncurses (5.7+20081227-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20081227.
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 09 Jan 2009 15:46:41 -0500
+
+ncurses (5.7+20081220-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20081220.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 25 Dec 2008 11:51:00 +0100
+
+ncurses (5.7+20081213-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20081213.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 14 Dec 2008 21:06:00 +0100
+
+ncurses (5.7+20081206-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20081206.
+ * Removing gpm.dpatch, went upstream.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 14 Dec 2008 20:01:00 +0100
+
+ncurses (5.7+20081129-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20081129.
+ * Correcting previous changelog and patch description to point out
+ that the actual applied patch is the one from Thomas Dickey, the
+ upstream maintainer.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 30 Nov 2008 18:41:00 +0100
+
+ncurses (5.7+20081122-2) unstable; urgency=low
+
+ * Adding patch from upstream based on Samuel Thibault
+ <samuel.thibault@ens-lyon.org> analysis to ensure that aalib checks the
+ value returned by Gpm_GetEvent() and only proceeds if value == 1
+ (Closes: #506717).
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 30 Nov 2008 03:43:00 +0100
+
+ncurses (5.7+20081122-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20081122.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 25 Nov 2008 20:28:00 +0100
+
+ncurses (5.7+2008115-1) unstable; urgency=low
+
+ * Merging upstream version 5.7+20081115:
+ - Includes tabs utility from GNU termutils (Closes: #502260).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 18 Nov 2008 12:13:00 +0100
+
+ncurses (5.7-2) unstable; urgency=low
+
+ * Replacing obsolete dh_clean -k with dh_prep.
+ * Adding patch from Petr Salinger <Petr.Salinger@seznam.cz> to fix FTBFS on
+ GNU/kFreeBSD (Closes: #504820).
+ * Temporarily downgrading sodepver again; this was actually ment to go to
+ lenny, but I'm to tired to push it... (Closes: #504745).
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 07 Nov 2008 21:06:00 +0100
+
+ncurses (5.7-1) unstable; urgency=low
+
+ * Merging upstream version 5.7.
+ * Updating soname and sodepver to 5.7 in rules.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 05 Nov 2008 21:34:00 +0100
+
+ncurses (5.6+20081025-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20081025.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 26 Oct 2008 15:30:00 +0100
+
+ncurses (5.6+20081018-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20081018.
+ * Adding dh_md5sums calls (Closes: #502840).
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 23 Oct 2008 14:28:00 +0200
+
+ncurses (5.6+20081012-2) unstable; urgency=low
+
+ * Removing symlinks in /usr/share/doc for ncurses-base and ncurses-
+ term as well (Closes: #502686).
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 19 Oct 2008 09:08:00 +0200
+
+ncurses (5.6+20081012-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20081012.
+ * Rediffing debian-backspace.dpatch.
+ * Removing --disable-tic-depends again; was missunderstanding of mine.
+ * Don't symlink doc directories (Closes: #502620).
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 18 Oct 2008 16:12:00 +0200
+
+ncurses (5.6+20081011-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20081011.
+ * Building with --disable-tic-depends.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 16 Oct 2008 20:55:00 +0200
+
+ncurses (5.6+20081004-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20081004.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 09 Oct 2008 14:20:00 +0200
+
+ncurses (5.6+20080927-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080927.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 08 Oct 2008 21:18:00 +0200
+
+ncurses (5.6+20080925-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080925:
+ - fix bug in mouse code for GPM from 20080920 changes
+ (Closes: #500103, #500369).
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 27 Sep 2008 19:57:00 +0200
+
+ncurses (5.6+20080920-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080920.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 23 Sep 2008 12:51:00 +0200
+
+ncurses (5.6+20080913-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080913.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 16 Sep 2008 09:46:00 +0200
+
+ncurses (5.6+20080907-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080907.
+ * Installing changelog and docs also for ncurse-base and ncurse-term.
+ This allows replace the strict versioned depends against libncurses5
+ with an unversioned depends.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 10 Sep 2008 09:19:00 +0200
+
+ncurses (5.6+20080906-1) unstable; urgency=low
+
+ * Updating vcs fields in control file.
+ * Merging upstream version 5.6+20080906.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 07 Sep 2008 21:43:00 +0200
+
+ncurses (5.6+20080830-1) unstable; urgency=medium
+
+ * Merging upstream version 5.6+20080830.
+ * Switching kdch1 from \177 to \E[3~ in debians, for legacy reasons, own
+ embedded xterm defintions (Closes: #319554).
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 01 Sep 2008 13:23:00 +0200
+
+ncurses (5.6+20080823-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080823:
+ - Adds Eterm-256color terminal (Closes: #495815).
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 25 Aug 2008 01:42:00 +0200
+
+ncurses (5.6+20080821-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080821.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 23 Aug 2008 11:54:00 +0200
+
+ncurses (5.6+20080804-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080804.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 05 Aug 2008 13:53:00 +0200
+
+ncurses (5.6+20080726-2) unstable; urgency=medium
+
+ * Adding patch from Neil Williams <codehelp@debian.org> to ensure wchar.h is
+ available for make_keys when cross-building.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 04 Aug 2008 23:31:00 +0200
+
+ncurses (5.6+20080726-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080726.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 03 Aug 2008 23:00:00 +0200
+
+ncurses (5.6+20080713-1) unstable; urgency=low
+
+ * Moving xterm-256color from ncurses-term to ncurses-base, thanks to Iustin
+ Pop <iusty@k1024.org> (Closes: #405602).
+ * Merging upstream version 5.6+20080713.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 16 Jul 2008 09:09:00 +0200
+
+ncurses (5.6+20080712-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080712.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 16 Jul 2008 01:11:00 +0200
+
+ncurses (5.6+20080705-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080705.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 15 Jul 2008 17:37:00 +0200
+
+ncurses (5.6+20080628-1) unstable; urgency=low
+
+ * Merging upstream version 5.6+20080628.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 15 Jul 2008 17:05:00 +0200
+
+ncurses (5.6+20080621-2) unstable; urgency=low
+
+ * Adjusting libgpm relations to their correct name.
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 27 Jun 2008 10:06:00 +0200
+
+ncurses (5.6+20080621-1) unstable; urgency=low
+
+ * Rebuilding against libgpm2 (Closes: #487925).
+ * Improving package short descriptions as suggested by Justin B. Rye
+ <jbr@edlug.org.uk> (Closes: #484172).
+ * Sorting build-depends.
+ * Adding vcs fields to control file.
+ * Upgrading package to standards 3.8.0.
+ * Upgrading package to debhelper 7.
+ * Merging upstream version 5.6+20080621.
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 25 Jun 2008 11:14:00 +0200
+
+ncurses (5.6+20080614-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 16 Jun 2008 22:32:00 +0200
+
+ncurses (5.6+20080531-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 01 Jun 2008 12:35:00 +0200
+
+ncurses (5.6+20080503-1) unstable; urgency=low
+
+ * New upstream patch level:
+ - Modifies screen.* terminfo entries using new screen+fkeys to fix
+ overridden keys in screen.rxvt (Closes: #478094).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 06 May 2008 13:27:00 +0200
+
+ncurses (5.6+20080419-2) unstable; urgency=low
+
+ * Using tightened versioned depends in ncurses-base on libncurses5
+ (Closes: #477725).
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 29 Apr 2008 07:53:00 +0200
+
+ncurses (5.6+20080419-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 21 Apr 2008 13:06:00 +0200
+
+ncurses (5.6+20080405-2) experimental; urgency=low
+
+ * Adding 32bit libncursesw5 packages (Closes: #457363).
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 09 Apr 2008 07:31:00 +0200
+
+ncurses (5.6+20080405-1) unstable; urgency=medium
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 07 Apr 2008 21:37:00 +0200
+
+ncurses (5.6+20080308-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 22 Mar 2008 23:24:00 +0100
+
+ncurses (5.6+20080203-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Sat, 09 Feb 2008 17:41:00 +0100
+
+ncurses (5.6+20080119-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 25 Jan 2008 12:45:00 +0100
+
+ncurses (5.6+20080105-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 13 Jan 2008 02:01:00 +0100
+
+ncurses (5.6+20071215-1) unstable; urgency=low
+
+ * New upstream patch level.
+ * Updated to new policy.
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 21 Dec 2007 06:37:00 +0100
+
+ncurses (5.6+20071124-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 29 Nov 2007 11:28:00 +0100
+
+ncurses (5.6+20071103-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 04 Nov 2007 15:10:00 +0100
+
+ncurses (5.6+20071013-1) unstable; urgency=low
+
+ * New upstream patch level.
+ * Rising shlibs to '>= 5.6+20071006-3' (Closes: #446929).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 16 Oct 2007 20:43:00 +0200
+
+ncurses (5.6+20071006-3) unstable; urgency=low
+
+ * Actually including ticlib (Closes: #446243).
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 11 Oct 2007 14:35:00 +0200
+
+ncurses (5.6+20071006-2) unstable; urgency=low
+
+ * Rebuild with --with-ticlib.
+ * Improved long-description of ncurses-term, thanks to Filipus Klutiero
+ <cheal@hotpop.com> (Closes: #423942).
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 10 Oct 2007 22:23:00 +0200
+
+ncurses (5.6+20071006-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 09 Oct 2007 10:57:00 +0200
+
+ncurses (5.6+20070908-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 10 Sep 2007 14:40:00 +0200
+
+ncurses (5.6+20070825-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 28 Aug 2007 08:39:00 +0200
+
+ncurses (5.6+20070812-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 14 Aug 2007 21:28:00 +0200
+
+ncurses (5.6+20070716-1) unstable; urgency=low
+
+ * New upstream patch level:
+ - Fixes problem with tput and -D_REENTRANT (Closes: #433357).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 17 Jul 2007 05:26:00 +0200
+
+ncurses (5.6+20070714-1) unstable; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 15 Jul 2007 20:06:00 +0200
+
+ncurses (5.6+20070602-1) experimental; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Sun, 03 Jun 2007 18:28:00 +0200
+
+ncurses (5.6+20070526-1) experimental; urgency=low
+
+ * New upstream patch level.
+
+ -- Daniel Baumann <daniel@debian.org> Fri, 01 Jun 2007 21:36:00 +0200
+
+ncurses (5.6-3) unstable; urgency=low
+
+ * Really reverting ia32 library directory rename (Closes: #425596).
+
+ -- Daniel Baumann <daniel@debian.org> Wed, 23 May 2007 08:59:00 +0200
+
+ncurses (5.6-2) unstable; urgency=low
+
+ * Reverting ia32 library directory rename (Closes: #425538).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 22 May 2007 15:38:00 +0200
+
+ncurses (5.6+20070512-1) experimental; urgency=low
+
+ * New upstream patch level.
+ * Using dpatch for upstream modifications.
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 22 May 2007 11:38:00 +0200
+
+ncurses (5.6-1) unstable; urgency=low
+
+ * New upstream release (Closes: #417635, #422844).
+ * Changed ia32 library directory from /emul/ia32-linux/usr/lib to /usr/lib32.
+ * Fixed broken .so symlink in lib32ncurses5-dev (Closes: #424755).
+ * Updated build-depends:
+ - g++-multilib instead of lib{32,64}c*-dev-* (Closes: #424000).
+ * Updated patches:
+ - rediffed debian-backspace.patch.
+ - removed ncurses-upstream.patch (part of upstream).
+ - removed signed-chars.patch (part of upstream).
+
+ -- Daniel Baumann <daniel@debian.org> Tue, 22 May 2007 10:54:00 +0200
+
+ncurses (5.5-5) unstable; urgency=medium
+
+ * Fixed /usr/share/doc symlinks (Closes: #390169).
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 19 Oct 2006 12:01:00 +0200
+
+ncurses (5.5-4) unstable; urgency=low
+
+ * Building lib32ncurses5 and lib32ncurses5-dev on ppc64 too,
+ as suggested by Andreas Jochens <aj@andaco.de> (Closes: #389897).
+
+ -- Daniel Baumann <daniel@debian.org> Thu, 28 Sep 2006 18:34:00 +0200
+
+ncurses (5.5-3) unstable; urgency=low
+
+ * New maintainer (Closes: #385928).
+ * Bumped policy version (no changes needed).
+
+ -- Daniel Baumann <daniel@debian.org> Mon, 04 Sep 2006 15:57:00 +0200
+
+ncurses (5.5-2) unstable; urgency=low
+
+ * Update to upstream patch level 20060422.
+ - Correct missing and bogus copyright notices (Closes: #364339).
+ - Correct a typo in the infocmp(1) man page (Closes: 354281).
+ - Correct wins_nwstr for single-column non-8bit codes (Closes: #341661).
+ - Remove a redundant test in lib_color.c (Closes: #335655).
+ - Ignore EINTR in tcgetattr/tcsetattr calls (Closes: #339518).
+ - Correct smacs in cygwin terminfo (Closes: #338234).
+ - Two additional fixes for wide character display (Closes: #316663)
+ (again).
+ * Acknowledge NMU (Closes: #355129).
+ * Update control file for the removal of Section: base.
+ * Use DEB_HOST_ARCH to determine whether to build biarch packages,
+ based on patch from Aurelien Jarno (Closes: #334099).
+ * Make lib64ncurses5-dev depend on lib64c-dev (Closes: #344022).
+ * Add 32-bit library support on amd64, based loosely on Ubuntu
+ patch (Closes: #344442).
+ * Package debugging versions of libncurses++.a.
+ * Update to debhelper compatibility level 5.
+ * Update policy version to 3.7.0.0.
+ * Use shorter symlinks within terminfo directories when possible
+ (e.g. xx -> xy instead of xx -> ../x/xy).
+
+ -- Daniel Jacobowitz <dan@debian.org> Sun, 30 Apr 2006 16:35:05 -0400
+
+ncurses (5.5-1.1) unstable; urgency=low
+
+ * NMU to fix missing Makefile escaping in debian/rules (Closes: #355129)
+ Thanks to Pjotr Kourzanov <peter.kourzanov@xs4all.nl>.
+
+ -- Margarita Manterola <marga@debian.org> Sat, 15 Apr 2006 01:11:55 -0300
+
+ncurses (5.5-1) unstable; urgency=low
+
+ * New upstream release.
+ - inwstr-manpage-section.patch and tack-manpage.patch merged.
+ - Remove reference to non-existant BUGS section (Closes: #325481).
+ - Wide character repainting fix (Closes: #316663).
+ - Hurd sgr0 trimming fix (Closes: #318621).
+ * Set the expected libgpm SONAME in debian/rules to avoid cross compilation
+ checks.
+ * Build 64-bit libraries on i386 and powerpc (Closes: #333749).
+ * Correct the type of NCURSES_BOOL in 64-bit biarch builds.
+
+ -- Daniel Jacobowitz <dan@debian.org> Fri, 14 Oct 2005 21:13:00 +0000
+
+ncurses (5.4-9) unstable; urgency=low
+
+ * Rebuild with gcc-4.0.
+ * Move ncurses-base terminfo descriptions to /lib/terminfo, but continue
+ to search /etc/terminfo (Closes: #316093).
+ * Clean up dependencies in debian/rules for partial builds.
+ * Install a README in /etc/terminfo.
+ * Clean out cruft from various preinsts and postinsts.
+ * Automatically remove old terminfo entries from /etc/terminfo if unmodified.
+ * Add compatibility links in /usr/share/terminfo to /lib/terminfo.
+
+ -- Daniel Jacobowitz <dan@debian.org> Sat, 16 Jul 2005 15:02:55 -0400
+
+ncurses (5.4-8) unstable; urgency=low
+
+ * Disable GPM for 64-bit builds since there is no 64-bit libgpm package
+ (Closes: #315463).
+ * Correct file conflict between ncurses-base and ncurses-term
+ (Closes: #315405).
+
+ -- Daniel Jacobowitz <dan@debian.org> Sun, 26 Jun 2005 15:40:56 -0400
+
+ncurses (5.4-7) unstable; urgency=low
+
+ * Update to upstream patch level 20050619.
+ - Removes a minor optimization which broke aptitude in an Eterm
+ (Closes: #313609).
+ - Incorporated edit-man-out-of-sourcedir.patch.
+ - Obsoleted tack-manpage-section.patch.
+ - Implement, and fix up, --with-chtype.
+ * Update the priority of libncursesw5.
+ * Update for changed dpkg-architecture behavior without breaking backwards
+ compatibility (Closes: #314448).
+ * Conditionalize GPM dependency for Linux only (Closes: #313478).
+ * Add a terminfo entry for rxvt-unicode (Closes: #270287).
+ * Use new --with-chtype and --with-mmask-t options for now.
+ * Tweak the tack manpage again.
+
+ -- Daniel Jacobowitz <dan@debian.org> Sun, 19 Jun 2005 21:48:37 -0400
+
+ncurses (5.4-6) unstable; urgency=medium
+
+ * Add a versioned dependency from ncurses-base to libncurses5, because
+ the old libncurses5 can not handle multi-character rmacs sequences
+ when it processes sgr0 (see bug #313352).
+ * Add a build dependency on quilt (Closes: #313399).
+ * Do not ship terminal types shipped by other packages in Debian to
+ avoid future file conflicts (Closes: #313278).
+
+ -- Daniel Jacobowitz <dan@debian.org> Mon, 13 Jun 2005 10:28:04 -0400
+
+ncurses (5.4-5) unstable; urgency=low
+
+ * Use quilt to manage patches.
+ * Update to upstream patch level 20050604.
+ - Hurd build fix merged upstream.
+ - Part of explicitly signed character patch merged upstream.
+ - Corrected man page for mouseinterval (Closes: #280687).
+ - Improved support for the zn_CH.GBK locale (Closes: #301376).
+ - Improved terminfo entry for putty (Closes: #305704).
+ - Explain the reference to ded(1) on the default_colors(3ncurses)
+ man page (Closes: #295083).
+ - Reset xterm mouse mode in various terminfo entries (Closes: #55637).
+ - Check the size of the terminal after newterm() (Closes: #265631).
+ * Updated xterm terminfo entry from xterm 200. Combined with the
+ upstream patch level, this (Closes: #254316).
+ * Install the examples in libncurses5-dev again (Closes: #257872).
+ * Remove use of test -a in ncurses-base and ncurses-term preinsts
+ (Closes: #259253).
+ * Enable gpm support (Closes: #110586).
+ * Load libgpm.so.1 instead of libgpm.so.
+ * Merge the Debian rxvt terminfo entry with upstream changes.
+ - Upstream added cnorm to rxvt's reset string, so that the block cursor
+ is restored if civis was used (Closes: #265784).
+ * Fix the default bindings for F1-F4 in rxvt.
+ * Use smkx instead of rmkx in rxvt's reset string, so that reset does
+ not leave the keypad in the wrong state.
+ * Move libncursesw.so.5 to /lib (Closes: #273463).
+ * Added a patch from NIIBE Yutaka to support cross-compilation between
+ two Debian systems (Closes: #283059).
+ * Correct the section for the inwstr(3ncurses) man page.
+ * Add myself to Uploaders.
+ * Correct sections on the tack(1) man page.
+ * Use symlinks instead of hardlinks for the terminfo database.
+ * Remove a four-year-old workaround for an ia64 gcc bug.
+ * Update shlibs file to (>= 5.4-5).
+ * Configure using --disable-lp64 for compatibility on 64-bit architectures.
+
+ -- Daniel Jacobowitz <dan@debian.org> Sun, 12 Jun 2005 11:17:54 -0400
+
+ncurses (5.4-4) unstable; urgency=low
+
+ * Update README.Debian to describe current packaging (Closes: #242794).
+ * Make hurd-i386 build again (Closes: #249214).
+ * Install the Hurd terminfo entry in ncurses-base (Closes: #249215).
+
+ -- Daniel Jacobowitz <dan@debian.org> Thu, 27 May 2004 10:09:15 -0400
+
+ncurses (5.4-3) unstable; urgency=low
+
+ * Apply 20040313 and 20040320 patches from upstream
+ (Closes: #237831, #227879).
+ * Fix some remaining casts to "char" which need to be "signed char"
+ (Closes: #237629, #237870, #238718).
+ * Update Eterm terminfo entry to agree with the Debian practice of
+ kbs=\177 (Closes: #237997).
+
+ -- Daniel Jacobowitz <dan@debian.org> Mon, 22 Mar 2004 16:12:36 -0500
+
+ncurses (5.4-2) unstable; urgency=low
+
+ * Oops, rebuild as non-native package.
+
+ -- Daniel Jacobowitz <dan@debian.org> Wed, 10 Mar 2004 15:00:31 -0500
+
+ncurses (5.4-1) unstable; urgency=low
+
+ * New upstream release (Closes: #230335, #236957).
+ * Update to policy 3.6.1.0 (no changes required).
+
+ -- Daniel Jacobowitz <dan@debian.org> Wed, 10 Mar 2004 13:52:53 -0500
+
+ncurses (5.3.20030719-5) unstable; urgency=low
+
+ * Fix false dependency of ncurses-bin on lib64ncurses5 on sparc
+ (Closes: #221174).
+ * Update config.sub and config.guess (Closes: #221651).
+ * Include wsvt25 and wsvt25m for knetbsd (Closes: #224172).
+ * Include Eterm terminfo descriptions in ncurses-base (Closes: #227402).
+ * Fix tack for standout != bold. Half of this fix is already
+ included upstream (Closes: #224443).
+ * Print program name in tput error messages (Closes: #227586).
+ * Update libncursesw5 to standard.
+
+ -- Daniel Jacobowitz <dan@debian.org> Fri, 16 Jan 2004 14:32:08 -0500
+
+ncurses (5.3.20030719-4) unstable; urgency=low
+
+ * Add missing build dependency for s390x (Closes: #210307).
+
+ -- Daniel Jacobowitz <dan@debian.org> Fri, 07 Nov 2003 14:05:42 -0500
+
+ncurses (5.3.20030719-3) unstable; urgency=low
+
+ * Apply patch from Thomas Dickey for a problem with the dl1 capability
+ (Closes: #215805).
+ * Cross-compile when building 64-bit libraries, since the S/390 build
+ systems can not run s390x executables.
+ * Correct a comment typo (Closes: #215806).
+
+ -- Daniel Jacobowitz <dan@debian.org> Mon, 20 Oct 2003 23:01:41 -0400
+
+ncurses (5.3.20030719-2) unstable; urgency=low
+
+ * Add 64-bit libraries for sparc64 (non-wide only) (Closes: #204418).
+ * Clarified description for libncursesw5-dev (Closes: #204670).
+ * Import upstream fix for Big5 display (Closes: #204889).
+
+ -- Daniel Jacobowitz <dan@debian.org> Wed, 27 Aug 2003 21:15:11 -0400
+
+ncurses (5.3.20030719-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ - Includes GNU/FreeBSD support (Closes: #200397).
+ - Warning fix for character array subscripts (Closes: #195732).
+ - Update use of __attribute__ for C++ (Closes: #195230).
+ * Move the Cygwin terminfo to ncurses-base.
+
+ -- Daniel Jacobowitz <dan@debian.org> Sun, 20 Jul 2003 15:22:51 -0400
+
+ncurses (5.3.20030510-2) unstable; urgency=low
+
+ * Bump shlibs version to 5.3.20030510-1 (Closes: #194633).
+ * Move libncurses5-dbg and libncursesw5-dbg to libdevel also.
+ * Install cons25 terminfo in ncurses-base for GNU/FreeBSD
+ (Closes: #196232).
+
+ -- Daniel Jacobowitz <dan@debian.org> Sat, 14 Jun 2003 11:52:47 -0400
+
+ncurses (5.3.20030510-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ - Includes fix for a duplicate initialization bug (Closes: #192267).
+ * Make the argument to define_key a "const char" (Closes: #192860).
+ * Change the sections of libncurses5-dev and libncursesw5-dev.
+ * Add a terminfo file for the Hurd terminal.
+ * Provide a static libncurses_g.a. I can't provide a shared one
+ without introducing an rpath, since it has the same soname as a
+ non-debugging version.
+
+ -- Daniel Jacobowitz <dan@debian.org> Wed, 14 May 2003 13:15:10 -0400
+
+ncurses (5.3.20021109-2) unstable; urgency=low
+
+ * Update screen terminfo entry (Closes: #165222).
+ * Fix a typo in tset (Closes: #171583).
+
+ -- Daniel Jacobowitz <dan@debian.org> Wed, 04 Dec 2002 09:45:43 -0500
+
+ncurses (5.3.20021109-1) unstable; urgency=low
+
+ * New upstream version (Closes: #163512).
+ - Thanks to Andreas for doing a lot of the grunt work.
+ - Works around lameness in dpkg's build process (Closes: #165897).
+
+ -- Daniel Jacobowitz <dan@debian.org> Mon, 11 Nov 2002 14:58:33 -0500
+
+ncurses (5.2.20020112a-8) unstable; urgency=low
+
+ * Depend on libc-dev instead of libc6-dev (Closes: #145569).
+ * Re-enable trace support in libncurses5-dbg (Closes: #146033).
+
+ -- Daniel Jacobowitz <dan@debian.org> Thu, 09 May 2002 17:46:11 -0400
+
+ncurses (5.2.20020112a-7) unstable; urgency=low
+
+ * Update screen terminfo from the screen package (Closes: #112826).
+
+ -- Daniel Jacobowitz <dan@debian.org> Fri, 29 Mar 2002 14:29:49 -0500
+
+ncurses (5.2.20020112a-6) unstable; urgency=low
+
+ * Add screen-bce terminfo (Closes: #138220).
+ * Configure with --without-ada (Closes: #135024).
+
+ -- Daniel Jacobowitz <dan@debian.org> Mon, 18 Mar 2002 14:01:35 -0500
+
+ncurses (5.2.20020112a-5) unstable; urgency=low
+
+ * Fix documentation symlinks on upgrades (Closes: #134744).
+
+ -- Daniel Jacobowitz <dan@debian.org> Tue, 19 Feb 2002 17:26:49 -0500
+
+ncurses (5.2.20020112a-4) unstable; urgency=low
+
+ * Give all packages a common doc directory via symlinks.
+ * Add a FAQ.
+ - Document Print Screen on the console sending SIGQUIT
+ (Closes: #53776).
+ - Document ncurses applications resetting custom cursors
+ (Closes: #55091).
+ - Document the situation with Home and End
+ (Closes: #131501, #89034, #98029, #107453, #107897, #116943,
+ #119491, #130029, #99493).
+ - Document the use of different xterms and xterm terminal types
+ (Closes: #71637).
+ * Include patch from Sven Verdoolaege to fix some wide-character
+ bugs (Closes: #134205).
+ * Include patch to fix keypad() bug (Closes: #131263).
+ * Fix typo in keybound.3x manpage (Closes: #132037).
+
+ -- Daniel Jacobowitz <dan@debian.org> Sun, 17 Feb 2002 18:57:56 -0500
+
+ncurses (5.2.20020112a-3) unstable; urgency=low
+
+ * Update to current config.sub/config.guess to fix MIPS (Closes: #130581).
+ * Clarify descriptions of the ncursesw packages in debian/control
+ (Closes: #130012).
+ * Update terminfo for gnome-terminal to match Debian gnome-terminal
+ package (backspace/delete) (Closes: #127622).
+
+ -- Daniel Jacobowitz <dan@debian.org> Fri, 25 Jan 2002 13:27:21 -0500
+
+ncurses (5.2.20020112a-2) unstable; urgency=low
+
+ * Break hard link in /etc (Closes: #129807, #129904).
+
+ -- Daniel Jacobowitz <dan@debian.org> Sat, 19 Jan 2002 14:55:40 -0500
+
+ncurses (5.2.20020112a-1) unstable; urgency=low
+
+ * New upstream patchlevel.
+ - Correct curs_set manual page (Closes: #121548).
+ - Correct kbs for Mach terminal types (Closes: #109765).
+ * Include a patch to improve clearing colored lines (Closes: #112561).
+ * Build even shared library with debugging info; we strip it out anyway,
+ but this makes the build directory more useful.
+ * Build in separate object directories.
+ * Build wide character support in new packages.
+ * Change the -dbg packages to include debugging shared libraries in
+ /usr/lib/debug; lose the profiling and static debugging libraries;
+ ship unstripped libraries in -dev.
+ * Don't generate debian/control or debian/shlibs.dummy.
+ * Use debhelper in v3 mode.
+
+ -- Daniel Jacobowitz <dan@debian.org> Wed, 16 Jan 2002 22:20:00 -0500
+
+ncurses (5.2.20010318-3) unstable; urgency=low
+
+ * Use a Pre-Depends in ncurses-bin, because it is marked Essential: yes
+ (Closes: #102398).
+ * Build C++ demos without optimization, for poor broken ia64
+ (Closes: #104771, #105139).
+ * Fix harmless lintian warnings in the source package - dh_testversion
+ removal and missing #DEBHELPER#'s.
+
+ -- Daniel Jacobowitz <dan@debian.org> Wed, 18 Jul 2001 20:03:55 -0700
+
+ncurses (5.2.20010318-2) unstable; urgency=low
+
+ * Fix S/390 varargs handling by removing an illegal cast (Closes: 97945).
+ * Append to LD_LIBRARY_PATH so we don't break fakeroot.
+
+ -- Daniel Jacobowitz <dan@debian.org> Sat, 02 Jun 2001 12:27:38 -0700
+
+ncurses (5.2.20010318-1) unstable; urgency=low
+
+ * New upstream patch to fix manual editing (Closes: #89939).
+
+ -- Daniel Jacobowitz <dan@debian.org> Sun, 18 Mar 2001 20:40:54 -0500
+
+ncurses (5.2.20010310-2) unstable; urgency=low
+
+ * Update rxvt terminfo entries, based on ncurses and the rxvt source
+ (Closes: #54874).
+ * Provide rxvt-basic as an alias to rxvt-m instead of from a different
+ source.
+ * Provide ncurses-dev, since the kernel packages still suggest it
+ (Closes: #55781).
+
+ -- Daniel Jacobowitz <dan@debian.org> Fri, 16 Mar 2001 17:14:56 -0500
+
+ncurses (5.2.20010310-1) unstable; urgency=low
+
+ * New upstream snapshot.
+ - Fixes compatibility with newer GCC snapshots and with
+ libstdc++ v3 (Closes: #75783, #83336).
+ * Update priorities to match overrides:
+ - dbg: optional -> extra
+ - dev: standard -> optional
+ * Fix dangling /usr/lib/libcurses.so symlink (Closes: #88966).
+ * Tighten version requirement in shlibs file (Closes: #89643).
+ * Remove superflous %| from xterm-xfree86 terminfo
+ in debian/xterm.ti (Closes: #89222).
+
+ -- Daniel Jacobowitz <dan@debian.org> Wed, 14 Mar 2001 17:22:37 -0500
+
+ncurses (5.2-1) unstable; urgency=low
+
+ * New upstream version (Closes: #74749, #75740, #85729).
+ * debian/control.in: Remove dependencies on essential ncurses-base
+ (lintian). Also, don't make libncurses5 depend on itself.
+ * Actually update the Maintainer this time.
+ * Add --enable-const (Closes: #88472, #80410, #62190).
+ * Freshen config.guess/config.sub (Closes: #81879).
+ * Mach terminfo entries available upstream (Closes: #68831).
+ * Add new xterm terminfo entry from XFree86 4.0.2
+ (Closes: #79295, #58850, #72236, #30567, #55146).
+
+ -- Daniel Jacobowitz <dan@debian.org> Tue, 06 Mar 2001 01:07:40 -0500
+
+ncurses (5.0-8) unstable; urgency=high
+
+ * Security upload, fixing several exploitable buffer overflows.
+ * New member of ncurses-maint, unfortunately...
+
+ -- Daniel Jacobowitz <dan@debian.org> Tue, 21 Nov 2000 21:52:34 -0500
+
+ncurses (5.0-7) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/mach-color.ti: Add pairs and op capabilities.
+
+ -- Marcus Brinkmann <brinkmd@debian.org> Tue, 08 Aug 2000 23:08:25 +0200
+
+ncurses (5.0-6) frozen unstable; urgency=low
+
+ * Add signedness patch from Dan Jacobowitz <dan@debian.org>
+ (closes:Bug#56646).
+ * Backout keyboard policy change to xterm-color on recommendation
+ of Branden Robinson <branden@debian.org>.
+
+ -- Joel Klecker <ncurses-maint@debian.org> Tue, 01 Feb 2000 22:57:22 -0800
+
+ncurses (5.0-5) frozen unstable; urgency=low
+
+ * Update xterm.ti from Branden Robinson <branden@debian.org> (closes:Bug#55840).
+ * ncurses-base: Include /usr/share/terminfo/x/xterm-color ->
+ /etc/terminfo/x/xterm-color symlink (closes:Bug#56101,#55619).
+ * debian/rxvt.ti: Remove kf0 due to clash with kf10 (closes:Bug#56086).
+ * Closes:#54523 since ncurses-base is back.
+ * Make xterm-color conform to Debian keyboard policy too (closes:Bug#53871).
+ * Closes:#54140: User is a moron.
+ * Change Maintainer to "Joel Klecker <ncurses-maint@debian.org>".
+
+ -- Joel Klecker <ncurses-maint@debian.org> Wed, 26 Jan 2000 15:18:46 -0800
+
+ncurses (5.0-4) frozen unstable; urgency=low
+
+ * Revive ncurses-base.
+ - Add xterm-* used in fallbacks.
+ - Use --with-terminfo-dirs.
+ * Fix smcup/rmcup entries for xterm (closes:Bug#55146).
+
+ -- Joel Klecker <espy@debian.org> Sun, 16 Jan 2000 19:57:08 -0800
+
+ncurses (5.0-3) unstable; urgency=low
+
+ * Add patch for powerpc from Dan Jacobowitz (dan@debian.org).
+ * debian/rules: Zap --with-gpm.
+
+ -- Joel Klecker <espy@debian.org> Thu, 06 Jan 2000 17:26:59 -0800
+
+ncurses (5.0-2) unstable; urgency=low
+
+ * New maintainer: Debian ncurses Team <ncurses-maint@debian.org>.
+ * Transition plan as requested by Richard Braakman (release manager):
+ - Packages in base that use ncurses MUST be recompiled.
+ - Other packages SHOULD be recompiled.
+ * Hack configure to compile with -fPIC instead of -fpic
+ (aclocal.m4 modified too, but configure can't be regenerated without a
+ specially patched autoconf)
+ * Rename source package back to 'ncurses' (ncurses 4.2 becomes 'ncurses4.2').
+ * Revamp debian/rules.
+ * Use ncurses fallback mechanism, thereby eliminating ncurses-base.
+ - Add new xterm* terminfo from Branden Robinson <branden@debian.org>.
+ * libncurses5-dev:
+ - Include libncurses++ and headers now that upstream installs them.
+ (closes:Bug#42357)
+ - Now depends on libncurses5 (= ${Source-Version) (closes:Bug#35422)
+ - Add devel symlinks for libtermcap for user convenience.
+ - Don't make /usr/include/ncurses symlink anymore.
+ * ncurses-bin:
+ - Move man5 and man7 man pages here (closes:Bug#20291).
+ - Bug #27607 apparently fixed upstream:
+ + modify _nc_set_writedir() to set a flag in _nc_tic_dir() to prevent
+ it from changing the terminfo directory after chdir'ing to it.
+ Otherwise, a relative path in $TERMINFO would confuse tic (from a
+ Debian bug report). (closes:Bug#27067)
+ * ncurses-term: Replaces ncurses-base.
+ - Close silly bug (closes:Bug#49483).
+
+ -- Joel Klecker <espy@debian.org> Tue, 28 Dec 1999 17:10:48 -0800
+
+ncurses5 (5.0-1) unstable; urgency=low
+
+ * Ported the changes made to 4.2 to 5.0
+ * Changed ncurses to ncurses5
+
+ -- Vaidhyanathan G Mayilrangam <vaidhy@debian.org> Mon, 06 Dec 1999 01:16:52 -0500
+
+ncurses (4.2-3.4) unstable; urgency=low
+
+ * Non-maintainer release.
+ * Correct monochrome terminal support (whoops!)
+
+ -- Brent A. Fulgham <bfulgham@debian.org> Wed, 06 Oct 1999 19:45:10 -0700
+
+ncurses (4.2-3.3) unstable; urgency=low
+
+ * Non-maintainer release.
+ * Add Mach terminal support.
+
+ -- Brent A. Fulgham <bfulgham@debian.org> Wed, 22 Sep 1999 20:30:15 -0700
+
+ncurses (4.2-3.2) unstable; urgency=low
+
+ * Non-maintainer release.
+ * Add (>= 4.2-3.1) to shlibs for safer upgrades.
+
+ -- Joel Klecker <espy@debian.org> Thu, 18 Mar 1999 12:07:55 -0800
+
+ncurses (4.2-3.1) unstable; urgency=low
+
+ * Non-maintainer release.
+ * Rebuild for glibc 2.1.
+
+ -- Joel Klecker <espy@debian.org> Tue, 02 Mar 1999 23:25:27 -0800
+
+ncurses (4.2-3) frozen unstable; urgency=low
+
+ * Restored ncurses-intro manuals to libncurses-dev documentation (#?)
+ * Removed empty /usr/bin from libncurses (#29022)
+ * /usr/lib/libncurses.so is no longer a relative symlink (#29679)
+ * Added support for linux-arm into config.guess (#29927)
+
+ -- Galen Hazelwood <galenh@debian.org> Tue, 24 Nov 1998 08:37:09 -0700
+
+ncurses (4.2-2) unstable; urgency=low
+
+ * Add screen entries to ncurses-base conffiles list
+ * Restore examples directory to libncurses4-dev
+ * If TERMINFO_DIRS ends with a colon, search default paths (#27605, #25248)
+ (it was always supposed to do that, but now it actually works)
+ * Debian rxvt now clears screen on rmcup (#22289)
+ * ncurses-term: Added xterm-color symlink to color_xterm (#16804 et al)
+
+ -- Galen Hazelwood <galenh@debian.org> Fri, 09 Oct 1998 16:04:22 -0600
+
+ncurses (4.2-1) unstable; urgency=low
+
+ * First release of new ncurses into main distribution
+ * Integrated jdassen's remake of debian/rules, now uses debhelper
+ * Updated security patches
+
+ -- Galen Hazelwood <galenh@debian.org> Mon, 05 Oct 1998 08:15:53 -0600
+
+ncurses (4.2-0) experimental; urgency=low
+
+ * Experimental (lightly tested, known problems) build of new ncurses
+ * -pic package dropped (no longer needed)
+
+ -- Galen Hazelwood <galenh@debian.org> Mon, 21 Sep 1998 14:44:09 -0600
+
+ncurses (1.9.9g-8.10) stable unstable; urgency=high
+
+ * Rebuilt so that dialog and sc do not coredump.
+
+ -- Santiago Vila <sanvila@ctv.es> Wed, 09 Sep 1998 13:28:02 +0200
+
+ncurses (1.9.9g-8.9.1) stable; urgency=high (security fix)
+
+ * Previous upload got rejected. Set distribution to "stable" instead of
+ "hamm-updates".
+
+ -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Wed, 29 Jul 1998 14:22:50 +0200
+
+ncurses (1.9.9g-8.9) hamm-updates; urgency=high (security fix)
+
+ * [ncurses/{read_termcap,read_entry}.c] Security fix for setuid operation:
+ switch to user's priviledges on file operations.
+ (based on ncurses-1.9.9e-setuid.patch courtesy of Red Hat).
+
+ -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sun, 26 Jul 1998 16:53:38 +0200
+
+ncurses (1.9.9g-8.8) frozen unstable; urgency=low
+
+ * Non-maintainer upload.
+ * The debugging version in ncurses3.4-dbg was not actually compiled with -g.
+ This makes it rather unuseful. It's due to an error in the configure.in,
+ which refers to variables ac_cv_prog_gcc_g and ac_cv_prog_gxx_g to check
+ if "-O2 -g" is supported. This should be ac_cv_prog_cc_g and
+ ac_cv_prog_cxx_g instead. Fixed.
+ * debian/xterm.ti had a "blink@" entry for the xterm terminal, which
+ cancels the blink capability ("mb"). Since it has no "use" line,
+ the use resolver is never called for it, which leaves the "CANCEL"
+ value in the compiled info for xterm.
+ tgetstr() does not check for cancelled values, so it returns the
+ CANCELLED_STRING value which is not a valid pointer.
+ Fixed by having tgetstr() return NULL for cancelled values.
+ This fixes the bug that causes screen to crash in an xterm (bug#23998).
+
+ -- Richard Braakman <dark@xs4all.nl> Fri, 17 Jul 1998 12:37:49 +0200
+
+ncurses (1.9.9g-8.7) frozen unstable; urgency=low
+
+ * For reasons that I don't understand, using ncurses3.4 >= 1.9.9g-8.1 with
+ ncurses3.4-dev 1.9.9g-8.6 causes lxdialog (kernel's make menuconfig)
+ to segfault. Changed the dependency to >= Source-Version. (Fixes
+ release-critical #24392).
+ * More manpages fixes (Fixes #24400):
+ * [aclocal.m4] Rewrote the manpages fixing code somewhat so that
+ references like "\fBcurses\fR(3X), " get handled correctly
+ * [man/curs_termcap.3x] Minor changes, so that references get translated
+ properly.
+ * [man/man_db.renames] Added terminfo.\*n and curs_terminfo.\*n .
+
+ -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sat, 11 Jul 1998 16:28:21 +0200
+
+ncurses (1.9.9g-8.6) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * debian/rules (binary-arch): install new xterm and xterm-debian
+ terminfos provided by Branden Robinson <branden@purdue.edu>.
+
+ -- James Troup <jjtroup@comp.brad.ac.uk> Tue, 23 Jun 1998 21:32:02 +0200
+
+ncurses (1.9.9g-8.5) frozen unstable; urgency=high
+
+ * *sigh* -8.4 had several problematic leftovers from debugging in it:
+ * - built with assertions and without _REENTRANT .
+ - wrong fix in the library code. (this broke "screen").
+ * Despite the bad karma with -8.4, I still feel strongly that this should
+ go into frozen, due to the amount and severity of the bugs it fixes.
+
+ -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Mon, 25 May 1998 15:56:36 +0200
+
+ncurses (1.9.9g-8.4) frozen unstable; urgency=high (fixes coredumps and makes documentation usable)
+
+ * [progs/tput.c] Corrected the handling of error returns from setupterm()
+ (to the way ncurses 4.2 does it).
+ Fixes the "tput dumps core on unknown TERM" bug. (Fixes #5600).
+ * [progs/toe.c] Set pointers to NULL after free-ing (like ncurses 4.2
+ does) This fixes the "toe segfaults on megatek" bug. (Fixes #22280).
+ * Fixed manpages and their cross-references:
+ (Fixes #2806, #5363, #6822, #7889, #9977, #15120, #15637, #15088,
+ #10064, #18669).
+ * [aclocal.m4] Fixed the generation of the manpage transformation sed
+ script so that it also transforms references like
+ \fBcurs_refresh\fR(3X) . Warning: attempts to understand this code may
+ cause psychological trauma due to exposure to quoting hell.
+ * [man/{curs_bkgd,resizeterm,wresize}.3x] Removed otherwise empty "."
+ lines between .TH and .SH lines which caused whatis parse to fail.
+ * [debian/rules, debian/routines.pl] Added links for the ncurses and form
+ routines to the appropriate manpages.
+ * Include tutorial (misc/ncurses-intro.{doc,html) in the development package.
+ * [misc/ncurses-intro.doc] Corrected umlaut in Juergen's first name.
+
+ -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sun, 24 May 1998 17:21:22 +0200
+
+ncurses (1.9.9g-8.3) frozen unstable; urgency=low
+
+ * Non-maintainer upload.
+ * The fix wrt "bool" introduced in -8.1 causes problems when a >= -8.1
+ -dev package is used with a < -8.1 runtime package.
+ Added (>= 1.9.9g-8.1) to Depends: ncurses3.4 to prevent this situation
+ from reoccuring (Fixes #22475).
+
+ -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Sat, 16 May 1998 13:08:04 +0200
+
+ncurses (1.9.9g-8.2) frozen unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixes the overlap between hamm/ncurses3.4-dbg 1.9.9g-8 and
+ bo/ncurses3.0-dev 1.9.9e-1 (usr/lib/lib{form,menu,ncurses,panel}_g.a)
+ which Richard Braakman reported on debian-devel; used "Replaces:"
+ rather than "Conflicts:" (there is an implicit conflict already).
+
+ -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Wed, 13 May 1998 18:40:28 +0200
+
+ncurses (1.9.9g-8.1) frozen unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Added a new xterm terminfo entry: kbs changed from ^H to \177
+ and kdch1 from \177 to \E[3~ (per policy) (addresses part of #21914).
+ * Make /usr/lib/libn?curses.so absolute rather than symbolic links
+ (as per policy) (fixes #21913).
+ * aclocal.m4: Invoke gzip with '-9'.
+ * Generated "configure" with up to date autoconf; the old configure needed
+ libg++-dev (the test for handling of type bool used <builtin.h>). Thus,
+ "bool" is properly detected (fixes #20534, #17763).
+ * Updated shlibs to >= this version, just in case the bool issue affects
+ compatibility.
+ * Fixed some file/directory permissions.
+
+ -- J.H.M. Dassen (Ray) <jdassen@wi.LeidenUniv.nl> Fri, 08 May 1998 08:46:23 +0200
+
+ncurses (1.9.9g-8) unstable; urgency=low
+
+ * Hacked LD_LIBRARY_PATH in rules (#16203)
+ * New rxvt entry (#16363, #16430, #17457, #17676)
+ * New screen entry (#17675)
+
+ -- Galen Hazelwood <galenh@micron.net> Sun, 01 Feb 1998 14:42:07 -0700
+
+ncurses (1.9.9g-7) unstable; urgency=low
+
+ * Updated rxvt entry yet again, should fix everything (#10206)
+ * Made all symlinks into /etc/terminfo absolute (#15313)
+ * Fixed problem invoking tic on ncursesless systems (#15781)
+ * No longer install shared libraries executable (#15479)
+
+ -- Galen Hazelwood <galenh@micron.net> Sat, 13 Dec 1997 10:41:42 -0700
+
+ncurses (1.9.9g-6) unstable; urgency=low
+
+ * Munged rxvt entry a bit more (#13996)
+ * kterm entry inherits from older xterm now (#14726)
+ * Removed ich(1) from linux, screen, vt320 (#15127)
+
+ -- Galen Hazelwood <galenh@micron.net> Wed, 26 Nov 1997 12:23:49 -0700
+
+ncurses (1.9.9g-5) unstable; urgency=low
+
+ * Changed khome and kend on xterm (#13362, #6100)
+ * Made all critical terminfo entries conffiles (#13439)
+ * Added config.h to examples directory (#13454)
+ * Patched lib_termcap to handle long id strings (#10588)
+
+ -- Galen Hazelwood <galenh@micron.net> Sun, 12 Oct 1997 11:46:20 -0600
+
+ncurses (1.9.9g-4) unstable; urgency=low
+
+ * Removed bogus examples Makefile (#12543)
+ * Replaced broken rxvt entry (#13171, #13321)
+ * Removed broken xterm-color symlink, and no longer mention it in
+ ncurses-base description
+ * Updated to standard 2.3.0.0
+
+ -- Galen Hazelwood <galenh@micron.net> Wed, 24 Sep 1997 20:55:03 -0600
+
+ncurses (1.9.9g-3) unstable; urgency=low
+
+ * Moved changelog to changelog.Debian (#10757)
+ * Hacked ncurses manpage to warn about inadequate terminals (#1314)
+ * Put ncurses.h back in -dev package
+ * Updated terminfo database from 9.13.22 to 9.13.25
+ * Removed reference to nonexistant utility from tic manpage (#3829)
+ * Hacked aclocal.m4 to support library dependencies
+ * Updated to standard 2.2.0.0
+
+ -- Galen Hazelwood <galenh@micron.net> Thu, 17 Jul 1997 16:52:58 -0600
+
+ncurses (1.9.9g-2) unstable; urgency=low
+
+ * Fixed /etc/terminfo directory support (#10572, #10577)
+ * Fixed symlink loss problem (#10552)
+
+ -- Galen Hazelwood <galenh@micron.net> Sun, 15 Jun 1997 10:38:49 -0600
+
+ncurses (1.9.9g-1) unstable; urgency=low
+
+ * New maintainer
+ * New upstream version (fixes #9219)
+ * Built with libc6
+ * Libraries compiled with -D_REENTRANT
+ * Quick fix for termcap emulation (fixes #1045)
+ * Linked reset manpage to tset manpage (fixes #3192, #8187, #9921)
+ * Library package no longer "Essential" (fixes #3801)
+
+ -- Galen Hazelwood <galen@micron.net> Thu, 12 Jun 1997 12:18:34 -0600
--- ncurses-5.7+20100313.orig/debian/libncurses5-dev.links
+++ ncurses-5.7+20100313/debian/libncurses5-dev.links
@@ -0,0 +1,6 @@
+lib/libncurses.so.5 usr/lib/libncurses.so
+lib/libtic.so.5 usr/lib/libtic.so
+usr/lib/libncurses.so usr/lib/libcurses.so
+usr/lib/libncurses.so usr/lib/libtermcap.so
+usr/lib/libncurses.a usr/lib/libtermcap.a
+usr/lib/libncurses.a usr/lib/libcurses.a
--- ncurses-5.7+20100313.orig/debian/README.source
+++ ncurses-5.7+20100313/debian/README.source
@@ -0,0 +1,2 @@
+This package uses quilt for any modifications to the upstream source.
+Please refer to /usr/share/doc/quilt/README.source for more information.
--- ncurses-5.7+20100313.orig/debian/ncurses-base.lintian-overrides
+++ ncurses-5.7+20100313/debian/ncurses-base.lintian-overrides
@@ -0,0 +1 @@
+ncurses-base: capitalization-error-in-description linux Linux
--- ncurses-5.7+20100313.orig/debian/ncurses-term.install
+++ ncurses-5.7+20100313/debian/ncurses-term.install
@@ -0,0 +1 @@
+usr/share/terminfo
--- ncurses-5.7+20100313.orig/debian/lib64ncurses5-dev.install
+++ ncurses-5.7+20100313/debian/lib64ncurses5-dev.install
@@ -0,0 +1,11 @@
+obj-64/lib/libncurses.so usr/lib64
+obj-64/lib/libtic.so usr/lib64
+obj-64/lib/libform.so usr/lib64
+obj-64/lib/libmenu.so usr/lib64
+obj-64/lib/libpanel.so usr/lib64
+obj-64/lib/libncurses.a usr/lib64
+obj-64/lib/libncurses++.a usr/lib64
+obj-64/lib/libtic.a usr/lib64
+obj-64/lib/libform.a usr/lib64
+obj-64/lib/libmenu.a usr/lib64
+obj-64/lib/libpanel.a usr/lib64
--- ncurses-5.7+20100313.orig/debian/libncurses5-dbg.preinst
+++ ncurses-5.7+20100313/debian/libncurses5-dbg.preinst
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ install|upgrade)
+ if [ -L /usr/share/doc/libncurses5-dbg ]
+ then
+ rm -f /usr/share/doc/libncurses5-dbg
+ fi
+ ;;
+
+ abort-upgrade)
+
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- ncurses-5.7+20100313.orig/debian/ncurses-bin.preinst
+++ ncurses-5.7+20100313/debian/ncurses-bin.preinst
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ install|upgrade)
+ if [ -L /usr/share/doc/ncurses-bin ]
+ then
+ rm -f /usr/share/doc/ncurses-bin
+ fi
+ ;;
+
+ abort-upgrade)
+
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- ncurses-5.7+20100313.orig/debian/libncursesw5-dbg.preinst
+++ ncurses-5.7+20100313/debian/libncursesw5-dbg.preinst
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ install|upgrade)
+ if [ -L /usr/share/doc/libncurses5-dbg ]
+ then
+ rm -f /usr/share/doc/libncurses5-dbg
+ fi
+ ;;
+
+ abort-upgrade)
+
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- ncurses-5.7+20100313.orig/debian/ncurses-base.install
+++ ncurses-5.7+20100313/debian/ncurses-base.install
@@ -0,0 +1,3 @@
+usr/share/tabset
+lib/terminfo
+etc/terminfo
--- ncurses-5.7+20100313.orig/debian/libncurses5-dev.docs
+++ ncurses-5.7+20100313/debian/libncurses5-dev.docs
@@ -0,0 +1 @@
+doc/*
--- ncurses-5.7+20100313.orig/debian/ncurses-term.preinst
+++ ncurses-5.7+20100313/debian/ncurses-term.preinst
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+ install|upgrade)
+ if [ -L /usr/share/doc/ncurses-term ]
+ then
+ rm -f /usr/share/doc/ncurses-term
+ fi
+ ;;
+
+ abort-upgrade)
+
+ ;;
+
+ *)
+ echo "preinst called with unknown argument \`${1}'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- ncurses-5.7+20100313.orig/debian/xterm.ti
+++ ncurses-5.7+20100313/debian/xterm.ti
@@ -0,0 +1,1949 @@
+# $XTermId: terminfo,v 1.155 2007/11/11 23:26:52 tom Exp $
+#
+# $XFree86: xc/programs/xterm/terminfo,v 3.59 2006/02/13 01:14:59 dickey Exp $
+#
+# Updates/notes/new entries (e.g., xterm-8bit, xterm-16color, xterm-256color)
+# - Thomas E. Dickey
+#
+#------------------------------------------------------------------------------
+# Copyright 1996-2006,2007 by Thomas E. Dickey
+#
+# All Rights Reserved
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, sublicense, and/or sell copies of the Software, and to
+# permit persons to whom the Software is furnished to do so, subject to
+# the following conditions:
+#
+# The above copyright notice and this permission notice shall be included
+# in all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+# IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
+# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name(s) of the above copyright
+# holders shall not be used in advertising or otherwise to promote the
+# sale, use or other dealings in this Software without prior written
+# authorization.
+#------------------------------------------------------------------------------
+#
+# Special Capabilities:
+# --------------------
+# ich has a corresponding capability that inserts a single blank. We could
+# have used ich1=\E[@, which works with ncurses, but that is not standard
+# behavior. If it is set, then SVr4 vi (e.g., Solaris 2.6) emits both
+# smir/rmir and ich1.
+# meml locks memory above the cursor; memu unlocks (ala HP terminals). This
+# is not recognized by some older (e.g., SVr3) tic programs, but none
+# do more than warn about it. Ignore the warning.
+# smcup clears memory before switching to the alternate screen. The older
+# (deprecated) \E[?47h did not do this, requiring applications to
+# embed a \E[2J in the rmcup string. However, that behavior cannot
+# be disabled via titeInhibit, making that resource not function as
+# intended on systems with terminfo.
+# rs2/is2 are shorter with XFree86 xterm because it supports DECSTR. We
+# use the shorter sequence for compatibility with the termcap, which
+# is trimmed to keep it shorter than 1023 characters. It (escape \E[!p)
+# replaces these in the conventional vt100 reset-string:
+# \E7 - save cursor (fixes origin-mode side-effect)
+# \E[r - reset scrolling margins
+# \E[m - reset SGR (including color)
+# \E[?7h - reset wraparound mode (DECAWM)
+# \E[?1l - reset application cursor keys (DECCKM)
+# \E[?6l - reset origin mode (DECOM)
+# \E8 - restore cursor
+# DECSTR is recognized by XFree86 xterm even in vt52 mode.
+#
+# Editing Keypad:
+# --------------
+# XFree86 xterm emulates vt220 if the decTerminalID resource is set to 200 or
+# higher. Otherwise it emulates a vt100 or vt52 depending on the value of the
+# resource. When emulating a vt220, we support the editing keypad. Sun and PC
+# keyboards have an editing keypad which is similar to the vt220:
+#
+# VT220 editing keypad
+# ----------------------------
+# Find Insert Remove
+# Select Prev Next
+# ----------------------------
+#
+# Sun/PC editing keypad
+# ----------------------------
+# Insert Home PageUp
+# Delete End PageDn
+# ----------------------------
+#
+# If the sunKeyboard resource is true, we map it this way (adjusting the values
+# of Home, End and Delete):
+# VT220 Sun/PC
+# ----------------------------
+# Find Home
+# Select End
+# Insert Insert
+# Remove Delete
+# Prev PageUp
+# Next PageDn
+# ----------------------------
+#
+# Note that all of the keys on the editing keypad transmit escape sequences. A
+# vt220 does this only when in vt220 mode; when emulating a vt100 the editing
+# keypad is inactive.
+#
+# Alternative keycodes:
+# --------------------
+# Several of the function keys have alternative names, depending on the type of
+# host which your xterm is connected to. DEC (i.e., the VMS system) uses F15
+# as the HELP key, F16 as the DO key. Unix applications generally do not do
+# this. Curses applications in particular, assign a unique keycode to each
+# capability string. These terminal descriptions do not have conflicting
+# definitions, to ensure that Unix curses applications use a consistent set of
+# keycodes. To get a VMS-bias, make these substitutions:
+# 1. change khome to kfnd
+# 2. change kend to kslt
+# The original xterm-r6 entry does in fact have a VMS bias.
+#
+# Some legacy applications using the termcap emulation may expect kll where
+# we have specified kend.
+#
+# Function keys with modifiers (Sun/PC):
+# -------------------------------------
+# Shift-Fx - kf{12+x}
+# Control-Fx - kf{24+x}
+# Shift-Control-Fx - kf{36+x}
+#
+# The terminfo defines some special keys which are documented as "shifted",
+# e.g., kDC is shifted-delete-character.
+#
+# Note however, that even though the terminfo says a key might be sent, there
+# may be conflicts which prevent this. For example, it is common to use
+# shifted pageup and pagedown for window manager functions. The default
+# translation for xterm since X11R4 has overridden shifted Insert, Select,
+# PageUp and PageDown, which correspond to terminfo kIC, kEND, kPRV and kNXT
+# respectively.
+#
+xterm-new|modern xterm terminal emulator,
+ npc,
+ indn=\E[%p1%dS,
+ kb2=\EOE,
+ kcbt=\E[Z,
+ kent=\EOM,
+ rin=\E[%p1%dT,
+ use=xterm+pcfkeys,
+ use=xterm-basic,
+#
+# Encode modifiers using parameters (see "Xterm Control Sequences" ctlseqs.ms).
+# Note that this is unrelated to PCTERM.
+#
+# Some names are extensions allowed by ncurses, e.g.,
+# kDN, kDN5, kDN6, kLFT5, kLFT6, kRIT5, kRIT6, kUP, kUP5, kUP6
+#
+# The uppercase names are made up, since there are no standards that apply.
+# If they were limited to two characters, they could in principle be translated
+# to termcap. However, termcap sizes are limited to 1023 bytes, so there is
+# little point in ensuring that extended key names can be translated to
+# termcap. A terminfo file can be up to 4096 bytes; using all extended keys
+# that xterm can generate would in fact exceed that limit.
+#
+# The numbers correspond to the modifier parameters documented in Xterm
+# Control Sequences:
+#
+# 2 Shift
+# 3 Alt
+# 4 Shift + Alt
+# 5 Control
+# 6 Shift + Control
+# 7 Alt + Control
+# 8 Shift + Alt + Control
+#
+# X/Open Curses defines some shift combinations, which are also used here
+# where applicable. Since it does define some shift combinations, no number
+# (2) is used for suffixing the made-up names. Some combinations are not
+# useful, e.g., they may reboot your computer, or they may require too many
+# fingers. I stopped at modifier 7, just to keep things simple -TD
+#
+# XTerm resources:
+# ---------------
+# The xterm+pcfn, xterm+pcf0, xterm+pcf1, xterm+pcf2 and xterm+pcf3 fragments
+# correspond to default resource settings for xterm on a 104-key PC keyboard
+# with 12 function-keys:
+#
+# *sunKeyboard:false
+# *oldXtermFKeys:false
+# *modifyCursorKeys:2
+# *modifyFunctionKeys:2
+# *ctrlFKeys:10
+#
+# The key numbers are computed based on the modifiers:
+#
+# kf1-kf12 are F1-F12
+# kf13-kf24 are shift F1-F12
+# kf25-kf36 are control F1-F12
+# kf37-kf48 are control+shift F1-F12
+# kf49-kf60 are alt F1-F12
+# kf61-kf63 are shift-alt F1-F3
+#
+# Note that ncurses would allow definition of kf64 and beyond, if there were
+# an application that required it.
+#
+xterm+pcfkeys|fragment for PC-style keys,
+ use=xterm+app,
+ use=xterm+pcf2,
+ use=xterm+pce2,
+ use=xterm+pcc2,
+#
+# The ctrlFKeys resource is only relevant to the xterm+pcfn and xterm+pcfN
+# entries, since the modifyFunctionKeys resource overrides ctrlFKeys when it is
+# positive. A different choice of ctrlFKeys would give a different set of
+# function-key strings.
+xterm+pcfn|fragment with modifyFunctionKeys:-1 and ctrlFKeys:10,
+ kf1=\EOP,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\E[25~,
+ kf14=\E[26~,
+ kf15=\E[28~,
+ kf16=\E[29~,
+ kf17=\E[31~,
+ kf18=\E[32~,
+ kf19=\E[33~,
+ kf2=\EOQ,
+ kf20=\E[34~,
+ kf21=\E[42~,
+ kf22=\E[43~,
+ kf23=\E[44~,
+ kf24=\E[45~,
+ kf25=\E[46~,
+ kf26=\E[47~,
+ kf27=\E[48~,
+ kf28=\E[49~,
+ kf29=\E[50~,
+ kf3=\EOR,
+ kf30=\E[51~,
+ kf31=\E[52~,
+ kf32=\E[53~,
+ kf33=\E[54~,
+ kf34=\E[55~,
+ kf35=\E[56~,
+ kf36=\E[57~,
+ kf37=\E[58~,
+ kf38=\E[59~,
+ kf39=\E[60~,
+ kf4=\EOS,
+ kf40=\E[61~,
+ kf41=\E[62~,
+ kf42=\E[63~,
+ kf43=\E[64~,
+ kf44=\E[65~,
+ kf45=\E[66~,
+ kf46=\E[67~,
+ kf47=\E[68~,
+ kf48=\E[69~,
+ kf5=\E[15~,
+ kf6=\E[17~,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+
+# Changing ctrlFKeys to 12 would let us number the keys using just shift- and
+# control- modifiers:
+# kf1-kf12 are F1-F12
+# kf13-kf24 are shift F1-F12
+# kf25-kf36 are control F1-F12
+# kf37-kf48 are control+shift F1-F12
+xterm+pcfN|fragment with modifyFunctionKeys:-1 and ctrlFKeys:12,
+ kf1=\EOP,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\E[25~,
+ kf14=\E[26~,
+ kf15=\E[28~,
+ kf16=\E[29~,
+ kf17=\E[31~,
+ kf18=\E[32~,
+ kf19=\E[33~,
+ kf2=\EOQ,
+ kf20=\E[34~,
+ kf21=\E[42~,
+ kf22=\E[43~,
+ kf23=\E[44~,
+ kf24=\E[45~,
+ kf25=\E[46~,
+ kf26=\E[47~,
+ kf27=\E[48~,
+ kf28=\E[49~,
+ kf29=\E[50~,
+ kf3=\EOR,
+ kf30=\E[51~,
+ kf31=\E[52~,
+ kf32=\E[53~,
+ kf33=\E[54~,
+ kf34=\E[55~,
+ kf35=\E[56~,
+ kf36=\E[57~,
+ kf37=\E[58~,
+ kf38=\E[59~,
+ kf39=\E[60~,
+ kf4=\EOS,
+ kf40=\E[61~,
+ kf41=\E[62~,
+ kf42=\E[63~,
+ kf43=\E[64~,
+ kf44=\E[65~,
+ kf45=\E[66~,
+ kf46=\E[67~,
+ kf47=\E[68~,
+ kf48=\E[69~,
+ kf5=\E[15~,
+ kf6=\E[17~,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+
+xterm+pcf0|fragment with modifyFunctionKeys:0,
+ kf1=\EOP,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\EO2P,
+ kf14=\EO2Q,
+ kf15=\EO2R,
+ kf16=\EO2S,
+ kf17=\E[15;2~,
+ kf18=\E[17;2~,
+ kf19=\E[18;2~,
+ kf2=\EOQ,
+ kf20=\E[19;2~,
+ kf21=\E[20;2~,
+ kf22=\E[21;2~,
+ kf23=\E[23;2~,
+ kf24=\E[24;2~,
+ kf25=\EO5P,
+ kf26=\EO5Q,
+ kf27=\EO5R,
+ kf28=\EO5S,
+ kf29=\E[15;5~,
+ kf3=\EOR,
+ kf30=\E[17;5~,
+ kf31=\E[18;5~,
+ kf32=\E[19;5~,
+ kf33=\E[20;5~,
+ kf34=\E[21;5~,
+ kf35=\E[23;5~,
+ kf36=\E[24;5~,
+ kf37=\EO6P,
+ kf38=\EO6Q,
+ kf39=\EO6R,
+ kf4=\EOS,
+ kf40=\EO6S,
+ kf41=\E[15;6~,
+ kf42=\E[17;6~,
+ kf43=\E[18;6~,
+ kf44=\E[19;6~,
+ kf45=\E[20;6~,
+ kf46=\E[21;6~,
+ kf47=\E[23;6~,
+ kf48=\E[24;6~,
+ kf49=\EO3P,
+ kf5=\E[15~,
+ kf50=\EO3Q,
+ kf51=\EO3R,
+ kf52=\EO3S,
+ kf53=\E[15;3~,
+ kf54=\E[17;3~,
+ kf55=\E[18;3~,
+ kf56=\E[19;3~,
+ kf57=\E[20;3~,
+ kf58=\E[21;3~,
+ kf59=\E[23;3~,
+ kf6=\E[17~,
+ kf60=\E[24;3~,
+ kf61=\EO4P,
+ kf62=\EO4Q,
+ kf63=\EO4R,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+
+# This is almost the same as xterm+pcf2 because the unmodified keys all happen
+# to have a pattern that forces the modifier to the same position.
+xterm+pcf1|fragment with modifyFunctionKeys:1,
+ kf1=\EOP,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\E[2P,
+ kf14=\E[2Q,
+ kf15=\E[2R,
+ kf16=\E[2S,
+ kf17=\E[15;2~,
+ kf18=\E[17;2~,
+ kf19=\E[18;2~,
+ kf2=\EOQ,
+ kf20=\E[19;2~,
+ kf21=\E[20;2~,
+ kf22=\E[21;2~,
+ kf23=\E[23;2~,
+ kf24=\E[24;2~,
+ kf25=\E[5P,
+ kf26=\E[5Q,
+ kf27=\E[5R,
+ kf28=\E[5S,
+ kf29=\E[15;5~,
+ kf3=\EOR,
+ kf30=\E[17;5~,
+ kf31=\E[18;5~,
+ kf32=\E[19;5~,
+ kf33=\E[20;5~,
+ kf34=\E[21;5~,
+ kf35=\E[23;5~,
+ kf36=\E[24;5~,
+ kf37=\E[6P,
+ kf38=\E[6Q,
+ kf39=\E[6R,
+ kf4=\EOS,
+ kf40=\E[6S,
+ kf41=\E[15;6~,
+ kf42=\E[17;6~,
+ kf43=\E[18;6~,
+ kf44=\E[19;6~,
+ kf45=\E[20;6~,
+ kf46=\E[21;6~,
+ kf47=\E[23;6~,
+ kf48=\E[24;6~,
+ kf49=\E[3P,
+ kf5=\E[15~,
+ kf50=\E[3Q,
+ kf51=\E[3R,
+ kf52=\E[3S,
+ kf53=\E[15;3~,
+ kf54=\E[17;3~,
+ kf55=\E[18;3~,
+ kf56=\E[19;3~,
+ kf57=\E[20;3~,
+ kf58=\E[21;3~,
+ kf59=\E[23;3~,
+ kf6=\E[17~,
+ kf60=\E[24;3~,
+ kf61=\E[4P,
+ kf62=\E[4Q,
+ kf63=\E[4R,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+
+xterm+pcf2|fragment with modifyFunctionKeys:2,
+ kf1=\EOP,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\E[1;2P,
+ kf14=\E[1;2Q,
+ kf15=\E[1;2R,
+ kf16=\E[1;2S,
+ kf17=\E[15;2~,
+ kf18=\E[17;2~,
+ kf19=\E[18;2~,
+ kf2=\EOQ,
+ kf20=\E[19;2~,
+ kf21=\E[20;2~,
+ kf22=\E[21;2~,
+ kf23=\E[23;2~,
+ kf24=\E[24;2~,
+ kf25=\E[1;5P,
+ kf26=\E[1;5Q,
+ kf27=\E[1;5R,
+ kf28=\E[1;5S,
+ kf29=\E[15;5~,
+ kf3=\EOR,
+ kf30=\E[17;5~,
+ kf31=\E[18;5~,
+ kf32=\E[19;5~,
+ kf33=\E[20;5~,
+ kf34=\E[21;5~,
+ kf35=\E[23;5~,
+ kf36=\E[24;5~,
+ kf37=\E[1;6P,
+ kf38=\E[1;6Q,
+ kf39=\E[1;6R,
+ kf4=\EOS,
+ kf40=\E[1;6S,
+ kf41=\E[15;6~,
+ kf42=\E[17;6~,
+ kf43=\E[18;6~,
+ kf44=\E[19;6~,
+ kf45=\E[20;6~,
+ kf46=\E[21;6~,
+ kf47=\E[23;6~,
+ kf48=\E[24;6~,
+ kf49=\E[1;3P,
+ kf5=\E[15~,
+ kf50=\E[1;3Q,
+ kf51=\E[1;3R,
+ kf52=\E[1;3S,
+ kf53=\E[15;3~,
+ kf54=\E[17;3~,
+ kf55=\E[18;3~,
+ kf56=\E[19;3~,
+ kf57=\E[20;3~,
+ kf58=\E[21;3~,
+ kf59=\E[23;3~,
+ kf6=\E[17~,
+ kf60=\E[24;3~,
+ kf61=\E[1;4P,
+ kf62=\E[1;4Q,
+ kf63=\E[1;4R,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+
+xterm+pcf3|fragment with modifyFunctionKeys:3,
+ kf1=\EOP,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\E[>1;2P,
+ kf14=\E[>1;2Q,
+ kf15=\E[>1;2R,
+ kf16=\E[>1;2S,
+ kf17=\E[>15;2~,
+ kf18=\E[>17;2~,
+ kf19=\E[>18;2~,
+ kf2=\EOQ,
+ kf20=\E[>19;2~,
+ kf21=\E[>20;2~,
+ kf22=\E[>21;2~,
+ kf23=\E[>23;2~,
+ kf24=\E[>24;2~,
+ kf25=\E[>1;5P,
+ kf26=\E[>1;5Q,
+ kf27=\E[>1;5R,
+ kf28=\E[>1;5S,
+ kf29=\E[>15;5~,
+ kf3=\EOR,
+ kf30=\E[>17;5~,
+ kf31=\E[>18;5~,
+ kf32=\E[>19;5~,
+ kf33=\E[>20;5~,
+ kf34=\E[>21;5~,
+ kf35=\E[>23;5~,
+ kf36=\E[>24;5~,
+ kf37=\E[>1;6P,
+ kf38=\E[>1;6Q,
+ kf39=\E[>1;6R,
+ kf4=\EOS,
+ kf40=\E[>1;6S,
+ kf41=\E[>15;6~,
+ kf42=\E[>17;6~,
+ kf43=\E[>18;6~,
+ kf44=\E[>19;6~,
+ kf45=\E[>20;6~,
+ kf46=\E[>21;6~,
+ kf47=\E[>23;6~,
+ kf48=\E[>24;6~,
+ kf49=\E[>1;3P,
+ kf5=\E[15~,
+ kf50=\E[>1;3Q,
+ kf51=\E[>1;3R,
+ kf52=\E[>1;3S,
+ kf53=\E[>15;3~,
+ kf54=\E[>17;3~,
+ kf55=\E[>18;3~,
+ kf56=\E[>19;3~,
+ kf57=\E[>20;3~,
+ kf58=\E[>21;3~,
+ kf59=\E[>23;3~,
+ kf6=\E[17~,
+ kf60=\E[>24;3~,
+ kf61=\E[>1;4P,
+ kf62=\E[>1;4Q,
+ kf63=\E[>1;4R,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+#
+# The "PC-style" modifier scheme was introduced in xterm patch #94 (1999/3/27)
+# and revised in patch #167 (2002/8/24).
+#
+# The original assignments from patch #94 for cursor-keys had some technical
+# issues:
+#
+# A parameter for a function-key to represent a modifier is just more
+# bits. But for a cursor-key it may change the behavior of the
+# application. For instance, emacs decodes the first parameter of a
+# cursor-key as a repeat count.
+#
+# A parameterized string should (really) not begin with SS3 (\EO).
+# Rather, CSI (\E[) should be used.
+#
+# For these reasons, the original assignments were deprecated. For
+# compatibility reasons, they are still available as a setting of xterm's
+# modifyCursorKeys resource. These fragments list the modified cursor-keys
+# that might apply to xterm+pcfkeys with different values of that resource.
+xterm+pcc3|fragment with modifyCursorKeys:3,
+ kLFT=\E[>1;2D,
+ kRIT=\E[>1;2C,
+ kind=\E[>1;2B,
+ kri=\E[>1;2A,
+ kDN=\E[>1;2B,
+ kDN3=\E[>1;3B,
+ kDN4=\E[>1;4B,
+ kDN5=\E[>1;5B,
+ kDN6=\E[>1;6B,
+ kDN7=\E[>1;7B,
+ kLFT3=\E[>1;3D,
+ kLFT4=\E[>1;4D,
+ kLFT5=\E[>1;5D,
+ kLFT6=\E[>1;6D,
+ kLFT7=\E[>1;7D,
+ kRIT3=\E[>1;3C,
+ kRIT4=\E[>1;4C,
+ kRIT5=\E[>1;5C,
+ kRIT6=\E[>1;6C,
+ kRIT7=\E[>1;7C,
+ kUP=\E[>1;2A,
+ kUP3=\E[>1;3A,
+ kUP4=\E[>1;4A,
+ kUP5=\E[>1;5A,
+ kUP6=\E[>1;6A,
+ kUP7=\E[>1;7A,
+
+xterm+pcc2|fragment with modifyCursorKeys:2,
+ kLFT=\E[1;2D,
+ kRIT=\E[1;2C,
+ kind=\E[1;2B,
+ kri=\E[1;2A,
+ kDN=\E[1;2B,
+ kDN3=\E[1;3B,
+ kDN4=\E[1;4B,
+ kDN5=\E[1;5B,
+ kDN6=\E[1;6B,
+ kDN7=\E[1;7B,
+ kLFT3=\E[1;3D,
+ kLFT4=\E[1;4D,
+ kLFT5=\E[1;5D,
+ kLFT6=\E[1;6D,
+ kLFT7=\E[1;7D,
+ kRIT3=\E[1;3C,
+ kRIT4=\E[1;4C,
+ kRIT5=\E[1;5C,
+ kRIT6=\E[1;6C,
+ kRIT7=\E[1;7C,
+ kUP=\E[1;2A,
+ kUP3=\E[1;3A,
+ kUP4=\E[1;4A,
+ kUP5=\E[1;5A,
+ kUP6=\E[1;6A,
+ kUP7=\E[1;7A,
+
+xterm+pcc1|fragment with modifyCursorKeys:1,
+ kLFT=\E[2D,
+ kRIT=\E[2C,
+ kind=\E[2B,
+ kri=\E[2A,
+ kDN=\E[2B,
+ kDN3=\E[3B,
+ kDN4=\E[4B,
+ kDN5=\E[5B,
+ kDN6=\E[6B,
+ kDN7=\E[7B,
+ kLFT3=\E[3D,
+ kLFT4=\E[4D,
+ kLFT5=\E[5D,
+ kLFT6=\E[6D,
+ kLFT7=\E[7D,
+ kRIT3=\E[3C,
+ kRIT4=\E[4C,
+ kRIT5=\E[5C,
+ kRIT6=\E[6C,
+ kRIT7=\E[7C,
+ kUP=\E[2A,
+ kUP3=\E[3A,
+ kUP4=\E[4A,
+ kUP5=\E[5A,
+ kUP6=\E[6A,
+ kUP7=\E[7A,
+
+xterm+pcc0|fragment with modifyCursorKeys:0,
+ kLFT=\EO2D,
+ kRIT=\EO2C,
+ kind=\EO2B,
+ kri=\EO2A,
+ kDN=\EO2B,
+ kDN3=\EO3B,
+ kDN4=\EO4B,
+ kDN5=\EO5B,
+ kDN6=\EO6B,
+ kDN7=\EO7B,
+ kLFT3=\EO3D,
+ kLFT4=\EO4D,
+ kLFT5=\EO5D,
+ kLFT6=\EO6D,
+ kLFT7=\EO7D,
+ kRIT3=\EO3C,
+ kRIT4=\EO4C,
+ kRIT5=\EO5C,
+ kRIT6=\EO6C,
+ kRIT7=\EO7C,
+ kUP=\EO2A,
+ kUP3=\EO3A,
+ kUP4=\EO4A,
+ kUP5=\EO5A,
+ kUP6=\EO6A,
+ kUP7=\EO7A,
+
+# The home/end keys on the editing keypad are also treated as cursor keys.
+xterm+pce3|fragment with modifyCursorKeys:3,
+ kDC=\E[>3;2~,
+ kEND=\E[>1;2F,
+ kHOM=\E[>1;2H,
+ kIC=\E[>2;2~,
+ kNXT=\E[>6;2~,
+ kPRV=\E[>5;2~,
+ kDC3=\E[>3;3~,
+ kDC4=\E[>3;4~,
+ kDC5=\E[>3;5~,
+ kDC6=\E[>3;6~,
+ kDC7=\E[>3;7~,
+ kEND3=\E[>1;3F,
+ kEND4=\E[>1;4F,
+ kEND5=\E[>1;5F,
+ kEND6=\E[>1;6F,
+ kEND7=\E[>1;7F,
+ kHOM3=\E[>1;3H,
+ kHOM4=\E[>1;4H,
+ kHOM5=\E[>1;5H,
+ kHOM6=\E[>1;6H,
+ kHOM7=\E[>1;7H,
+ kIC3=\E[>2;3~,
+ kIC4=\E[>2;4~,
+ kIC5=\E[>2;5~,
+ kIC6=\E[>2;6~,
+ kIC7=\E[>2;7~,
+ kNXT3=\E[>6;3~,
+ kNXT4=\E[>6;4~,
+ kNXT5=\E[>6;5~,
+ kNXT6=\E[>6;6~,
+ kNXT7=\E[>6;7~,
+ kPRV3=\E[>5;3~,
+ kPRV4=\E[>5;4~,
+ kPRV5=\E[>5;5~,
+ kPRV6=\E[>5;6~,
+ kPRV7=\E[>5;7~,
+ use=xterm+pce0,
+
+xterm+pce2|fragment with modifyCursorKeys:2,
+ kDC=\E[3;2~,
+ kEND=\E[1;2F,
+ kHOM=\E[1;2H,
+ kIC=\E[2;2~,
+ kNXT=\E[6;2~,
+ kPRV=\E[5;2~,
+ kDC3=\E[3;3~,
+ kDC4=\E[3;4~,
+ kDC5=\E[3;5~,
+ kDC6=\E[3;6~,
+ kDC7=\E[3;7~,
+ kEND3=\E[1;3F,
+ kEND4=\E[1;4F,
+ kEND5=\E[1;5F,
+ kEND6=\E[1;6F,
+ kEND7=\E[1;7F,
+ kHOM3=\E[1;3H,
+ kHOM4=\E[1;4H,
+ kHOM5=\E[1;5H,
+ kHOM6=\E[1;6H,
+ kHOM7=\E[1;7H,
+ kIC3=\E[2;3~,
+ kIC4=\E[2;4~,
+ kIC5=\E[2;5~,
+ kIC6=\E[2;6~,
+ kIC7=\E[2;7~,
+ kNXT3=\E[6;3~,
+ kNXT4=\E[6;4~,
+ kNXT5=\E[6;5~,
+ kNXT6=\E[6;6~,
+ kNXT7=\E[6;7~,
+ kPRV3=\E[5;3~,
+ kPRV4=\E[5;4~,
+ kPRV5=\E[5;5~,
+ kPRV6=\E[5;6~,
+ kPRV7=\E[5;7~,
+ use=xterm+pce0,
+
+xterm+pce1|fragment with modifyCursorKeys:1,
+ kDC=\E[3;2~,
+ kEND=\E[2F,
+ kHOM=\E[2H,
+ kIC=\E[2;2~,
+ kNXT=\E[6;2~,
+ kPRV=\E[5;2~,
+ kDC3=\E[3;3~,
+ kDC4=\E[3;4~,
+ kDC5=\E[3;5~,
+ kDC6=\E[3;6~,
+ kDC7=\E[3;7~,
+ kEND3=\E[3F,
+ kEND4=\E[4F,
+ kEND5=\E[5F,
+ kEND6=\E[6F,
+ kEND7=\E[7F,
+ kHOM3=\E[3H,
+ kHOM4=\E[4H,
+ kHOM5=\E[5H,
+ kHOM6=\E[6H,
+ kHOM7=\E[7H,
+ kIC3=\E[2;3~,
+ kIC4=\E[2;4~,
+ kIC5=\E[2;5~,
+ kIC6=\E[2;6~,
+ kIC7=\E[2;7~,
+ kNXT3=\E[6;3~,
+ kNXT4=\E[6;4~,
+ kNXT5=\E[6;5~,
+ kNXT6=\E[6;6~,
+ kNXT7=\E[6;7~,
+ kPRV3=\E[5;3~,
+ kPRV4=\E[5;4~,
+ kPRV5=\E[5;5~,
+ kPRV6=\E[5;6~,
+ kPRV7=\E[5;7~,
+ use=xterm+pce0,
+
+xterm+pce0|fragment with modifyCursorKeys:0,
+ kDC=\E[3;2~,
+ kEND=\EO2F,
+ kHOM=\EO2H,
+ kIC=\E[2;2~,
+ kNXT=\E[6;2~,
+ kPRV=\E[5;2~,
+ kDC3=\E[3;3~,
+ kDC4=\E[3;4~,
+ kDC5=\E[3;5~,
+ kDC6=\E[3;6~,
+ kDC7=\E[3;7~,
+ kEND3=\EO3F,
+ kEND4=\EO4F,
+ kEND5=\EO5F,
+ kEND6=\EO6F,
+ kEND7=\EO7F,
+ kHOM3=\EO3H,
+ kHOM4=\EO4H,
+ kHOM5=\EO5H,
+ kHOM6=\EO6H,
+ kHOM7=\EO7H,
+ kIC3=\E[2;3~,
+ kIC4=\E[2;4~,
+ kIC5=\E[2;5~,
+ kIC6=\E[2;6~,
+ kIC7=\E[2;7~,
+ kNXT3=\E[6;3~,
+ kNXT4=\E[6;4~,
+ kNXT5=\E[6;5~,
+ kNXT6=\E[6;6~,
+ kNXT7=\E[6;7~,
+ kPRV3=\E[5;3~,
+ kPRV4=\E[5;4~,
+ kPRV5=\E[5;5~,
+ kPRV6=\E[5;6~,
+ kPRV7=\E[5;7~,
+ use=xterm+edit,
+#
+# This chunk is used for building the VT220/Sun/PC keyboard variants.
+xterm-basic|modern xterm terminal emulator - common,
+ OTbs,
+ am,
+ bce,
+ km,
+ mc5i,
+ mir,
+ msgr,
+ xenl,
+ AX,
+ colors#8,
+ cols#80,
+ it#8,
+ lines#24,
+ pairs#64,
+ acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+ bel=^G,
+ blink=\E[5m,
+ bold=\E[1m,
+ cbt=\E[Z,
+ civis=\E[?25l,
+ clear=\E[H\E[2J,
+ cnorm=\E[?12l\E[?25h,
+ cr=^M,
+ csr=\E[%i%p1%d;%p2%dr,
+ cub=\E[%p1%dD,
+ cub1=^H,
+ cud=\E[%p1%dB,
+ cud1=^J,
+ cuf=\E[%p1%dC,
+ cuf1=\E[C,
+ cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA,
+ cuu1=\E[A,
+ cvvis=\E[?12;25h,
+ dch=\E[%p1%dP,
+ dch1=\E[P,
+ dl=\E[%p1%dM,
+ dl1=\E[M,
+ ech=\E[%p1%dX,
+ ed=\E[J,
+ el=\E[K,
+ el1=\E[1K,
+ flash=\E[?5h$<100/>\E[?5l,
+ home=\E[H,
+ hpa=\E[%i%p1%dG,
+ ht=^I,
+ hts=\EH,
+ ich=\E[%p1%d@,
+ il=\E[%p1%dL,
+ il1=\E[L,
+ ind=^J,
+ invis=\E[8m,
+ is2=\E[!p\E[?3;4l\E[4l\E>,
+ kbs=^H,
+ kmous=\E[M,
+ mc0=\E[i,
+ mc4=\E[4i,
+ mc5=\E[5i,
+ meml=\El,
+ memu=\Em,
+ op=\E[39;49m,
+ rc=\E8,
+ rev=\E[7m,
+ ri=\EM,
+ rmacs=\E(B,
+ rmam=\E[?7l,
+ rmcup=\E[?1049l,
+ rmir=\E[4l,
+ rmkx=\E[?1l\E>,
+ rmm=\E[?1034l,
+ rmso=\E[27m,
+ rmul=\E[24m,
+ rs1=\Ec,
+ rs2=\E[!p\E[?3;4l\E[4l\E>,
+ sc=\E7,
+ setab=\E[4%p1%dm,
+ setaf=\E[3%p1%dm,
+ setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
+ sgr0=\E(B\E[m,
+ smacs=\E(0,
+ smam=\E[?7h,
+ smcup=\E[?1049h,
+ smir=\E[4h,
+ smkx=\E[?1h\E=,
+ smm=\E[?1034h,
+ smso=\E[7m,
+ smul=\E[4m,
+ tbc=\E[3g,
+ u6=\E[%i%d;%dR,
+ u7=\E[6n,
+ u8=\E[?1;2c,
+ u9=\E[c,
+ vpa=\E[%i%p1%dd,
+# xterm-debian is identical to xterm-new except that it more strictly
+# conforms to DEC VT220 behavior in the case of the backspace key; this is
+# mandated by the Section 9.8 of the Debian Policy Manual. Also see
+# <http://vt100.net/docs/vt220-rm/>.
+xterm-debian|Debian xterm (VT220-conformant backspace),
+ kbs=\177,
+ rmm@,
+ smm@,
+ use=xterm-new,
+#
+# The xterm-new description has all of the features, but is not completely
+# compatible with vt220. If you are using a Sun or PC keyboard, set the
+# sunKeyboard resource to true:
+# + maps the editing keypad
+# + interprets control-function-key as a second array of keys, so a
+# 12-fkey keyboard can support vt220's 20-fkeys.
+# + maps numeric keypad "+" to ",".
+# + uses DEC-style control sequences for the application keypad.
+#
+# Some packagers modify xterm's resource definitions to provide extra function
+# keys by using the shift-modifier in the translations resource. However, that
+# interferes with the DECUDK functionality.
+#
+xterm-vt220|xterm emulating vt220,
+ ka1=\EOw,
+ ka3=\EOy,
+ kb2=\EOu,
+ kc1=\EOq,
+ kc3=\EOs,
+ kcbt=\E[Z,
+ kend=\E[4~,
+ kent=\EOM,
+ kf1=\EOP,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\E[25~,
+ kf14=\E[26~,
+ kf15=\E[28~,
+ kf16=\E[29~,
+ kf17=\E[31~,
+ kf18=\E[32~,
+ kf19=\E[33~,
+ kf2=\EOQ,
+ kf20=\E[34~,
+ kf3=\EOR,
+ kf4=\EOS,
+ kf5=\E[15~,
+ kf6=\E[17~,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+ khome=\E[1~,
+ kich1=\E[2~,
+ knp=\E[6~,
+ kpp=\E[5~,
+ ka2=\EOx,
+ kb1=\EOt,
+ kb3=\EOv,
+ kc2=\EOr,
+ use=xterm+app,
+ use=xterm+edit,
+ use=xterm-basic,
+#
+xterm-vt52|xterm emulating dec vt52,
+ cols#80,
+ it#8,
+ lines#24,
+ acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+ bel=^G,
+ clear=\EH\EJ,
+ cr=^M,
+ cub1=\ED,
+ cud1=\EB,
+ cuf1=\EC,
+ cup=\EY%p1%' '%+%c%p2%' '%+%c,
+ cuu1=\EA,
+ ed=\EJ,
+ el=\EK,
+ home=\EH,
+ ht=^I,
+ ind=^J,
+ kbs=^H,
+ kcub1=\ED,
+ kcud1=\EB,
+ kcuf1=\EC,
+ kcuu1=\EA,
+ nel=^M^J,
+ ri=\EI,
+ rmacs=\EG,
+ smacs=\EF,
+#
+# Sun does not number the function keys this way in their sparse termcap; their
+# terminal descriptions ignore the keypads. kb(7M) states that there are codes
+# reserved for 64 function keys, 16 each in left, right, top and bottom. Each
+# keyboard type has a different number of function keys in different
+# arrangements. Using xkeycaps for reference:
+#
+# Type 3: left 10, top 9, right 15
+# ------
+# kf1-kf9 are XK_F1-XK_F9
+# There is no kf10 on this keyboard type.
+# kf11-kf20 are keysyms XK_L1 through XK_L10.
+# kf31-kf45 are keysyms XK_R1 through XK_R15.
+#
+# However, X's keysymdef.h is hard-coded to make
+# XK_L1==XK_F11 and
+# XK_R1==XK_F21,
+# by someone who was unfamiliar with terminal types other than Sun's. So
+# xterm uses the internal X keysymbols, but the terminfo entry uses the Sun
+# numbering scheme.
+#
+# Type 4: left 11, top 12, right 15
+# ------
+# The left-keypad contains an unnumbered Help-key.
+# The right-keypad also contains NumLock, Ins, Del, Enter, + and - keys which
+# do not appear to be part of the R-sequence.
+#
+# Type 5: left 9, top 12, right (more than one keypad)
+# ------
+# These keyboards do not use the same naming convention, look like a hybrid of
+# the type 4 and IBM keyboards.
+#
+# XTerm resources:
+# ---------------
+# Set the modifyFunctionKeys resource to negative (-1) to make it simple to
+# enter the higher function-key values using shift- and control-modifiers.
+#
+xterm-sun|xterm with sun function keys,
+ kb2=\E[218z,
+ kcpy=\E[197z,
+ kcub1=\EOD,
+ kcud1=\EOB,
+ kcuf1=\EOC,
+ kcuu1=\EOA,
+ kdch1=\E[3z,
+ kend=\E[220z,
+ kent=\EOM,
+ kf1=\E[224z,
+ kf10=\E[233z,
+ kf11=\E[192z,
+ kf12=\E[193z,
+ kf13=\E[194z,
+ kf14=\E[195z,
+ kf15=\E[196z,
+ kf17=\E[198z,
+ kf18=\E[199z,
+ kf19=\E[200z,
+ kf2=\E[225z,
+ kf20=\E[201z,
+ kf3=\E[226z,
+ kf31=\E[208z,
+ kf32=\E[209z,
+ kf33=\E[210z,
+ kf34=\E[211z,
+ kf35=\E[212z,
+ kf36=\E[213z,
+ kf38=\E[215z,
+ kf4=\E[227z,
+ kf40=\E[217z,
+ kf42=\E[219z,
+ kf44=\E[221z,
+ kf45=\E[222z,
+ kf46=\E[234z,
+ kf47=\E[235z,
+ kf5=\E[228z,
+ kf6=\E[229z,
+ kf7=\E[230z,
+ kf8=\E[231z,
+ kf9=\E[232z,
+ kfnd=\E[200z,
+ khlp=\E[196z,
+ khome=\E[214z,
+ kich1=\E[2z,
+ knp=\E[222z,
+ kpp=\E[216z,
+ kund=\E[195z,
+ use=xterm-basic,
+#
+xterm-hp|xterm with hpterm function keys,
+ kclr=\EJ,
+ kcub1=\ED,
+ kcud1=\EB,
+ kcuf1=\EC,
+ kcuu1=\EA,
+ kdch1=\EP,
+ kend=\EF,
+ kf1=\Ep,
+ kf2=\Eq,
+ kf3=\Er,
+ kf4=\Es,
+ kf5=\Et,
+ kf6=\Eu,
+ kf7=\Ev,
+ kf8=\Ew,
+ khome=\Eh,
+ kich1=\EQ,
+ knp=\ES,
+ kpp=\ET,
+ use=xterm-basic,
+#
+# scoterm implements 48 function-keys using shift- and control-modifiers to
+# multiple 12 function-keys. X has a hard-coded limit of 35 function-keys,
+# but xterm can represent larger values.
+#
+# XTerm resources:
+# ---------------
+# Set the modifyFunctionKeys resource to negative (-1) to make it simple to
+# enter the higher function-key values using shift- and control-modifiers.
+#
+# Also, set ctrlFKeys resource to 12 (the default is 10) to make xterm see 48
+# function-keys on a keyboard with 12 function-keys and 4 control/shift
+# modifier combinations.
+#
+xterm-sco|xterm with SCO function keys,
+ kbeg=\E[E,
+ kdch1=\177,
+ kf1=\E[M,
+ kf10=\E[V,
+ kf11=\E[W,
+ kf12=\E[X,
+ kf13=\E[Y,
+ kf14=\E[Z,
+ kf15=\E[a,
+ kf16=\E[b,
+ kf17=\E[c,
+ kf18=\E[d,
+ kf19=\E[e,
+ kf2=\E[N,
+ kf20=\E[f,
+ kf21=\E[g,
+ kf22=\E[h,
+ kf23=\E[i,
+ kf24=\E[j,
+ kf25=\E[k,
+ kf26=\E[l,
+ kf27=\E[m,
+ kf28=\E[n,
+ kf29=\E[o,
+ kf3=\E[O,
+ kf30=\E[p,
+ kf31=\E[q,
+ kf32=\E[r,
+ kf33=\E[s,
+ kf34=\E[t,
+ kf35=\E[u,
+ kf36=\E[v,
+ kf37=\E[w,
+ kf38=\E[x,
+ kf39=\E[y,
+ kf4=\E[P,
+ kf40=\E[z,
+ kf41=\E[@,
+ kf42=\E[[,
+ kf43=\E[\\,
+ kf44=\E[],
+ kf45=\E[\^,
+ kf46=\E[_,
+ kf47=\E[`,
+ kf48=\E[{,
+ kf5=\E[Q,
+ kf6=\E[R,
+ kf7=\E[S,
+ kf8=\E[T,
+ kf9=\E[U,
+ kich1=\E[L,
+ kmous=\E[>M,
+ knp=\E[G,
+ kpp=\E[I,
+ use=xterm+noapp,
+ use=xterm-basic,
+#
+# Other variants (these are all very old entries, from X11R5):
+xterm-24|xterms|vs100|xterm terminal emulator (X Window System),
+ lines#24,
+ use=xterm-old,
+xterm-65|xterm with tall window 65x80 (X Window System),
+ lines#65,
+ use=xterm-old,
+xterm-bold|xterm with bold instead of underline (X Window System),
+ smso=\E[7m,
+ smul=\E[1m,
+ use=xterm-old,
+xterm-boldso|xterm with bold for standout (X Window System),
+ rmso=\E[m,
+ smso=\E[1m,
+ use=xterm-old,
+xterm-mono|monochrome xterm,
+ bce@,
+ colors@,
+ ncv@,
+ pairs@,
+ op@,
+ setab@,
+ setaf@,
+ setb@,
+ setf@,
+ sgr@,
+ use=xterm-old,
+#
+# VTxxx terminals are usually set up so that full-screen applications will use
+# the cursor application mode strings. This is good for full-screen
+# applications, including legacy applications which may have hard-coded
+# behavior, but bad for interactive shells (e.g., tcsh, bash) which use arrow
+# keys to scroll through a history of command strings.
+#
+# To see the difference between normal/application modes, consider this example:
+# + In normal (non-application) mode, the terminal transmits a down-arrow
+# as \E[C, which happens to echo as a down-arrow.
+# + In application mode the terminal transmits \EOC, which echoes as C.
+# That is because the \EO is the SS3 control, which says to use the
+# character from the G3 character set for the next cell.
+#
+# One example of hard-coded behavior would be for applications written to work
+# with VT52 and VT100 terminals. If the application's parser ignores 'O' and
+# '?' characters after the escape, then the cursor and keypad strings for the
+# two terminals are the same. (Indeed, one of the first curses applications
+# which I used did something like this to cover "ANSI" terminals -TD).
+#
+# To make this work (leaving the cursor keys in normal mode), we have to adjust
+# the terminal initialization sequences:
+#
+# smkx/rmkx set/reset the cursor and keypad application modes. We retain
+# the latter (otherwise many applications fail).
+#
+# smcup/rmcup set/restore cursor-addressing mode for full-screen
+# applications. For xterm, this normally means the alternate
+# screen, which is not compatible with interactive shells. Some
+# programs are "smart" and disable these.
+#
+xterm-noapp|xterm with cursor keys in normal mode,
+ rmcup@,
+ rmkx=\E>,
+ smcup@,
+ smkx=\E=,
+ use=xterm+noapp,
+ use=xterm,
+
+xterm+noapp|fragment with cursor keys in normal mode,
+ kcub1=\E[D,
+ kcud1=\E[B,
+ kcuf1=\E[C,
+ kcuu1=\E[A,
+ use=xterm+noapp+pc,
+
+xterm+app|fragment with cursor keys in application mode,
+ kcub1=\EOD,
+ kcud1=\EOB,
+ kcuf1=\EOC,
+ kcuu1=\EOA,
+ use=xterm+app+pc,
+
+xterm+noapp+pc|fragment for noapp pc-style home/end,
+ kend=\E[F,
+ khome=\E[H,
+
+xterm+app+pc|fragment for app pc-style home/end,
+ kend=\EOF,
+ khome=\EOH,
+
+xterm+edit|fragment for 6-key editing-keypad,
+ kdch1=\E[3~,
+ kich1=\E[2~,
+ knp=\E[6~,
+ kpp=\E[5~,
+ use=xterm+pc+edit,
+
+xterm+decedit|fragment for vt220 6-key editing-keypad,
+ kdch1=\E[3~,
+ kich1=\E[2~,
+ knp=\E[6~,
+ kpp=\E[5~,
+ use=xterm+vt+edit,
+
+xterm+pc+edit|fragment for pc-style editing keypad,
+ kend=\E[4~,
+ khome=\E[1~,
+
+xterm+vt+edit|fragment for vt220-style editing keypad,
+ kfnd=\E[1~,
+ kslt=\E[4~,
+
+#
+# This should work for the commonly used "color xterm" variations (XFree86
+# xterm, color_xterm, nxterm, rxvt). Note that it does not set 'bce', so for
+# XFree86 and and rxvt, some applications that use colors will be less
+# efficient, and in a few special cases (with "smart" optimization) the wrong
+# color will be painted in spots.
+xterm-color|generic "ANSI" color xterm (X Window System),
+ colors#8,
+ ncv@,
+ pairs#64,
+ op=\E[m,
+ setab=\E[4%p1%dm,
+ setaf=\E[3%p1%dm,
+ use=xterm-r6,
+#
+# vi may work better with this entry, because vi
+# doesn't use insert mode much
+xterm-ic|xterm-vi|xterm with insert character instead of insert mode,
+ mir@,
+ ich=\E[%p1%d@,
+ ich1=\E[@,
+ rmir@,
+ smir@,
+ use=xterm,
+#
+# This is used only for testing (it's not relevant to DEC VTxxx terminals, but
+# to ncurses).
+xterm-xmc|xterm with magic-cookie glitch,
+ xmc#1,
+ use=xterm-new,
+#
+# This one also is primarily for testing ncurses; while the ISO 6429 defines
+# the REP control, none of the DEC VTxxx terminals (VT52 through VT420) support
+# it.
+xterm-rep|xterm with repeat-character control,
+ rep=%p1%c\E[%p2%{1}%-%db,
+ use=xterm-new,
+#
+# This is mainly for testing xterm; the real VT220 will not let you switch
+# character sets without first altering the keyboard language in the setup
+# screen. Some emulators allow this anyway. (Note that these strings are
+# normally used only for printers). The parameter to csnm and scs is the same
+# in both cases: the keyboard language parameter returned by CSI ? 2 6 n.
+xterm-nrc|xterm with VT220 national replacement character sets,
+ csnm=%?%p1%{1}%=%tNorth American%e%p1%{2}%=%tBritish%e%p1%{3}%=%tFlemish%e%p1%{4}%=%tFrench Canadian%e%p1%{5}%=%tDanish%e%p1%{6}%=%tFinnish%e%p1%{7}%=%tGerman%e%p1%{8}%=%tDutch%e%p1%{9}%=%tItalian%e%p1%{10}%=%tSwiss (French)%e%p1%{11}%=%tSwiss (German)%e%p1%{12}%=%tSwedish%e%p1%{13}%=%tNorwegian%e%p1%{14}%=%tFrench/Belgian%e%p1%{15}%=%tSpanish%;,
+ scs=%?%p1%{1}%=%t\E(B%e%p1%{2}%=%t\E(A%e%p1%{3}%=%t\E(R%e%p1%{4}%=%t\E(9%e%p1%{5}%=%t\E(E%e%p1%{6}%=%t\E(5%e%p1%{7}%=%t\E(K%e%p1%{8}%=%t\E(4%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(=%e%p1%{11}%=%t\E(=%e%p1%{12}%=%t\E(7%e%p1%{13}%=%t\E(E%e%p1%{14}%=%t\E(R%e%p1%{15}%=%t\E(Z%;,
+ use=xterm-new,
+#
+# Foreground 0-15 maps (with toggles) into 30-37 & 90-97
+# Background 0-15 maps (with toggles) into 40-47 & 100-107
+#
+# Originally I suppressed setaf/setab, since ANSI specifies only 8 colors, but
+# Stephen Marley persuaded me to allow the "ANSI" color controls to extend to
+# 16 colors. (Note that ncurses 4.2 uses setf/setb from this description;
+# however 5.0 selects either according to their availability). - T.Dickey
+#
+# SVr4 curses does not use more than 8 colors anyway, so using 16 colors is
+# either for terminfo-level applications or via ncurses.
+xterm-16color|xterm with 16 colors,
+ colors#16,
+ pairs#256,
+ setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm,
+ setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm,
+ setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
+ setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m,
+ use=xterm-debian,
+#
+# This uses RGB values 0..1000
+#
+# 256 colors should give 65536 pairs, but terminfo stores numbers in a signed
+# short. Most people will not notice problems with only 32767 pairs.
+xterm-256color|xterm with 256 colors,
+ ccc,
+ colors#256,
+ pairs#32767,
+ initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\,
+ setab=\E[%?%p1%{8}%<%t4%p1%d%e%p1%{16}%<%t10%p1%{8}%-%d%e48;5;%p1%d%;m,
+ setaf=\E[%?%p1%{8}%<%t3%p1%d%e%p1%{16}%<%t9%p1%{8}%-%d%e38;5;%p1%d%;m,
+ setb@,
+ setf@,
+ use=xterm-debian,
+xterm-88color|xterm with 88 colors,
+ colors#88,
+ pairs#7744,
+ use=xterm-256color,
+#
+# This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
+# To use it, your decTerminalID resource must be set to 200 or above, and the
+# sunKeyboard resource set to true.
+#
+# HTS \E H \210
+# RI \E M \215
+# SS3 \E O \217
+# CSI \E [ \233
+#
+xterm-8bit|xterm terminal emulator with 8-bit controls (X Window System),
+ OTbs,
+ am,
+ bce,
+ km,
+ mc5i,
+ mir,
+ msgr,
+ npc,
+ xenl,
+ AX,
+ colors#8,
+ cols#80,
+ it#8,
+ lines#24,
+ pairs#64,
+ acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+ bel=^G,
+ blink=\2335m,
+ bold=\2331m,
+ cbt=\233Z,
+ civis=\233?25l,
+ clear=\233H\2332J,
+ cnorm=\233?25l\233?25h,
+ cr=^M,
+ csr=\233%i%p1%d;%p2%dr,
+ cub=\233%p1%dD,
+ cub1=^H,
+ cud=\233%p1%dB,
+ cud1=^J,
+ cuf=\233%p1%dC,
+ cuf1=\233C,
+ cup=\233%i%p1%d;%p2%dH,
+ cuu=\233%p1%dA,
+ cuu1=\233A,
+ cvvis=\233?12;25h,
+ dch=\233%p1%dP,
+ dch1=\233P,
+ dl=\233%p1%dM,
+ dl1=\233M,
+ ech=\233%p1%dX,
+ ed=\233J,
+ el=\233K,
+ el1=\2331K,
+ flash=\233?5h$<100/>\233?5l,
+ home=\233H,
+ hpa=\233%i%p1%dG,
+ ht=^I,
+ hts=\210,
+ ich=\233%p1%d@,
+ il=\233%p1%dL,
+ il1=\233L,
+ ind=^J,
+ invis=\2338m,
+ is2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
+ ka1=\217w,
+ ka3=\217u,
+ kb2=\217y,
+ kbeg=\217E,
+ kbs=^H,
+ kc1=\217q,
+ kc3=\217s,
+ kcbt=\233Z,
+ kcub1=\217D,
+ kcud1=\217B,
+ kcuf1=\217C,
+ kcuu1=\217A,
+ kdch1=\2333~,
+ kend=\2334~,
+ kent=\217M,
+ kf1=\23311~,
+ kf10=\23321~,
+ kf11=\23323~,
+ kf12=\23324~,
+ kf13=\23325~,
+ kf14=\23326~,
+ kf15=\23328~,
+ kf16=\23329~,
+ kf17=\23331~,
+ kf18=\23332~,
+ kf19=\23333~,
+ kf2=\23312~,
+ kf20=\23334~,
+ kf3=\23313~,
+ kf4=\23314~,
+ kf5=\23315~,
+ kf6=\23317~,
+ kf7=\23318~,
+ kf8=\23319~,
+ kf9=\23320~,
+ khome=\2331~,
+ kich1=\2332~,
+ kmous=\233M,
+ knp=\2336~,
+ kpp=\2335~,
+ mc0=\233i,
+ mc4=\2334i,
+ mc5=\2335i,
+ meml=\El,
+ memu=\Em,
+ op=\23339;49m,
+ rc=\E8,
+ rev=\2337m,
+ ri=\215,
+ rmacs=\E(B,
+ rmam=\233?7l,
+ rmcup=\233?1049l,
+ rmir=\2334l,
+ rmkx=\233?1l\E>,
+ rmso=\23327m,
+ rmul=\23324m,
+ rs1=\Ec,
+ rs2=\E[62"p\E G\233m\233?7h\E>\E7\233?1;3;4;6l\2334l\233r\E8,
+ sc=\E7,
+ setab=\2334%p1%dm,
+ setaf=\2333%p1%dm,
+ setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;,
+ sgr0=\2330m\E(B,
+ smacs=\E(0,
+ smam=\233?7h,
+ smcup=\233?1049h,
+ smir=\2334h,
+ smkx=\233?1h\E=,
+ smso=\2337m,
+ smul=\2334m,
+ tbc=\2333g,
+ u6=\233[%i%d;%dR,
+ u7=\E[6n,
+ u8=\233[?1;2c,
+ u9=\E[c,
+ vpa=\233%i%p1%dd,
+#
+xterm-xf86-v44|xterm terminal emulator (XFree86 4.4 Window System),
+ OTbs,
+ am,
+ bce,
+ km,
+ mc5i,
+ mir,
+ msgr,
+ npc,
+ xenl,
+ AX,
+ colors#8,
+ cols#80,
+ it#8,
+ lines#24,
+ pairs#64,
+ acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+ bel=^G,
+ blink=\E[5m,
+ bold=\E[1m,
+ cbt=\E[Z,
+ civis=\E[?25l,
+ clear=\E[H\E[2J,
+ cnorm=\E[?12l\E[?25h,
+ cr=^M,
+ csr=\E[%i%p1%d;%p2%dr,
+ cub=\E[%p1%dD,
+ cub1=^H,
+ cud=\E[%p1%dB,
+ cud1=^J,
+ cuf=\E[%p1%dC,
+ cuf1=\E[C,
+ cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA,
+ cuu1=\E[A,
+ cvvis=\E[?12;25h,
+ dch=\E[%p1%dP,
+ dch1=\E[P,
+ dl=\E[%p1%dM,
+ dl1=\E[M,
+ ech=\E[%p1%dX,
+ ed=\E[J,
+ el=\E[K,
+ el1=\E[1K,
+ enacs=\E(B\E)0,
+ flash=\E[?5h$<100/>\E[?5l,
+ home=\E[H,
+ hpa=\E[%i%p1%dG,
+ ht=^I,
+ hts=\EH,
+ ich=\E[%p1%d@,
+ il=\E[%p1%dL,
+ il1=\E[L,
+ ind=^J,
+ indn=\E[%p1%dS,
+ invis=\E[8m,
+ is2=\E[!p\E[?3;4l\E[4l\E>,
+ kDC=\E[3;2~,
+ kEND=\E[1;2F,
+ kHOM=\E[1;2H,
+ kIC=\E[2;2~,
+ kLFT=\E[1;2D,
+ kNXT=\E[6;2~,
+ kPRV=\E[5;2~,
+ kRIT=\E[1;2C,
+ kb2=\EOE,
+ kbs=^H,
+ kcbt=\E[Z,
+ kcub1=\EOD,
+ kcud1=\EOB,
+ kcuf1=\EOC,
+ kcuu1=\EOA,
+ kdch1=\E[3~,
+ kend=\EOF,
+ kent=\EOM,
+ kf1=\EOP,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\EO2P,
+ kf14=\EO2Q,
+ kf15=\EO2R,
+ kf16=\EO2S,
+ kf17=\E[15;2~,
+ kf18=\E[17;2~,
+ kf19=\E[18;2~,
+ kf2=\EOQ,
+ kf20=\E[19;2~,
+ kf21=\E[20;2~,
+ kf22=\E[21;2~,
+ kf23=\E[23;2~,
+ kf24=\E[24;2~,
+ kf25=\EO5P,
+ kf26=\EO5Q,
+ kf27=\EO5R,
+ kf28=\EO5S,
+ kf29=\E[15;5~,
+ kf3=\EOR,
+ kf30=\E[17;5~,
+ kf31=\E[18;5~,
+ kf32=\E[19;5~,
+ kf33=\E[20;5~,
+ kf34=\E[21;5~,
+ kf35=\E[23;5~,
+ kf36=\E[24;5~,
+ kf37=\EO6P,
+ kf38=\EO6Q,
+ kf39=\EO6R,
+ kf4=\EOS,
+ kf40=\EO6S,
+ kf41=\E[15;6~,
+ kf42=\E[17;6~,
+ kf43=\E[18;6~,
+ kf44=\E[19;6~,
+ kf45=\E[20;6~,
+ kf46=\E[21;6~,
+ kf47=\E[23;6~,
+ kf48=\E[24;6~,
+ kf5=\E[15~,
+ kf6=\E[17~,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+ khome=\EOH,
+ kich1=\E[2~,
+ kmous=\E[M,
+ knp=\E[6~,
+ kpp=\E[5~,
+ mc0=\E[i,
+ mc4=\E[4i,
+ mc5=\E[5i,
+ meml=\El,
+ memu=\Em,
+ op=\E[39;49m,
+ rc=\E8,
+ rev=\E[7m,
+ ri=\EM,
+ rin=\E[%p1%dT,
+ rmacs=^O,
+ rmam=\E[?7l,
+ rmcup=\E[?1049l,
+ rmir=\E[4l,
+ rmkx=\E[?1l\E>,
+ rmso=\E[27m,
+ rmul=\E[24m,
+ rs1=\Ec,
+ rs2=\E[!p\E[?3;4l\E[4l\E>,
+ sc=\E7,
+ setab=\E[4%p1%dm,
+ setaf=\E[3%p1%dm,
+ setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
+ sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;,
+ sgr0=\E[m\017,
+ smacs=^N,
+ smam=\E[?7h,
+ smcup=\E[?1049h,
+ smir=\E[4h,
+ smkx=\E[?1h\E=,
+ smso=\E[7m,
+ smul=\E[4m,
+ tbc=\E[3g,
+ u6=\E[%i%d;%dR,
+ u7=\E[6n,
+ u8=\E[?1;2c,
+ u9=\E[c,
+ vpa=\E[%i%p1%dd,
+ ka2=\EOx,
+ kb1=\EOt,
+ kb3=\EOv,
+ kc2=\EOr,
+xterm-xfree86|xterm terminal emulator (XFree86 4.4 Window System),
+ use=xterm-xf86-v44,
+#
+# Compatible with the R6 xterm, with the following changes:
+# + added acsc (perhaps some versions of tic assume the standard vt100
+# alternate character set)
+# + added u6, u7, u8, u9 strings for Daniel Weaver's tack program.
+# + added kmous string for ncurses.
+# + added khome/kend strings (which conflict with kfnd/kslt, see note).
+xterm-r6|xterm-old|xterm X11R6 version,
+ OTbs,
+ am,
+ km,
+ mir,
+ msgr,
+ xenl,
+ cols#80,
+ it#8,
+ lines#24,
+ acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~,
+ bel=^G,
+ bold=\E[1m,
+ clear=\E[H\E[2J,
+ cr=^M,
+ csr=\E[%i%p1%d;%p2%dr,
+ cub=\E[%p1%dD,
+ cub1=^H,
+ cud=\E[%p1%dB,
+ cud1=^J,
+ cuf=\E[%p1%dC,
+ cuf1=\E[C,
+ cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA,
+ cuu1=\E[A,
+ dch=\E[%p1%dP,
+ dch1=\E[P,
+ dl=\E[%p1%dM,
+ dl1=\E[M,
+ ed=\E[J,
+ el=\E[K,
+ enacs=\E)0,
+ home=\E[H,
+ ht=^I,
+ hts=\EH,
+ il=\E[%p1%dL,
+ il1=\E[L,
+ ind=^J,
+ is2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8,
+ kbs=^H,
+ kcub1=\EOD,
+ kcud1=\EOB,
+ kcuf1=\EOC,
+ kcuu1=\EOA,
+ kdch1=\E[3~,
+ kf1=\E[11~,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf13=\E[25~,
+ kf14=\E[26~,
+ kf15=\E[28~,
+ kf16=\E[29~,
+ kf17=\E[31~,
+ kf18=\E[32~,
+ kf19=\E[33~,
+ kf2=\E[12~,
+ kf20=\E[34~,
+ kf3=\E[13~,
+ kf4=\E[14~,
+ kf5=\E[15~,
+ kf6=\E[17~,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+ kmous=\E[M,
+ meml=\El,
+ memu=\Em,
+ rc=\E8,
+ rev=\E[7m,
+ ri=\EM,
+ rmacs=^O,
+ rmcup=\E[2J\E[?47l\E8,
+ rmir=\E[4l,
+ rmkx=\E[?1l\E>,
+ rmso=\E[m,
+ rmul=\E[m,
+ rs2=\E[m\E[?7h\E[4l\E>\E7\E[r\E[?1;3;4;6l\E8,
+ sc=\E7,
+ sgr0=\E[m,
+ smacs=^N,
+ smcup=\E7\E[?47h,
+ smir=\E[4h,
+ smkx=\E[?1h\E=,
+ smso=\E[7m,
+ smul=\E[4m,
+ tbc=\E[3g,
+ u6=\E[%i%d;%dR,
+ u7=\E[6n,
+ u8=\E[?1;2c,
+ u9=\E[c,
+ use=xterm+decedit,
+#
+# Compatible with the R5 xterm, with the following changes:
+# + changed 'blink=@', to 'blink@' (the former meant that "@" would start
+# a blink, the latter that it is not supported).
+# + changed kf1 through kf4 to correspond with actual usage. Though X
+# supports keypad symbols for PF1 to PF4, and xterm interprets these
+# correctly, the F1 to F4 codes are commonly (but incorrectly) used.
+# + moved reset string from rs1 to rs2, to correlate better with termcap.
+# + make khome consistent with other entries.
+# + use rmul/smul, rmir/smir from termcap, but not rmcup/smcup because
+# not everyone wants the alternate screen.
+# + added u6, u7, u8, u9 strings for Daniel Weaver's tack program.
+# + added kmous string for ncurses.
+xterm-r5|xterm R5 version,
+ OTbs,
+ am,
+ km,
+ msgr,
+ xenl,
+ cols#80,
+ it#8,
+ lines#24,
+ bel=^G,
+ bold=\E[1m,
+ clear=\E[H\E[2J,
+ cr=^M,
+ csr=\E[%i%p1%d;%p2%dr,
+ cub=\E[%p1%dD,
+ cub1=^H,
+ cud=\E[%p1%dB,
+ cud1=^J,
+ cuf=\E[%p1%dC,
+ cuf1=\E[C,
+ cup=\E[%i%p1%d;%p2%dH,
+ cuu=\E[%p1%dA,
+ cuu1=\E[A,
+ dch=\E[%p1%dP,
+ dch1=\E[P,
+ dl=\E[%p1%dM,
+ dl1=\E[M,
+ ed=\E[J,
+ el=\E[K,
+ home=\E[H,
+ ht=^I,
+ hts=\EH,
+ ich=\E[%p1%d@,
+ ich1=\E[@,
+ il=\E[%p1%dL,
+ il1=\E[L,
+ ind=^J,
+ kbs=^H,
+ kcub1=\EOD,
+ kcud1=\EOB,
+ kcuf1=\EOC,
+ kcuu1=\EOA,
+ kdch1=\E[3~,
+ kdl1=\E[31~,
+ kel=\E[8~,
+ kend=\E[4~,
+ kf0=\EOq,
+ kf1=\E[11~,
+ kf10=\E[21~,
+ kf11=\E[23~,
+ kf12=\E[24~,
+ kf2=\E[12~,
+ kf3=\E[13~,
+ kf4=\E[14~,
+ kf5=\E[15~,
+ kf6=\E[17~,
+ kf7=\E[18~,
+ kf8=\E[19~,
+ kf9=\E[20~,
+ khome=\E[1~,
+ kich1=\E[2~,
+ kil1=\E[30~,
+ kmous=\E[M,
+ knp=\E[6~,
+ kpp=\E[5~,
+ rc=\E8,
+ rev=\E[7m,
+ ri=\EM,
+ rmir=\E[4l,
+ rmkx=\E[?1l\E>,
+ rmso=\E[m,
+ rmul=\E[m,
+ rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H,
+ sc=\E7,
+ sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m,
+ sgr0=\E[m,
+ smir=\E[4h,
+ smkx=\E[?1h\E=,
+ smso=\E[7m,
+ smul=\E[4m,
+ tbc=\E[3g,
+ u6=\E[%i%d;%dR,
+ u7=\E[6n,
+ u8=\E[?1;2c,
+ u9=\E[c,
+#
+#
+# Customization begins here.
+#
+# This is the only entry which you should have to customize, since "xterm"
+# is widely used for a variety of incompatible terminal emulations including
+# color_xterm and rxvt.
+xterm|X11 terminal emulator,
+ use=xterm-debian,
+# use=xterm-new,
+# use=xterm-r6,
--- ncurses-5.7+20100313.orig/debian/TODO
+++ ncurses-5.7+20100313/debian/TODO
@@ -0,0 +1,13 @@
+There are two binary-incompatible options which we need to wait for a SONAME
+change to enable:
+
+ --enable-ext-colors (will switch to soversion 6)
+ --enable-ext-mouse
+
+The configure test for the size of chtype_t was broken up until 5.4-7.
+It would be nice to remove --disable-lp64, --with-chtype, and
+--with-mmask-t, but that is an incompatible change.
+
+The wide-character version of ncurses is basically mature at this point.
+At the next binary incompatible change, there may be no more reason to ship
+separate packages for it.
--- ncurses-5.7+20100313.orig/debian/copyright
+++ ncurses-5.7+20100313/debian/copyright
@@ -0,0 +1,54 @@
+This is the Debian prepackaged version of the ncurses
+library and terminfo utilities. ncurses/terminfo was originally written
+by Pavel Curtis and Zeyd M. Ben-Halim <zmbenhal@netcom.com>, and is
+currently held by the Free Software Foundation.
+
+This package was put together by Vaidhyanathan G Mayilrangam
+<vaidhy@debian.org> and Joel Klecker <espy@debian.org>, using sources
+obtained from ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.0.tar.gz.
+
+It is based somewhat on work done by Bruce Perens <Bruce@Pixar.com>,
+David Engel <david@elo.ods.com>. Michael Alan Dorman
+<mdorman@debian.org>, Richard Braakman <dark@xs4all.nl>, James Troup
+<jjtroup@comp.brad.ac.uk>, J.H.M. Dassen (Ray)
+<jdassen@wi.LeidenUniv.nl>, and Galen Hazelwood <galenh@micron.net>
+over various years.
+
+
+Changes:
+ * added Debian package maintenance system files
+ * changed Makefile.in's to compile with -D_REENTRANT
+ * changed configure.in to support proper compilation of debugging libraries
+ * Fixed tget{flag,num,str} in lib_termcap ("long" strings work now)
+
+Changes to terminfo.src:
+ * Removed ich(1) from linux, screen, vt320
+
+/****************************************************************************
+ * Copyright (c) 1998 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"), to deal in the Software without restriction, including *
+ * without limitation the rights to use, copy, modify, merge, publish, *
+ * distribute, distribute with modifications, sublicense, and/or sell *
+ * copies of the Software, and to permit persons to whom the Software is *
+ * furnished to do so, subject to the following conditions: *
+ * *
+ * The above copyright notice and this permission notice shall be included *
+ * in all copies or substantial portions of the Software. *
+ * *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
+ * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
+ * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
+ * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
+ * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
+ * *
+ * Except as contained in this notice, the name(s) of the above copyright *
+ * holders shall not be used in advertising or otherwise to promote the *
+ * sale, use or other dealings in this Software without prior written *
+ * authorization. *
+ ****************************************************************************/
+
--- ncurses-5.7+20100313.orig/debian/patches/01-use-d-reentrant.diff
+++ ncurses-5.7+20100313/debian/patches/01-use-d-reentrant.diff
@@ -0,0 +1,51 @@
+---
+ form/Makefile.in | 2 +-
+ menu/Makefile.in | 2 +-
+ ncurses/Makefile.in | 2 +-
+ panel/Makefile.in | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+--- a/form/Makefile.in
++++ b/form/Makefile.in
+@@ -82,7 +82,7 @@
+
+ CPPFLAGS = -I@top_srcdir@/ncurses -DHAVE_CONFIG_H @CPPFLAGS@
+
+-CCFLAGS = $(CPPFLAGS) $(CFLAGS)
++CCFLAGS = $(CPPFLAGS) $(CFLAGS) -D_REENTRANT
+
+ CFLAGS_LIBTOOL = $(CCFLAGS)
+ CFLAGS_NORMAL = $(CCFLAGS)
+--- a/menu/Makefile.in
++++ b/menu/Makefile.in
+@@ -82,7 +82,7 @@
+
+ CPPFLAGS = -I@top_srcdir@/ncurses -DHAVE_CONFIG_H @CPPFLAGS@
+
+-CCFLAGS = $(CPPFLAGS) $(CFLAGS)
++CCFLAGS = $(CPPFLAGS) $(CFLAGS) -D_REENTRANT
+
+ CFLAGS_LIBTOOL = $(CCFLAGS)
+ CFLAGS_NORMAL = $(CCFLAGS)
+--- a/ncurses/Makefile.in
++++ b/ncurses/Makefile.in
+@@ -91,7 +91,7 @@
+ INCDIR = $(srcdir)/../include
+ CPPFLAGS = -DHAVE_CONFIG_H -I../ncurses -I$(srcdir) @CPPFLAGS@
+
+-CCFLAGS = $(CPPFLAGS) $(CFLAGS)
++CCFLAGS = $(CPPFLAGS) $(CFLAGS) -D_REENTRANT
+
+ BUILD_CPPFLAGS = -I../include @BUILD_CPPFLAGS@
+ BUILD_CC = @BUILD_CC@
+--- a/panel/Makefile.in
++++ b/panel/Makefile.in
+@@ -83,7 +83,7 @@
+
+ CPPFLAGS = -I@top_srcdir@/ncurses -DHAVE_CONFIG_H @CPPFLAGS@
+
+-CCFLAGS = $(CPPFLAGS) $(CFLAGS)
++CCFLAGS = $(CPPFLAGS) $(CFLAGS) -D_REENTRANT
+
+ CFLAGS_LIBTOOL = $(CCFLAGS)
+ CFLAGS_NORMAL = $(CCFLAGS)
--- ncurses-5.7+20100313.orig/debian/patches/series
+++ ncurses-5.7+20100313/debian/patches/series
@@ -0,0 +1,8 @@
+01-debian-kfreebsd-terminfo.patch
+01-use-d-reentrant.diff
+02-debian-backspace.diff
+03-linux-use-fsuid.diff
+05-emdebian-wchar.diff
+06-kfreebsd.diff
+08-pkg-config-libdir.diff
+09-fix-delscreen-segfault.diff
--- ncurses-5.7+20100313.orig/debian/patches/03-linux-use-fsuid.diff
+++ ncurses-5.7+20100313/debian/patches/03-linux-use-fsuid.diff
@@ -0,0 +1,69 @@
+---
+ ncurses/tinfo/read_termcap.c | 40 ++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 40 insertions(+)
+
+--- a/ncurses/tinfo/read_termcap.c
++++ b/ncurses/tinfo/read_termcap.c
+@@ -319,6 +319,7 @@
+ */
+ if (fd >= 0) {
+ (void) lseek(fd, (off_t) 0, SEEK_SET);
++#ifndef __linux__
+ } else if ((_nc_access(db_array[current], R_OK) < 0)
+ || (fd = open(db_array[current], O_RDONLY, 0)) < 0) {
+ /* No error on unfound file. */
+@@ -329,6 +330,33 @@
+ } else {
+ myfd = TRUE;
+ }
++#else
++ } else {
++ bool fd1, fd2;
++
++ setfsuid(getuid());
++ setfsgid(getgid());
++
++ fd1 = _nc_access(db_array[current], R_OK) < 0;
++ if (!fd1) {
++ fd = open(db_array[current], O_RDONLY, 0));
++ fd1 = fd < 0;
++ }
++
++ setfsuid(geteuid());
++ setfsgid(getegid());
++
++ if (! fd1) {
++ /* No error on unfound file. */
++ if (errno == ENOENT)
++ continue;
++ free(record);
++ return (TC_SYS_ERR);
++ } else {
++ myfd = TRUE;
++ }
++ }
++#endif
+ lineno = 0;
+
+ /*
+@@ -1097,8 +1125,20 @@
+ for (i = 0; i < filecount; i++) {
+
+ T(("Looking for %s in %s", tn, termpaths[i]));
++#ifndef __linux__
+ if (_nc_access(termpaths[i], R_OK) == 0
+ && (fp = fopen(termpaths[i], "r")) != (FILE *) 0) {
++#else
++ fp = (FILE *) 0;
++ if (_nc_access(termpaths[i], R_OK) == 0) {
++ setfsuid(getuid());
++ setfsgid(getgid());
++ fp = fopen(termpaths[i], "r");
++ setfsuid(geteuid());
++ setfsgid(getegid());
++ }
++ if (fp != (FILE *) 0) {
++#endif
+ _nc_set_source(termpaths[i]);
+
+ /*
--- ncurses-5.7+20100313.orig/debian/patches/06-kfreebsd.diff
+++ ncurses-5.7+20100313/debian/patches/06-kfreebsd.diff
@@ -0,0 +1,19 @@
+06-kfreebsd.diff by Petr Salinger <Petr.Salinger@seznam.cz>
+
+Fixing FTBFS on GNU/kFreeBSD (Closes: #504820).
+
+---
+ progs/tset.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/progs/tset.c
++++ b/progs/tset.c
+@@ -981,7 +981,7 @@
+ PC = pad_char[0];
+ #endif /* OBSOLETE */
+
+-#ifdef TAB3
++#if defined(TAB3) && defined(ONLCR) && defined(OCRNL) && defined(ONLRET)
+ if (oldmode.c_oflag & (TAB3 | ONLCR | OCRNL | ONLRET)) {
+ oldmode.c_oflag &= (TAB3 | ONLCR | OCRNL | ONLRET);
+ SET_TTY(STDERR_FILENO, &oldmode);
--- ncurses-5.7+20100313.orig/debian/patches/09-fix-delscreen-segfault.diff
+++ ncurses-5.7+20100313/debian/patches/09-fix-delscreen-segfault.diff
@@ -0,0 +1,20 @@
+Description: Fix segfault or infinite loop in delscreen()
+ Patch taken from upstream patchlevel 20100501.
+Bug-Debian: http://bugs.debian.org/597175
+Author: Thomas Dickey <dickey@his.com>
+Last-Update: 2010-09-17
+---
+ ncurses/base/lib_set_term.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/ncurses/base/lib_set_term.c
++++ b/ncurses/base/lib_set_term.c
+@@ -117,7 +117,7 @@
+ for (each_screen(temp)) {
+ if (temp == sp) {
+ if (last)
+- last = sp->_next_screen;
++ last->_next_screen = sp->_next_screen;
+ else
+ _nc_screen_chain = sp->_next_screen;
+ result = TRUE;
--- ncurses-5.7+20100313.orig/debian/patches/05-emdebian-wchar.diff
+++ ncurses-5.7+20100313/debian/patches/05-emdebian-wchar.diff
@@ -0,0 +1,31 @@
+05-emdebian-wchar.diff by Neil Williams <codehelp@debian.org>
+
+Ensure <wchar.h> is available for make_keys via gcc when cross-building
+the rest of the package (otherwise it picks up the config.h for the
+cross-build).
+
+---
+ ncurses/tinfo/comp_hash.c | 1 +
+ ncurses/tinfo/make_keys.c | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/ncurses/tinfo/comp_hash.c
++++ b/ncurses/tinfo/comp_hash.c
+@@ -39,6 +39,7 @@
+ */
+
+ #define USE_TERMLIB 1
++#include <wchar.h>
+ #include <curses.priv.h>
+
+ #include <tic.h>
+--- a/ncurses/tinfo/make_keys.c
++++ b/ncurses/tinfo/make_keys.c
+@@ -37,6 +37,7 @@
+ */
+
+ #define USE_TERMLIB 1
++#include <wchar.h>
+ #include <curses.priv.h>
+
+ MODULE_ID("$Id: make_keys.c,v 1.15 2008/11/16 00:19:59 juergen Exp $")
--- ncurses-5.7+20100313.orig/debian/patches/02-debian-backspace.diff
+++ ncurses-5.7+20100313/debian/patches/02-debian-backspace.diff
@@ -0,0 +1,23 @@
+---
+ misc/terminfo.src | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- a/misc/terminfo.src
++++ b/misc/terminfo.src
+@@ -3647,6 +3647,7 @@
+ use=xterm+pcfkeys,
+
+ gnome|GNOME Terminal,
++ bs=\177,
+ use=gnome-2008,
+
+ # palette is hardcoded...
+@@ -4031,7 +4032,7 @@
+ ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J,
+ is1=\E[?47l\E>\E[?1l,
+ is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, kNXT@,
+- kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=^H,
++ kPRV@, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, kbeg=\EOu, kbs=\177,
+ kc1=\E[8~, kc3=\E[6~, kent=\EOM, khlp=\E[28~, kmous=\E[M,
+ mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O,
+ rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=,
--- ncurses-5.7+20100313.orig/debian/patches/08-pkg-config-libdir.diff
+++ ncurses-5.7+20100313/debian/patches/08-pkg-config-libdir.diff
@@ -0,0 +1,17 @@
+Description: Cope with multiple colon-separated entries
+ in $(PKG_CONFIG_LIBDIR), as set by default by dpkg-buildpackage
+ when cross-compiling.
+Bug-Debian: http://bugs.debian.org/550716
+Author: Colin Watson <cjwatson@ubuntu.com>
+Last-Update: 2010-01-11
+--- a/misc/Makefile.in
++++ b/misc/Makefile.in
+@@ -125,7 +125,7 @@
+ $(DESTDIR)$(libdir) \
+ $(DESTDIR)$(datadir) \
+ $(DESTDIR)$(tabsetdir) \
+-$(DESTDIR)$(PKG_CONFIG_LIBDIR) :
++$(foreach d,$(subst :, ,$(PKG_CONFIG_LIBDIR)),$(DESTDIR)$(d)) :
+ $(SHELL) $(top_srcdir)/mkdirs.sh $@
+
+ uninstall : uninstall.data uninstall.libs
--- ncurses-5.7+20100313.orig/debian/patches/01-debian-kfreebsd-terminfo.patch
+++ ncurses-5.7+20100313/debian/patches/01-debian-kfreebsd-terminfo.patch
@@ -0,0 +1,26 @@
+Author: brian m. carlson <sandals@crustytoothpaste.net>
+Description: Add Debian-specific cons25-debian terminfo entry
+ The Debian GNU/kfreeBSD console differs from the stock FreeBSD one in
+ respect to the backspace/delete keys, which have been modified to
+ behave as in Linux to match the Debian Policy. This requires a new
+ terminfo entry because the backspace key shows erratic behavior with
+ the standard cons25 entry.
+Bug-Debian: http://bugs.debian.org/607662
+Last-Update: 2010-12-29
+
+---
+ misc/terminfo.src | 3 +++
+ 1 file changed, 3 insertions(+)
+
+--- a/misc/terminfo.src
++++ b/misc/terminfo.src
+@@ -1774,6 +1774,9 @@
+ cons25|ansis|ansi80x25|freebsd console (25-line ansi mode),
+ acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371,
+ use=cons25w,
++cons25-debian|freebsd console with debian backspace (25-line ansi mode),
++ kbs=\177, kdch1=\E[3~,
++ use=cons25,
+ cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode),
+ colors@, pairs@,
+ bold@, dim@, op@, rmul=\E[m, setab@, setaf@,
--- ncurses-5.7+20100313.orig/debian/source/format
+++ ncurses-5.7+20100313/debian/source/format
@@ -0,0 +1 @@
+1.0