Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Subshell exiting, suspend problem
- X-seq: zsh-workers 19166
- From: Danek Duvall <duvall@xxxxxxxxxxx>
- To: Philippe Troin <phil@xxxxxxxx>
- Subject: Re: Subshell exiting, suspend problem
- Date: Fri, 3 Oct 2003 15:24:43 -0700
- Cc: Nicolas George <nicolas.george@xxxxxx>, zsh-workers@xxxxxxxxxx
- In-reply-to: <873ceaugby.fsf@xxxxxxxxxxxxxxxx>
- Mail-followup-to: Danek Duvall <duvall@xxxxxxxxxxx>, Philippe Troin <phil@xxxxxxxx>, Nicolas George <nicolas.george@xxxxxx>, zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20030926165251.GA14940@xxxxxxxxxxxxxx> <20031003205809.GE4255@xxxxxxxxxxxxxxxxxx> <873ceaugby.fsf@xxxxxxxxxxxxxxxx>
On Fri, Oct 03, 2003 at 03:06:09PM -0700, Philippe Troin wrote:
> Danek Duvall <duvall@xxxxxxxxxxx> writes:
>
> > I've been using this patch for a little while on a Solaris box, and
> > it solved the problem I had where su would be left in the job table
> > after I exited it.
>
> Can you elaborate on that problem? I use zsh with su on solaris
> without any issues.
"su root -c /path/to/zsh" runs the shell. When I exit, I get
zsh: suspended (tty output) su root -c /path/to/zsh
which is confirmed by jobs. If I foreground the job, it finally exits
properly. This is if both the user and the root shell are 4.1.1 without
the patch.
If the root shell is patched, then this problem doesn't happen (doesn't
matter what the user shell is).
If the user shell is patched but the root shell is not, then I get the
I/O error I described before.
> > However, I'm now unable to suspend vi or ncftp, or, I would guess,
> > any curses program.
>
> That's strange: this patch only changes zsh's exit behavior.
Indeed. I'll recompile both the patched version and the unpatched
version from scratch and see if I can reproduce all this behavior.
Thanks,
Danek
Messages sorted by:
Reverse Date,
Date,
Thread,
Author