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 ) id 1Nshfj-0005jh-SO for garchives@archives.gentoo.org; Fri, 19 Mar 2010 19:15:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68137E07E0; Fri, 19 Mar 2010 19:14:28 +0000 (UTC) Received: from mail-bw0-f219.google.com (mail-bw0-f219.google.com [209.85.218.219]) by pigeon.gentoo.org (Postfix) with ESMTP id 21F34E07E0 for ; Fri, 19 Mar 2010 19:14:28 +0000 (UTC) Received: by bwz19 with SMTP id 19so3491764bwz.26 for ; Fri, 19 Mar 2010 12:14:27 -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=tJPl4yfiAFB6V8FHtnlzI5XME5IimkmZ3AzANKckCnk=; b=h0rqA4LJ4IoOlIcupg8prBKKrWXVVns+HPEAPYZgkoNJ4C9yZsLacwUSUo2NJqBxOO SvUKfruTGjVIomDl12ZZlYVP8Gl93UzGelvDlzfdIJzjMOsaBPiB/YAWBcjttJgiRqSV 08ZXpzGe2uE/klgGk9TGdU3E2HeLSlHytcEPs= 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=FeV3AAI5yQxjSiaSQUaTWMEVt4HLrpvbrUeuq0+MeKGm3fzXlOaCuH0VUWoIP17jNd gmdPfioE+udFewAEyA9n58GmWJ3YysZoiIMnhRlpgKMzp9+AJ+mH52VM7nAUwcgu2bT7 EluKejjhA4oU/dK9t0yc0DXT+LlMqzVjlgvYA= Received: by 10.204.6.70 with SMTP id 6mr728245bky.6.1269026067259; Fri, 19 Mar 2010 12:14:27 -0700 (PDT) Received: from (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id l1sm5735437bkl.14.2010.03.19.12.14.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 19 Mar 2010 12:14:25 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problem with script calling OOCalc on amd64 Date: Fri, 19 Mar 2010 19:14:21 +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> <201003181942.56278.michaelkintzios@gmail.com> <919d41311003181734s1078cc94k2c6026fca94b76aa@mail.gmail.com> In-Reply-To: <919d41311003181734s1078cc94k2c6026fca94b76aa@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1403909.u88QmNoFhV"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201003191914.32202.michaelkintzios@gmail.com> X-Archives-Salt: c64a985f-cc4b-4046-8c6c-cbcb2ddef6b4 X-Archives-Hash: fe01efa13d1d81c97865feeb4309268a --nextPart1403909.u88QmNoFhV Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Friday 19 March 2010 00:34:44 Dan Wallis wrote: > On 19 March 2010 08:42, Mick wrote: > > Is there some bash incantation I can use then with OOo compiled from > > source, to keep the terminal open until I close OOo? >=20 > I guess something like this might do the trick: > while pgrep ooffice >/dev/null; do sleep 1; done > Although I'm not at my Gentoo box at the moment to test. The version > of pgrep on this Debian box doesn't have a -q option, hence the > redirect to devnull. Thanks Dan, I tried this but the terminal did not wait for OOo to close. I= t=20 exited straight away: xterm -fg green -bg black -e 'gpg DATA/data.ods.gpg && oocalc DATA/data.ods= ;=20 while pgrep oocalc >/dev/null; do sleep 1; done' I also tried /usr/bin/oocalc, but it didn't work. :-( =2D-=20 Regards, Mick --nextPart1403909.u88QmNoFhV 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) iEYEABECAAYFAkujzRgACgkQVTDTR3kpaLaEwACeOISW/hGtSkwpLtAhSu5Fmjo4 f7UAoMVsMLr8aFuXTZY88imsePkk9fPC =HqLe -----END PGP SIGNATURE----- --nextPart1403909.u88QmNoFhV--