--- xttitle-1.0.orig/debian/copyright
+++ xttitle-1.0/debian/copyright
@@ -0,0 +1,11 @@
+This package was debianized by Dafydd Harries <daf@parnassus.ath.cx> on
+Tue, 7 Aug 2001 15:09:37 +0100.
+
+It was downloaded from http://www.jarvis.com/xttitle/xttitle.html
+
+Upstream Author: Michael A. Jarvis <michael@jarvis.com>
+
+You are free to distribute this software under the terms of the GNU General
+Public License. On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL file.
+
--- xttitle-1.0.orig/debian/docs
+++ xttitle-1.0/debian/docs
@@ -0,0 +1 @@
+README
--- xttitle-1.0.orig/debian/xttitle.1x
+++ xttitle-1.0/debian/xttitle.1x
@@ -0,0 +1,69 @@
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH XTTITLE 1x "August 8, 2001"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+
+.SH NAME
+xttitle \- change X terminal emulator window titles
+
+.SH SYNOPSIS
+.B xttitle
+.RI title
+[ icon ]
+
+.SH DESCRIPTION
+This manual page documents briefly the
+.B xttitle
+command.
+This manual page was written for the Debian GNU/Linux distribution
+because the original program does not have a manual page.
+
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBxttitle\fP is a program that changes the title (and possibly icon) of your
+X terminal emulator windows. It should work for any program that emulates an
+xterm-like terminal under X.
+
+.PP
+You may want to create an alias in your shell for 'cd', so that your window
+title keeps track of your current working directory. In Bash, the following
+seems to work for me:
+
+.nf
+ update_title()
+ {
+ [ $TERM = 'xterm ] && xttitle "[$$] ${USER}@${HOSTNAME}:$PWD"
+ }
+
+ function cd()
+ {
+ builtin cd $*; update_title
+ }
+.fi
+
+You can then set up other things that run update_title - for instance you may
+want to put it in your shell startup file so that the title gets updated when
+you open a new terminal emulator window.
+
+.SH SEE ALSO
+http://jarvis.com/xttitle/xttitle.html
+.br
+
+.SH AUTHOR
+This manual page was written by Dafydd Harries <daf@parnassus.ath.cx>,
+for the Debian GNU/Linux system (but may be used by others).
+
--- xttitle-1.0.orig/debian/bashrc.example
+++ xttitle-1.0/debian/bashrc.example
@@ -0,0 +1,33 @@
+This is a .bashrc example to use xttitle.
+
+Thanks to Chris Lawrence <lawrencc@debian.org> who provided it:
+
+While the man page gives a (slightly erroneous, due to nroff mangling)
+example, it might be useful to provide some example code for .bashrc.
+Here's an extract from my .bashrc:
+
+# begin example .bashrc
+update_title()
+{
+ [ $TERM = "xterm" ] && xttitle "[$$] ${USER}@${HOSTNAME}:$PWD"
+}
+
+function cd()
+{
+ builtin cd $*; update_title
+}
+
+function ssh()
+{
+ /usr/bin/ssh $*; update_title
+}
+
+# If running interactively, then:
+if [ "$PS1" ]; then
+ update_title
+fi
+# end example .bashrc
+
+These settings seem to keep my title reasonably updated and don't
+interfere with scp/rsync.
+
--- xttitle-1.0.orig/debian/control
+++ xttitle-1.0/debian/control
@@ -0,0 +1,16 @@
+Source: xttitle
+Section: x11
+Priority: optional
+Maintainer: Alberto Gonzalez Iniesta <agi@inittab.org>
+Standards-Version: 3.6.1.0
+Build-Depends: debhelper (>> 3.0.0)
+
+Package: xttitle
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: x-terminal-emulator
+Description: Changes X terminal emulator window titles
+ This is a small program that generates escape sequences to change the title
+ of terminal emulator windows under X. It should work with any program that
+ emulates an xterm-like terminal.
+
--- xttitle-1.0.orig/debian/changelog
+++ xttitle-1.0/debian/changelog
@@ -0,0 +1,51 @@
+xttitle (1.0-5) unstable; urgency=low
+
+ * Changed maintainer email address.
+ * Bumped Standards-Version to 3.6.1.0, no change.
+ * Moved binary and man page from /usr/X11R6/ to /usr/ as per
+ policy 11.8.7.
+
+ -- Alberto Gonzalez Iniesta <agi@inittab.org> Thu, 24 Mar 2005 20:17:48 +0100
+
+xttitle (1.0-4) unstable; urgency=low
+
+ * Made x-terminal-emulator a Suggests: instead of a Recommends:
+ (Closes: #191515)
+
+ -- Alberto Gonzalez Iniesta <agi@agi.as> Sat, 7 Jun 2003 18:30:33 +0200
+
+xttitle (1.0-3) unstable; urgency=low
+
+ * New maintainer. (Closes: #190813)
+ * Bumped Standards-Version to 3.5.9, no change.
+ * Included .bashrc example from Chris Lawrence (Closes: #118064)
+
+ -- Alberto Gonzalez Iniesta <agi@agi.as> Wed, 7 May 2003 21:12:12 +0200
+
+xttitle (1.0-2) unstable; urgency=low
+
+ * Debian QA Upload: package orphaned.
+ * Changed Maintainer to Debian QA.
+ * Removed emacs voodoo from debian/changelog.
+ * Acknowledge NMU closed bugs:
+ - Fixed building with sudo. Closes: #119095
+ * Upstream source URL from debian/copyright no
+ longer works. Didn't find a replacement.
+ * Get rid of copyright-lists-upstream-authors-with-dh_make-boilerplate
+ by changing 'Upstream Author(s)' to 'Upstream Author'
+ in debian/copyright. There is only one Upstream Author.
+
+ -- Peter Palfrader <weasel@debian.org> Sat, 26 Apr 2003 07:23:39 +0200
+
+xttitle (1.0-1.1) unstable; urgency=low
+
+ * NMU
+ * Fixed building with sudo. Closes: #119095
+
+ -- Scott M. Dier <sdier@debian.org> Sun, 3 Feb 2002 15:00:39 -0600
+
+xttitle (1.0-1) unstable; urgency=low
+
+ * Initial Debian release.
+
+ -- Dafydd Harries <daf@parnassus.ath.cx> Tue, 7 Aug 2001 15:09:37 +0100
--- xttitle-1.0.orig/debian/rules
+++ xttitle-1.0/debian/rules
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# This is the debhelper compatability version to use.
+export DH_COMPAT=1
+
+build: build-stamp
+
+build-stamp:
+ dh_testdir
+ ./configure --exec-prefix=`pwd`/debian/tmp/usr
+ $(MAKE)
+ touch build-stamp
+
+distclean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp config.cache config.log
+ -$(MAKE) distclean
+ dh_clean
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+ -$(MAKE) distclean
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ $(MAKE) install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+# dh_testversion
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs
+ dh_installexamples debian/bashrc.example
+ dh_installmenu
+# dh_installemacsen
+# dh_installpam
+# dh_installinit
+ dh_installcron
+ dh_installman
+ dh_installinfo
+# dh_undocumented
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+ # You may want to make some executables suid here.
+# dh_suidregister
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
--- xttitle-1.0.orig/debian/dirs
+++ xttitle-1.0/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- xttitle-1.0.orig/debian/manpages
+++ xttitle-1.0/debian/manpages
@@ -0,0 +1 @@
+debian/xttitle.1x