Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: fg call in function: bug?
- X-seq: zsh-workers 22956
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: fg call in function: bug?
- Date: Fri, 03 Nov 2006 18:50:55 -0800
- In-reply-to: <17393e3e0611031639g31c94488m7605a5841a3c9e25@xxxxxxxxxxxxxx>
- In-reply-to: <17393e3e0611031715m7a189c43t46f5b0807490f129@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <17393e3e0611031639g31c94488m7605a5841a3c9e25@xxxxxxxxxxxxxx> <17393e3e0611031715m7a189c43t46f5b0807490f129@xxxxxxxxxxxxxx>
On Nov 3, 4:39pm, Matt Wozniski wrote:
}
} SpyderByte% test() { fg %1 }
} SpyderByte% test
} test: can't set tty pgrp: operation not permitted
On Nov 3, 5:15pm, Matt Wozniski wrote:
} Subject: fg call in function: bug?
}
} ~>{ jobs %1 }
} ~>jobs %1
} jobs: %1: no such job
I believe both of these are happening because the { } construct creates
a job table entry, which (in the first case) is attempting to put itself
into the foreground when it already is, and (in the second case) is
reporting nothing about itself.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author