From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4035 invoked from network); 5 Sep 2007 11:22:05 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 5 Sep 2007 11:22:05 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 16141 invoked from network); 5 Sep 2007 11:21:59 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 5 Sep 2007 11:21:59 -0000 Received: (qmail 11766 invoked by alias); 5 Sep 2007 11:21:50 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11811 Received: (qmail 11752 invoked from network); 5 Sep 2007 11:21:49 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 5 Sep 2007 11:21:49 -0000 Received: (qmail 14838 invoked from network); 5 Sep 2007 11:21:49 -0000 Received: from sol.nlnetlabs.nl (213.154.224.43) by a.mx.sunsite.dk with SMTP; 5 Sep 2007 11:21:43 -0000 Received: from elektron.atoom.net (a80-127-17-126.adsl.xs4all.nl [80.127.17.126]) by sol.nlnetlabs.nl (Postfix) with ESMTP id CA4CD1880C8 for ; Wed, 5 Sep 2007 13:21:41 +0200 (CEST) Received: by elektron.atoom.net (Postfix, from userid 1000) id BDA653000862; Wed, 5 Sep 2007 13:21:41 +0200 (CEST) Date: Wed, 5 Sep 2007 13:21:41 +0200 From: Miek Gieben To: zsh-users@sunsite.dk Subject: Re: fg jobs info Message-ID: <20070905112141.GA4519@miek.nl> Mail-Followup-To: zsh-users@sunsite.dk References: <20070902154306.35880.qmail@smasher.org> <070902105953.ZM22915@torch.brasslantern.com> <20070903163147.GA14017@mastermind> <20070904111631.81486.qmail@smasher.org> <070904083104.ZM25598@torch.brasslantern.com> <20070905090302.72429.qmail@smasher.org> <200709050928.l859Su9h016042@news01.csr.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <200709050928.l859Su9h016042@news01.csr.com> User-Agent: Vim/Mutt/Linux X-Home: www.miek.nl --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [On 05 Sep, @11:28, Peter Stephenson wrote in "Re: fg jobs info ..."] > Atom Smasher wrote: > > maybe in the process of working out the bugs, there can be some added= =20 > > functionality to add a variable that automagically returns the text of = the=20 > > fg'd job. >=20 > That's $jobtexts. Is there a way to get the jobnumber from any of these variables.=20 $jobstates includes a lot, but not the actual job number. (I want to list the current job numbers in my prompt - if there are any) -- grtz, - Miek http://www.miek.nl PGP: 6A3C F450 6D4E 7C6B C23C F982 258B 85CF 3880 D0F6 --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFG3pFFJYuFzziA0PYRAuRQAJwI6lMKNhvadmyhiQQj1agjMgROwACeOFtY tXOAcVApOPvdLlKpPzdm85g= =j71K -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--