[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force X.Org X11 SVN commit: r152 - trunk/debian



Author: dnusinow
Date: 2005-06-08 18:03:25 -0500 (Wed, 08 Jun 2005)
New Revision: 152

Added:
   trunk/debian/xterm.README.Debian
   trunk/debian/xterm.doc-base
   trunk/debian/xterm.docs
   trunk/debian/xterm.install
   trunk/debian/xterm.menu
   trunk/debian/xterm.postinst.in
   trunk/debian/xterm.preinst.in
   trunk/debian/xterm.prerm.in
Log:
Add packaging files for xterm. Audited and approved by David.

  Note: The xterm manpages have changed from being in section 1x to 1.
  While I am not going to maintain xterm, I'm fine with this and will leave
  it until the maintainer decides to revert it themselves. Everything else
  should be the same as the xfree86 trunk.


Added: trunk/debian/xterm.README.Debian
===================================================================
--- trunk/debian/xterm.README.Debian	2005-06-08 00:15:42 UTC (rev 151)
+++ trunk/debian/xterm.README.Debian	2005-06-08 23:03:25 UTC (rev 152)
@@ -0,0 +1,50 @@
+Debian README for xterm package
+===============================
+
+Newcomers to the X Window System should first read the Debian X FAQ
+(Frequently Asked Questions list): /usr/share/doc/xfree86-common/FAQ.gz.
+You can view this file with your favorite pager program after decompressing
+it.  For example:
+    $ zcat /usr/share/doc/xfree86-common/FAQ.gz | pager
+
+As of version 3.3.4-1, xterm logs to the wtmp and lastlog files.  If you do
+not have a utmp group on your system, xterm will be installed setuid root
+instead of setgid utmp.  xterm drops its root privileges after it
+initializes, so if it is setuid this can result in corrupt wtmp entries.
+The best thing to do is make a utmp group in /etc/group, or upgrade to
+version 2.0.3.4 or later of the base-passwd package, so that you have a
+utmp group.
+
+The xterm terminal type on a Debian system is an alias for xterm-debian.
+This means that "xterm" and "xterm-debian" are interchangeable as values of
+the $TERM environment variable in the shell.  Since the xterm-debian type
+is typically not found on non-Debian systems, xterm is used as the system
+default.
+
+The terminal description for xterm-debian differs from that of
+xterm-xfree86 in exactly two respects:
+  1. kbs is defined as ^? (ASCII 127), not ^H (ASCII 8)
+  2. kdch1 is defined as the sequence: ^[ [ 3 ~ (no spaces, and ^[ is ASCII
+     27, a.k.a ESCAPE) instead of ^? (ASCII 127)
+^[[3~ is the DEC VT220 escape sequence for the keypad delete key (not the
+numeric keypad, the one with Page Up, Page Down, etc. on a PC keyboard).
+DEC VT100's, the text terminal wich xterm was designed to emulate, had no
+keypad delete key.  ^[[3~ is also what the Linux console terminal type
+generates for the keypad delete key.  Note that the terminal definitions
+that a Debian system uses are in the ncurses-term package, not in the xterm
+package itself, though the (pre-compiled) terminfo and termcap files that
+Debian uses may be found in the xterm documentation directory,
+/usr/share/doc/xterm.  People interested in reading further to stock up
+ammo for their backspace/delete and terminal type wars should consult Tom
+Dickey's (current maintainer of the xterm source code) FAQ, available in
+the file /usr/share/doc/xterm/xterm.faq{html,text.gz} and the website
+<http://vt100.net>.
+
+The default keymappings for xterm are different than they are upstream to
+comply with the Debian Keyboard Policy and make xterm's behavior more
+consistent with the Linux virtual console (and therefore with the behavior
+of DEC VT 220 terminals).
+
+$Id: xterm.README.Debian 1244 2004-04-13 22:02:31Z branden $
+
+vim:set ai et sts=4 sw=4 tw=80:

Added: trunk/debian/xterm.doc-base
===================================================================
--- trunk/debian/xterm.doc-base	2005-06-08 00:15:42 UTC (rev 151)
+++ trunk/debian/xterm.doc-base	2005-06-08 23:03:25 UTC (rev 152)
@@ -0,0 +1,14 @@
+Document: xterm-faq
+Title: XTerm Frequently Asked Questions (FAQ)
+Author: Thomas Dickey
+Abstract: This document provides answers to frequently asked questions
+ about the XTerm terminal emulator as it ships with the X.Org distribution
+ of the X Window System.
+Section: XShells
+
+Format: text
+Files: /usr/share/doc/xterm/xterm.faq.gz
+
+Format: HTML
+Index: /usr/share/doc/xterm/xterm.faq.html
+Files: /usr/share/doc/xterm/xterm.faq.html

Added: trunk/debian/xterm.docs
===================================================================
--- trunk/debian/xterm.docs	2005-06-08 00:15:42 UTC (rev 151)
+++ trunk/debian/xterm.docs	2005-06-08 23:03:25 UTC (rev 152)
@@ -0,0 +1,6 @@
+build-tree/xc/programs/xterm/README.i18n
+build-tree/xc/programs/xterm/xterm.log.html
+debian/local/xterm.faq.html
+debian/local/xterm.faq.gz
+debian/tmp/usr/X11R6/lib/X11/etc/xterm.termcap
+debian/tmp/usr/X11R6/lib/X11/etc/xterm.terminfo

Added: trunk/debian/xterm.install
===================================================================
--- trunk/debian/xterm.install	2005-06-08 00:15:42 UTC (rev 151)
+++ trunk/debian/xterm.install	2005-06-08 23:03:25 UTC (rev 152)
@@ -0,0 +1,12 @@
+etc/X11/app-defaults/KOI8RXTerm
+etc/X11/app-defaults/UXTerm
+etc/X11/app-defaults/XTerm
+etc/X11/app-defaults/XTerm-color
+usr/X11R6/bin/koi8rxterm
+usr/X11R6/bin/lxterm
+usr/X11R6/bin/uxterm
+usr/X11R6/bin/xterm
+usr/X11R6/man/man1/koi8rxterm.1x
+usr/X11R6/man/man1/lxterm.1x
+usr/X11R6/man/man1/uxterm.1x
+usr/X11R6/man/man1/xterm.1x

Added: trunk/debian/xterm.menu
===================================================================
--- trunk/debian/xterm.menu	2005-06-08 00:15:42 UTC (rev 151)
+++ trunk/debian/xterm.menu	2005-06-08 23:03:25 UTC (rev 152)
@@ -0,0 +1,12 @@
+?package(xterm):\
+ needs="x11"\
+ section="XShells"\
+ longtitle="XTerm: terminal emulator for X"\
+ title="XTerm"\
+ command="xterm"
+?package(xterm):\
+ needs="x11"\
+ section="XShells"\
+ longtitle="XTerm: terminal emulator for X with Unicode support"\
+ title="XTerm (Unicode)"\
+ command="uxterm"

Added: trunk/debian/xterm.postinst.in
===================================================================
--- trunk/debian/xterm.postinst.in	2005-06-08 00:15:42 UTC (rev 151)
+++ trunk/debian/xterm.postinst.in	2005-06-08 23:03:25 UTC (rev 152)
@@ -0,0 +1,41 @@
+#!/bin/sh
+# Debian xterm package post-installation script
+# Copyright 1998--2001, 2003, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+# $Id: xterm.postinst.in 630 2003-10-07 21:21:20Z branden $
+
+set -e
+
+THIS_PACKAGE=xterm
+THIS_SCRIPT=postinst
+
+#INCLUDE_SHELL_LIB#
+
+update-alternatives --install /usr/bin/x-terminal-emulator \
+ x-terminal-emulator /usr/X11R6/bin/xterm 20 --slave \
+ /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
+ /usr/X11R6/man/man1/xterm.1.gz
+
+update-alternatives --install /usr/bin/x-terminal-emulator \
+ x-terminal-emulator /usr/X11R6/bin/uxterm 20 --slave \
+ /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
+ /usr/X11R6/man/man1/uxterm.1.gz
+
+update-alternatives --install /usr/bin/x-terminal-emulator \
+ x-terminal-emulator /usr/X11R6/bin/koi8rxterm 20 --slave \
+ /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
+ /usr/X11R6/man/man1/koi8rxterm.1.gz
+
+update-alternatives --install /usr/bin/x-terminal-emulator \
+ x-terminal-emulator /usr/X11R6/bin/lxterm 30 --slave \
+ /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \
+ /usr/X11R6/man/man1/lxterm.1.gz
+
+#DEBHELPER#
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=0:

Added: trunk/debian/xterm.preinst.in
===================================================================
--- trunk/debian/xterm.preinst.in	2005-06-08 00:15:42 UTC (rev 151)
+++ trunk/debian/xterm.preinst.in	2005-06-08 23:03:25 UTC (rev 152)
@@ -0,0 +1,31 @@
+#!/bin/sh
+# Debian xterm package pre-installation script
+# Copyright 2003, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+# $Id: xterm.preinst.in 513 2003-09-12 16:10:27Z branden $
+
+set -e
+
+THIS_PACKAGE=xterm
+THIS_SCRIPT=preinst
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "upgrade" ] || [ "$1" = "install" ]; then
+  if dpkg --compare-versions "$2" lt "4.0.1-1"; then
+    # clean up after older alternative that used different path
+    if update-alternatives --display x-terminal-emulator |
+       fgrep -q /usr/bin/X11/xterm; then
+      update-alternatives --remove x-terminal-emulator /usr/bin/X11/xterm
+    fi
+  fi
+fi
+
+#DEBHELPER#
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=0:

Added: trunk/debian/xterm.prerm.in
===================================================================
--- trunk/debian/xterm.prerm.in	2005-06-08 00:15:42 UTC (rev 151)
+++ trunk/debian/xterm.prerm.in	2005-06-08 23:03:25 UTC (rev 152)
@@ -0,0 +1,26 @@
+#!/bin/sh
+# Debian xterm package pre-removal script
+# Copyright 1998, 1999, 2004 Branden Robinson.
+# Licensed under the GNU General Public License, version 2.  See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowledgements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+THIS_PACKAGE=xterm
+THIS_SCRIPT=prerm
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
+  update-alternatives --remove x-terminal-emulator /usr/X11R6/bin/koi8rxterm
+  update-alternatives --remove x-terminal-emulator /usr/X11R6/bin/uxterm
+  update-alternatives --remove x-terminal-emulator /usr/X11R6/bin/xterm
+  update-alternatives --remove x-terminal-emulator /usr/X11R6/bin/lxterm
+fi
+
+#DEBHELPER#
+
+exit 0
+
+# vim:set ai et sts=2 sw=2 tw=0:



Reply to: