Package: xterm Version: 222-1 Followup-For: Bug #349462 I just encountered this bug and fixed it, so here's my patch... I guess it might save you a little time.
There's one catch though: it does not handle package upgrades smoothly if the x-terminal-emulator alternative is set to xterm, i.e, if the symlink is already dangling. In this case, update-alternatives seems to just rm the /usr/share/man/man1/x-terminal-emulator.1.gz symlink. I don't know how to fix that... Maybe with some hack in the postinst script. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (150, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.18-1-686 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages xterm depends on: ii libc6 2.3.6.ds1-8 GNU C Library: Shared libraries ii libfontconfig1 2.4.1-2 generic font configuration library ii libice6 1:1.0.1-2 X11 Inter-Client Exchange library ii libncurses5 5.5-5 Shared libraries for terminal hand ii libsm6 1:1.0.1-3 X11 Session Management library ii libx11-6 2:1.0.3-2 X11 client-side library ii libxaw7 1:1.0.2-4 X11 Athena Widget library ii libxext6 1:1.0.1-2 X11 miscellaneous extension librar ii libxft2 2.1.8.2-8 FreeType-based font drawing librar ii libxmu6 1:1.0.2-2 X11 miscellaneous utility library ii libxt6 1:1.0.2-2 X11 toolkit intrinsics library ii xbitmaps 1.0.1-2 Base X bitmaps Versions of packages xterm recommends: ii xutils 1:7.1.ds.3-1 X Window System utility programs -- no debconf information
diff -durN xterm-222.bak/debian/changelog xterm-222/debian/changelog diff -durN xterm-222.bak/debian/local/koi8rxterm.1 xterm-222/debian/local/koi8rxterm.1 --- xterm-222.bak/debian/local/koi8rxterm.1 1970-01-01 01:00:00.000000000 +0100 +++ xterm-222/debian/local/koi8rxterm.1 2006-11-09 03:56:31.000000000 +0100 @@ -0,0 +1,97 @@ +.\" $Id: koi8rxterm.1 180 2005-06-10 20:54:37Z branden $ +.\" +.\" Copyright 2004 Branden Robinson +.\" +.\" Permission is hereby granted, free of charge, to any person obtaining a +.\" copy of this software and associated documentation files (the "Software"), +.\" to deal in the Software without restriction, including without limitation +.\" the rights to use, copy, modify, merge, publish, distribute, sublicense, +.\" and/or sell copies of the Software, and to permit persons to whom the +.\" Software is furnished to do so, subject to the following conditions: +.\" +.\" The above copyright notice and this permission notice shall be included in +.\" all copies or substantial portions of the Software. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +.\" SOFTWARE IN THE PUBLIC INTEREST, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR +.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +.\" DEALINGS IN THE SOFTWARE. +.TH koi8rxterm 1 "2004-12-19" "Debian Project" +.SH NAME +koi8rxterm \- X terminal emulator for KOI8-R environments +.SH SYNOPSIS +.B koi8rxterm +[ +.I xterm-options +] +.SH DESCRIPTION +.B koi8rxterm +is a wrapper around the +.BR xterm (1) +program that invokes the latter program with the \(oqKOI8RXTerm\(cq X +resource class set. +All arguments to +.B koi8rxterm +are passed to +.B xterm +without processing; the +.B \-class +and +.B \-k8 +options should not be specified because they are used by the wrapper. +See the +.BR xterm +manual page for more information on +.IR xterm-options . +.PP +The environment's locale settings (see \(lqENVIRONMENT\(rq below) are +used to discern the locale's character set. +If no current locale can be determined, the locale \(oqru_RU.KOI8-R\(cq +(the Russian language as used in the territory of Russia, with the KOI8-R +character set) is assumed. +The +.BR locale (1) +utility is used to determine whether the system supports the selected +locale. +If it does not, +.B koi8rxterm +will exit with an error and report the output of +.BR locale . +.PP +.B Note: koi8rxterm +may produce unexpected results if the current locale is set to one in which +the KOI8-R character encoding is not supported, or if fonts using that +encoding are not available. +In the Debian system, the \(oqxfonts\-cyrillic\(cq package provides the +fonts that +.B koi8rxterm +uses by default. +To change the fonts +.B koi8rxterm +uses, edit the +.I /etc/X11/app\-defaults/KOI8RXTerm +file. +.PP +A similar wrapper, +.BR uxterm (1), +is available for Unicode UTF-8 environments. +.SH ENVIRONMENT +.TP +.B LC_ALL\fR, \fBLC_CTYPE\fR, \fBLANG +The values of these variables are checked, in order, to determine the +character set used by the current locale. +.SH AUTHOR +.B koi8rxterm +was written by Branden Robinson and is very heavily based on +.BR uxterm , +by Thomas Dickey. +The assistance of Jurij Smakov was invaluable in sanity-checking its +operation. +.SH "SEE ALSO" +.BR locale (1), +.BR locale (7), +.BR uxterm (1), +.BR xterm (1) diff -durN xterm-222.bak/debian/local/koi8rxterm.1x xterm-222/debian/local/koi8rxterm.1x --- xterm-222.bak/debian/local/koi8rxterm.1x 2006-11-09 04:00:25.000000000 +0100 +++ xterm-222/debian/local/koi8rxterm.1x 1970-01-01 01:00:00.000000000 +0100 @@ -1,97 +0,0 @@ -.\" $Id: koi8rxterm.1x 180 2005-06-10 20:54:37Z branden $ -.\" -.\" Copyright 2004 Branden Robinson -.\" -.\" Permission is hereby granted, free of charge, to any person obtaining a -.\" copy of this software and associated documentation files (the "Software"), -.\" to deal in the Software without restriction, including without limitation -.\" the rights to use, copy, modify, merge, publish, distribute, sublicense, -.\" and/or sell copies of the Software, and to permit persons to whom the -.\" Software is furnished to do so, subject to the following conditions: -.\" -.\" The above copyright notice and this permission notice shall be included in -.\" all copies or substantial portions of the Software. -.\" -.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -.\" SOFTWARE IN THE PUBLIC INTEREST, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR -.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -.\" DEALINGS IN THE SOFTWARE. -.TH koi8rxterm 1x "2004-12-19" "Debian Project" -.SH NAME -koi8rxterm \- X terminal emulator for KOI8-R environments -.SH SYNOPSIS -.B koi8rxterm -[ -.I xterm-options -] -.SH DESCRIPTION -.B koi8rxterm -is a wrapper around the -.BR xterm (1) -program that invokes the latter program with the \(oqKOI8RXTerm\(cq X -resource class set. -All arguments to -.B koi8rxterm -are passed to -.B xterm -without processing; the -.B \-class -and -.B \-k8 -options should not be specified because they are used by the wrapper. -See the -.BR xterm -manual page for more information on -.IR xterm-options . -.PP -The environment's locale settings (see \(lqENVIRONMENT\(rq below) are -used to discern the locale's character set. -If no current locale can be determined, the locale \(oqru_RU.KOI8-R\(cq -(the Russian language as used in the territory of Russia, with the KOI8-R -character set) is assumed. -The -.BR locale (1) -utility is used to determine whether the system supports the selected -locale. -If it does not, -.B koi8rxterm -will exit with an error and report the output of -.BR locale . -.PP -.B Note: koi8rxterm -may produce unexpected results if the current locale is set to one in which -the KOI8-R character encoding is not supported, or if fonts using that -encoding are not available. -In the Debian system, the \(oqxfonts\-cyrillic\(cq package provides the -fonts that -.B koi8rxterm -uses by default. -To change the fonts -.B koi8rxterm -uses, edit the -.I /etc/X11/app\-defaults/KOI8RXTerm -file. -.PP -A similar wrapper, -.BR uxterm (1x), -is available for Unicode UTF-8 environments. -.SH ENVIRONMENT -.TP -.B LC_ALL\fR, \fBLC_CTYPE\fR, \fBLANG -The values of these variables are checked, in order, to determine the -character set used by the current locale. -.SH AUTHOR -.B koi8rxterm -was written by Branden Robinson and is very heavily based on -.BR uxterm , -by Thomas Dickey. -The assistance of Jurij Smakov was invaluable in sanity-checking its -operation. -.SH "SEE ALSO" -.BR locale (1), -.BR locale (7), -.BR uxterm (1x), -.BR xterm (1) diff -durN xterm-222.bak/debian/local/lxterm.1 xterm-222/debian/local/lxterm.1 --- xterm-222.bak/debian/local/lxterm.1 1970-01-01 01:00:00.000000000 +0100 +++ xterm-222/debian/local/lxterm.1 2006-11-09 03:56:31.000000000 +0100 @@ -0,0 +1,55 @@ +.\" $Id: lxterm.1 189 2005-06-11 00:04:27Z branden $ +.\" +.TH lxterm 1 "2004-12-19" "Debian Project" +.SH NAME +lxterm \- locale\-sensitive wrapper for xterm +.SH SYNOPSIS +.B lxterm +[ +.I xterm-options +] +.SH DESCRIPTION +.B lxterm +is a wrapper around the +.BR xterm (1) +program that invokes +.BR xterm , +.BR koi8rxterm (1), +or +.BR uxterm (1) +as appropriate, based on the user's locale setting. +All arguments to +.B lxterm +are passed to +.B xterm +without processing; the +.BR \-class , +.BR \-k8 , +and +.B \-u8 +options should not be specified because they are used by +.B koi8rxterm +and +.BR uxterm . +See the +.B xterm +manual page for more information on +.IR xterm-options . +.PP +The +.BR locale (1) +utility is used to determine the character set used by the current locale. +If the character set is UTF-8, +.B uxterm +is invoked; if the character set is KOI8-R, +.B koi8rxtem +is invoked; otherwise, \(oqplain\(cq +.B xterm +is invoked. +.SH AUTHOR +Branden Robinson +.SH "SEE ALSO" +.BR locale (1), +.BR koi8rxterm (1), +.BR uxterm (1), +.BR xterm (1) diff -durN xterm-222.bak/debian/local/lxterm.1x xterm-222/debian/local/lxterm.1x --- xterm-222.bak/debian/local/lxterm.1x 2006-11-09 04:00:25.000000000 +0100 +++ xterm-222/debian/local/lxterm.1x 1970-01-01 01:00:00.000000000 +0100 @@ -1,55 +0,0 @@ -.\" $Id: lxterm.1x 189 2005-06-11 00:04:27Z branden $ -.\" -.TH lxterm 1x "2004-12-19" "Debian Project" -.SH NAME -lxterm \- locale\-sensitive wrapper for xterm -.SH SYNOPSIS -.B lxterm -[ -.I xterm-options -] -.SH DESCRIPTION -.B lxterm -is a wrapper around the -.BR xterm (1) -program that invokes -.BR xterm , -.BR koi8rxterm (1x), -or -.BR uxterm (1x) -as appropriate, based on the user's locale setting. -All arguments to -.B lxterm -are passed to -.B xterm -without processing; the -.BR \-class , -.BR \-k8 , -and -.B \-u8 -options should not be specified because they are used by -.B koi8rxterm -and -.BR uxterm . -See the -.B xterm -manual page for more information on -.IR xterm-options . -.PP -The -.BR locale (1) -utility is used to determine the character set used by the current locale. -If the character set is UTF-8, -.B uxterm -is invoked; if the character set is KOI8-R, -.B koi8rxtem -is invoked; otherwise, \(oqplain\(cq -.B xterm -is invoked. -.SH AUTHOR -Branden Robinson -.SH "SEE ALSO" -.BR locale (1), -.BR koi8rxterm (1x), -.BR uxterm (1x), -.BR xterm (1) diff -durN xterm-222.bak/debian/local/uxterm.1 xterm-222/debian/local/uxterm.1 --- xterm-222.bak/debian/local/uxterm.1 1970-01-01 01:00:00.000000000 +0100 +++ xterm-222/debian/local/uxterm.1 2006-11-09 03:56:31.000000000 +0100 @@ -0,0 +1,91 @@ +.\" $Id: uxterm.1 180 2005-06-10 20:54:37Z branden $ +.\" +.\" Copyright 2001, 2004 Branden Robinson +.\" +.\" Permission is hereby granted, free of charge, to any person obtaining a +.\" copy of this software and associated documentation files (the "Software"), +.\" to deal in the Software without restriction, including without limitation +.\" the rights to use, copy, modify, merge, publish, distribute, sublicense, +.\" and/or sell copies of the Software, and to permit persons to whom the +.\" Software is furnished to do so, subject to the following conditions: +.\" +.\" The above copyright notice and this permission notice shall be included in +.\" all copies or substantial portions of the Software. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +.\" SOFTWARE IN THE PUBLIC INTEREST, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR +.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, +.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +.\" DEALINGS IN THE SOFTWARE. +.TH uxterm 1 "2004-12-19" "Debian Project" +.SH NAME +uxterm \- X terminal emulator for for Unicode (UTF-8) environments +.SH SYNOPSIS +.B uxterm +[ +.I xterm-options +] +.SH DESCRIPTION +.B uxterm +is a wrapper around the +.BR xterm (1) +program that invokes the latter program with the \(oqUXTerm\(cq X resource +class set. +All arguments to +.B uxterm +are passed to +.B xterm +without processing; the +.B \-class +and +.B \-u8 +options should not be specified because they are used by the wrapper. +See the +.B xterm +manual page for more information on +.IR xterm-options . +.PP +The environment's locale settings (see \(lqENVIRONMENT\(rq below) are +used to discern the locale's character set. +If no current locale can be determined, the locale \(oqen_US\(cq (the +English language as used in the territory of the United States) is assumed. +The +.BR locale (1) +utility is used to determine whether the system supports the selected +locale. +If it does not, +.B uxterm +will exit with an error and report the output of +.BR locale . +.PP +.B Note: uxterm +may produce unexpected results if the current locale is set to one in which +the UTF-8 character encoding is not supported, of if fonts using the ISO +10646-1 character set are not available. +In the Debian system, the \(oqxfonts\-base\(cq package provides the fonts +that +.B uxterm +uses by default. +To change the fonts +.B uxterm +uses, edit the +.I /etc/X11/app\-defaults/UXTerm +file. +.PP +A similar wrapper, +.BR koi8rxterm (1), +is available for KOI8-R environments. +.SH ENVIRONMENT +.TP +.B LC_ALL\fR, \fBLC_CTYPE\fR, \fBLANG +The values of these variables are checked, in order, to determine the +character set used by the current locale. +.SH AUTHOR +Thomas Dickey +.SH "SEE ALSO" +.BR locale (1), +.BR locale (7), +.BR koi8rxterm (1), +.BR xterm (1) diff -durN xterm-222.bak/debian/local/uxterm.1x xterm-222/debian/local/uxterm.1x --- xterm-222.bak/debian/local/uxterm.1x 2006-11-09 04:00:25.000000000 +0100 +++ xterm-222/debian/local/uxterm.1x 1970-01-01 01:00:00.000000000 +0100 @@ -1,91 +0,0 @@ -.\" $Id: uxterm.1x 180 2005-06-10 20:54:37Z branden $ -.\" -.\" Copyright 2001, 2004 Branden Robinson -.\" -.\" Permission is hereby granted, free of charge, to any person obtaining a -.\" copy of this software and associated documentation files (the "Software"), -.\" to deal in the Software without restriction, including without limitation -.\" the rights to use, copy, modify, merge, publish, distribute, sublicense, -.\" and/or sell copies of the Software, and to permit persons to whom the -.\" Software is furnished to do so, subject to the following conditions: -.\" -.\" The above copyright notice and this permission notice shall be included in -.\" all copies or substantial portions of the Software. -.\" -.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -.\" SOFTWARE IN THE PUBLIC INTEREST, INC. BE LIABLE FOR ANY CLAIM, DAMAGES OR -.\" OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, -.\" ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER -.\" DEALINGS IN THE SOFTWARE. -.TH uxterm 1x "2004-12-19" "Debian Project" -.SH NAME -uxterm \- X terminal emulator for for Unicode (UTF-8) environments -.SH SYNOPSIS -.B uxterm -[ -.I xterm-options -] -.SH DESCRIPTION -.B uxterm -is a wrapper around the -.BR xterm (1) -program that invokes the latter program with the \(oqUXTerm\(cq X resource -class set. -All arguments to -.B uxterm -are passed to -.B xterm -without processing; the -.B \-class -and -.B \-u8 -options should not be specified because they are used by the wrapper. -See the -.B xterm -manual page for more information on -.IR xterm-options . -.PP -The environment's locale settings (see \(lqENVIRONMENT\(rq below) are -used to discern the locale's character set. -If no current locale can be determined, the locale \(oqen_US\(cq (the -English language as used in the territory of the United States) is assumed. -The -.BR locale (1) -utility is used to determine whether the system supports the selected -locale. -If it does not, -.B uxterm -will exit with an error and report the output of -.BR locale . -.PP -.B Note: uxterm -may produce unexpected results if the current locale is set to one in which -the UTF-8 character encoding is not supported, of if fonts using the ISO -10646-1 character set are not available. -In the Debian system, the \(oqxfonts\-base\(cq package provides the fonts -that -.B uxterm -uses by default. -To change the fonts -.B uxterm -uses, edit the -.I /etc/X11/app\-defaults/UXTerm -file. -.PP -A similar wrapper, -.BR koi8rxterm (1x), -is available for KOI8-R environments. -.SH ENVIRONMENT -.TP -.B LC_ALL\fR, \fBLC_CTYPE\fR, \fBLANG -The values of these variables are checked, in order, to determine the -character set used by the current locale. -.SH AUTHOR -Thomas Dickey -.SH "SEE ALSO" -.BR locale (1), -.BR locale (7), -.BR koi8rxterm (1x), -.BR xterm (1) diff -durN xterm-222.bak/debian/patches/901_xterm_manpage.diff xterm-222/debian/patches/901_xterm_manpage.diff --- xterm-222.bak/debian/patches/901_xterm_manpage.diff 2006-11-09 04:00:25.000000000 +0100 +++ xterm-222/debian/patches/901_xterm_manpage.diff 2006-11-09 04:11:23.000000000 +0100 @@ -2,7 +2,6 @@ Make Debian-specific tweaks to xterm manpage: * Use FHS paths to the utmp and wtmp files in xterm's manpage. -* Correct section in the .TH header in order to clear a lintian warning. This patch by Branden Robinson and David MartÃnez. @@ -10,15 +9,6 @@ =================================================================== --- xterm.man.orig 2006-10-23 22:34:32.000000000 +0200 +++ xterm.man 2006-10-23 23:57:04.000000000 +0200 -@@ -69,7 +69,7 @@ - .sp - .in -4 - .. --.TH XTERM 1 __vendorversion__ -+.TH XTERM 1x __vendorversion__ - .SH NAME - xterm \- terminal emulator for X - .SH SYNOPSIS @@ -4368,10 +4368,10 @@ .SH FILES The actual pathnames given may differ on your system. diff -durN xterm-222.bak/debian/rules xterm-222/debian/rules --- xterm-222.bak/debian/rules 2006-11-09 04:00:25.000000000 +0100 +++ xterm-222/debian/rules 2006-11-09 03:55:03.000000000 +0100 @@ -116,18 +116,18 @@ dh_clean -k dh_installdirs # General installation - $(MAKE) install mandir=/usr/share/man/man1 libdir=/etc manext=1x DESTDIR=$(DEBINSTALLTREE) + $(MAKE) install mandir=/usr/share/man/man1 libdir=/etc manext=1 DESTDIR=$(DEBINSTALLTREE) ## Install lxterm command and manual page. install -m 755 debian/local/lxterm $(DEBINSTALLTREE)/usr/bin - install -m 755 debian/local/lxterm.1x $(DEBINSTALLTREE)/usr/share/man/man1 + install -m 755 debian/local/lxterm.1 $(DEBINSTALLTREE)/usr/share/man/man1 ## Install koi8rxterm command, manual page, and app-defaults file. install -m 755 debian/local/koi8rxterm $(DEBINSTALLTREE)/usr/bin - install -m 755 debian/local/koi8rxterm.1x $(DEBINSTALLTREE)/usr/share/man/man1 + install -m 755 debian/local/koi8rxterm.1 $(DEBINSTALLTREE)/usr/share/man/man1 install -d $(DEBINSTALLTREE)/etc/X11/app-defaults install -m 644 debian/local/KOI8RXTerm $(DEBINSTALLTREE)/etc/X11/app-defaults ## Install manual page for uxterm. - install -m 644 debian/local/uxterm.1x $(DEBINSTALLTREE)/usr/share/man/man1 + install -m 644 debian/local/uxterm.1 $(DEBINSTALLTREE)/usr/share/man/man1 ## Install terminfo and termcap precompiled definitions. install -d $(DEBINSTALLTREE)/usr/lib install -m 644 termcap $(DEBINSTALLTREE)/usr/lib/xterm.termcap diff -durN xterm-222.bak/debian/xterm.postinst xterm-222/debian/xterm.postinst --- xterm-222.bak/debian/xterm.postinst 2006-11-09 04:00:25.000000000 +0100 +++ xterm-222/debian/xterm.postinst 2006-11-09 03:57:42.000000000 +0100 @@ -14,23 +14,23 @@ update-alternatives --install /usr/bin/x-terminal-emulator \ x-terminal-emulator /usr/bin/xterm 20 --slave \ - /usr/share/man/man1/x-terminal-emulator.1x.gz x-terminal-emulator.1x.gz \ - /usr/share/man/man1/xterm.1x.gz + /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \ + /usr/share/man/man1/xterm.1.gz update-alternatives --install /usr/bin/x-terminal-emulator \ x-terminal-emulator /usr/bin/uxterm 20 --slave \ - /usr/share/man/man1/x-terminal-emulator.1x.gz x-terminal-emulator.1x.gz \ - /usr/share/man/man1/uxterm.1x.gz + /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \ + /usr/share/man/man1/uxterm.1.gz update-alternatives --install /usr/bin/x-terminal-emulator \ x-terminal-emulator /usr/bin/koi8rxterm 20 --slave \ - /usr/share/man/man1/x-terminal-emulator.1x.gz x-terminal-emulator.1x.gz \ - /usr/share/man/man1/koi8rxterm.1x.gz + /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \ + /usr/share/man/man1/koi8rxterm.1.gz update-alternatives --install /usr/bin/x-terminal-emulator \ x-terminal-emulator /usr/bin/lxterm 30 --slave \ - /usr/share/man/man1/x-terminal-emulator.1x.gz x-terminal-emulator.1x.gz \ - /usr/share/man/man1/lxterm.1x.gz + /usr/share/man/man1/x-terminal-emulator.1.gz x-terminal-emulator.1.gz \ + /usr/share/man/man1/lxterm.1.gz #DEBHELPER#