Re: zsh exits upon ^C after su'ing to root with zsh as its shell

2002-06-01 Thread Alexander Kabaev
You're right, it doesn't work and I don't have time to go groveling through the kernel to figure out why. Please back out 1.51 and commit your own patch instead. I am not a committer, so someone else has to do that. Bruce, do you have objections for this patch to be committed? --

Re: zsh exits upon ^C after su'ing to root with zsh as its shell

2002-05-31 Thread Dag-Erling Smorgrav
Alexander Kabaev [EMAIL PROTECTED] writes: Revision 1.51 of su.c fixes the bug. No it doesn't. You're right, it doesn't work and I don't have time to go groveling through the kernel to figure out why. Please back out 1.51 and commit your own patch instead. DES -- Dag-Erling Smorgrav -

Re: zsh exits upon ^C after su'ing to root with zsh as its shell

2002-05-28 Thread Bruce Evans
On Tue, 28 May 2002, Jos Backus wrote: Every time I press ^C after su'ing to root which has zsh as its shell, zsh exits. According to somebody on IRC this is related to the PAMification of su. Strangely enough this does not occur when I replace zsh with bash (both from ports). Is anybody

Re: zsh exits upon ^C after su'ing to root with zsh as its shell

2002-05-28 Thread Dan Nelson
In the last episode (May 28), Jos Backus said: On Wed, May 29, 2002 at 10:55:54AM +1000, Bruce Evans wrote: Here is some old mail about this. Sorry I slowed down Alexander's fixes. Thanks Bruce. It sounds like we'll have to live with this problem for now? If you're not concerned about

Re: zsh exits upon ^C after su'ing to root with zsh as its shell

2002-05-28 Thread Alexander Kabaev
Thanks Bruce. It sounds like we'll have to live with this problem for now? For the lack of better ideas, I am just reposting the patch I sent to Bruce about one year ago. I have been happily using it on all my systems since then. Index: su.c

Re: zsh exits upon ^C after su'ing to root with zsh as its shell

2002-05-28 Thread Dag-Erling Smorgrav
Alexander Kabaev [EMAIL PROTECTED] writes: Thanks Bruce. It sounds like we'll have to live with this problem for now? For the lack of better ideas, I am just reposting the patch I sent to Bruce about one year ago. I have been happily using it on all my systems since then. [...] Revision

Re: zsh exits upon ^C after su'ing to root with zsh as its shell

2002-05-28 Thread Alexander Kabaev
Revision 1.51 of su.c fixes the bug. No it doesn't. This is an obvious step and of course I tried to do the same first. This is what I was getting then and what I am getting now with your patch applied (my comments are in angle brackets): Starting point: user is running zsh [user]% sudo -s

Re: zsh exits upon ^C after su'ing to root with zsh as its shell

2002-05-28 Thread Jos Backus
OK, I will use Dan's or Alexander's patch until this has been sorted out. Thanks guys. -- Jos Backus _/ _/_/_/Santa Clara, CA _/ _/ _/ _/ _/_/_/ _/ _/ _/_/ [EMAIL PROTECTED]