From: "Matt Wozniski" <godlygeek@gmail.com>
To: zsh-workers@sunsite.dk
Subject: Re: fg call in function: bug?
Date: Fri, 3 Nov 2006 21:57:57 -0500 [thread overview]
Message-ID: <17393e3e0611031857x3673ca28oec66aa06405d2f7d@mail.gmail.com> (raw)
In-Reply-To: <17393e3e0611031856v21f9bc19k9a9f25ff5ef002ba@mail.gmail.com>
Crap. I sent this to Bart at first. My apologies, Bart.
If that were the case, wouldn't you expect to see different output
between "jobs" and "{ jobs }"?
~Matt
On 11/3/06, Bart Schaefer <schaefer@brasslantern.com> wrote:
> 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.
>
next prev parent reply other threads:[~2006-11-04 2:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-04 0:39 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 [this message]
2006-11-04 18:10 ` Bart Schaefer
2006-11-06 12:27 ` Peter Stephenson
2006-11-06 12:22 ` Peter Stephenson
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=17393e3e0611031857x3673ca28oec66aa06405d2f7d@mail.gmail.com \
--to=godlygeek@gmail.com \
--cc=mjw@drexel.edu \
--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).