Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
fg call in function: bug?
- X-seq: zsh-workers 22954
- From: "Matt Wozniski" <mjw452@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: fg call in function: bug?
- Date: Fri, 3 Nov 2006 19:39:03 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=IElHEfc4oRf9Cm+fBRN5SvjP5HGjH0TOyuHp8cct4Z17PO76UrkyTVUmyPtRkx9pr0DHfx5sWD6ggabsESulTjAKLXBiEF7cHiCoTXiSoizu7K86M2TD7S6ag2zcEB3bIw82lBywamwJqLNSFSY7/hoAsCYf/1A8TcZSeQkJfPM=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: godlygeek@xxxxxxxxx
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author