From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-109005-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1NrnAw-00029K-9l
	for garchives@archives.gentoo.org; Wed, 17 Mar 2010 06:56:18 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 77AFDE0AA0;
	Wed, 17 Mar 2010 06:55:12 +0000 (UTC)
Received: from mail-bw0-f210.google.com (mail-bw0-f210.google.com [209.85.218.210])
	by pigeon.gentoo.org (Postfix) with ESMTP id 2C59DE0AA0
	for <gentoo-user@lists.gentoo.org>; Wed, 17 Mar 2010 06:55:12 +0000 (UTC)
Received: by bwz2 with SMTP id 2so718847bwz.30
        for <gentoo-user@lists.gentoo.org>; Tue, 16 Mar 2010 23:55:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:reply-to:to:subject:date
         :user-agent:references:in-reply-to:mime-version:content-type
         :content-transfer-encoding:message-id;
        bh=9oZe+hSP7M8Om+AfJHTzWAUF+bXUw3xWjItiZtNva2U=;
        b=qNTDDlzGOXJQeDSPDyUrRriPNGTLZbeTWj8CF2yQP5p9JJUM67lDIWvysZnqWhtvmr
         s1wEXgjsB+EpUO7sqKinz+3DcFobamibve6kL+z8WAE/pyWFA7JIW0hQGrDJWu/sH/2W
         AXGeZKn+9EiUZs0WDGVee043Ouhp2wk8YNDL0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:reply-to:to:subject:date:user-agent:references:in-reply-to
         :mime-version:content-type:content-transfer-encoding:message-id;
        b=NTvHV4ODTiK71V9JTVc/Jq5NKQGAePRG+JMXwnBwPhU7SEF59d/V85phChcBdYR/m7
         YNknRb+0uKQ0i4fmTfzTf+SkY1h7Se9pSU6ouR7K1Te6JKgGkxYOZ+ZRU3TPEcBIzySW
         regEu33KdbNY/12DZ7VdvtBWVB6haD1XamAqA=
Received: by 10.204.128.82 with SMTP id j18mr603301bks.133.1268808911485;
        Tue, 16 Mar 2010 23:55:11 -0700 (PDT)
Received: from  (230.3.169.217.in-addr.arpa [217.169.3.230])
        by mx.google.com with ESMTPS id s17sm29698694bkd.16.2010.03.16.23.55.10
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Tue, 16 Mar 2010 23:55:10 -0700 (PDT)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Problem with script calling OOCalc on amd64
Date: Wed, 17 Mar 2010 06:54:48 +0000
User-Agent: KMail/1.12.4 (Linux/2.6.31-gentoo-r10; KDE/4.3.5; x86_64; ; )
References: <201003152342.12044.michaelkintzios@gmail.com> <4B9F35D4.9040404@oversi.com>
In-Reply-To: <4B9F35D4.9040404@oversi.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart3589032.f9xZ0a3aZV";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201003170655.09481.michaelkintzios@gmail.com>
X-Archives-Salt: 2890e9b9-1716-4789-80fa-2cc396f8b97b
X-Archives-Hash: 5c6670e677ad8d25e847fd24df108648

--nextPart3589032.f9xZ0a3aZV
Content-Type: Text/Plain;
  charset="utf-8"
Content-Transfer-Encoding: quoted-printable

On Tuesday 16 March 2010 07:40:04 Amit Dor-Shifer wrote:
> What does
>=20
> xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg;echo $?' tell you?

It doesn't return anything on the terminal I launch it from, but decrypts t=
he=20
file in an xterm and then closes it (the xterm).  So the gpg part works fin=
e.

>  I'm thinking that gpg fails, so oocalc never launches (because you
>  conditioned its execution with '&&', and the script continues to shred t=
he
>  file.

The gpg part does not fail, because when I run:

xterm -fg green -bg black -e 'gpg Personal/data.ods.gpg && oocalc \
Personal/data.ods'

An xterm opens up asks for a passwd to decrypt the file, decrypts it and=20
launches OOo.  However, the xterm dies immediately after that.

On my x86 machine, the xterm stays open until I close OOo.  This is how it=
=20
should work; i.e. the xterm should continue to run as long as any processes=
=20
within it are still running.

This makes me think that it may be some env or profile difference ...?  Wha=
t=20
would control this behaviour in an xterm?
=2D-=20
Regards,
Mick

--nextPart3589032.f9xZ0a3aZV
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEABECAAYFAkugfM0ACgkQVTDTR3kpaLYUjQCfYh1lBNr6a/HQJq7f0zETosYL
iZIAoPZ36ojyiHsQZfdcy07iyIlj1JC5
=Rz4s
-----END PGP SIGNATURE-----

--nextPart3589032.f9xZ0a3aZV--