public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <201003170655.09481.michaelkintzios@gmail.com> (raw)
In-Reply-To: <4B9F35D4.9040404@oversi.com>

[-- Attachment #1: Type: Text/Plain, Size: 1091 bytes --]

On Tuesday 16 March 2010 07:40:04 Amit Dor-Shifer wrote:
> What does
> 
> 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 the 
file in an xterm and then closes it (the xterm).  So the gpg part works fine.

>  I'm thinking that gpg fails, so oocalc never launches (because you
>  conditioned its execution with '&&', and the script continues to shred the
>  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 
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 
should work; i.e. the xterm should continue to run as long as any processes 
within it are still running.

This makes me think that it may be some env or profile difference ...?  What 
would control this behaviour in an xterm?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2010-03-17  6:56 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 23:41 [gentoo-user] Problem with script calling OOCalc on amd64 Mick
2010-03-16  7:40 ` Amit Dor-Shifer
2010-03-17  6:54   ` Mick [this message]
2010-03-17  9:15     ` Amit Dor-Shifer
2010-03-17 22:57       ` Mick
2010-03-18  6:40         ` Mick
2010-03-23 22:30         ` Robert Bridge
2010-03-23 22:50           ` Mick
2010-03-18  3:29 ` Dan Wallis
2010-03-18 19:42   ` Mick
2010-03-19  0:34     ` Dan Wallis
2010-03-19 19:14       ` Mick
2010-03-23 10:18         ` Steve Dommett
2010-03-23 16:04           ` Mick
2010-03-23 16:38             ` Steve Dommett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201003170655.09481.michaelkintzios@gmail.com \
    --to=michaelkintzios@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox