zsh-workers
 help / color / mirror / code / Atom feed
* fg call in function: bug?
@ 2006-11-04  0:39 Matt Wozniski
  2006-11-04  1:15 ` Matt Wozniski
  2006-11-06 12:22 ` Peter Stephenson
  0 siblings, 2 replies; 7+ messages in thread
From: Matt Wozniski @ 2006-11-04  0:39 UTC (permalink / raw)
  To: zsh-workers

If I run 'fg %n' with a job number that doesn't exist, it has
different (and worse) effects in a function than at a prompt.  (Sorry
if this has been fixed in CVS... Ubuntu Dapper doesn't have a package
past 4.2.5 yet.. ;) )

SpyderByte%   zsh -f
SpyderByte%   jobs

SpyderByte%   fg %1
fg: %1: no such job

SpyderByte%   test() { fg %1 }
SpyderByte%   test
test: can't set tty pgrp: operation not permitted

SpyderByte%   fg %1
fg: no job control in this shell.

SpyderByte%   zsh --version
zsh 4.2.5 (i686-pc-linux-gnu)

~Matt


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

end of thread, other threads:[~2006-11-06 12:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-04  0:39 fg call in function: bug? Matt Wozniski
2006-11-04  1:15 ` Matt Wozniski
2006-11-04  2:50   ` Bart Schaefer
     [not found]     ` <17393e3e0611031856v21f9bc19k9a9f25ff5ef002ba@mail.gmail.com>
2006-11-04  2:57       ` Matt Wozniski
2006-11-04 18:10         ` Bart Schaefer
2006-11-06 12:27   ` Peter Stephenson
2006-11-06 12:22 ` Peter Stephenson

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