Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: problem building zsh in background
- X-seq: zsh-users 6817
- From: Jens Petersen <petersen@xxxxxxxxxx>
- To: Philippe Troin <phil@xxxxxxxx>
- Subject: Re: problem building zsh in background
- Date: Thu, 27 Nov 2003 19:30:30 +0900
- Cc: Zsh-users <zsh-users@xxxxxxxxxx>
- In-reply-to: <m365h68uk6.wl%petersen@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <m3d6bgq2tk.wl%petersen@xxxxxxxxxx> <87d6bgrxml.fsf@xxxxxxxxxxxxxxxx> <m3vfp7o6c8.wl%petersen@xxxxxxxxxx> <877k1ngcp5.fsf@xxxxxxxxxxxxxxxx> <m365h68uk6.wl%petersen@xxxxxxxxxx>
>>>>> "juhp" == Jens Petersen <petersen@xxxxxxxxxx> writes:
>>>>> "PT" == Philippe Troin <phil@xxxxxxxx> writes:
>>> >> works... yes checking if tcsetpgrp() actually
>>> >> works... [1] + suspended (tty output)
>>> >> ./configure
>>>
PT> Check-out the thread at
PT> http://www.zsh.org/mla/workers/2003/msg00895.html
Ok, I have no problems with the first weaker patch, but with
the second patch (msg00896.html) when there is no tty I see:
:
checking if kill(pid, 0) returns ESRCH correctly... yes
checking if POSIX sigsuspend() works... yes
checking if tcsetpgrp() actually works... notty
configure: error: no controlling tty
%
This can be reproduced easily with zsh and nohup:
a) in new terminal, go to a clean tree and run:
% nohup ./configure &!
% Ctrl-d # (ie close the terminal)
b) Then in another terminal "tail -f" nohup.out...
For now I applied the first patch in zsh-4.0.7-2.
Jens
Messages sorted by:
Reverse Date,
Date,
Thread,
Author