debian/0000755000000000000000000000000012315342131007161 5ustar debian/libreadline6.shlibs0000644000000000000000000000006511246202071012730 0ustar libhistory 6 libreadline6 libreadline 6 libreadline6 debian/compat0000644000000000000000000000000211246202071010357 0ustar 5 debian/readline-common.postinst0000644000000000000000000000033011246202071014033 0ustar #! /bin/sh -e install_from_default() { if [ ! -f $2 ]; then cp -p $1 $2 fi } if [ "$1" = "configure" ] && [ "$2" = "" ]; then install_from_default /usr/share/readline/inputrc /etc/inputrc fi #DEBHELPER# debian/rules0000755000000000000000000003757712312457404010273 0ustar #!/usr/bin/make -f # -*- makefile -*- soversion = 6 libversion = $(soversion).3 # architecture dependent variables DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) CROSS=$(DEB_HOST_GNU_TYPE)-gcc else CROSS=gcc endif ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/i386/powerpc/sparc/s390/)) build64 = yes CC64 = $(CROSS) -m64 gencontrol_flags = -- \ '-Vdevxx:Depends=libc6-dev-$(ARCH64)' ifeq ($(DEB_HOST_ARCH),i386) ARCH64 = amd64 HOST64 = x86_64-linux-gnu endif ifeq ($(DEB_HOST_ARCH),powerpc) ARCH64 = ppc64 HOST64 = ppc64-linux-gnu endif ifeq ($(DEB_HOST_ARCH),sparc) ARCH64 = sparc64 HOST64 = sparc64-linux-gnu endif ifeq ($(DEB_HOST_ARCH),s390) ARCH64 = s390x HOST64 = s390x-linux-gnu endif endif ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/amd64/ppc64/)) build32 = yes CC32 = $(CROSS) -m32 lib32dir = lib32 lib32devdir = usr/lib32 gencontrol_flags = -- \ '-Vdevxx:Depends=libc6-dev-$(ARCH32)' ifeq ($(DEB_HOST_ARCH),amd64) ARCH32 = i386 HOST32 = i486-linux-gnu endif ifeq ($(DEB_HOST_ARCH),ppc64) ARCH32 = powerpc HOST32 = powerpc-linux-gnu endif endif ifneq (,$(findstring /$(DEB_HOST_ARCH)/,/amd64/i386/)) buildx32 = yes CCX32 = $(CROSS) -mx32 libx32dir = usr/libx32 libx32devdir = usr/libx32 ARCHX32 = x32 HOSTX32 = x86_64-linux-gnux32 endif CFLAGS := $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS) CFLAGS := $(CFLAGS) -I/usr/include/ncursesw CC = $(CROSS) SHELL = bash p_rl = libreadline$(soversion) p_rl32 = lib32readline$(soversion) p_rl64 = lib64readline$(soversion) p_comm = readline-common p_rldnv = libreadline-dev p_rld = $(p_rl)-dev p_rld32 = $(p_rl32)-dev p_rld64 = $(p_rl64)-dev p_rlg = $(p_rl)-dbg p_doc = $(p_rl)-doc p_rlfe = rlfe p_rlx32 = libx32readline$(soversion) p_rldx32= $(p_rlx32)-dev d = debian/tmp d32 = debian/tmp32 d64 = debian/tmp64 dx32 = debian/tmp32 d_rl = debian/$(p_rl) d_rl32 = debian/$(p_rl32) d_rl64 = debian/$(p_rl64) d_comm = debian/$(p_comm) d_rldnv = debian/$(p_rldnv) d_rld = debian/$(p_rld) d_rld32 = debian/$(p_rld32) d_rld64 = debian/$(p_rld64) d_rlg = debian/$(p_rlg) d_doc = debian/$(p_doc) d_rlfe = debian/$(p_rlfe) d_rlx32 = debian/$(p_rlx32) d_rldx32= debian/$(p_rldx32) srcdir = $(CURDIR) builddir = $(CURDIR)/build builddir32 = $(CURDIR)/build32 builddir64 = $(CURDIR)/build64 builddirx32 = $(CURDIR)/buildx32 default: build configure: configure-stamp configure-stamp: dh_testdir cp -p /usr/share/misc/config.* ./support/ rm -rf $(builddir) mkdir $(builddir) find . -type d | xargs chmod g-s cd $(builddir) && \ CC=$(CC) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(srcdir)/configure \ --prefix=/usr\ --host=$(DEB_HOST_GNU_TYPE) \ --libdir=/usr/lib/$(DEB_HOST_MULTIARCH) ifneq ($(build32),) rm -rf $(builddir32) mkdir $(builddir32) cd $(builddir32) && \ CC="$(CC32)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(srcdir)/configure \ --host=$(HOST32) --prefix=/usr endif ifneq ($(build64),) rm -rf $(builddir64) mkdir $(builddir64) cd $(builddir64) && \ CC="$(CC64)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(srcdir)/configure \ --host=$(HOST64) --prefix=/usr endif ifneq ($(buildx32),) rm -rf $(builddirx32) mkdir $(builddirx32) cd $(builddirx32) && \ CC="$(CCX32)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(srcdir)/configure \ --host=$(HOSTX32) --prefix=/usr endif touch configure-stamp ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) build: build-stamp build-rlfe-stamp else build: build-stamp endif build-arch: build build-indep: build build-stamp: configure-stamp dh_testdir $(MAKE) -C $(builddir) \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ SHOBJ_CFLAGS="-fPIC -D_REENTRANT" \ SHOBJ_LDFLAGS='$(LDFLAGS) -shared' \ SHLIB_LIBS="-ltinfo" ifneq ($(build32),) $(MAKE) -C $(builddir32) \ CC="$(CC32)" \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ SHOBJ_CFLAGS="-fPIC -D_REENTRANT" \ SHOBJ_LDFLAGS='$(LDFLAGS) -shared' \ SHLIB_LIBS="-ltinfo" SHLIB_XLDFLAGS='-Wl,-soname,`echo $$@ | sed s/\\..$$$$//`' endif ifneq ($(build64),) $(MAKE) -C $(builddir64) \ CC="$(CC64)" \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ SHOBJ_CFLAGS="-fPIC -D_REENTRANT" \ SHOBJ_LDFLAGS='$(LDFLAGS) -shared' \ SHLIB_LIBS="-ltinfo" SHLIB_XLDFLAGS='-Wl,-soname,`echo $$@ | sed s/\\..$$$$//`' endif ifneq ($(buildx32),) $(MAKE) -C $(builddirx32) \ CC="$(CCX32)" \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" \ SHOBJ_CFLAGS="-fPIC -D_REENTRANT" \ SHOBJ_LDFLAGS='$(LDFLAGS) -shared' \ SHLIB_LIBS="-ltinfo" SHLIB_XLDFLAGS='-Wl,-soname,`echo $$@ | sed s/\\..$$$$//`' endif $(MAKE) -C $(builddir)/doc info touch build-stamp build-rlfe-stamp: configure-stamp dh_testdir ln -sf libhistory.so.$(libversion) \ $(builddir)/shlib/libhistory.so.$(soversion) ln -sf libhistory.so.$(soversion) $(builddir)/shlib/libhistory.so ln -sf libreadline.so.$(libversion) \ $(builddir)/shlib/libreadline.so.$(soversion) ln -sf libreadline.so.$(soversion) $(builddir)/shlib/libreadline.so rm -rf $(builddir)/examples/rlfe cp -a examples/rlfe $(builddir)/examples/ ln -sf ../../.. $(builddir)/examples/rlfe/readline cd $(builddir)/examples/rlfe \ && ./configure --prefix=/usr --host=$(DEB_HOST_GNU_TYPE) $(MAKE) -C $(builddir)/examples/rlfe \ CFLAGS="$(CFLAGS) -D_GNU_SOURCE" CPPFLAGS="$(CPPFLAGS)" \ LDFLAGS="$(LDFLAGS) -g -L$(builddir)/shlib" \ LIBS="-lreadline -ltinfo -lutil" rlfe touch build-rlfe-stamp clean: dh_testdir dh_testroot rm -f configure*-stamp build*-stamp install-stamp rm -rf autom4te.cache rm -rf $(builddir) $(builddir32) $(builddir64) rm -rf debian/tmp* rm -f doc/*.dvi rm -f debian/shlibs.local find . -type d | xargs chmod g-s rm -f support/config.guess support/config.sub dh_clean install: install-stamp install-stamp: dh_testdir dh_testroot dh_clean -k rm -rf $(d) mkdir -p $(d)/usr/bin $(MAKE) -C $(builddir) install \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -D_REENTRANT" \ SHOBJ_LDFLAGS='-shared $(LDFLAGS)' \ SHLIB_XLDFLAGS='-Wl,-soname,`echo $$@ | sed s/\\..$$$$//`' \ SHLIB_LIBS=-ltinfo \ DESTDIR=$(CURDIR)/$(d) \ mandir=/usr/share/man \ infodir=/usr/share/info : # move $(p_rl) dh_installdirs -p$(p_rl) \ etc \ lib/$(DEB_HOST_MULTIARCH) \ usr/share/doc cp -a $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.so.* $(d_rl)/lib/$(DEB_HOST_MULTIARCH)/ # cp -a $(d)/usr/lib/lib{history,readline}.so.$(libversion) $(d_rl)/lib/ # ln -s libhistory.so.$(libversion) \ # $(d_rl)/lib/libhistory.so.$(soversion) # ln -s libreadline.so.$(libversion) \ # $(d_rl)/lib/libreadline.so.$(soversion) : # move $(p_comm) dh_installdirs -p$(p_comm) \ etc \ usr/share/readline \ usr/share/info \ usr/share/doc mv $(d)/usr/share/man $(d_comm)/usr/share/. mv $(d_comm)/usr/share/man/man3/history.3 \ $(d_comm)/usr/share/man/man3/history.3readline mv $(d_comm)/usr/share/man/man3/readline.3 \ $(d_comm)/usr/share/man/man3/readline.3readline mv $(d)/usr/share/info/rluserman.info $(d_comm)/usr/share/info/. install -m 644 debian/inputrc $(d_comm)/usr/share/readline/ : # move $(p_rlg) dh_installdirs -p$(p_rlg) \ usr/lib/debug \ usr/share/doc mv $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.so.$(libversion) \ $(d_rlg)/usr/lib/debug/. ln -s libhistory.so.$(libversion) \ $(d_rlg)/usr/lib/debug/libhistory.so.$(soversion) ln -s libreadline.so.$(libversion) \ $(d_rlg)/usr/lib/debug/libreadline.so.$(soversion) : # move $(p_rld) dh_installdirs -p$(p_rld) \ usr/lib/$(DEB_HOST_MULTIARCH)/ \ usr/share/doc \ usr/share/info ln -s /lib/$(DEB_HOST_MULTIARCH)/libhistory.so.$(soversion) \ $(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/libhistory.so ln -s /lib/$(DEB_HOST_MULTIARCH)/libreadline.so.$(soversion) \ $(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/libreadline.so mv $(d)/usr/lib/$(DEB_HOST_MULTIARCH)/lib{history,readline}.a \ $(d_rld)/usr/lib/$(DEB_HOST_MULTIARCH)/. mv $(d)/usr/include $(d_rld)/usr/. mv $(d)/usr/share/info/{readline.info,history.info} \ $(d_rld)/usr/share/info/. : # remove HAVE_CONFIG_H from installed headers awk '/^#if defined \(HAVE_CONFIG_H\)/, /^#endif/ \ {if ($$0 == "#else") print "#include "; next} {print}' \ $(d_rld)/usr/include/readline/chardefs.h \ > $(d_rld)/usr/include/readline/chardefs.h.new if diff -u $(d_rld)/usr/include/readline/chardefs.h \ $(d_rld)/usr/include/readline/chardefs.h.new; \ then \ rm -f $(d_rld)/usr/include/readline/chardefs.h.new; \ else \ mv -f $(d_rld)/usr/include/readline/chardefs.h.new \ $(d_rld)/usr/include/readline/chardefs.h; \ fi : # install $(p_rlfe) ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) dh_installdirs -p$(p_rlfe) \ usr/bin usr/share/man/man1 \ usr/share/doc/$(p_rlfe) cp -p $(builddir)/examples/rlfe/rlfe $(d_rlfe)/usr/bin/. cp -p debian/rlfe.1 $(d_rlfe)/usr/share/man/man1/. endif ifneq ($(build32),) rm -rf $(d32) mkdir -p $(d32)/usr/bin $(MAKE) -C $(builddir32) install \ CC="$(CC32)" \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -D_REENTRANT" \ SHOBJ_LDFLAGS='-shared $(LDFLAGS)' \ SHLIB_XLDFLAGS='-Wl,-soname,`echo $$@ | sed s/\\..$$$$//`' \ SHLIB_LIBS=-ltinfo \ DESTDIR=$(CURDIR)/$(d32) \ mandir=/usr/share/man \ infodir=/usr/share/info dh_installdirs -p$(p_rl32) \ $(lib32dir) \ usr/share/doc cp -p $(d32)/usr/lib/lib{history,readline}.so.$(libversion) \ $(d_rl32)/$(lib32dir)/ ln -s libhistory.so.$(libversion) \ $(d_rl32)/$(lib32dir)/libhistory.so.$(soversion) ln -s libreadline.so.$(libversion) \ $(d_rl32)/$(lib32dir)/libreadline.so.$(soversion) dh_installdirs -p$(p_rld32) \ $(lib32devdir) \ usr/share/doc ln -s /$(lib32dir)/libhistory.so.$(soversion) \ $(d_rld32)/$(lib32devdir)/libhistory.so ln -s /$(lib32dir)/libreadline.so.$(soversion) \ $(d_rld32)/$(lib32devdir)/libreadline.so mv $(d32)/usr/lib/lib{history,readline}.a $(d_rld32)/$(lib32devdir)/. endif ifneq ($(build64),) rm -rf $(d64) mkdir -p $(d64)/usr/bin $(MAKE) -C $(builddir64) install \ CC="$(CC64)" \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -D_REENTRANT" \ SHOBJ_LDFLAGS='-shared $(LDFLAGS)' \ SHLIB_XLDFLAGS='-Wl,-soname,`echo $$@ | sed s/\\..$$$$//`' \ SHLIB_LIBS=-ltinfo \ DESTDIR=$(CURDIR)/$(d64) \ mandir=/usr/share/man \ infodir=/usr/share/info dh_installdirs -p$(p_rl64) \ lib64 \ usr/share/doc dh_installdirs -p$(p_rld64) \ usr/share/doc cp -p $(d64)/usr/lib/lib{history,readline}.so.$(libversion) \ $(d_rl64)/lib64/ ln -s libhistory.so.$(libversion) \ $(d_rl64)/lib64/libhistory.so.$(soversion) ln -s libreadline.so.$(libversion) \ $(d_rl64)/lib64/libreadline.so.$(soversion) dh_installdirs -p$(p_rld64) \ usr/lib64 \ usr/share/doc ln -s /lib64/libhistory.so.$(soversion) \ $(d_rld64)/usr/lib64/libhistory.so ln -s /lib64/libreadline.so.$(soversion) \ $(d_rld64)/usr/lib64/libreadline.so mv $(d64)/usr/lib/lib{history,readline}.a $(d_rld64)/usr/lib64/. endif ifneq ($(buildx32),) rm -rf $(dx32) mkdir -p $(dx32)/usr/bin $(MAKE) -C $(builddirx32) install \ CC="$(CCX32)" \ CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -D_REENTRANT" \ SHOBJ_LDFLAGS='-shared $(LDFLAGS)' \ SHLIB_XLDFLAGS='-Wl,-soname,`echo $$@ | sed s/\\..$$$$//`' \ SHLIB_LIBS=-ltinfo \ DESTDIR=$(CURDIR)/$(dx32) \ mandir=/usr/share/man \ infodir=/usr/share/info dh_installdirs -p$(p_rlx32) \ $(libx32dir) \ usr/share/doc cp -p $(dx32)/usr/lib/lib{history,readline}.so.$(libversion) \ $(d_rlx32)/$(libx32dir)/ ln -s libhistory.so.$(libversion) \ $(d_rlx32)/$(libx32dir)/libhistory.so.$(soversion) ln -s libreadline.so.$(libversion) \ $(d_rlx32)/$(libx32dir)/libreadline.so.$(soversion) dh_installdirs -p$(p_rldx32) \ $(libx32devdir) \ usr/share/doc ln -s /$(libx32dir)/libhistory.so.$(soversion) \ $(d_rldx32)/$(libx32devdir)/libhistory.so ln -s /$(lib32dir)/libreadline.so.$(soversion) \ $(d_rldx32)/$(libx32devdir)/libreadline.so mv $(dx32)/usr/lib/lib{history,readline}.a $(d_rldx32)/$(libx32devdir)/. endif touch install-stamp binary-indep: build install dh_testdir dh_testroot mkdir -p $(d_comm)/usr/share/lintian/overrides cp -p debian/readline-common.overrides \ $(d_comm)/usr/share/lintian/overrides/readline-common dh_installdocs -p$(p_comm) debian/inputrc.arrows dh_installchangelogs -p$(p_comm) dh_installdocs -p$(p_comm) dh_installchangelogs -p$(p_comm) dh_compress -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary-arch: build install dh_testdir dh_testroot dh_installdocs -p$(p_rl) \ USAGE debian/inputrc.arrows dh_installchangelogs -p$(p_rl) CHANGES dh_installexamples -p$(p_rl) \ examples/Inputrc mkdir -p $(d_rld)/usr/share/doc/$(p_rl)/examples cp -p $(builddir)/examples/Makefile examples/*.c \ $(d_rld)/usr/share/doc/$(p_rl)/examples/ sed -i \ -e '/^srcdir =/s,=.*,= /usr/share/doc/$(p_rl)/examples,' \ -e '/^VPATH =/s,=.*,= .:/usr/share/doc/$(p_rl)/examples,' \ -e '/^top_srcdir =/s,=.*,= /usr/include/readline,' \ -e '/^BUILD_DIR =/s,=.*,= /usr/src/readline6/build,' \ $(d_rld)/usr/share/doc/$(p_rl)/examples/Makefile ln -sf $(p_rl) $(d_rld)/usr/share/doc/$(p_rld) ln -sf $(p_rl) $(d_rlg)/usr/share/doc/$(p_rlg) mkdir -p $(d_rldnv)/usr/share/doc/$(p_rlnv) ln -sf $(p_rld) $(d_rldnv)/usr/share/doc/$(p_rldnv) ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) dh_installdocs -p$(p_rlfe) examples/rlfe/README dh_installchangelogs -p$(p_rlfe) examples/rlfe/ChangeLog dh_fixperms -p$(p_rl) -p$(p_rld) -p$(p_rldnv) -p$(p_rlg) -p$(p_rlfe) dh_strip --dbg-package=$(p_rlg) -p$(p_rl) -p$(p_rld) -p$(p_rldnv) -p$(p_rlg) -p$(p_rlfe) dh_compress -p$(p_rl) -p$(p_rld) -p$(p_rldnv) -p$(p_rlg) -p$(p_rlfe) \ -X.c -XMakefile dh_makeshlibs -p$(p_rl) cp -p debian/$(p_rl).shlibs debian/shlibs.local dh_shlibdeps -p$(p_rl) -p$(p_rld) -p$(p_rldnv) -p$(p_rlg) -p$(p_rlfe) \ -L $(p_rl) -l $(d_rl)/lib endif ifneq ($(build32),) -ls -l $(d_rld)/usr/share/doc/$(p_rl) dh_installdocs -p$(p_rl32) \ USAGE debian/inputrc.arrows dh_installchangelogs -p$(p_rl32) CHANGES ln -sf $(p_rl32) $(d_rld32)/usr/share/doc/$(p_rld32) dh_compress -p$(p_rl32) -p$(p_rld32) dh_fixperms -p$(p_rl32) -p$(p_rld32) dh_strip --dbg-package=$(p_rlg) -p$(p_rl32) -p$(p_rld32) dh_makeshlibs -p$(p_rl32) -dh_shlibdeps -p$(p_rl32) -p$(p_rld32) \ -L $(p_rl32) -l $(d_rl32)/lib -ls -l $(d_rld)/usr/share/doc/$(p_rl) endif ifneq ($(build64),) -ls -l $(d_rld)/usr/share/doc/$(p_rl) dh_installdocs -p$(p_rl64) \ USAGE debian/inputrc.arrows dh_installchangelogs -p$(p_rl64) CHANGES ln -sf $(p_rl64) $(d_rld64)/usr/share/doc/$(p_rld64) dh_compress -p$(p_rl64) -p$(p_rld64) dh_fixperms -p$(p_rl64) -p$(p_rld64) dh_strip --dbg-package=$(p_rlg) -p$(p_rl64) -p$(p_rld64) dh_makeshlibs -p$(p_rl64) -dh_shlibdeps -p$(p_rl64) -p$(p_rld64) \ -L $(p_rl64) -l $(d_rl64)/lib -ls -l $(d_rld)/usr/share/doc/$(p_rl) endif ifneq ($(buildx32),) -ls -l $(d_rld)/usr/share/doc/$(p_rl) dh_installdocs -p$(p_rlx32) \ USAGE debian/inputrc.arrows dh_installchangelogs -p$(p_rlx32) CHANGES ln -sf $(p_rlx32) $(d_rldx32)/usr/share/doc/$(p_rldx32) dh_compress -p$(p_rlx32) -p$(p_rldx32) dh_fixperms -p$(p_rlx32) -p$(p_rldx32) dh_strip --dbg-package=$(p_rlg) -p$(p_rlx32) -p$(p_rldx32) dh_makeshlibs -p$(p_rlx32) -dh_shlibdeps -p$(p_rlx32) -p$(p_rldx32) \ -L $(p_rlx32) -l $(d_rlx32)/lib -ls -l $(d_rld)/usr/share/doc/$(p_rl) endif dh_installdeb -s dh_gencontrol -s $(gencontrol_flags) dh_md5sums -s dh_builddeb -s binary: binary-indep binary-arch .PHONY: binary binary-arch binary-indep clean # Local Variables: # mode: makefile # end: debian/copyright0000644000000000000000000000402711246202071011117 0ustar This is Debian GNU/Linux's prepackaged version of the FSF's GNU Readline library. This package was put together by Matthias Klose , derived from the bash package by Guy Maor , from the GNU sources at ftp.gnu.org:/pub/gnu/readline/readline-6.0.tar.gz. Upstream Authors: Chet Ramey Jeff Solomon (examples/excallback.c) Harold Levy (examples/rl-fgets.c) Juergen Weigert (examples/rlfe) Michael Schroeder (examples/rlfe) Oliver Laumann (examples/rlfe) Copyright: Copyright (C) 1987-2009 Free Software Foundation, Inc. Copyright (C) 1999 Jeff Solomon (examples/excallback.c) Copyright (C) 2003-2004 Harold Levy (examples/rl-fgets.c) Copyright (C) 1993-2002 Juergen Weigert (examples/rlfe) Copyright (C) 1993-2002 Michael Schroeder (examples/rlfe) Copyright (C) 1987 Oliver Laumann (examples/rlfe) License: Readline is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Readline. If not, see . examples/rl-fgets.c: GPL v2 or later. examples/rlfe: GPL v2 or later. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-3'. The Debian packaging is: Copyright (C) 1999-2009 Matthias Klose and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/source.lintian-overrides0000644000000000000000000000007411246202071014042 0ustar readline6 source: debian-rules-calls-debhelper-in-odd-order debian/readline-common.overrides0000644000000000000000000000005211246202071014153 0ustar readline-common: manpage-section-mismatch debian/lib32readline6.symbols0000644000000000000000000000023611316662006013307 0ustar libhistory.so.6 lib32readline6 #MINVER# #include "libhistory6.symbols.common" libreadline.so.6 lib32readline6 #MINVER# #include "libreadline6.symbols.common" debian/libhistory6.symbols.common0000644000000000000000000000360112305045660014346 0ustar _rl_adjust_point@Base 6.0 _rl_char_value@Base 6.0 _rl_compare_chars@Base 6.0 _rl_find_next_mbchar@Base 6.0 _rl_find_prev_mbchar@Base 6.0 _rl_get_char_len@Base 6.0 _rl_is_mbchar_matched@Base 6.0 _rl_utf8locale@Base 6.3 add_history@Base 6.0 add_history_time@Base 6.0 alloc_history_entry@Base 6.0 append_history@Base 6.0 clear_history@Base 6.0 copy_history_entry@Base 6.0 current_history@Base 6.0 free_history_entry@Base 6.0 get_history_event@Base 6.0 history_arg_extract@Base 6.0 history_base@Base 6.0 history_comment_char@Base 6.0 history_expand@Base 6.0 history_expansion_char@Base 6.0 history_get@Base 6.0 history_get_history_state@Base 6.0 history_get_time@Base 6.0 history_inhibit_expansion_function@Base 6.0 history_is_stifled@Base 6.0 history_length@Base 6.0 history_list@Base 6.0 history_max_entries@Base 6.0 history_no_expand_chars@Base 6.0 history_offset@Base 6.0 history_quotes_inhibit_expansion@Base 6.0 history_search@Base 6.0 history_search_delimiter_chars@Base 6.0 history_search_pos@Base 6.0 history_search_prefix@Base 6.0 history_set_history_state@Base 6.0 history_set_pos@Base 6.0 history_subst_char@Base 6.0 history_tokenize@Base 6.0 history_total_bytes@Base 6.0 history_truncate_file@Base 6.0 history_word_delimiters@Base 6.0 history_write_timestamps@Base 6.0 max_input_history@Base 6.0 next_history@Base 6.0 previous_history@Base 6.0 read_history@Base 6.0 read_history_range@Base 6.0 remove_history@Base 6.0 replace_history_data@Base 6.0 replace_history_entry@Base 6.0 rl_byte_oriented@Base 6.0 sh_get_env_value@Base 6.0 sh_get_home_dir@Base 6.0 sh_set_lines_and_columns@Base 6.0 sh_single_quote@Base 6.0 sh_unset_nodelay_mode@Base 6.0 stifle_history@Base 6.0 unstifle_history@Base 6.0 using_history@Base 6.0 where_history@Base 6.0 write_history@Base 6.0 (optional)xfree@Base 6.0 (optional)xmalloc@Base 6.0 (optional)xrealloc@Base 6.0 debian/source/0000755000000000000000000000000011360061577010474 5ustar debian/source/format0000644000000000000000000000001411360061577011702 0ustar 3.0 (quilt) debian/libx32readline6.symbols0000644000000000000000000000024012312457404013473 0ustar libhistory.so.6 libx32readline6 #MINVER# #include "libhistory6.symbols.common" libreadline.so.6 libx32readline6 #MINVER# #include "libreadline6.symbols.common" debian/rlfe.copyright0000644000000000000000000000202511246202071012042 0ustar This is Debian GNU/Linux's prepackaged version of the rlfe program. This package was put together by Matthias Klose . Upstream source: ftp.gnu.org:/pub/gnu/readline/readline-4.3.tar.gz. Author: Per Bothner Copyright: /* A front-end using readline to "cook" input lines for Kawa. * * Copyright (C) 1999 Per Bothner * * This front-end program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published * by the Free Software Foundation; either version 2, or (at your option) * any later version. * * Some code from Johnson & Troan: "Linux Application Development" * (Addison-Wesley, 1998) was used directly or for inspiration. */ You should have received a copy of the GNU General Public License with your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with the Debian GNU/Linux bash source package as the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. debian/watch0000644000000000000000000000012211246202071010205 0ustar version=2 ftp://ftp.gnu.org/gnu/readline/readline-([\d\.]*).tar.gz debian uupdate debian/patches/0000755000000000000000000000000012315341333010613 5ustar debian/patches/rl-no-rpath.diff0000644000000000000000000000104012305030235013576 0ustar rl-no-rpath.dpatch by Don't set a runtime path for linking the shared libraries Index: b/support/shobj-conf =================================================================== --- a/support/shobj-conf +++ b/support/shobj-conf @@ -128,7 +128,7 @@ SHOBJ_LD='${CC}' SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' - SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`' + SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`' SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)' ;; debian/patches/rlfe-signal-rvt.diff0000644000000000000000000000060312312320571014456 0ustar Index: b/examples/rlfe/pty.c =================================================================== --- a/examples/rlfe/pty.c +++ b/examples/rlfe/pty.c @@ -254,7 +254,7 @@ #if defined(HAVE_GETPT) && defined(linux) int getpt __P((void)); #endif - sigret_t (*sigcld)__P(SIGPROTOARG); + sighandler_t sigcld; strcpy(PtyName, "/dev/ptmx"); #if defined(HAVE_GETPT) && defined(linux) debian/patches/series0000644000000000000000000000046712315341302012033 0ustar rl-attribute.diff rl-header.diff rl-no-cross-check.diff rl-no-rpath.diff rlfe-history.diff rlfe-kfreebsd.diff rlfe-tinfo.diff #examples-makefile-multiarch.diff fix-wformat-security.diff configure-tinfo.diff readline-dispatch-multikey.diff rlfe-signal-rvt.diff readline-vi-last.diff readline-sigint-cleanup.diff debian/patches/rl-header.diff0000644000000000000000000000150511360065467013323 0ustar rl-header.dpatch by Include stdio.h in readline.h and history.h Index: b/history.h =================================================================== --- a/history.h 2010-04-10 12:05:07.792336522 +0000 +++ b/history.h 2010-04-10 12:12:39.462336737 +0000 @@ -32,6 +32,7 @@ # include "rlstdc.h" # include "rltypedefs.h" #else +# include # include # include #endif Index: b/readline.h =================================================================== --- a/readline.h 2010-04-10 12:12:39.302337290 +0000 +++ b/readline.h 2010-04-10 12:12:39.462336737 +0000 @@ -32,6 +32,7 @@ # include "keymaps.h" # include "tilde.h" #else +# include # include # include # include debian/patches/configure-tinfo.diff0000644000000000000000000005263212305044014014546 0ustar Index: b/aclocal.m4 =================================================================== --- a/aclocal.m4 +++ b/aclocal.m4 @@ -958,8 +958,8 @@ fi AC_CACHE_VAL(bash_cv_termcap_lib, [AC_CHECK_FUNC(tgetent, bash_cv_termcap_lib=libc, - [AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap, - [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo, + [AC_CHECK_LIB(tinfo, tgetent, bash_cv_termcap_lib=libtinfo, + [AC_CHECK_LIB(termcap, tgetent, bash_cv_termcap_lib=libtermcap, [AC_CHECK_LIB(curses, tgetent, bash_cv_termcap_lib=libcurses, [AC_CHECK_LIB(ncurses, tgetent, bash_cv_termcap_lib=libncurses, bash_cv_termcap_lib=gnutermcap)])])])])]) Index: b/configure =================================================================== --- a/configure +++ b/configure @@ -1,14 +1,12 @@ #! /bin/sh # From configure.ac for Readline 6.3, version 2.73. # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68 for readline 6.3. +# Generated by GNU Autoconf 2.69 for readline 6.3. # # Report bugs to . # # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -137,6 +135,31 @@ # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -170,7 +193,8 @@ else exitcode=1; echo positional parameters were not saved. fi -test x\$exitcode = x0 || exit 1" +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && @@ -215,21 +239,25 @@ if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - # Preserve -v and -x to the replacement shell. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; - esac - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi if test x$as_have_required = xno; then : @@ -332,6 +360,14 @@ } # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -453,6 +489,10 @@ chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). @@ -487,16 +527,16 @@ # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -508,28 +548,8 @@ as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -1172,8 +1192,6 @@ if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1421,9 +1439,9 @@ if $ac_init_version; then cat <<\_ACEOF readline configure 6.3 -generated by GNU Autoconf 2.68 +generated by GNU Autoconf 2.69 -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1754,7 +1772,7 @@ test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -1890,7 +1908,7 @@ running configure, to aid debugging if configure makes a mistake. It was created by readline $as_me 6.3, which was -generated by GNU Autoconf 2.68. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2485,7 +2503,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2525,7 +2543,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2578,7 +2596,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2619,7 +2637,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -2677,7 +2695,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2721,7 +2739,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3167,8 +3185,7 @@ /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -3408,7 +3425,7 @@ for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in @@ -3474,7 +3491,7 @@ for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -3681,8 +3698,8 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -# define __EXTENSIONS__ 1 - $ac_includes_default +# define __EXTENSIONS__ 1 + $ac_includes_default int main () { @@ -3796,7 +3813,7 @@ # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. @@ -3869,7 +3886,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="${ac_tool_prefix}ar" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3909,7 +3926,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="ar" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3962,7 +3979,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4002,7 +4019,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4052,11 +4069,11 @@ int main () { -/* FIXME: Include the comments suggested by Paul. */ + #ifndef __cplusplus - /* Ultrix mips cc rejects this. */ + /* Ultrix mips cc rejects this sort of thing. */ typedef int charset[2]; - const charset cs; + const charset cs = { 0, 0 }; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; @@ -4073,8 +4090,9 @@ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; - { /* SCO 3.2v4 cc rejects this. */ - char *t; + { /* SCO 3.2v4 cc rejects this sort of thing. */ + char tx; + char *t = &tx; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; @@ -4090,10 +4108,10 @@ iptr p = 0; ++p; } - { /* AIX XL C 1.02.0.0 rejects this saying + { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ - struct s { int j; const int *ap[3]; }; - struct s *b; b->j = 5; + struct s { int j; const int *ap[3]; } bx; + struct s *b = &bx; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; @@ -4149,7 +4167,8 @@ main () { static int test_array [1 - 2 * !(((char) -1) < 0)]; -test_array [0] = 0 +test_array [0] = 0; +return test_array [0]; ; return 0; @@ -4908,6 +4927,8 @@ esac rm -rf conftest* fi + + fi @@ -5793,13 +5814,13 @@ if test "x$ac_cv_func_tgetent" = xyes; then : bash_cv_termcap_lib=libc else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 -$as_echo_n "checking for tgetent in -ltermcap... " >&6; } -if ${ac_cv_lib_termcap_tgetent+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5 +$as_echo_n "checking for tgetent in -ltinfo... " >&6; } +if ${ac_cv_lib_tinfo_tgetent+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-ltermcap $LIBS" +LIBS="-ltinfo $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -5819,26 +5840,26 @@ } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_termcap_tgetent=yes + ac_cv_lib_tinfo_tgetent=yes else - ac_cv_lib_termcap_tgetent=no + ac_cv_lib_tinfo_tgetent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 -$as_echo "$ac_cv_lib_termcap_tgetent" >&6; } -if test "x$ac_cv_lib_termcap_tgetent" = xyes; then : - bash_cv_termcap_lib=libtermcap +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5 +$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; } +if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then : + bash_cv_termcap_lib=libtinfo else - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltinfo" >&5 -$as_echo_n "checking for tgetent in -ltinfo... " >&6; } -if ${ac_cv_lib_tinfo_tgetent+:} false; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5 +$as_echo_n "checking for tgetent in -ltermcap... " >&6; } +if ${ac_cv_lib_termcap_tgetent+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-ltinfo $LIBS" +LIBS="-ltermcap $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -5858,18 +5879,18 @@ } _ACEOF if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_tinfo_tgetent=yes + ac_cv_lib_termcap_tgetent=yes else - ac_cv_lib_tinfo_tgetent=no + ac_cv_lib_termcap_tgetent=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tgetent" >&5 -$as_echo "$ac_cv_lib_tinfo_tgetent" >&6; } -if test "x$ac_cv_lib_tinfo_tgetent" = xyes; then : - bash_cv_termcap_lib=libtinfo +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5 +$as_echo "$ac_cv_lib_termcap_tgetent" >&6; } +if test "x$ac_cv_lib_termcap_tgetent" = xyes; then : + bash_cv_termcap_lib=libtermcap else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -lcurses" >&5 $as_echo_n "checking for tgetent in -lcurses... " >&6; } @@ -6322,10 +6343,7 @@ $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "cannot run test program while cross compiling -See \`config.log' for more details" "$LINENO" 5; } + bash_cv_wcwidth_broken=no else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -6895,16 +6913,16 @@ # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -6964,28 +6982,16 @@ as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -7007,7 +7013,7 @@ # values after options handling. ac_log=" This file was extended by readline $as_me 6.3, which was -generated by GNU Autoconf 2.68. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -7073,10 +7079,10 @@ ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ readline config.status 6.3 -configured by $0, generated by GNU Autoconf 2.68, +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -7165,7 +7171,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' debian/patches/rlfe-history.diff0000644000000000000000000000214512305030242014067 0ustar #! /bin/sh /usr/share/dpatch/dpatch-run ## rlfe-history.dpatch by ## ## DP: Fix rlfe, always writing a history file. @DPATCH@ Index: b/examples/rlfe/rlfe.c =================================================================== --- a/examples/rlfe/rlfe.c +++ b/examples/rlfe/rlfe.c @@ -154,21 +154,27 @@ static pid_t child = -1; static void -sig_child (int signo) +finish_up() { - int status; - wait (&status); if (hist_file != 0) { write_history (hist_file); if (hist_size) history_truncate_file (hist_file, hist_size); } - DPRINT0 ("(Child process died.)\n"); tcsetattr(STDIN_FILENO, TCSANOW, &orig_term); exit (0); } +static void +sig_child (int signo) +{ + int status; + wait (&status); + DPRINT0 ("(Child process died.)\n"); + finish_up(); +} + volatile int propagate_sigwinch = 0; /* sigwinch_handler @@ -710,8 +716,7 @@ if (count <= 0) { DPRINT0 ("(Connection closed by foreign host.)\n"); - tcsetattr(STDIN_FILENO, TCSANOW, &orig_term); - exit (0); + finish_up(); } old_count = buf_count; debian/patches/rl-no-cross-check.diff0000644000000000000000000000115212305030227014671 0ustar rl-no-cross-check.dpatch by configure: Don't check for cross compilation Index: b/configure =================================================================== --- a/configure +++ b/configure @@ -2949,7 +2949,7 @@ # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } -if test "$cross_compiling" != yes; then +if false && test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; debian/patches/readline-vi-last.diff0000644000000000000000000000073012312352523014605 0ustar Index: b/readline.c =================================================================== --- a/readline.c +++ b/readline.c @@ -965,7 +965,7 @@ #if defined (VI_MODE) if (rl_editing_mode == vi_mode && _rl_keymap == vi_movement_keymap && key != ANYOTHERKEY && - rl_key_sequence_length == 1 && /* XXX */ + _rl_dispatching_keymap == vi_movement_keymap && _rl_vi_textmod_command (key)) _rl_vi_set_last (key, rl_numeric_arg, rl_arg_sign); #endif debian/patches/readline-dispatch-multikey.diff0000644000000000000000000000101612312310250016653 0ustar Index: b/readline.c =================================================================== --- a/readline.c +++ b/readline.c @@ -744,7 +744,8 @@ r = _rl_subseq_result (r, cxt->oldmap, cxt->okey, (cxt->flags & KSEQ_SUBSEQ)); RL_CHECK_SIGNALS (); - if (r == 0) /* success! */ + /* We only treat values < 0 specially to simulate recursion. */ + if (r >= 0 || (r == -1 && (cxt->flags & KSEQ_SUBSEQ) == 0)) /* success! or failure! */ { _rl_keyseq_chain_dispose (); RL_UNSETSTATE (RL_STATE_MULTIKEY); debian/patches/rl-attribute.diff0000644000000000000000000000203212305027516014063 0ustar rl-attribute.dpatch by Do not redefine __attribute__, define macro __rl_attribute__ Index: b/readline.h =================================================================== --- a/readline.h +++ b/readline.h @@ -380,7 +380,7 @@ extern int rl_crlf PARAMS((void)); #if defined (USE_VARARGS) && defined (PREFER_STDARG) -extern int rl_message (const char *, ...) __attribute__((__format__ (printf, 1, 2))); +extern int rl_message (const char *, ...) __rl_attribute__((__format__ (printf, 1, 2))); #else extern int rl_message (); #endif Index: b/rlstdc.h =================================================================== --- a/rlstdc.h +++ b/rlstdc.h @@ -36,10 +36,10 @@ # endif #endif -#ifndef __attribute__ -# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) -# define __attribute__(x) -# endif +#if defined(__GNUC__) && __GNUC__ >= 2 +# define __rl_attribute__(x) __attribute__(x) +#else +# define __rl_attribute__(x) #endif /* Moved from config.h.in because readline.h:rl_message depends on these debian/patches/examples-makefile-multiarch.diff0000644000000000000000000000160112305031167017022 0ustar From e5a01df4f075ddb96c393748d37a16498aa37c0a Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Wed, 18 Jul 2012 18:21:14 -0700 Subject: [PATCH] fix Makefile -- allows build of examples, multi-arch: same --- examples/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) Index: b/examples/Makefile.in =================================================================== --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -27,12 +27,12 @@ datarootdir = @datarootdir@ bindir = @bindir@ -srcdir = @srcdir@ +srcdir = /usr/share/doc/libreadline6/examples datadir = @datadir@ -VPATH = @srcdir@ -top_srcdir = @top_srcdir@ +VPATH = .:/usr/share/doc/libreadline6/examples +top_srcdir = /usr/include/readline #BUILD_DIR = . -BUILD_DIR = @BUILD_DIR@ +BUILD_DIR = /usr/src/readline6/build installdir = $(datadir)/readline INSTALL = @INSTALL@ debian/patches/readline-sigint-cleanup.diff0000644000000000000000000000062512315341333016153 0ustar Index: b/display.c =================================================================== --- a/display.c +++ b/display.c @@ -2677,7 +2677,8 @@ { if (_rl_echoing_p) { - _rl_move_vert (_rl_vis_botlin); + if (_rl_vis_botlin > 0) /* minor optimization plus bug fix */ + _rl_move_vert (_rl_vis_botlin); _rl_vis_botlin = 0; fflush (rl_outstream); rl_restart_output (1, 0); debian/patches/rlfe-tinfo.diff0000644000000000000000000003736212305030604013520 0ustar # DP: Link rlfe with libtinfo. Index: b/examples/rlfe/configure.in =================================================================== --- a/examples/rlfe/configure.in +++ b/examples/rlfe/configure.in @@ -211,8 +211,8 @@ tgetent((char *)0, (char *)0); #endif ],, -LIBS="-ltermcap $olibs" -AC_CHECKING(libtermcap) +LIBS="-ltinfo $olibs" +AC_CHECKING(libtinfo) AC_TRY_LINK(,tgetent((char *)0, (char *)0);,, LIBS="-ltermlib $olibs" AC_CHECKING(libtermlib) Index: b/examples/rlfe/configure =================================================================== --- a/examples/rlfe/configure +++ b/examples/rlfe/configure @@ -1,11 +1,9 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.68. +# Generated by GNU Autoconf 2.69. # # -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, -# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software -# Foundation, Inc. +# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation @@ -134,6 +132,31 @@ # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH +# Use a proper internal environment variable to ensure we don't fall + # into an infinite loop, continuously re-executing ourselves. + if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then + _as_can_reexec=no; export _as_can_reexec; + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +as_fn_exit 255 + fi + # We don't want this to propagate to other subprocesses. + { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh @@ -167,7 +190,8 @@ else exitcode=1; echo positional parameters were not saved. fi -test x\$exitcode = x0 || exit 1" +test x\$exitcode = x0 || exit 1 +test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && @@ -212,21 +236,25 @@ if test "x$CONFIG_SHELL" != x; then : - # We cannot yet assume a decent shell, so we have to provide a - # neutralization value for shells without unset; and this also - # works around shells that cannot unset nonexistent variables. - # Preserve -v and -x to the replacement shell. - BASH_ENV=/dev/null - ENV=/dev/null - (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV - export CONFIG_SHELL - case $- in # (((( - *v*x* | *x*v* ) as_opts=-vx ;; - *v* ) as_opts=-v ;; - *x* ) as_opts=-x ;; - * ) as_opts= ;; - esac - exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} + export CONFIG_SHELL + # We cannot yet assume a decent shell, so we have to provide a +# neutralization value for shells without unset; and this also +# works around shells that cannot unset nonexistent variables. +# Preserve -v and -x to the replacement shell. +BASH_ENV=/dev/null +ENV=/dev/null +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +case $- in # (((( + *v*x* | *x*v* ) as_opts=-vx ;; + *v* ) as_opts=-v ;; + *x* ) as_opts=-x ;; + * ) as_opts= ;; +esac +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} +# Admittedly, this is quite paranoid, since all the known shells bail +# out after a failed `exec'. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 +exit 255 fi if test x$as_have_required = xno; then : @@ -328,6 +356,14 @@ } # as_fn_mkdir_p + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take @@ -449,6 +485,10 @@ chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } + # If we had to re-execute with $CONFIG_SHELL, we're ensured to have + # already done that, so ensure we don't try to do so again and fall + # in an infinite loop. This has already happened in practice. + _as_can_reexec=no; export _as_can_reexec # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). @@ -483,16 +523,16 @@ # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -504,28 +544,8 @@ as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -1123,8 +1143,6 @@ if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe - $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi @@ -1356,9 +1374,9 @@ if $ac_init_version; then cat <<\_ACEOF configure -generated by GNU Autoconf 2.68 +generated by GNU Autoconf 2.69 -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF @@ -1471,7 +1489,7 @@ test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || - $as_test_x conftest$ac_exeext + test -x conftest$ac_exeext }; then : ac_retval=0 else @@ -1721,7 +1739,7 @@ running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was -generated by GNU Autoconf 2.68. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2097,7 +2115,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2137,7 +2155,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2190,7 +2208,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2231,7 +2249,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue @@ -2289,7 +2307,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2333,7 +2351,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -2779,8 +2797,7 @@ /* end confdefs.h. */ #include #include -#include -#include +struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); @@ -3020,7 +3037,7 @@ for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue + as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in @@ -3086,7 +3103,7 @@ for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" - { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue + as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in @@ -3331,7 +3348,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -3608,9 +3625,9 @@ if ac_fn_c_try_link "$LINENO"; then : else - LIBS="-ltermcap $olibs" -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking libtermcap..." >&5 -$as_echo "$as_me: checking libtermcap..." >&6;} + LIBS="-ltinfo $olibs" +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking libtinfo..." >&5 +$as_echo "$as_me: checking libtinfo..." >&6;} cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ @@ -3965,7 +3982,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_WRITEPATH="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4005,7 +4022,7 @@ IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do - if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_XTERMPATH="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 @@ -4757,16 +4774,16 @@ # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. - # In both cases, we have to default to `cp -p'. + # In both cases, we have to default to `cp -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s='cp -p' + as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi else - as_ln_s='cp -p' + as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null @@ -4826,28 +4843,16 @@ as_mkdir_p=false fi -if test -x / >/dev/null 2>&1; then - as_test_x='test -x' -else - if ls -dL / >/dev/null 2>&1; then - as_ls_L_option=L - else - as_ls_L_option= - fi - as_test_x=' - eval sh -c '\'' - if test -d "$1"; then - test -d "$1/."; - else - case $1 in #( - -*)set "./$1";; - esac; - case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( - ???[sx]*):;;*)false;;esac;fi - '\'' sh - ' -fi -as_executable_p=$as_test_x + +# as_fn_executable_p FILE +# ----------------------- +# Test if FILE is an executable regular file. +as_fn_executable_p () +{ + test -f "$1" && test -x "$1" +} # as_fn_executable_p +as_test_x='test -x' +as_executable_p=as_fn_executable_p # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" @@ -4869,7 +4874,7 @@ # values after options handling. ac_log=" This file was extended by $as_me, which was -generated by GNU Autoconf 2.68. Invocation command line was +generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS @@ -4931,10 +4936,10 @@ ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ config.status -configured by $0, generated by GNU Autoconf 2.68, +configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" -Copyright (C) 2010 Free Software Foundation, Inc. +Copyright (C) 2012 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." @@ -5023,7 +5028,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then - set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion + set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' debian/patches/rlfe-kfreebsd.diff0000644000000000000000000000131011564714605014166 0ustar Index: readline6-6.1/examples/rlfe/pty.c =================================================================== --- readline6-6.1.orig/examples/rlfe/pty.c 2010-05-30 18:30:54.000000000 +0000 +++ readline6-6.1/examples/rlfe/pty.c 2010-05-30 18:30:58.000000000 +0000 @@ -133,7 +133,7 @@ { if (f < 0) return; -#if defined(I_PUSH) && defined(HAVE_SVR4_PTYS) && !defined(sgi) && !defined(linux) && !defined(__osf__) && !defined(M_UNIX) +#if defined(I_PUSH) && defined(HAVE_SVR4_PTYS) && !defined(sgi) && !defined(linux) && !defined(__osf__) && !defined(M_UNIX) && !defined(__FreeBSD_kernel__) if (ioctl(f, I_PUSH, "ptem")) Panic(errno, "InitPTY: cannot I_PUSH ptem"); if (ioctl(f, I_PUSH, "ldterm")) debian/patches/fix-wformat-security.diff0000644000000000000000000000112312025613237015555 0ustar Description: Fix compiling with -Werror=format-security. Prevents format string attacks. Author: Simon Ruderich Last-Update: 2012-09-15 --- readline6-6.2.orig/examples/rlfe/rlfe.c +++ readline6-6.2/examples/rlfe/rlfe.c @@ -273,7 +273,7 @@ static void maybe_emphasize_input (int o if (on == current_emphasize_input || (on && ! do_emphasize_input)) return; - fprintf (rl_outstream, on ? start_input_mode : end_input_mode); + fprintf (rl_outstream, "%s", on ? start_input_mode : end_input_mode); fflush (rl_outstream); current_emphasize_input = on; } debian/installed-examples-makefile.diff0000644000000000000000000000132012312313257015361 0ustar --- debian/libreadline6-dev/usr/share/doc/libreadline6/examples/Makefile +++ debian/libreadline6-dev/usr/share/doc/libreadline6/examples/Makefile @@ -27,12 +27,11 @@ datarootdir = ${prefix}/share bindir = ${exec_prefix}/bin -srcdir = /scratch/packages/tmp/readline6-6.3/examples +srcdir = /usr/share/doc/libreadline6/examples datadir = ${datarootdir} -VPATH = /scratch/packages/tmp/readline6-6.3/examples -top_srcdir = /scratch/packages/tmp/readline6-6.3 -#BUILD_DIR = . -BUILD_DIR = /scratch/packages/tmp/readline6-6.3/build +VPATH = .:/usr/share/doc/libreadline6/examples +top_srcdir = /usr/include/readline +BUILD_DIR = /usr/src/readline6/build installdir = $(datadir)/readline INSTALL = /usr/bin/install -c debian/rl-inputrc.dpatch0000644000000000000000000000646311246202071012456 0ustar #! /bin/sh -e if [ $# -eq 3 -a "$2" = '-d' ]; then pdir="-d $3" elif [ $# -ne 1 ]; then echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 fi case "$1" in -patch) patch $pdir -f --no-backup-if-mismatch -p3 < $0;; -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p3 < $0;; *) echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" exit 1 esac exit 0 # DP: Support for /etc/inputrc in addition to ~/inputrc diff -ur bash.saved/lib/readline/bind.c bash/lib/readline/bind.c --- bash.saved/lib/readline/bind.c 2005-01-16 13:18:30.000000000 +0100 +++ bash/lib/readline/bind.c 2005-01-16 13:21:43.000000000 +0100 @@ -713,6 +713,9 @@ /* The last key bindings file read. */ static char *last_readline_init_file = (char *)NULL; +/* Flag to read system init file */ +static int read_system_init_file = 0; + /* The file we're currently reading key bindings from. */ static const char *current_readline_init_file; static int current_readline_init_include_level; @@ -780,7 +783,7 @@ to the first non-null filename from this list: 1. the filename used for the previous call 2. the value of the shell variable `INPUTRC' - 3. ~/.inputrc + 3. /etc/inputrc and ~/.inputrc If the file existed and could be opened and read, 0 is returned, otherwise errno is returned. */ int @@ -791,14 +794,31 @@ if (filename == 0) { filename = last_readline_init_file; - if (filename == 0) + if (filename == 0) { filename = sh_get_env_value ("INPUTRC"); - if (filename == 0) + read_system_init_file = 0; + } + if (filename == 0) { filename = DEFAULT_INPUTRC; + read_system_init_file = 1; + } } - if (*filename == 0) + if (*filename == 0) { filename = DEFAULT_INPUTRC; + read_system_init_file = 1; + } + + if (read_system_init_file) + if (filename == last_readline_init_file) + { + filename = savestring (filename); + _rl_read_init_file (SYSTEM_INPUTRC, 0); + free (last_readline_init_file); + last_readline_init_file = filename; + } + else + _rl_read_init_file (SYSTEM_INPUTRC, 0); #if defined (__MSDOS__) if (_rl_read_init_file (filename, 0) == 0) Only in bash/lib/readline: bind.c.orig Only in bash/lib/readline: bind.c.rej diff -ur bash.saved/lib/readline/doc/rluser.texi bash/lib/readline/doc/rluser.texi --- bash.saved/lib/readline/doc/rluser.texi 2005-01-16 13:18:30.000000000 +0100 +++ bash/lib/readline/doc/rluser.texi 2005-01-16 13:21:28.000000000 +0100 @@ -336,7 +336,8 @@ @ifclear BashFeatures file is taken from the value of the environment variable @env{INPUTRC}. If @end ifclear -that variable is unset, the default is @file{~/.inputrc}. +that variable is unset, Readline will read both @file{/etc/inputrc} and +@file{~/.inputrc}. When a program which uses the Readline library starts up, the init file is read, and the key bindings are set. diff -ur bash.saved/lib/readline/rlconf.h bash/lib/readline/rlconf.h --- bash.saved/lib/readline/rlconf.h 2005-01-16 13:18:30.000000000 +0100 +++ bash/lib/readline/rlconf.h 2005-01-16 13:21:28.000000000 +0100 @@ -39,6 +39,7 @@ /* The final, last-ditch effort file name for an init file. */ #define DEFAULT_INPUTRC "~/.inputrc" +#define SYSTEM_INPUTRC "/etc/inputrc" /* If defined, expand tabs to spaces. */ #define DISPLAY_TABS debian/lib64readline6.symbols0000644000000000000000000000023611316662020013310 0ustar libhistory.so.6 lib64readline6 #MINVER# #include "libhistory6.symbols.common" libreadline.so.6 lib64readline6 #MINVER# #include "libreadline6.symbols.common" debian/readline-common.postrm0000644000000000000000000000011511246202071013475 0ustar #! /bin/sh -e case "$1" in purge) rm -f /etc/inputrc esac #DEBHELPER# debian/inputrc.arrows0000644000000000000000000000132711246202071012107 0ustar # This file controls the behaviour of line input editing for # programs that use the Gnu Readline library. # # Arrow keys in keypad mode # "\C-[OD" backward-char "\C-[OC" forward-char "\C-[OA" previous-history "\C-[OB" next-history # # Arrow keys in ANSI mode # "\C-[[D" backward-char "\C-[[C" forward-char "\C-[[A" previous-history "\C-[[B" next-history # # Arrow keys in 8 bit keypad mode # "\C-M-OD" backward-char "\C-M-OC" forward-char "\C-M-OA" previous-history "\C-M-OB" next-history # # Arrow keys in 8 bit ANSI mode # "\C-M-[D" backward-char "\C-M-[C" forward-char "\C-M-[A" previous-history "\C-M-[B" next-history debian/inputrc0000644000000000000000000000327111246202071010573 0ustar # /etc/inputrc - global inputrc for libreadline # See readline(3readline) and `info rluserman' for more information. # Be 8 bit clean. set input-meta on set output-meta on # To allow the use of 8bit-characters like the german umlauts, uncomment # the line below. However this makes the meta key not work as a meta key, # which is annoying to those which don't need to type in 8-bit characters. # set convert-meta off # try to enable the application keypad when it is called. Some systems # need this to enable the arrow keys. # set enable-keypad on # see /usr/share/doc/bash/inputrc.arrows for other codes of arrow keys # do not bell on tab-completion # set bell-style none # set bell-style visible # some defaults / modifications for the emacs mode $if mode=emacs # allow the use of the Home/End keys "\e[1~": beginning-of-line "\e[4~": end-of-line # allow the use of the Delete/Insert keys "\e[3~": delete-char "\e[2~": quoted-insert # mappings for "page up" and "page down" to step to the beginning/end # of the history # "\e[5~": beginning-of-history # "\e[6~": end-of-history # alternate mappings for "page up" and "page down" to search the history # "\e[5~": history-search-backward # "\e[6~": history-search-forward # mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving "\e[1;5C": forward-word "\e[1;5D": backward-word "\e[5C": forward-word "\e[5D": backward-word "\e\e[C": forward-word "\e\e[D": backward-word $if term=rxvt "\e[8~": end-of-line "\eOc": forward-word "\eOd": backward-word $endif # for non RH/Debian xterm, can't hurt for RH/Debian xterm # "\eOH": beginning-of-line # "\eOF": end-of-line # for freebsd console # "\e[H": beginning-of-line # "\e[F": end-of-line $endif debian/control0000644000000000000000000001615512312457404010603 0ustar Source: readline6 Section: libs Priority: important Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Matthias Klose Standards-Version: 3.9.5 Build-Depends: debhelper (>= 8.1.3), libtinfo-dev, lib32tinfo-dev [amd64 ppc64], libncursesw5-dev (>= 5.6), lib32ncursesw5-dev [amd64 ppc64], lib64ncurses5-dev [i386 powerpc sparc s390], mawk | awk, texinfo, autotools-dev, libx32tinfo-dev [amd64 i386], libx32ncursesw5-dev [amd64 i386], gcc-multilib [amd64 i386 kfreebsd-amd64 powerpc ppc64 s390 sparc] Package: libreadline6 Architecture: any Depends: readline-common, ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Section: libs Priority: important Description: GNU readline and history libraries, run-time libraries The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. Package: lib64readline6 Architecture: i386 powerpc s390 sparc Depends: readline-common, ${shlibs:Depends}, ${misc:Depends} Section: libs Priority: optional Description: GNU readline and history libraries, run-time libraries (64-bit) The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. Package: readline-common Architecture: all Multi-Arch: foreign Section: utils Depends: dpkg (>= 1.15.4) | install-info, ${misc:Depends} Conflicts: libreadline5 (<< 5.0-11), libreadline-common Replaces: libreadline4 (<< 4.3-16), libreadline5 (<< 5.0-11), libreadline-common Priority: important Description: GNU readline and history libraries, common files The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. Package: libreadline-dev Architecture: any Depends: libreadline6-dev (= ${binary:Version}), ${misc:Depends} Conflicts: libreadline-gplv2-dev Multi-Arch: same Section: libdevel Priority: optional Description: GNU readline and history libraries, development files The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. . This package is a dependency package depending on libreadline6-dev. Package: libreadline6-dev Architecture: any Section: libdevel Priority: optional Depends: libreadline6 (= ${binary:Version}), libtinfo-dev, dpkg (>= 1.15.4) | install-info, ${misc:Depends} Multi-Arch: same Conflicts: libreadline5-dev, libreadline-gplv2-dev Description: GNU readline and history libraries, development files The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. . This package contains development files and the readline documentation in info format. Package: lib64readline6-dev Architecture: i386 powerpc s390 sparc Depends: lib64readline6 (= ${binary:Version}), ${devxx:Depends}, ${misc:Depends} Provides: lib64readline-dev Conflicts: lib64readline-dev, lib64readline-gplv2-dev Section: libdevel Priority: optional Description: GNU readline and history libraries, development files (64-bit) The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. Package: libreadline6-dbg Architecture: any Depends: libreadline6 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Conflicts: libreadline-dbg Provides: libreadline-dbg Suggests: libreadline6-dev Section: debug Priority: extra Description: GNU readline and history libraries, debugging libraries The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. Package: rlfe Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Section: utils Priority: optional Provides: readline-editor Description: Front-end using readline to "cook" input lines for other programs This tool lets you use history and line-editing in any text oriented tool. This is especially useful with third-party proprietary tools that cannot be distributed linked against readline. It is not perfect but it works pretty well. . See the ledit and rlwrap packages for other programs of that kind. Package: lib32readline6 Architecture: amd64 ppc64 Depends: readline-common, ${shlibs:Depends}, ${misc:Depends} Section: libs Priority: optional Description: GNU readline and history libraries, run-time libraries (32-bit) The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. Package: lib32readline6-dev Architecture: amd64 ppc64 Depends: lib32readline6 (= ${binary:Version}), lib32tinfo-dev, ${devxx:Depends}, ${misc:Depends} Provides: lib32readline-dev Conflicts: lib32readline-dev, lib32readline-gplv2-dev Section: libdevel Priority: optional Description: GNU readline and history libraries, development files (32-bit) The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. Package: libx32readline6 Architecture: amd64 i386 Depends: readline-common, ${shlibs:Depends}, ${misc:Depends} Section: libs Priority: optional Description: GNU readline and history libraries, run-time libraries (x32) The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. Package: libx32readline6-dev Architecture: amd64 i386 Depends: libx32readline6 (= ${binary:Version}), libx32tinfo-dev, libc6-dev-x32, ${misc:Depends} Provides: libx32readline-dev Conflicts: libx32readline-dev, libx32readline-gplv2-dev Section: libdevel Priority: optional Description: GNU readline and history libraries, development files (x32) The GNU readline library aids in the consistency of user interface across discrete programs that need to provide a command line interface. . The GNU history library provides a consistent user interface for recalling lines of previously typed input. debian/libreadline6.symbols.common0000644000000000000000000004524012312316737014441 0ustar _rl_abort_internal@Base 6.0 _rl_add_macro_char@Base 6.0 _rl_adjust_point@Base 6.0 _rl_allow_pathname_alphabetic_chars@Base 6.0 _rl_any_typein@Base 6.0 _rl_arg_callback@Base 6.0 _rl_arg_dispatch@Base 6.0 _rl_arg_getchar@Base 6.0 _rl_arg_init@Base 6.0 _rl_arg_overflow@Base 6.0 _rl_argcxt@Base 6.0 (arch=linux-any)_rl_audit_tty@Base 6.3 _rl_backspace@Base 6.0 _rl_bell_preference@Base 6.0 _rl_bind_stty_chars@Base 6.0 _rl_block_sigint@Base 6.0 _rl_block_sigwinch@Base 6.1 _rl_callback_data@Base 6.0 _rl_callback_data_alloc@Base 6.0 _rl_callback_data_dispose@Base 6.0 _rl_callback_func@Base 6.0 _rl_caught_signal@Base 6.0 _rl_char_search_internal@Base 6.0 _rl_char_value@Base 6.0 _rl_clean_up_for_exit@Base 6.0 _rl_clear_screen@Base 6.0 _rl_clear_to_eol@Base 6.0 _rl_color_ext_list@Base 6.3 _rl_color_indicator@Base 6.3 _rl_colored_stats@Base 6.3 _rl_comment_begin@Base 6.0 _rl_compare_chars@Base 6.0 _rl_complete_mark_directories@Base 6.0 _rl_complete_mark_symlink_dirs@Base 6.0 _rl_complete_show_all@Base 6.0 _rl_complete_show_unmodified@Base 6.0 _rl_completion_case_fold@Base 6.0 _rl_completion_case_map@Base 6.2 _rl_completion_columns@Base 6.2 _rl_completion_prefix_display_length@Base 6.0 _rl_control_keypad@Base 6.0 _rl_convert_meta_chars_to_ascii@Base 6.0 _rl_copy_undo_entry@Base 6.0 _rl_copy_undo_list@Base 6.0 _rl_current_display_line@Base 6.0 _rl_digit_p@Base 6.0 _rl_digit_value@Base 6.0 _rl_disable_meta_key@Base 6.3 _rl_disable_tty_signals@Base 6.0 _rl_dispatch@Base 6.0 _rl_dispatch_callback@Base 6.0 _rl_dispatch_subseq@Base 6.0 _rl_dispatching_keymap@Base 6.0 _rl_doing_an_undo@Base 6.0 _rl_echo_control_chars@Base 6.1 _rl_echoctl@Base 6.0 _rl_echoing_p@Base 6.0 _rl_enable_keypad@Base 6.0 _rl_enable_meta@Base 6.0 _rl_enable_meta_key@Base 6.0 _rl_enable_paren_matching@Base 6.0 _rl_eof_char@Base 6.0 _rl_erase_at_end_of_line@Base 6.0 _rl_erase_entire_line@Base 6.0 _rl_errmsg@Base 6.0 _rl_executing_keyseq_size@Base 6.3 _rl_find_completion_word@Base 6.0 _rl_find_next_mbchar@Base 6.0 _rl_find_prev_mbchar@Base 6.0 _rl_fix_last_undo_of_type@Base 6.0 _rl_fix_point@Base 6.0 _rl_forward_char_internal@Base 6.2 _rl_free_history_entry@Base 6.0 _rl_free_match_list@Base 6.0 _rl_free_saved_history_line@Base 6.0 _rl_free_undo_list@Base 6.3 _rl_get_char_len@Base 6.0 _rl_get_screen_size@Base 6.0 _rl_history_preserve_point@Base 6.0 _rl_history_saved_point@Base 6.0 _rl_horizontal_scroll_mode@Base 6.0 _rl_in_stream@Base 6.0 _rl_init_eightbit@Base 6.0 _rl_init_line_state@Base 6.0 _rl_init_terminal_io@Base 6.0 _rl_input_available@Base 6.0 _rl_input_queued@Base 6.0 _rl_insert_char@Base 6.0 _rl_insert_typein@Base 6.0 _rl_internal_char_cleanup@Base 6.0 _rl_interrupt_immediately@Base 6.0 _rl_intr_char@Base 6.0 _rl_is_mbchar_matched@Base 6.0 _rl_iscxt@Base 6.0 _rl_isearch_callback@Base 6.0 _rl_isearch_dispatch@Base 6.0 _rl_isearch_terminators@Base 6.0 _rl_keymap@Base 6.0 _rl_keyseq_chain_dispose@Base 6.0 _rl_keyseq_cxt_alloc@Base 6.0 _rl_keyseq_cxt_dispose@Base 6.0 _rl_keyseq_timeout@Base 6.3 _rl_kill_kbd_macro@Base 6.0 _rl_kscxt@Base 6.0 _rl_last_c_pos@Base 6.0 _rl_last_command_was_kill@Base 6.0 _rl_last_v_pos@Base 6.0 _rl_lowercase_p@Base 6.0 _rl_make_prompt_for_search@Base 6.0 _rl_mark_modified_lines@Base 6.0 _rl_match_hidden_files@Base 6.0 _rl_menu_complete_prefix_first@Base 6.2 _rl_meta_flag@Base 6.0 _rl_move_cursor_relative@Base 6.0 _rl_move_vert@Base 6.0 _rl_next_macro_key@Base 6.0 _rl_nscxt@Base 6.0 _rl_nsearch_callback@Base 6.0 _rl_null_function@Base 6.1 _rl_out_stream@Base 6.0 _rl_output_character_function@Base 6.0 _rl_output_meta_chars@Base 6.0 _rl_output_some_chars@Base 6.0 _rl_overwrite_char@Base 6.0 _rl_overwrite_rubout@Base 6.0 _rl_page_completions@Base 6.0 _rl_parse_colors@Base 6.3 _rl_parsing_conditionalized_out@Base 6.0 _rl_pop_executing_macro@Base 6.0 _rl_possible_control_prefixes@Base 6.0 _rl_possible_meta_prefixes@Base 6.0 _rl_prep_non_filename_text@Base 6.3 _rl_prev_macro_key@Base 6.3 _rl_print_color_indicator@Base 6.3 _rl_print_completions_horizontally@Base 6.0 _rl_pure_alphabetic@Base 6.0 _rl_push_executing_macro@Base 6.0 _rl_pushed_input_available@Base 6.0 _rl_put_indicator@Base 6.3 _rl_qsort_string_compare@Base 6.0 _rl_quit_char@Base 6.0 _rl_read_mbchar@Base 6.0 _rl_read_mbstring@Base 6.0 _rl_redisplay_after_sigwinch@Base 6.0 _rl_release_sigint@Base 6.0 _rl_release_sigwinch@Base 6.1 _rl_replace_text@Base 6.0 _rl_reset_argument@Base 6.0 _rl_reset_completion_state@Base 6.0 _rl_reset_prompt@Base 6.3 _rl_restore_tty_signals@Base 6.0 _rl_revert_all_at_newline@Base 6.0 _rl_revert_all_lines@Base 6.0 _rl_rubout_char@Base 6.0 _rl_saved_line_for_history@Base 6.0 _rl_savestring@Base 6.0 _rl_screenchars@Base 6.0 _rl_screenheight@Base 6.0 _rl_screenwidth@Base 6.0 _rl_scxt_alloc@Base 6.0 _rl_scxt_dispose@Base 6.0 _rl_search_getchar@Base 6.0 _rl_set_cursor@Base 6.0 _rl_set_insert_mode@Base 6.0 _rl_set_mark_at_pos@Base 6.0 _rl_set_normal_color@Base 6.3 _rl_set_screen_size@Base 6.0 _rl_set_the_line@Base 6.0 _rl_settracefp@Base 6.3 _rl_show_mode_in_prompt@Base 6.3 _rl_sigcleanarg@Base 6.3 _rl_sigcleanup@Base 6.3 _rl_signal_handler@Base 6.0 _rl_sigwinch_resize_terminal@Base 6.3 _rl_skip_completed_text@Base 6.1 _rl_start_using_history@Base 6.0 _rl_strindex@Base 6.0 _rl_strip_prompt@Base 6.0 _rl_suppress_redisplay@Base 6.0 _rl_susp_char@Base 6.0 _rl_term_DC@Base 6.0 _rl_term_IC@Base 6.0 _rl_term_autowrap@Base 6.0 _rl_term_backspace@Base 6.0 _rl_term_clreol@Base 6.0 _rl_term_clrpag@Base 6.0 _rl_term_cr@Base 6.0 _rl_term_dc@Base 6.0 _rl_term_ei@Base 6.0 _rl_term_forward_char@Base 6.0 _rl_term_goto@Base 6.0 _rl_term_ic@Base 6.0 _rl_term_im@Base 6.0 _rl_term_ip@Base 6.0 _rl_term_pc@Base 6.0 _rl_term_up@Base 6.0 _rl_terminal_can_insert@Base 6.0 _rl_to_lower@Base 6.0 _rl_to_upper@Base 6.0 _rl_top_level@Base 6.0 _rl_trace@Base 6.0 _rl_trclose@Base 6.0 _rl_tropen@Base 6.0 _rl_ttymsg@Base 6.0 _rl_undo_group_level@Base 6.0 _rl_unget_char@Base 6.0 _rl_untranslate_macro_value@Base 6.3 _rl_update_final@Base 6.0 _rl_uppercase_p@Base 6.0 _rl_utf8locale@Base 6.3 _rl_vi_domove_callback@Base 6.2 _rl_vi_done_inserting@Base 6.0 _rl_vi_initialize_line@Base 6.0 _rl_vi_last_command@Base 6.0 _rl_vi_reset_last@Base 6.0 _rl_vi_set_last@Base 6.0 _rl_vi_textmod_command@Base 6.0 _rl_vimvcxt@Base 6.2 _rl_vis_botlin@Base 6.0 _rl_walphabetic@Base 6.0 _rl_want_redisplay@Base 6.0 _rl_with_macro_input@Base 6.0 add_history@Base 6.0 add_history_time@Base 6.0 alloc_history_entry@Base 6.0 alphabetic@Base 6.0 append_history@Base 6.0 clear_history@Base 6.0 completion_matches@Base 6.0 copy_history_entry@Base 6.0 crlf@Base 6.0 current_history@Base 6.0 ding@Base 6.0 emacs_ctlx_keymap@Base 6.0 emacs_meta_keymap@Base 6.0 emacs_standard_keymap@Base 6.0 filename_completion_function@Base 6.0 free_history_entry@Base 6.0 free_undo_list@Base 6.0 funmap@Base 6.0 funmap_program_specific_entry_start@Base 6.0 get_history_event@Base 6.0 history_arg_extract@Base 6.0 history_base@Base 6.0 history_comment_char@Base 6.0 history_expand@Base 6.0 history_expansion_char@Base 6.0 history_get@Base 6.0 history_get_history_state@Base 6.0 history_get_time@Base 6.0 history_inhibit_expansion_function@Base 6.0 history_is_stifled@Base 6.0 history_length@Base 6.0 history_list@Base 6.0 history_max_entries@Base 6.0 history_no_expand_chars@Base 6.0 history_offset@Base 6.0 history_quotes_inhibit_expansion@Base 6.0 history_search@Base 6.0 history_search_delimiter_chars@Base 6.0 history_search_pos@Base 6.0 history_search_prefix@Base 6.0 history_set_history_state@Base 6.0 history_set_pos@Base 6.0 history_subst_char@Base 6.0 history_tokenize@Base 6.0 history_total_bytes@Base 6.0 history_truncate_file@Base 6.0 history_word_delimiters@Base 6.0 history_write_timestamps@Base 6.0 max_input_history@Base 6.0 maybe_replace_line@Base 6.0 maybe_save_line@Base 6.0 maybe_unsave_line@Base 6.0 next_history@Base 6.0 previous_history@Base 6.0 read_history@Base 6.0 read_history_range@Base 6.0 readline@Base 6.0 readline_internal_char@Base 6.0 readline_internal_setup@Base 6.0 readline_internal_teardown@Base 6.0 remove_history@Base 6.0 replace_history_data@Base 6.0 replace_history_entry@Base 6.0 rl_abort@Base 6.0 rl_add_defun@Base 6.0 rl_add_funmap_entry@Base 6.0 rl_add_undo@Base 6.0 rl_alphabetic@Base 6.0 rl_already_prompted@Base 6.0 rl_arg_sign@Base 6.0 rl_arrow_keys@Base 6.0 rl_attempted_completion_function@Base 6.0 rl_attempted_completion_over@Base 6.0 rl_backward@Base 6.0 rl_backward_byte@Base 6.0 rl_backward_char@Base 6.0 rl_backward_char_search@Base 6.0 rl_backward_kill_line@Base 6.0 rl_backward_kill_word@Base 6.0 rl_backward_menu_complete@Base 6.1 rl_backward_word@Base 6.0 rl_basic_quote_characters@Base 6.0 rl_basic_word_break_characters@Base 6.0 rl_beg_of_line@Base 6.0 rl_begin_undo_group@Base 6.0 rl_beginning_of_history@Base 6.0 rl_bind_key@Base 6.0 rl_bind_key_if_unbound@Base 6.0 rl_bind_key_if_unbound_in_map@Base 6.0 rl_bind_key_in_map@Base 6.0 rl_bind_keyseq@Base 6.0 rl_bind_keyseq_if_unbound@Base 6.0 rl_bind_keyseq_if_unbound_in_map@Base 6.0 rl_bind_keyseq_in_map@Base 6.0 rl_binding_keymap@Base 6.0 rl_blink_matching_paren@Base 6.0 rl_byte_oriented@Base 6.0 rl_call_last_kbd_macro@Base 6.0 rl_callback_handler_install@Base 6.0 rl_callback_handler_remove@Base 6.0 rl_callback_read_char@Base 6.0 rl_capitalize_word@Base 6.0 rl_catch_signals@Base 6.0 rl_catch_sigwinch@Base 6.0 rl_change_environment@Base 6.3 rl_char_is_quoted_p@Base 6.0 rl_char_search@Base 6.0 rl_character_len@Base 6.0 rl_cleanup_after_signal@Base 6.0 rl_clear_history@Base 6.3 rl_clear_message@Base 6.0 rl_clear_pending_input@Base 6.0 rl_clear_screen@Base 6.0 rl_clear_signals@Base 6.0 rl_complete@Base 6.0 rl_complete_internal@Base 6.0 rl_complete_with_tilde_expansion@Base 6.0 rl_completer_quote_characters@Base 6.0 rl_completer_word_break_characters@Base 6.0 rl_completion_append_character@Base 6.0 rl_completion_display_matches_hook@Base 6.0 rl_completion_entry_function@Base 6.0 rl_completion_found_quote@Base 6.0 rl_completion_invoking_key@Base 6.0 rl_completion_mark_symlink_dirs@Base 6.0 rl_completion_matches@Base 6.0 rl_completion_mode@Base 6.0 rl_completion_query_items@Base 6.0 rl_completion_quote_character@Base 6.0 rl_completion_suppress_append@Base 6.0 rl_completion_suppress_quote@Base 6.0 rl_completion_type@Base 6.0 rl_completion_word_break_hook@Base 6.0 rl_copy_backward_word@Base 6.0 rl_copy_forward_word@Base 6.0 rl_copy_keymap@Base 6.0 rl_copy_region_to_kill@Base 6.0 rl_copy_text@Base 6.0 rl_crlf@Base 6.0 rl_delete@Base 6.0 rl_delete_horizontal_space@Base 6.0 rl_delete_or_show_completions@Base 6.0 rl_delete_text@Base 6.0 rl_deprep_term_function@Base 6.0 rl_deprep_terminal@Base 6.0 rl_digit_argument@Base 6.0 rl_ding@Base 6.0 rl_directory_completion_hook@Base 6.0 rl_directory_rewrite_hook@Base 6.0 rl_discard_argument@Base 6.0 rl_discard_keymap@Base 6.0 rl_dispatching@Base 6.0 rl_display_fixed@Base 6.0 rl_display_match_list@Base 6.0 rl_display_prompt@Base 6.0 rl_do_lowercase_version@Base 6.0 rl_do_undo@Base 6.0 rl_done@Base 6.0 rl_downcase_word@Base 6.0 rl_dump_functions@Base 6.0 rl_dump_macros@Base 6.0 rl_dump_variables@Base 6.0 rl_echo_signal_char@Base 6.0 rl_editing_mode@Base 6.0 rl_emacs_editing_mode@Base 6.0 rl_end@Base 6.0 rl_end_kbd_macro@Base 6.0 rl_end_of_history@Base 6.0 rl_end_of_line@Base 6.0 rl_end_undo_group@Base 6.0 rl_erase_empty_line@Base 6.0 rl_event_hook@Base 6.0 rl_exchange_point_and_mark@Base 6.0 rl_execute_next@Base 6.0 rl_executing_key@Base 6.3 rl_executing_keymap@Base 6.0 rl_executing_keyseq@Base 6.3 rl_executing_macro@Base 6.0 rl_expand_prompt@Base 6.0 rl_explicit_arg@Base 6.0 rl_extend_line_buffer@Base 6.0 rl_filename_completion_desired@Base 6.0 rl_filename_completion_function@Base 6.0 rl_filename_dequoting_function@Base 6.0 rl_filename_quote_characters@Base 6.0 rl_filename_quoting_desired@Base 6.0 rl_filename_quoting_function@Base 6.0 rl_filename_rewrite_hook@Base 6.1 rl_filename_stat_hook@Base 6.3 rl_forced_update_display@Base 6.0 rl_forward@Base 6.0 rl_forward_byte@Base 6.0 rl_forward_char@Base 6.0 rl_forward_search_history@Base 6.0 rl_forward_word@Base 6.0 rl_free@Base 6.0 rl_free_keymap@Base 6.1 rl_free_line_state@Base 6.0 rl_free_undo_list@Base 6.0 rl_function_dumper@Base 6.0 rl_function_of_keyseq@Base 6.0 rl_funmap_names@Base 6.0 rl_generic_bind@Base 6.0 rl_get_keymap@Base 6.0 rl_get_keymap_by_name@Base 6.0 rl_get_keymap_name@Base 6.0 rl_get_keymap_name_from_edit_mode@Base 6.0 rl_get_next_history@Base 6.0 rl_get_previous_history@Base 6.0 rl_get_screen_size@Base 6.0 rl_get_termcap@Base 6.0 rl_getc@Base 6.0 rl_getc_function@Base 6.0 rl_gnu_readline_p@Base 6.0 rl_history_search_backward@Base 6.0 rl_history_search_forward@Base 6.0 rl_history_substr_search_backward@Base 6.3 rl_history_substr_search_forward@Base 6.3 rl_ignore_completion_duplicates@Base 6.0 rl_ignore_some_completions_function@Base 6.0 rl_inhibit_completion@Base 6.0 rl_initialize@Base 6.0 rl_initialize_funmap@Base 6.0 rl_input_available_hook@Base 6.3 rl_insert@Base 6.0 rl_insert_close@Base 6.0 rl_insert_comment@Base 6.0 rl_insert_completions@Base 6.0 rl_insert_mode@Base 6.0 rl_insert_text@Base 6.0 rl_instream@Base 6.0 rl_invoking_keyseqs@Base 6.0 rl_invoking_keyseqs_in_map@Base 6.0 rl_key_sequence_length@Base 6.0 rl_kill_full_line@Base 6.0 rl_kill_line@Base 6.0 rl_kill_region@Base 6.0 rl_kill_text@Base 6.0 rl_kill_word@Base 6.0 rl_last_func@Base 6.0 rl_library_version@Base 6.0 rl_line_buffer@Base 6.0 rl_line_buffer_len@Base 6.0 rl_linefunc@Base 6.0 rl_list_funmap_names@Base 6.0 rl_macro_bind@Base 6.0 rl_macro_dumper@Base 6.0 rl_make_bare_keymap@Base 6.0 rl_make_keymap@Base 6.0 rl_mark@Base 6.0 rl_maybe_replace_line@Base 6.0 rl_maybe_save_line@Base 6.0 rl_maybe_unsave_line@Base 6.0 rl_menu_complete@Base 6.0 rl_menu_completion_entry_function@Base 6.0 rl_message@Base 6.0 rl_modifying@Base 6.0 rl_named_function@Base 6.0 rl_newline@Base 6.0 rl_noninc_forward_search@Base 6.0 rl_noninc_forward_search_again@Base 6.0 rl_noninc_reverse_search@Base 6.0 rl_noninc_reverse_search_again@Base 6.0 rl_num_chars_to_read@Base 6.0 rl_numeric_arg@Base 6.0 rl_old_menu_complete@Base 6.0 rl_on_new_line@Base 6.0 rl_on_new_line_with_prompt@Base 6.0 rl_outstream@Base 6.0 rl_overwrite_mode@Base 6.0 rl_parse_and_bind@Base 6.0 rl_pending_input@Base 6.0 rl_point@Base 6.0 rl_possible_completions@Base 6.0 rl_pre_input_hook@Base 6.0 rl_prefer_env_winsize@Base 6.0 rl_prep_term_function@Base 6.0 rl_prep_terminal@Base 6.0 rl_print_last_kbd_macro@Base 6.3 rl_prompt@Base 6.0 rl_push_macro_input@Base 6.0 rl_quoted_insert@Base 6.0 rl_re_read_init_file@Base 6.0 rl_read_init_file@Base 6.0 rl_read_key@Base 6.0 rl_readline_name@Base 6.0 rl_readline_state@Base 6.0 rl_readline_version@Base 6.0 rl_redisplay@Base 6.0 rl_redisplay_function@Base 6.0 rl_refresh_line@Base 6.0 rl_replace_from_history@Base 6.0 rl_replace_line@Base 6.0 rl_reset_after_signal@Base 6.0 rl_reset_line_state@Base 6.0 rl_reset_screen_size@Base 6.0 rl_reset_terminal@Base 6.0 rl_resize_terminal@Base 6.0 rl_restart_output@Base 6.0 rl_restore_prompt@Base 6.0 rl_restore_state@Base 6.0 rl_reverse_search_history@Base 6.0 rl_revert_line@Base 6.0 rl_rubout@Base 6.0 rl_rubout_or_delete@Base 6.0 rl_save_prompt@Base 6.0 rl_save_state@Base 6.0 rl_set_key@Base 6.0 rl_set_keyboard_input_timeout@Base 6.0 rl_set_keymap@Base 6.0 rl_set_keymap_from_edit_mode@Base 6.0 rl_set_mark@Base 6.0 rl_set_paren_blink_timeout@Base 6.0 rl_set_prompt@Base 6.0 rl_set_retained_kills@Base 6.0 rl_set_screen_size@Base 6.0 rl_set_signals@Base 6.0 rl_show_char@Base 6.0 rl_signal_event_hook@Base 6.3 rl_skip_csi_sequence@Base 6.1 rl_sort_completion_matches@Base 6.0 rl_special_prefixes@Base 6.0 rl_start_kbd_macro@Base 6.0 rl_startup_hook@Base 6.0 rl_stop_output@Base 6.0 rl_stuff_char@Base 6.0 rl_tab_insert@Base 6.0 rl_terminal_name@Base 6.0 rl_tilde_expand@Base 6.0 rl_translate_keyseq@Base 6.0 rl_transpose_chars@Base 6.0 rl_transpose_words@Base 6.0 rl_tty_set_default_bindings@Base 6.0 rl_tty_status@Base 6.0 rl_tty_unset_default_bindings@Base 6.0 rl_unbind_command_in_map@Base 6.0 rl_unbind_function_in_map@Base 6.0 rl_unbind_key@Base 6.0 rl_unbind_key_in_map@Base 6.0 rl_undo_command@Base 6.0 rl_undo_list@Base 6.0 rl_universal_argument@Base 6.0 rl_unix_filename_rubout@Base 6.0 rl_unix_line_discard@Base 6.0 rl_unix_word_rubout@Base 6.0 rl_untranslate_keyseq@Base 6.0 rl_upcase_word@Base 6.0 rl_username_completion_function@Base 6.0 rl_variable_bind@Base 6.0 rl_variable_dumper@Base 6.0 rl_variable_value@Base 6.0 rl_vi_append_eol@Base 6.0 rl_vi_append_mode@Base 6.0 rl_vi_arg_digit@Base 6.0 rl_vi_bWord@Base 6.0 rl_vi_back_to_indent@Base 6.0 rl_vi_bracktype@Base 6.0 rl_vi_bword@Base 6.0 rl_vi_change_case@Base 6.0 rl_vi_change_char@Base 6.0 rl_vi_change_to@Base 6.0 rl_vi_char_search@Base 6.0 rl_vi_check@Base 6.0 rl_vi_column@Base 6.0 rl_vi_complete@Base 6.0 rl_vi_delete@Base 6.0 rl_vi_delete_to@Base 6.0 rl_vi_domove@Base 6.0 rl_vi_eWord@Base 6.0 rl_vi_editing_mode@Base 6.0 rl_vi_end_word@Base 6.0 rl_vi_eof_maybe@Base 6.0 rl_vi_eword@Base 6.0 rl_vi_fWord@Base 6.0 rl_vi_fetch_history@Base 6.0 rl_vi_first_print@Base 6.0 rl_vi_fword@Base 6.0 rl_vi_goto_mark@Base 6.0 rl_vi_insert_beg@Base 6.0 rl_vi_insert_mode@Base 6.0 rl_vi_insertion_mode@Base 6.0 rl_vi_match@Base 6.0 rl_vi_movement_mode@Base 6.0 rl_vi_next_word@Base 6.0 rl_vi_overstrike@Base 6.0 rl_vi_overstrike_delete@Base 6.0 rl_vi_prev_word@Base 6.0 rl_vi_put@Base 6.0 rl_vi_redo@Base 6.0 rl_vi_replace@Base 6.0 rl_vi_rubout@Base 6.0 rl_vi_search@Base 6.0 rl_vi_search_again@Base 6.0 rl_vi_set_mark@Base 6.0 rl_vi_start_inserting@Base 6.0 rl_vi_subst@Base 6.0 rl_vi_tilde_expand@Base 6.0 rl_vi_undo@Base 6.0 rl_vi_yank_arg@Base 6.0 rl_vi_yank_to@Base 6.0 rl_visible_prompt_length@Base 6.0 rl_visible_stats@Base 6.0 rl_yank@Base 6.0 rl_yank_last_arg@Base 6.0 rl_yank_nth_arg@Base 6.0 rl_yank_pop@Base 6.0 rltty_set_default_bindings@Base 6.0 sh_get_env_value@Base 6.0 sh_get_home_dir@Base 6.0 sh_set_lines_and_columns@Base 6.0 sh_single_quote@Base 6.0 sh_unset_nodelay_mode@Base 6.0 stifle_history@Base 6.0 tilde_additional_prefixes@Base 6.0 tilde_additional_suffixes@Base 6.0 tilde_expand@Base 6.0 tilde_expand_word@Base 6.0 tilde_expansion_failure_hook@Base 6.0 tilde_expansion_preexpansion_hook@Base 6.0 unstifle_history@Base 6.0 username_completion_function@Base 6.0 using_history@Base 6.0 vi_insertion_keymap@Base 6.0 vi_movement_keymap@Base 6.0 where_history@Base 6.0 write_history@Base 6.0 (optional)xfree@Base 6.0 (optional)xmalloc@Base 6.0 (optional)xrealloc@Base 6.0 debian/README.Debian0000644000000000000000000000375311246202071011232 0ustar A kind of FAQ for libreadline on Debian GNU/{Linux,Hurd} -------------------------------------------------------- 0. symlinked directory completion behavior Starting with readline-4.2a, completion on symlinks that point to directories does not append the slash. To restore the behaviour found in readline-4.2, add to /etc/inputrc or ~/.inputrc: set mark-symlinked-directories on 1. re-enable the paren matching feature in readline-4.1 Add to /etc/inputrc or ~/.inputrc: set blink-matching-paren on 2. key bindings for ESC Consider the following .inputrc: set editing-mode vi keymap vi "\M-[D": backward-char "\M-[C": forward-char "\M-[A": previous-history "\M-[B": next-history And, just to be certain, set -o reports that vi is on. However, ESC k does not send me to the previous line. I'm guessing that this is a conflict between bash's concept of a meta keymap and its concept of vi's command-mode character -- which is to say that its data structures don't properly reflect its implementation. Note that if I remove the meta prefix, leaving lines like: "[A": previous-history That vi command mode keys work fine, and I can use the arrow keys in vi mode, *provided I'm already in command mode already*. In other words, bash is doing something wrong here such that it doesn't see the escape character at the beginning of the key sequence even when in vi insert mode. Comment from the upstream author: "This guy destroyed the key binding for ESC, which effectively disabled vi command mode. It's not as simple as he paints it to be -- the binding for ESC in the vi insertion keymap *must* be a function because of the other things needed when switching from insert mode to command mode. If he wants to change something in vi's command mode, he needs to use `set keymap vi-command' and enter key bindings without the \M- prefix (as he discovered)." debian/semantic.cache0000644000000000000000000001312411246202071011752 0ustar ;; Object debian/ ;; SEMANTICDB Tags save file (semanticdb-project-database-file "debian/" :tables (list (semanticdb-table "rules" :major-mode 'makefile-mode :tags '(("soversion" variable (:default-value ("5")) nil [40 54]) ("libversion" variable (:default-value ("$(soversion).1")) nil [54 82]) ("build64" variable (:default-value ("yes")) nil [384 398]) ("CC64" variable (:default-value ("gcc" "-m64")) nil [400 416]) ("gencontrol_flags" variable (:default-value ("--" "'-Vlibxx:Depends=libc6-$(ARCH64)'" "'-Vdevxx:Depends=libc6-dev-$(ARCH64)'")) nil [418 518]) ("ARCH64" variable (:default-value ("amd64")) nil [553 568]) ("HOST64" variable (:default-value ("x86_64-linux-gnu")) nil [572 598]) ("ARCH64" variable (:default-value ("ppc64")) nil [644 659]) ("HOST64" variable (:default-value ("ppc64-linux-gnu")) nil [663 688]) ("ARCH64" variable (:default-value ("sparc64")) nil [732 749]) ("HOST64" variable (:default-value ("sparc64-linux-gnu")) nil [753 780]) ("ARCH64" variable (:default-value ("s390x")) nil [823 838]) ("HOST64" variable (:default-value ("s390x-linux-gnu")) nil [842 867]) ("build32" variable (:default-value ("yes")) nil [940 954]) ("CC32" variable (:default-value ("gcc" "-m32")) nil [956 972]) ("gencontrol_flags" variable (:default-value ("--" "'-Vlibxx:Depends=libc6-$(ARCH32)'" "'-Vdevxx:Depends=libc6-dev-$(ARCH32)'")) nil [974 1074]) ("ARCH32" variable (:default-value ("amd64")) nil [1110 1125]) ("HOST32" variable (:default-value ("i486-linux-gnu")) nil [1129 1153]) ("ARCH32" variable (:default-value ("powerpc")) nil [1197 1214]) ("HOST32" variable (:default-value ("powerpc-linux-gnu")) nil [1218 1245]) ("CC_LINK_FLAGS" variable nil nil [1296 1312]) ("CC_LINK_FLAGS" variable (:default-value ("-Wl,")) nil [1319 1340]) ("CC" variable (:default-value ("gcc")) nil [1346 1355]) ("SHELL" variable (:default-value ("bash")) nil [1356 1369]) ("PWD" variable (:default-value ("$(shell pwd)")) nil [1370 1390]) ("p_rl" variable (:default-value ("libreadline$(soversion)")) nil [1390 1421]) ("p_rl32" variable (:default-value ("lib32readline$(soversion)")) nil [1421 1456]) ("p_rl64" variable (:default-value ("lib64readline$(soversion)")) nil [1456 1491]) ("p_comm" variable (:default-value ("readline-common")) nil [1491 1516]) ("p_rld" variable (:default-value ("$(p_rl)-dev")) nil [1516 1536]) ("p_rld32" variable (:default-value ("$(p_rl32)-dev")) nil [1536 1560]) ("p_rld64" variable (:default-value ("$(p_rl64)-dev")) nil [1560 1584]) ("p_rlg" variable (:default-value ("$(p_rl)-dbg")) nil [1584 1604]) ("p_doc" variable (:default-value ("$(p_rl)-doc")) nil [1604 1624]) ("p_rlfe" variable (:default-value ("rlfe")) nil [1624 1638]) ("d" variable (:default-value ("debian/tmp")) nil [1639 1654]) ("d32" variable (:default-value ("debian/tmp32")) nil [1654 1673]) ("d64" variable (:default-value ("debian/tmp64")) nil [1673 1692]) ("d_rl" variable (:default-value ("debian/$(p_rl)")) nil [1692 1714]) ("d_rl32" variable (:default-value ("debian/$(p_rl32)")) nil [1714 1740]) ("d_rl64" variable (:default-value ("debian/$(p_rl64)")) nil [1740 1766]) ("d_comm" variable (:default-value ("debian/$(p_comm)")) nil [1766 1792]) ("d_rld" variable (:default-value ("debian/$(p_rld)")) nil [1792 1816]) ("d_rld32" variable (:default-value ("debian/$(p_rld32)")) nil [1816 1844]) ("d_rld64" variable (:default-value ("debian/$(p_rld64)")) nil [1844 1872]) ("d_rlg" variable (:default-value ("debian/$(p_rlg)")) nil [1872 1896]) ("d_doc" variable (:default-value ("debian/$(p_doc)")) nil [1896 1920]) ("d_rlfe" variable (:default-value ("debian/$(p_rlfe)")) nil [1920 1946]) ("srcdir" variable (:default-value ("$(PWD)")) nil [1947 1964]) ("builddir" variable (:default-value ("$(PWD)/build")) nil [1964 1988]) ("builddir32" variable (:default-value ("$(PWD)/build32")) nil [1988 2016]) ("builddir64" variable (:default-value ("$(PWD)/build64")) nil [2016 2044]) ("default" function (:arguments ("build")) nil [2045 2061]) ("configure" function (:arguments ("configure-stamp")) nil [2061 2103]) ("configure-stamp" function (:arguments ("patch-stamp")) nil [2088 2331]) ("build" function (:arguments ("build-stamp" "build-rlfe-stamp")) nil [2711 2748]) ("build-stamp" function (:arguments ("configure-stamp")) nil [2748 2908]) ("build-rlfe-stamp" function (:arguments ("configure-stamp")) nil [3453 4125]) ("clean" function nil nil [4125 4256]) ("install" function (:arguments ("install-stamp")) nil [4495 4531]) ("install-stamp" function nil nil [4518 4763]) ("binary-indep" function (:arguments ("build" "install")) nil [9268 9697]) ("binary-arch" function (:arguments ("build" "install")) nil [9697 10140]) ("binary" function (:arguments ("binary-indep" "binary-arch")) nil [11493 11528]) ("patchdir" variable (:default-value ("debian/patches")) nil [11780 11806]) ("debian_patches" variable (:default-value ("readline51-001" "readline51-002" "readline51-003" "readline51-004" "rl-inputrc" "rl-header" "rl-attribute" "rl-no-rpath" "rl-no-cross-check" "rlfe-libs")) nil [11842 12026]) ("patch" function (:arguments ("patch-stamp")) nil [12027 12059]) ("apply-patches" function (:arguments ("patch-stamp")) nil [12046 12074]) ("patch-stamp" function (:arguments ("$(foreach p,$(debian_patches),patch-stamp-$(p))")) nil [12074 12338]) ("reverse-patches" function (:arguments ("unpatch")) nil [12338 12370]) ("unpatch" function nil nil [12363 12945]) ("patch-stamp-%" function (:arguments ("$(patchdir)/%.dpatch")) nil [12945 13161]) (".PHONY" function (:arguments ("binary" "binary-arch" "binary-indep" "clean")) nil [13162 13209])) :file "rules" :pointmax 13252 ) ) :file "semantic.cache" :semantic-tag-version "2.0pre3" :semanticdb-version "2.0pre3" ) debian/changelog0000644000000000000000000005656212315342131011051 0ustar readline6 (6.3-4ubuntu2) trusty; urgency=medium * Fix a display issue when a multiline command is aborted with ^C. -- Matthias Klose Fri, 28 Mar 2014 19:46:45 +0100 readline6 (6.3-4ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - Build x32 packages. -- Matthias Klose Thu, 20 Mar 2014 04:18:57 +0100 readline6 (6.3-4) unstable; urgency=medium * Fix an issue in vi-mode, not re-doing the latest "dw", "dl", "D", ... commands. -- Matthias Klose Wed, 19 Mar 2014 18:35:48 +0100 readline6 (6.3-3) unstable; urgency=medium * Fix patching the installed example Makefile. -- Matthias Klose Wed, 19 Mar 2014 17:07:30 +0100 readline6 (6.3-2) unstable; urgency=medium * Fix segfault in _rl_dispatch_callback(). Closes: #741555. * Remove build specific paths from the installed examples Makefile. Closes: #670030, #693248. * 6.3 includes the documentation again. Closes: #726581. * Fix symbols file for non-linux architectures. * Fix build warning building rlfe (assignment makes pointer from integer without a cast). * Fix lintian permission warnings. -- Matthias Klose Wed, 19 Mar 2014 13:42:21 +0100 readline6 (6.3-1ubuntu2) trusty; urgency=medium * rl_dispatch_callback-segv.diff: Add upstream patch from Chet Ramey SIGSEGV in _rl_dispatch_callback() (Closes: #741555, LP: #1290287) -- Adam Conrad Fri, 14 Mar 2014 14:37:56 -0600 readline6 (6.3-1ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - Build x32 packages. -- Matthias Klose Mon, 03 Mar 2014 10:37:35 +0100 readline6 (6.3-1) unstable; urgency=medium * readline 6.3 release. * Update symbols files. -- Matthias Klose Mon, 03 Mar 2014 08:24:21 +0100 readline6 (6.2-9ubuntu1) raring; urgency=low * Build x32 packages. -- Matthias Klose Wed, 14 Nov 2012 12:18:05 +0100 readline6 (6.2-9) unstable; urgency=low * Apply upstream patches 002 - 004. Fixes: - The readline shared library helper script needs to be updated for Mac OS X 10.7 (Lion, darwin11). - A change between readline-6.1 and readline-6.2 to prevent the readline input hook from being called too frequently had the side effect of causing delays when reading pasted input on systems such as Mac OS X. This patch fixes those delays while retaining the readline-6.2 behavior. Closes: #687100. - Attempting to redo (using `.') the vi editing mode `cc', `dd', or `yy' commands leads to an infinite loop. * Make examples Makefile Multi-Arch installable (Shawn Landden). Closes: #670030. * Fix building with -Wformat-security, and pass CPPFLAGS (Simon Ruderich). Closes: #687717. -- Matthias Klose Mon, 17 Sep 2012 14:10:00 +0200 readline6 (6.2-8) unstable; urgency=low * Mark readline-common Multi-Arch: foreign. Closes: #648098. -- Matthias Klose Mon, 21 Nov 2011 23:21:05 +0100 readline6 (6.2-7) unstable; urgency=low * Fix build failure on hurd-i386 (Samuel Thibault). Closes: #644777. * Use dpkg-buildflags to set CFLAGS and LDFLAGS. -- Matthias Klose Sun, 09 Oct 2011 11:23:45 +0200 readline6 (6.2-6) unstable; urgency=low * lib{,32}readline6-dev: Depend on lib{,32}tinfo-dev instead of lib{,32}ncurses5-dev. * Don't link rlfe against any libncurses* library. -- Matthias Klose Tue, 04 Oct 2011 16:33:44 +0200 readline6 (6.2-5) unstable; urgency=low * Do not link against any libncurses* library, just against libtinfo. * Fix corrupt display for history search in vi-mode, 256-color prompt (Micah Cowan). Closes: #614718, LP: #721982. * Remove unused build-dep on lsb-release. Closes: #642383. -- Matthias Klose Sat, 01 Oct 2011 11:56:50 +0200 readline6 (6.2-4) unstable; urgency=low * Fix broken .so symlinks. -- Matthias Klose Wed, 24 Aug 2011 10:08:49 +0200 readline6 (6.2-3) unstable; urgency=low * Add multi-arch support (Riku Voipio). Closes: #638850. -- Matthias Klose Tue, 23 Aug 2011 00:25:58 +0200 readline6 (6.2-2) unstable; urgency=low * Re-apply patch from 6.1-3, fixing kfreebsd build failure. Closes: #626704. -- Matthias Klose Wed, 18 May 2011 12:04:44 +0200 readline6 (6.2-1) unstable; urgency=low * New upstream version. -- Matthias Klose Sat, 23 Apr 2011 14:37:46 +0200 readline6 (6.2~alpha1-1) experimental; urgency=low * New upstream version, first alpha release. -- Matthias Klose Mon, 22 Nov 2010 10:30:08 +0100 readline6 (6.1-3) unstable; urgency=low * Fix build failure on kfreebsd. Closes: #577234. -- Matthias Klose Sun, 30 May 2010 20:31:27 +0200 readline6 (6.1-2) unstable; urgency=low * Apply upstream patches * rlfe: Provide readline-editor. Closes: #565964. * Use source format 3.0. -- Matthias Klose Sat, 10 Apr 2010 13:28:58 +0200 readline6 (6.1-1) unstable; urgency=low * New upstream version, final release. -- Matthias Klose Sat, 02 Jan 2010 13:29:08 +0100 readline6 (6.1~rc1-1) unstable; urgency=low * New upstream version, release candidate 1. * Add symbols files. -- Matthias Klose Wed, 30 Dec 2009 15:02:07 +0100 readline6 (6.0-5) unstable; urgency=low * Fix rlfe, always writing a history file (Andrew Pimlott). Closes: #544944. -- Matthias Klose Sun, 20 Sep 2009 10:36:09 +0200 readline6 (6.0-4) unstable; urgency=low * libreadline6-dev: Conflict with libreadline5-dev. Closes: #544082. -- Matthias Klose Sat, 29 Aug 2009 12:38:02 +0200 readline6 (6.0-3) unstable; urgency=low * Add a package libreadline-dev to be used as a build dependency, independent of the readline version. * Add cross build support (closes: #465237). * Clarify package description (closes: #478276) and comment in inputrc file (closes: #501671). -- Matthias Klose Mon, 24 Aug 2009 04:26:15 +0200 readline6 (6.0-2) unstable; urgency=low * Apply upstream patch 004. * Fix package sections and priorities and lintian warnings. -- Matthias Klose Sun, 23 Aug 2009 17:37:21 +0200 readline6 (6.0-1) experimental; urgency=low * New upstream version, final release. * Apply upstream patches 001 - 003. -- Matthias Klose Sun, 28 Jun 2009 19:18:02 +0200 readline6 (6.0~beta-0ubuntu1) jaunty; urgency=low * New upstream version, 6.0 beta. -- Matthias Klose Sat, 29 Nov 2008 17:56:45 +0100 readline5 (5.2-4) unstable; urgency=low * Apply upstream patches up to readline52-013. Closes: #494934. * Remove the patch introduced in 5.2-3.1, obsoleted by the upstream patches. -- Matthias Klose Sat, 28 Feb 2009 19:00:38 +0100 readline5 (5.2-3.1) unstable; urgency=low * Non-maintainer upload. * Apply rl-input-eventhook.dpatch: Fix input data validation when run with rl_event_hook. Closes: #498277. -- Arnaud Cornet Sat, 10 Jan 2009 17:06:46 +0100 readline5 (5.2-3) unstable; urgency=low * Build-depend on gcc-multilib instead of lib{32,64}c*-dev-*. Closes: #423995. * Apply upstream patch readline52-001 (readline neglects to reallocate the array it uses to keep track of wrapped screen lines when increasing its size. This will eventually result in segmentation faults when given sufficiently long input. * Apply upstream patch readline52-003 and readline52-004, fixes for displaying the prompt. * Link biarch builds against ncurses. -- Matthias Klose Thu, 24 May 2007 23:49:39 +0200 readline5 (5.2-2) unstable; urgency=low * Apply upstream patch readline52-001 (incorrect display position with multibyte characters). -- Matthias Klose Tue, 19 Dec 2006 16:28:28 +0100 readline5 (5.2-1) unstable; urgency=low * New upstream version. * Removed patches applied upstream: rlfe-pts, rl-inputrc. * readline-common: Don't conflict with libreadine4, keep the replaces; eases upgrades from MySQL 5 databases. Closes: #387966. -- Matthias Klose Sat, 28 Oct 2006 13:54:43 +0200 readline5 (5.1-9) unstable; urgency=low * Fix libc dependencies for the lib32readline5{,-dev} packages. Closes: #386345. * Set DEB_BUILD_GNU_TYPE. Closes: #390372. -- Matthias Klose Sun, 10 Sep 2006 21:04:52 +0000 readline5 (5.1-8) unstable; urgency=low * Build 32bit packages for amd64 and ppc64. Closes: #384198. * Apply cross-compilation fixes, but keep the dependency on readline-common. Closes: #358767. * Fix build failure on ppc64. Closes: #361193. -- Matthias Klose Mon, 4 Sep 2006 00:15:39 +0200 readline5 (5.1-7) unstable; urgency=low * Apply upstream patches 003, 004. * Remove build dependency on ia32-libs-dev. -- Matthias Klose Mon, 15 Mar 2006 23:39:50 +0000 readline5 (5.1-6) unstable; urgency=low * Apply upstream patch 002. * Fix dangling symlinks in doc directory (closes: #346157, #346158). -- Matthias Klose Tue, 7 Feb 2006 18:46:32 +0100 readline5 (5.1-5) unstable; urgency=high * Fix names of libc-dev packages in lib64readline5-dev dependencies. Closes: #344723. -- Matthias Klose Fri, 30 Dec 2005 00:23:24 +0100 readline5 (5.1-4) unstable; urgency=low * Add 32/64 bit build dependencies, lib64ncurses-dev doesn't yet depend on it. -- Matthias Klose Thu, 22 Dec 2005 18:36:32 +0000 readline5 (5.1-3) unstable; urgency=medium * Don't call dh_shlibdeps for the lib64readline5 package. * Fix build on GNU/kFreeBSD. Closes: #343323. * Fix callback interface (closes: #343477). -- Matthias Klose Thu, 22 Dec 2005 17:29:52 +0100 readline5 (5.1-2) unstable; urgency=low * Don't check for cross compilation, when building for 64bit biarchs. * Build 64bit packages for i386 and powerpc as well. * /etc/inputrc: Activate bindings for forward-/backward-word, when term=rxvt. Ubuntu #18927. -- Matthias Klose Sat, 10 Dec 2005 00:03:36 +0100 readline5 (5.1-1) unstable; urgency=low * New upstream version (5.1 release). - Works better with non-ASCII input (closes: #332635). * readline-common conflicts/replaces libreadline-common (closes: #339452). -- Matthias Klose Fri, 9 Dec 2005 21:22:24 +0100 readline5 (5.0+5.1rc1-1) unstable; urgency=low * New upstream version (5.1-rc1). - Fix rlfe command line parsing (closes: #308315). * Remove patches applied upstream: rl-del-backspace-policy. * Remove /etc/inputrc on purge (closes: #334142). -- Matthias Klose Fri, 11 Nov 2005 12:36:59 +0000 readline5 (5.0+5.1b1-1) unstable; urgency=low * New upstream version (5.1-beta1). -- Matthias Klose Thu, 13 Oct 2005 16:03:09 +0200 readline5 (5.0+5.1a1-1) unstable; urgency=low * New upstream version (5.1-alpha1). * Remove patches applied upstream: - readline50-*, rl-setenv, rl-display, rl-self-insert, rl-examples. * libreadline5 now depends on libreadline-common, now holding the readline user documentation and the configuration file /etc/inputrc. -- Matthias Klose Sun, 11 Sep 2005 17:05:28 +0200 readline5 (5.0-11) unstable; urgency=low * libreadline5 now depends on readline-common, now holding the readline user documentation and the configuration file /etc/inputrc. -- Matthias Klose Sun, 11 Sep 2005 20:18:27 +0000 readline5 (5.0-10) unstable; urgency=low * Update support/config.* files (closes: #290910). -- Matthias Klose Sun, 23 Jan 2005 09:58:30 +0100 readline5 (5.0-9) unstable; urgency=low * Fix bug in readline's self-insert command (addresses: #290103). * Fix reference to upstream version (closes: #282252). * Fix re-read-init-file (C-xC-r) not to read /etc/inputrc twice, but /etc/inputrc and ~/.inputrc. Thanks to Vasco Pedro. * rlfe: Use Unix98 pty naming (closes: #287434). -- Matthias Klose Sun, 16 Jan 2005 13:01:21 +0100 readline5 (5.0-8) unstable; urgency=low * Fix segfault in the ``reverse-search-history'' feature of the readline library, if the search string matches a previously entered command (ie history) and must overflow the current screen width. Addresses: #288940. -- Matthias Klose Wed, 12 Jan 2005 08:11:36 +0100 readline5 (5.0-7) unstable; urgency=low * Add build dependency on autotools-dev (closes: #281429). -- Matthias Klose Mon, 15 Nov 2004 22:53:33 +0100 readline5 (5.0-6) unstable; urgency=low * Build-depend on texinfo (closes: #280867). -- Matthias Klose Fri, 12 Nov 2004 08:47:26 +0100 readline5 (5.0-5) unstable; urgency=high * Remove the libreadline-common package, until sarge is released. Install the man pages as readline5(3) and history5(3), install the user manual as rl5userman. Closes: #279366. -- Matthias Klose Thu, 11 Nov 2004 08:05:15 +0100 readline5 (5.0-4) unstable; urgency=low * Fix typo in rules file. -- Matthias Klose Tue, 26 Oct 2004 07:35:50 +0200 readline5 (5.0-3) unstable; urgency=low * Prefer using setenv over putenv. -- Matthias Klose Sun, 17 Oct 2004 11:09:20 +0200 readline5 (5.0-2) unstable; urgency=medium * Remove sgid bits from directories (closes: #274667). * libreadline5 now depends on libreadline-common | libreadline4 (<< 4.3-13), becoming installable in sarge, but leaving out the rluserman docs, which is in libreadline-common (closes: #276536). -- Matthias Klose Fri, 15 Oct 2004 00:09:16 +0200 readline5 (5.0-1) unstable; urgency=low * Package maintainers: Do not build-depend on libreadline5-dev, unless you want to stick your package to unstable. readline is part of base and therefore frozen for sarge. * New upstream release. * Bugs fixed in this release (and the alpha/beta releases): - Fixed a bug that caused the prompt to overwrite previous output when the output doesn't contain a newline and the locale supports multibyte characters. This same change fixes the problem of readline redisplay slowing down dramatically as the line gets longer in multibyte locales. Closes: #179883. - Speedups to the multibyte character redisplay code. Closes: #154063. - Fixed a problem with EOF detection when using rl_event_hook. Closes: #144585. - Display of multibyte character in readline prompts. Closes: #195678. - Broken column output in UTF-8 locale. Closes: #161750. - Fix a bug in the callback read-char interface. Closes: #172849. * New shared object name. Obsoletes bug about changed symbol size. Closes: #153974. * Exported readline functions now have a rl_ prefix. Closes: #65484. -- Matthias Klose Sun, 19 Sep 2004 11:48:34 +0200 readline4 (4.3-6) unstable; urgency=low * Fix package sections and priorities. * Add support for freebsd (closes: #200537). * Add package rlfe (closes: #154400). -- Matthias Klose Fri, 26 Sep 2003 19:05:31 +0200 readline4 (4.3-5) unstable; urgency=low * Fix ~ command working in UTF-8 locales (closes: #175127). * Apply upstream patches 001, 002, 003, 004, 005. * Do not redefine __attribute__ (closes: #191209). -- Matthias Klose Sun, 1 Jun 2003 09:39:44 +0200 readline4 (4.3-5) unstable; urgency=low * debian/patches/mbutil.dpatch: Fix segfault in mbutil.c. -- Matthias Klose Tue, 24 Sep 2002 13:12:12 +0200 readline4 (4.3-4) unstable; urgency=medium * Apply upstream patches: - Fix segfault (closes: #154462). - Fix for repeating an edit in vi mode. * Build dependency on 'mawk | awk' (closes: #154462). -- Matthias Klose Wed, 31 Jul 2002 20:10:44 +0200 readline4 (4.3-3) unstable; urgency=high * Do it again. Really link against ncurses library. -- Matthias Klose Sun, 21 Jul 2002 21:44:00 +0200 readline4 (4.3-2) unstable; urgency=high * Link against ncurses library. -- Matthias Klose Sat, 20 Jul 2002 18:21:40 +0200 readline4 (4.3-1) unstable; urgency=low * New upstream version: - Handle multibyte characters (obsoletes and closes: #113078). - Implement toggable overwrite mode (closes: #36651). - Fixed the event loop to handle the case where the input file descriptor is invalidated (closes: #134615). - Added some default key bindings for common escape sequences produced by HOME and END keys (closes: #150429). * Move debug library to /usr/lib/debug. -- Matthias Klose Sat, 20 Jul 2002 12:40:06 +0200 readline4 (4.2.91-1) unstable; urgency=low * New upstream version (4.3 beta1). -- Matthias Klose Fri, 31 May 2002 00:15:04 +0200 readline4 (4.2a-5) unstable; urgency=low * Adjust for netbsd linker options (closes: #130349). -- Matthias Klose Sun, 3 Feb 2002 22:03:03 +0100 readline4 (4.2a-4) unstable; urgency=high * Taken from the current upstream sources: Make the symlinked directory completion behavior introduced in readline-4.2a a user-settable option. If `mark-symlinked-directories' is set to `on', the symlinked directory completion behavior is disabled, and symlinks that point to directories have a slash appended (closes: #120854, #123602). Same severity as the bash upload (2.05-4), as bash depends on it. * Introduced a new private (but global) variable, so the shlibs version needs an update again. -- Matthias Klose Sat, 12 Jan 2002 16:00:08 +0100 readline4 (4.2a-3) unstable; urgency=medium * 4.2a has a new variable `rl_readline_version', so the shlibs version needs to be upgraded to (>= 4.2a). * Don't rely on HAVE_CONFIG_H macro in installed headers (closes: #125398). * Upstream: The completion code now attempts to do a better job of preserving the case of the word the user typed if ignoring case in completions. Closes: #74861. -- Matthias Klose Fri, 21 Dec 2001 00:16:28 +0100 readline4 (4.2a-2) unstable; urgency=high * Update config.{sub,guess} from ftp://ftp.gnu.org/pub/gnu/config/. Closes: #119847. -- Matthias Klose Fri, 16 Nov 2001 19:00:07 +0100 readline4 (4.2a-1) unstable; urgency=low * Final release. * This is mainly a bugfix and code cleanup release (as you can see from the version number as well). Fixes the following Debian reports: - readline doesn't ignore null prompts anymore (closes: #105231). - Don't include -I/usr/include in CFLAGS. * Fix location of upstream source in copyright file (closes: #118481). -- Matthias Klose Wed, 14 Nov 2001 21:56:29 +0100 readline4 (4.2a-0rc1) unstable; urgency=low * New upstream (bug fix) version, release candidate. -- Matthias Klose Fri, 2 Nov 2001 10:35:55 +0100 readline4 (4.2a-0beta1) unstable; urgency=low * New upstream (bug fix) version. * Move manual pages to libreadline4 package (closes: #111303). -- Matthias Klose Thu, 11 Oct 2001 22:51:21 +0200 readline4 (4.2-5) unstable; urgency=low * Include stdio.h in history.h (closes: #101166). * libreadline4-dbg suggests libreadline4-dev (closes: #101790). -- Matthias Klose Sat, 21 Jul 2001 19:02:53 +0200 readline4 (4.2-4) unstable; urgency=low * Fix tilde.h for C++ compatibility as well. -- Matthias Klose Sat, 5 May 2001 01:03:03 +0200 readline4 (4.2-3) unstable; urgency=low * Fix header for C++ compatibility (closes #95048, #95758). * Fixed upstream: closes #55626, #75346. -- Matthias Klose Wed, 2 May 2001 23:06:00 +0200 readline4 (4.2-2) unstable; urgency=low * Tighten shlibs dependency to >= 4.2-2. -- Matthias Klose Tue, 10 Apr 2001 00:37:22 +0200 readline4 (4.2-1) unstable; urgency=low * New upstream release. -- Matthias Klose Mon, 9 Apr 2001 18:28:54 +0200 readline4 (4.2-0beta2) unstable; urgency=low * New upstream release 4.2-beta2. -- Matthias Klose Thu, 29 Mar 2001 23:18:10 +0200 readline4 (4.2-0) unstable; urgency=low * New upstream release 4.2-beta1. -- Matthias Klose Tue, 6 Feb 2001 21:12:58 +0100 readline4 (4.1-4) unstable; urgency=low * Fix build error. -- Matthias Klose Mon, 20 Nov 2000 23:27:16 +0100 readline4 (4.1-3) unstable; urgency=low * debian/patches/rl-hurd-build.dpatch: Build on the Hurd (fixes #75342). -- Matthias Klose Sat, 18 Nov 2000 12:55:16 +0100 readline4 (4.1-2) unstable; urgency=low * Include stdio.h in readline.h (fixes #70669). -- Matthias Klose Mon, 9 Oct 2000 20:35:23 +0200 readline4 (4.1-1) frozen unstable; urgency=low * Final release. Documentation fixes. -- Matthias Klose Mon, 20 Mar 2000 20:08:45 +0100 readline4 (4.1-0beta5db1) frozen unstable; urgency=low * Updated beta version. * debian/control: Remove libreadline4-doc suggestions (fixes #57547, #57578). -- Matthias Klose Sun, 20 Feb 2000 21:10:34 +0100 readline4 (4.1-0beta3db3) unstable; urgency=low * Update rl.ctrl-char patch from Dan Jacobowitz. Fixes #54805, #54639, #54612. -- Matthias Klose Wed, 12 Jan 2000 10:26:51 +0100 readline4 (4.1-0beta3db2) unstable; urgency=low * debian/control: libreadline4-dev depends on libncurses5-dev. -- Matthias Klose Thu, 6 Jan 2000 12:11:29 +0100 readline4 (4.1-0beta3db1) unstable; urgency=low * New upstream version. * Remove three patches integrated upstream. * Reports fixed in upstream version: #16797, #22480, #47525. * Put rluserman.info into library package (fixes: #32075). * In lib/readline/chardefs.h do not assume char is signed (fixes #53253). -- Matthias Klose Sat, 1 Jan 2000 16:22:30 +0100 readline4 (4.0-0.1) experimental; urgency=low * New upstream version. * Fixed upstream (closes: #22480). * Separated from bash package, since readline is available as a separate source package upstream. The upstream author writes: "It's not appropriate to build shared libraries from the readline shipped with bash. That is designed to be linked directly into bash." * Make /usr/doc compatibility links. * debian/patches/conf-update.dpatch: New config files from automake (closes #33745). * debian/rules: Add Build-Depends. * debian/rules: Install info files with default perms (closes: #49879). * readline headers fixed upstream (closes: #47525). * debian/etc.inputrc: Document how to enable German umlauts. Should close #38397? Should close #33168, #36077 and #42775 as well? The first report (33168) contains some more information how to get xemacs to work with 8bit. * Support to build on the Hurd (closes: #35769). Patch from Marcus.Brinkmann@ruhr-uni-bochum.de. * debian/patches/rl-del-backspace-policy.dpatch: Handle Delete/Backspace keys according to Debian policy. * debian/patches/rl-paren-matching.dpatch: Turn on parens matching. * debian/patches/rl-shell-memleak.dpatch: Fix memory leak. -- Matthias Klose Sat, 20 Nov 1999 18:52:00 +0100 debian/rlfe.10000644000000000000000000000430211246202071010172 0ustar .TH RLFE 1 .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection .\" other parms are allowed: see man(7), man(1) .SH NAME rlfe \- "cook" input lines for other programs using readline .SH SYNOPSIS .PP \fBrlfe\fP [\fI-l filename\fP] [\fI-a\fP] [\fI-n appname\fP] [\fI-hv\fP] [\fIcommand\fP [\fIarguments ...\fP]] .PP .SH "DESCRIPTION" .PP .B rlfe lets you use history and line-editing in any text oriented tool. This is especially useful with third-party proprietary tools that cannot be distributed linked against readline. It is not perfect but it works pretty well. .SH OPTIONS .TP -a append to the logfile (default is to overwrite). .TP -l filename log into file. .TP -n appname set the readline application name. .TP -h print usage string. .TP -v print version information. .SH "SEE ALSO" readline(3) .SH AUTHOR Per Bothner .SH PROBLEMS/TODO When running mc -c under the Linux console, mc does not recognize mouse clicks, which mc does when not running under fep. .PP Pasting selected text containing tabs is like hitting the tab character, which invokes readline completion. We don't want this. I don't know if this is fixable without integrating fep into a terminal emulator. .PP Echo suppression is a kludge, but can only be avoided with better kernel support: We need a tty mode to disable "real" echoing, while still letting the inferior think its tty driver to doing echoing. Stevens's book claims SCR$ and BSD4.3+ have TIOCREMOTE. .PP The latest readline may have some hooks we can use to avoid having to back up the prompt. .PP Desirable readline feature: When in cooked no-echo mode (e.g. password), echo characters are they are types with '*', but remove them when done. .PP A synchronous output while we're editing an input line should be inserted in the output view.PPbefore* the input line, so that the lines being edited (with the prompt) float at the end of the input. .PP A "page mode" option to emulate more/less behavior: At each page of output, pause for a user command. This required parsing the output to keep track of line lengths. It also requires remembering the output, if we want an option to scroll back, which suggests that this should be integrated with a terminal emulator like xterm. debian/libreadline6.symbols0000644000000000000000000000023211316661745013147 0ustar libhistory.so.6 libreadline6 #MINVER# #include "libhistory6.symbols.common" libreadline.so.6 libreadline6 #MINVER# #include "libreadline6.symbols.common" debian/README.source0000644000000000000000000000016411246202071011341 0ustar The package uses dpatch to apply patches on top of the upstream source. See /usr/share/doc/dpatch/README.source.gz.