zsh-workers
 help / color / mirror / code / Atom feed
* jobs not listing all commands
@ 2004-02-17  7:58 Felix Rosencrantz
  2004-02-17 10:41 ` Peter Stephenson
  2004-02-17 22:14 ` Bart Schaefer
  0 siblings, 2 replies; 11+ messages in thread
From: Felix Rosencrantz @ 2004-02-17  7:58 UTC (permalink / raw)
  To: zw

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


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-02-20 15:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-17  7:58 jobs not listing all commands Felix Rosencrantz
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

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).