--- tscreen-0.4.9.orig/debian/changelog +++ tscreen-0.4.9/debian/changelog @@ -0,0 +1,123 @@ +tscreen (0.4.9-1) stable; urgency=medium + + * Updated the output for "tscreen -v" to include a link to the homepage. + * Added new flag '-V' to show compiled-in options, & etc. + + -- Steve Kemp Sun, 2 Nov 2008 19:20:21 +0000 + +tscreen (0.4.8-1) unstable; urgency=medium + + * Display the keybindings on the caption in a consistant fashion. + * If defining an alias and one with that name already exists silently + remove the old one, rather than complaining and aborting. + * Default to -O when building. + * Updated the source primitive to ignore the executable bit. Instead + we'll execute things if called via "source path/to/file|". For example + if -x ~/.tscreen.dynamic 'source ~/.tscreen.dynamic|' + * Reduced some static buffers to reduce memory size. + + -- Steve Kemp Fri, 31 Oct 2008 10:00:01 +0000 + +tscreen (0.4.7-1) unstable; urgency=low + + * Explicitly bind "q" to "quit" because we advertise that in the + default caption-string. + + -- Steve Kemp Fri, 24 Oct 2008 20:00:02 +0000 + +tscreen (0.4.7-0) unstable; urgency=low + + * If ~/.tscreenrc is executable it will be executed and the output + processed for commands, instead of being read normally. This allows + *real* conditionals above and beyond those present in the "if" primitive. + * Install /etc/bash_completion.d/tscreen to complete on re-attach, etc. + * Minor Debian package cleanup. + + -- Steve Kemp Fri, 24 Oct 2008 20:00:02 +0000 + +tscreen (0.4.6-1) unstable; urgency=low + + * Added new primitive "unaliasall" + + -- Steve Kemp Fri, 24 Oct 2008 12:12:12 +0000 + +tscreen (0.4.5-1) unstable; urgency=high + + * Fixed issue with colour on the statusbar. + * Added init script. + + -- Steve Kemp Fri, 24 Oct 2008 15:15:15 +0000 + +tscreen (0.4.4-1) unstable; urgency=medium + + * The attributes (color and/or bold/blink etc) can be set using the + %B command. An example hardstatus string would look like: + "%B{r}%-Lw %{g}%t%{-} %+Lw" + - file#15947 http://savannah.gnu.org/bugs/?18382 + + -- Steve Kemp Fri, 24 Oct 2008 10:33:01 +0000 + +tscreen (0.4.3-1) unstable; urgency=medium + + * Allow usernames up to 50 characters long: + - http://savannah.gnu.org/bugs/?21653 + * Use calloc not malloc + bzero: + - http://git.savannah.gnu.org/gitweb/?p=screen.git;a=commit;h=953493f7087bf1e2996441558fa5d7260890c6a6 + + -- Steve Kemp Thu, 23 Oct 2008 22:44:22 +0000 + +tscreen (0.4.2-2) low; urgency=medium + + * Added some cleanups for alias handling from Sadrul Habib Chowdhury. + + -- Steve Kemp Wed, 22 Oct 2008 21:00:12 +0000 + +tscreen (0.4.1-1) unstable; urgency=high + + * `if` primitive updated to allow `backticks`. + + -- Steve Kemp Tue, 21 Oct 2008 22:22:22 +0000 + +tscreen (0.4.0-1) unstable; urgency=high + + * Offer TAB-completion of alias names too. + * Revert change to allow binding to alias names directly, the memory + changes when new aliases are defined makes this impractical. + * New "if" primitive. + + -- Steve Kemp Tue, 21 Oct 2008 14:44:41 +0000 + +tscreen (0.3.0-1) unstable; urgency=low + + * Correctly create /var/run/tscreen at install time. + * "bind [key] [aliasname]" works correctly, without the need for eval. + * New primitive "hide": + - http://lists.gnu.org/archive/html/screen-devel/2006-03/msg00001.html + * New flag "-F" to screen - allow findorcreate to work: + - http://lists.gnu.org/archive/html/screen-devel/2007-06/msg00012.html + * Alias-removal is more reliable. + + -- Steve Kemp Sun, 19 Oct 2008 18:19:20 +0000 + +tscreen (0.2.0-2) unstable; urgency=low + + * Allow long termcap names; Debian bug #491812. + * Bump MAXWIN to 100; Debian bug #499273 + + -- Steve Kemp Sun, 19 Oct 2008 15:11:51 +0000 + +tscreen (0.2.0-1) unstable; urgency=low + + * Added: + - Complex aliases + - New primitive "aliaslist" + * Removed: + - Nethack mode. + + -- Steve Kemp Sun, 19 Oct 2008 01:02:03 +0000 + +tscreen (0.1.0-1) unstable; urgency=low + + * Initial package. + + -- Steve Kemp Fri, 17 Oct 2008 22:22:22 +0000 --- tscreen-0.4.9.orig/debian/dirs +++ tscreen-0.4.9/debian/dirs @@ -0,0 +1,2 @@ +etc +etc/bash_completion.d/ \ No newline at end of file --- tscreen-0.4.9.orig/debian/control +++ tscreen-0.4.9/debian/control @@ -0,0 +1,23 @@ +Source: tscreen +Section: shells +Priority: optional +Maintainer: Steve Kemp +Standards-Version: 3.8.0 +Homepage: http://www.steve.org.uk/Software/tscreen/ +Build-Depends: libncursesw5-dev, texinfo, libpam0g-dev, debhelper + +Package: tscreen +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: terminal multiplexor with VT100/ANSI terminal emulation + tscreen is a terminal multiplexor that runs several separate "screens" on a + single physical character-based terminal. + . + tscreen is a fork of GNU Screen, and inherits all the features and + standard facilities you would expect from that program in addition to + some more of its own. + . + The tscreen homepage is located at: + . + * http://www.steve.org.uk/Software/tscreen/ + --- tscreen-0.4.9.orig/debian/compat +++ tscreen-0.4.9/debian/compat @@ -0,0 +1 @@ +5 --- tscreen-0.4.9.orig/debian/copyright +++ tscreen-0.4.9/debian/copyright @@ -0,0 +1,39 @@ +This is the Debian prepackaged version of screen, a screen manager with +VT100/ANSI terminal emulation. + +This package was put together from sources obtained from: + ftp://ftp.uni-erlangen.de/pub/utilities/screen + +See the info documentation for contact information for the upstream authors. + +License: + + screen - terminal multiplexor with VT100/ANSI terminal emulation + Copyright (C) 1987 Oliver Laumann + Copyright (C) 1991 Wayne Davidson + Copyright (C) 1993-2006 Juergen Weigert + Copyright (C) 1993-2006 Michael Schroeder + + 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; either version 2 of the License, or + (at your option) any later version. + + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +On Debian systems, the complete text of the GNU General Public License can +be found in /usr/share/common-licenses/GPL file. + +Debian Modifications: + Copyright (C) 1996 Ian Murdock + Copyright (C) 1997 joost witteveen + Copyright (C) 1997-2001 Juan Cespedes + Copyright (C) 2001-2003 Adam Lazur + Copyright (C) 2007 Jan Christoph Nordholz --- tscreen-0.4.9.orig/debian/info +++ tscreen-0.4.9/debian/info @@ -0,0 +1 @@ +doc/tscreen.info --- tscreen-0.4.9.orig/debian/init +++ tscreen-0.4.9/debian/init @@ -0,0 +1,38 @@ +#!/bin/sh +# +# Create the screen runfile if it isn't present. +# +### BEGIN INIT INFO +# Provides: tscreen-cleanup +# Required-Start: $remote_fs +# Required-Stop: $remote_fs +# Default-Start: S +# Default-Stop: +# Short-Description: tscreen sessions cleaning and creation +### END INIT INFO + +set -e + +SCREENDIR=/var/run/tscreen + +case "$1" in +start) + if test -L $SCREENDIR || ! test -d $SCREENDIR; then + rm -f $SCREENDIR + mkdir $SCREENDIR + chown root:utmp $SCREENDIR + fi + find $SCREENDIR -type p -print0 | xargs -0r rm -f -- +# If the local admin has used dpkg-statoverride to install screen setuid, +# change the permissions of $SCREENDIR accordingly + if [ `stat -c%a /usr/bin/screen` -ge 4000 ]; then + chmod 0755 $SCREENDIR + else + chmod 0775 $SCREENDIR + fi + ;; +stop|restart|reload|force-reload) + ;; +esac + +exit 0 --- tscreen-0.4.9.orig/debian/rules +++ tscreen-0.4.9/debian/rules @@ -0,0 +1,88 @@ +#!/usr/bin/make -f +# +# Copyright (C) 1997 joost witteveen +# Copyright (C) 1997-2001 Juan Cespedes +# Copyright (C) 2001 Adam Lazur + +# Uncomment me to turn on debugging +#export DH_VERBOSE=1 + +package := tscreen +ROOT := $(CURDIR)/debian/$(package) +# statically define this... sucko +TTYGROUP := 5 + +clean: + dh_testdir + dh_testroot + rm -f configure-stamp build-stamp + test ! -s doc/Makefile || $(MAKE) -C doc realclean + test ! -s Makefile || ! grep -q clean Makefile || $(MAKE) realclean + rm -f config.log config.status Makefile + dh_clean + +configure: configure-stamp +configure-stamp: + dh_testdir + if [ ! -x ./configure ]; then ./autogen.sh; fi + CFLAGS=-O ./configure --prefix=/usr \ + --infodir='$$(prefix)/share/info' \ + --mandir='$$(prefix)/share/man' \ + --with-socket-dir=/var/run/tscreen \ + --enable-pam \ + --enable-telnet \ + --with-pty-mode=0620 \ + --with-pty-group=${TTYGROUP} \ + --enable-rxvt_osc \ + --with-sys-screenrc=/etc/tscreenrc \ + --enable-colors256 + # Assert the use of fifos instead of sockets + grep -q "define.*NAMEDPIPE.*1" config.h || echo "#define NAMEDPIPE 1" >> config.h + touch $@ + +build: build-stamp +build-stamp: configure + dh_testdir + $(MAKE) CFLAGS+='-O2 -g -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers' + $(MAKE) CFLAGS+='-O2 -g -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers' -C doc + touch $@ + +install: build + dh_testdir + dh_testroot + dh_clean + dh_installdirs + # can't call the normal install target b/c it installs the info files + # and other crud + $(MAKE) prefix=$(ROOT)/usr SCREENENCODINGS='$$(prefix)/share/tscreen/utf8encodings' installdirs install_bin + # install the debian screenrc to etc + install -m 644 etc/tscreenrc $(ROOT)/etc/tscreenrc + # include completion + install -m 644 etc/bash_completion $(ROOT)/etc/bash_completion.d/tscreen + # hack around the fact that the install target makes screen a symlink to screen-$$(VERSION) + rm -f $(ROOT)/usr/bin/tscreen + mv -f $(ROOT)/usr/bin/tscreen* $(ROOT)/usr/bin/tscreen + # make it setgid utmp + chown root:utmp $(ROOT)/usr/bin/tscreen + chmod 2755 $(ROOT)/usr/bin/tscreen + +binary: binary-arch +binary-indep: build install +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs + dh_installman || true + dh_installinfo + dh_installchangelogs -k patchlevel.h + dh_installinit --no-start --init-script='tscreen-cleanup' --update-rcd-params='start 70 S .' + dh_strip + dh_compress + dh_fixperms -X/usr/bin/tscreen + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: configure build clean binary-indep binary-arch binary install --- tscreen-0.4.9.orig/debian/prerm +++ tscreen-0.4.9/debian/prerm @@ -0,0 +1,8 @@ +#!/bin/sh +set -e + +if [ "$1" = remove ] || [ "$1" = deconfigure ]; then + remove-shell /usr/bin/tscreen || true +fi + +#DEBHELPER# --- tscreen-0.4.9.orig/debian/manpages +++ tscreen-0.4.9/debian/manpages @@ -0,0 +1 @@ +doc/tscreen.1 --- tscreen-0.4.9.orig/debian/docs +++ tscreen-0.4.9/debian/docs @@ -0,0 +1,2 @@ +README +doc/FAQ --- tscreen-0.4.9.orig/debian/postinst +++ tscreen-0.4.9/debian/postinst @@ -0,0 +1,21 @@ +#!/bin/sh + +set -e + +if [ "$1" = configure ]; then + + # + # Make sure we have the directory we need. + # + if [ ! -d /var/run/tscreen ] ; then + install -g utmp -m 0775 -d /var/run/tscreen + [ `stat -c%a /usr/bin/tscreen` -lt 4000 ] || chmod 0755 /var/run/tscreen + fi + + # + # Add the tscreen program as a shell. + # + add-shell /usr/bin/tscreen || true +fi + +#DEBHELPER# --- tscreen-0.4.9.orig/debian/postrm +++ tscreen-0.4.9/debian/postrm @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +if [ "$1" = purge ] || [ "$1" = remove ]; then + rm -rf /var/run/tscreen +fi + +if [ "$1" = disappear ]; then + remove-shell /usr/bin/tscreen || true +fi + +#DEBHELPER# --- tscreen-0.4.9.orig/debian/tscreen.debhelper.log +++ tscreen-0.4.9/debian/tscreen.debhelper.log @@ -0,0 +1,14 @@ +dh_installdirs +dh_installdocs +dh_installman +dh_installinfo +dh_installchangelogs +dh_installinit +dh_strip +dh_compress +dh_fixperms +dh_installdeb +dh_shlibdeps +dh_gencontrol +dh_md5sums +dh_builddeb