diff -ruN libreadline-2.0.orig/debian.Changelog libreadline-2.0/debian.Changelog
--- libreadline-2.0.orig/debian.Changelog	Thu Jan  1 01:00:00 1970
+++ libreadline-2.0/debian.Changelog	Wed Nov 15 20:03:36 1995
@@ -0,0 +1,2 @@
+libreadline 2.0-4 - Ray Dassen <jdassen@wi.LeidenUniv.nl>
+* Initial release. 
diff -ruN libreadline-2.0.orig/debian.README libreadline-2.0/debian.README
--- libreadline-2.0.orig/debian.README	Thu Jan  1 01:00:00 1970
+++ libreadline-2.0/debian.README	Wed Nov 15 19:35:57 1995
@@ -0,0 +1,26 @@
+This is the Debian GNU/Linux prepackaged version of the GNU Readline
+library.  The GNU Readline library was written by Brian Fox and Chet
+Ramey.  
+
+This package was put together by Ray Dassen <jdassen@wi.LeidenUniv.nl>,
+from sources obtained from tsx-11.mit.edu.
+
+GNU Readline is Copyright (C) 1987, 1988, 1989, 1990, 1991, 1992 Free
+Software Foundation, Inc.
+Modifcations for Debian GNU/Linux Copyright (C) 1995 Ray Dassen.
+
+   This 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; version 2 dated June, 1991.
+
+   This program 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 this program;  if not, write to the Free Software
+   Foundation, Inc., 675 Mass Ave., Cambridge, MA 02139, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/doc/copyright/GPL'.
diff -ruN libreadline-2.0.orig/debian.control libreadline-2.0/debian.control
--- libreadline-2.0.orig/debian.control	Thu Jan  1 01:00:00 1970
+++ libreadline-2.0/debian.control	Wed Nov 15 19:48:57 1995
@@ -0,0 +1,7 @@
+Package: libreadline
+Version: =
+Package_Revision: =
+Maintainer: Ray Dassen <jdassen@wi.LeidenUniv.nl>
+Description: GNU readline and history libraries.
+Depends: libc5
+Conflicts: librl (<2.0.3-2)
diff -ruN libreadline-2.0.orig/debian.postinst libreadline-2.0/debian.postinst
--- libreadline-2.0.orig/debian.postinst	Thu Jan  1 01:00:00 1970
+++ libreadline-2.0/debian.postinst	Wed Nov 15 19:40:55 1995
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+install-info --quiet --section "Development" "Development" \
+  --description="The GNU History Library" /usr/info/history.info.gz
+install-info --quiet --section "Development" "Development" \
+  --description="The GNU Readline Library" /usr/info/readline.info.gz
+
+/sbin/ldconfig
diff -ruN libreadline-2.0.orig/debian.postrm libreadline-2.0/debian.postrm
--- libreadline-2.0.orig/debian.postrm	Thu Jan  1 01:00:00 1970
+++ libreadline-2.0/debian.postrm	Wed Nov 15 19:42:25 1995
@@ -0,0 +1,5 @@
+#! /bin/sh
+
+/sbin/ldconfig
+install-info --quiet --remove history
+install-info --quiet --remove readline
diff -ruN libreadline-2.0.orig/debian.rules libreadline-2.0/debian.rules
--- libreadline-2.0.orig/debian.rules	Thu Jan  1 01:00:00 1970
+++ libreadline-2.0/debian.rules	Wed Nov 15 20:15:25 1995
@@ -0,0 +1,92 @@
+#!/usr/bin/make -f
+# Based on Ian Jackson's sample debian.rules file - for GNU Hello (1.3).
+# Modified for readline by Ray Dassen <jdassen@wi.LeidenUniv.nl>.
+
+package=libreadline
+version=2.0
+debian=4
+
+# The next section may have to be extensively modified
+
+build: Makefile
+	#
+	# First build the shared libraries
+	#
+	$(MAKE) "CFLAGS=-O2 -fPIC -I/usr/include/ncurses" 
+	gcc -shared -Wl,-soname,libhistory.so.$(version) -o libhistory.so history.o
+# Note that we simply include history.o here
+	gcc -shared -Wl,-soname,libreadline.so.$(version) -o libreadline.so.$(version) `ls *.o` 
+	#
+	# Clean up (to prepare for building static lib)
+	# We cannot do 'make clean' since this would remove the shared libs too
+	#
+	rm -f *.o
+	#
+	# Build the static library (it does not need Position Independent Code,
+	# which reserves one register; thus without -fPIC we get more efficient
+	# code).
+	#
+	$(MAKE) "CFLAGS=-O2 -fomit-frame-pointer -I/usr/include/ncurses" LDFLAGS=-s
+	touch build
+
+clean:
+	$(checkdir)
+	-rm -f build
+	-$(MAKE) -i distclean
+	-rm -rf debian-tmp *~ *.bak
+
+binary:		checkroot build
+	-rm -rf debian-tmp
+	mkdir debian-tmp debian-tmp/DEBIAN
+	install -d debian-tmp/usr/doc/copyright
+	sed -e '2s/=/$(version)/; 3s/=/$(debian)/' \
+		debian.control > debian-tmp/DEBIAN/control
+	cp debian.postinst debian-tmp/DEBIAN/postinst
+	cp debian.postrm debian-tmp/DEBIAN/postrm
+	chmod +x debian-tmp/DEBIAN/{postinst,postrm}
+	install -d debian-tmp/usr/man/man3
+	isntall -c -m 644 doc/readline.3 debian-tmp/usr/man/man3/readline.3readline
+	install -d debian-tmp/usr/info
+	install -c -m 644 doc/history.info doc/readline.info debian-tmp/usr/info
+	gzip -9v debian-tmp/usr/info/*
+	install -d debian-tmp/usr/lib
+	install -d debian-tmp/usr/include
+	install -c -m 644 readline.h chardefs.h keymaps.h history.h debian-tmp/usr/include
+	install -c -m 644 libreadline.a libhistory.a debian-tmp/usr/lib
+	install -c -m 644 libhistory.so debian-tmp/usr/lib
+	install -c -m 644 libreadline.so.$(version) debian-tmp/usr/lib
+	cd debian-tmp/usr/lib ; ln -s libreadline.so.$(version) libreadline.so
+	cp debian.README debian-tmp/usr/doc/copyright/$(package)
+	chown -R root.root debian-tmp
+	chmod -R g-ws debian-tmp
+	dpkg --build debian-tmp
+	mv debian-tmp.deb ../$(package)-$(version)-$(debian).deb
+
+define checkdir
+	test -f readline.c
+endef
+
+Makefile:
+	$(checkdir)
+	./configure -v --prefix=/usr
+	
+
+# Below here is fairly generic really
+
+source:		clean
+	chmod +x debian.rules
+	cd .. && \
+	tar cf $(package)-$(version)-$(debian).tar $(package)-$(version) && \
+	gzip -9vf $(package)-$(version)-$(debian).tar
+ 
+diff:		clean
+	cd .. && \
+	(diff -ruN $(package)-$(version).orig $(package)-$(version) \
+	 >$(package)-$(version)-$(debian).diff; [ $$? = 1 ]) && \
+	gzip -9vf $(package)-$(version)-$(debian).diff
+
+checkroot:
+	$(checkdir)
+	test root = "`whoami`"
+
+.PHONY: binary source diff clean checkroot
Binary files libreadline-2.0.orig/examples/fileman and libreadline-2.0/examples/fileman differ
Binary files libreadline-2.0.orig/libhistory.so and libreadline-2.0/libhistory.so differ
