zsh-workers
 help / color / mirror / code / Atom feed
From: Felix Rosencrantz <f_rosencrantz@yahoo.com>
To: zw <zsh-workers@sunsite.dk>
Subject: jobs not listing all commands
Date: Mon, 16 Feb 2004 23:58:27 -0800 (PST)	[thread overview]
Message-ID: <20040217075827.1498.qmail@web10410.mail.yahoo.com> (raw)

The jobs command seems to have a problem if there is a gap in job numbers. 
I've started noticing this recently, though it could be more because  I've
added "%j" to my prompt.  I'm running from the latest CVS.   Also, when
configuring zsh I use "--enable-max-jobtable-size=100 --enable-zsh-debug". 
Output below shows that %4 command exists, but the jobs command doesn't list it
when there is a gap in the job table...  The 

-FR.
ps also note another "bug" with "%j" and the prompt.  when the sleep finishes,
the prompt doesn't update. 

Part of my configuration:
prompt="j=%j felix@ "
alias j="jobs -l"

j=3 felix@ sleep 10 &
j=4 felix@ alias j='jobs -l'
j=4 felix@ j
[1]    28730 suspended  vim script.sh
[2]  + 29134 suspended  vim text
[3]    29443 running    sleep 10
[4]  - 29439 suspended  vim settings.sh
j=4 felix@
[3]    done       sleep 10
j=4 felix@ jobs
[1]    suspended  vim script.sh
[2]  + suspended  vim text
j=3 felix@


__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


             reply	other threads:[~2004-02-17  7:58 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17  7:58 Felix Rosencrantz [this message]
2004-02-17 10:41 ` Peter Stephenson
2004-02-17 22:14 ` Bart Schaefer
2004-02-18  0:25   ` James Devenish
2004-02-18  0:41     ` Wayne Davison
2004-02-18  6:02     ` Bart Schaefer
2004-02-18 10:24   ` Peter Stephenson
2004-02-18 17:47     ` Bart Schaefer
2004-02-18 22:02       ` Peter Stephenson
2004-02-20 15:21         ` PATCH: ptmx part 2 Peter Stephenson
2004-02-19 15:22   ` jobs not listing all commands Felix Rosencrantz

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=20040217075827.1498.qmail@web10410.mail.yahoo.com \
    --to=f_rosencrantz@yahoo.com \
    --cc=zsh-workers@sunsite.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).