zsh-workers
 help / color / mirror / code / Atom feed
From: Danek Duvall <duvall@emufarm.org>
To: Philippe Troin <phil@fifi.org>
Cc: Nicolas George <nicolas.george@ens.fr>, zsh-workers@sunsite.dk
Subject: Re: Subshell exiting, suspend problem
Date: Fri, 3 Oct 2003 15:24:43 -0700	[thread overview]
Message-ID: <20031003222443.GH4255@lorien.emufarm.org> (raw)
In-Reply-To: <873ceaugby.fsf@ceramic.fifi.org>

On Fri, Oct 03, 2003 at 03:06:09PM -0700, Philippe Troin wrote:

> Danek Duvall <duvall@emufarm.org> 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


  reply	other threads:[~2003-10-04  2:24 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-26 16:52 Nicolas George
2003-09-26 17:38 ` Bart Schaefer
2003-09-27  3:21   ` Philippe Troin
2003-09-27 21:00     ` Bart Schaefer
2003-09-26 18:32 ` Philippe Troin
2003-10-03 20:58 ` [19140] " Danek Duvall
2003-10-03 22:06   ` Philippe Troin
2003-10-03 22:24     ` Danek Duvall [this message]
2003-10-08  7:04       ` Danek Duvall
2003-10-08  7:26         ` Philippe Troin
2003-10-17 16:54           ` Philippe Troin
2003-10-21  7:30             ` Danek Duvall

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=20031003222443.GH4255@lorien.emufarm.org \
    --to=duvall@emufarm.org \
    --cc=nicolas.george@ens.fr \
    --cc=phil@fifi.org \
    --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).