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

Bug#318513: marked as done (xterm: 'sh -x uxterm' wrongly succeeds when 'uxterm' rightly fails)



Your message dated Wed, 11 Jan 2006 11:49:34 +0100
with message-id <[🔎] 200601111149.36016.ender@debian.org>
and subject line Closing bugs fixed in xterm 208-1.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Jul 2005 22:47:23 +0000
>From jidanni@jidanni.org Fri Jul 15 15:47:23 2005
Return-path: <jidanni@jidanni.org>
Received: from frodo.hserus.net [204.74.68.40] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1DtYxn-0000L9-00; Fri, 15 Jul 2005 15:47:23 -0700
Received: from tc218-187-22-103.dialup.dynamic.apol.com.tw ([218.187.22.103]:34011 helo=jidanni1)
	by frodo.hserus.net with esmtpsa 
	(Cipher TLSv1:AES256-SHA:256) (Exim 4.51 #0)
	id 1DtYxi-000DN5-FA by authid <jidanni> with plain
	for <submit@bugs.debian.org>; Sat, 16 Jul 2005 04:17:20 +0530
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dan Jacobson <jidanni@jidanni.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Debbugs-No-Ack: please
Subject: needed to use sh -x /usr/X11R6/bin/uxterm
X-Mailer: reportbug 3.15
Date: Sat, 16 Jul 2005 04:48:42 +0800
Message-Id: <E1DtX6w-0001p5-Au@jidanni1>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_NO_ACK autolearn=ham version=2.60-bugs.debian.org_2005_01_02

Package: xterm
Version: 4.3.0.dfsg.1-13
Severity: normal
File: /usr/X11R6/bin/uxterm

Very interesting.
$ sh -x /usr/bin/X11/uxterm
gets me a uxterm, whereas
$ sh /usr/bin/X11/uxterm
just gets me error messages.
Adding -x changing the outcome of scripts? Uh oh.

Indeed, if I change the top line to #!/bin/sh -x
then it works if I call it directly.

Add a comment to the source to say what this does:
locale=`(LC_ALL=C LC_CTYPE=C LANG=C locale >/dev/null) 2>&1`
and how it is different than
locale=
and why the ().

Well, at least it enabled me to get a perfectly good uxterm, as I see
in the output
+ locale='++ LC_ALL=C
++ LC_CTYPE=C
++ LANG=C
++ locale'

whereas all I would have gotten otherwise is
$ uxterm
uxterm tried to use locale zh_TW.UTF-8
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

Isn't that neat. -x debugging stuff stuffed into a variable allowing
me to get an uxterm when even this won't:

$ LC_ALL=C LC_CTYPE=C LANG=C uxterm
uxterm tried to use locale en_US.UTF-8
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

$ locale -a
C
POSIX
zh_TW
zh_TW.big5

---------------------------------------
Received: (at 318513-done) by bugs.debian.org; 11 Jan 2006 09:49:39 +0000
>From ender@debian.org Wed Jan 11 01:49:39 2006
Return-path: <ender@debian.org>
Received: from cerrojo.elmundo.es ([193.110.128.12] helo=mail2.elmundo.es)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Ewcbq-000636-Rp; Wed, 11 Jan 2006 01:49:39 -0800
Received: from xanes.el-mundo.int (xanes.elmundo.int [10.5.222.50])
	by mail2.elmundo.es (Postfix) with ESMTP
	id 698EF4614E; Wed, 11 Jan 2006 10:49:38 +0100 (CET)
Received: by xanes.el-mundo.int (Postfix, from userid 65500)
	id A2A3E17315; Wed, 11 Jan 2006 10:49:37 +0100 (CET)
Received: from ip6-localhost (localhost [127.0.0.1])
	by xanes.el-mundo.int (Postfix) with ESMTP
	id 3AB3B17313; Wed, 11 Jan 2006 10:49:37 +0100 (CET)
From: David =?iso-8859-15?q?Mart=EDnez_Moreno?= <ender@debian.org>
Organization: Debian
To: 305540-done@bugs.debian.org, 311438-done@bugs.debian.org,
	315195-done@bugs.debian.org, 318280-done@bugs.debian.org,
	318513-done@bugs.debian.org, 324352-done@bugs.debian.org
Subject: Closing bugs fixed in xterm 208-1.
Date: Wed, 11 Jan 2006 11:49:34 +0100
User-Agent: KMail/1.8.3
Cc: debian-x@lists.debian.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart19950491.dvbdj3BgAt";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <[🔎] 200601111149.36016.ender@debian.org>
X-Bogosity: No, tests=bogofilter, spamicity=0.395205, version=0.10.3
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00,SORTED_RECIPS 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 5

--nextPart19950491.dvbdj3BgAt
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Version: 208-1

	David Nusinow forgot to run dpkg-buildpackage with -v option, in order to=
=20
close bugs from previous version. All these bugs were closed by xterm=20
204-0pre1 in experimental, and 208-1 in unstable.

	Best regards,


		Ender.
=2D-=20
Another C-3PO: E chu ta!
C-3PO: How rude!
		-- C-3PO (The Empire Strikes Back).
=2D-
Desarrollador de Debian
Debian developer

--nextPart19950491.dvbdj3BgAt
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQBDxOK/Ws/EhA1iABsRAgyXAJ9btqI83VKMODMnHZq2qpxfLWqHdgCg5nWf
DUWNgTZfS6O1ecWDlqKZA00=
=WvxL
-----END PGP SIGNATURE-----

--nextPart19950491.dvbdj3BgAt--



Reply to: