zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Whaite <peta@cortexmachina.com>
To: Philippe Troin <phil@fifi.org>
Cc: zsh-workers@sunsite.dk
Subject: Re: Cant fg a suspended su (4.1.0-dev-7)
Date: Tue, 25 Feb 2003 12:02:34 -0500	[thread overview]
Message-ID: <200302251702.h1PH2YZ13640@aragorn.cortexmachina.com> (raw)
In-Reply-To: Message from Philippe Troin <phil@fifi.org>  of "25 Feb 2003 08:34:51 PST." <87n0kk71zo.fsf@ceramic.fifi.org>


Philippe Troin said:
> Philippe Troin <phil@fifi.org> writes:
> 
> > I'll check out how the other shells (bash and tcsh) handle this case
> > and will post a patch for bin_suspend() later.
> 
> I was looking at bash, and they do not do anything special (like
> reverting to the original pgrp) before suspending.
> 
> Can you try su'ing with bash? I was able to get it stuck with my local
> test program here... but I do not have GNU su installed (yet).

Looks like bash can deal with GNU su.  So can tcsh. 

% su --shell=/bin/bash peta
Password: 
[peta@aragorn zsh]$ suspend
zsh: suspended (signal)  /bin/su --shell=/bin/bash peta
1 % fg
[1]  + continued  /bin/su --shell=/bin/bash peta

11779 11790 11790 11790 pts/2    12959 S      501   0:00      \_ -zsh
11790 12894 12894 11790 pts/2    12959 S        0   0:00          \_ /bin/su --shell=/bin/bash peta
12894 12903 12903 11790 pts/2    12959 S      501   0:00              \_ bash
12903 12959 12959 11790 pts/2    12959 R      501   0:00                  \_ ps xajfw


--
Peter Whaite
VP Research and Development, Cynovad - ShadeScan Division.
460 ste-Catherine O, bureau 942, Montreal, Quebec. H3B 1A7
Phone: (514) 395 3905 (#204)  Fax:   (514) 878 2874


  reply	other threads:[~2003-02-25 17:02 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21 18:07 Peter Whaite
2003-02-22 23:04 ` Bart Schaefer
2003-02-22 23:42   ` Bart Schaefer
2003-02-25  0:38   ` Philippe Troin
2003-02-27  8:47     ` Help needed with execcmd() (was: Re: Cant fg a suspended su (4.1.0-dev-7)) Philippe Troin
2003-03-01 18:42       ` Bart Schaefer
2003-02-25  1:29 ` Cant fg a suspended su (4.1.0-dev-7) Philippe Troin
2003-02-25  3:00   ` Peter Whaite
2003-02-25  3:37     ` Philippe Troin
2003-02-25 16:34       ` Philippe Troin
2003-02-25 17:02         ` Peter Whaite [this message]
2003-03-06  4:47           ` Philippe Troin
2003-03-06 18:23             ` Peter Whaite
2003-03-06 22:14               ` Philippe Troin
2003-03-07 12:18               ` Peter Stephenson
2003-03-07 14:01                 ` Philippe Troin
2003-02-26  6:18 ` Philippe Troin
2003-02-26 16:25   ` Bart Schaefer
2003-02-26 16:34     ` Peter Stephenson
2003-02-26 20:30     ` Philippe Troin

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=200302251702.h1PH2YZ13640@aragorn.cortexmachina.com \
    --to=peta@cortexmachina.com \
    --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).