zsh-users
 help / color / mirror / code / Atom feed
From: Philippe Troin <phil@fifi.org>
To: Jens Petersen <petersen@redhat.com>
Cc: Zsh-users <zsh-users@sunsite.dk>
Subject: Re: problem building zsh in background
Date: 29 Nov 2003 21:43:50 -0800	[thread overview]
Message-ID: <87zneewgvd.fsf@ceramic.fifi.org> (raw)
In-Reply-To: <m3y8u26r3t.wl%petersen@redhat.com>

Jens Petersen <petersen@redhat.com> writes:

> >>>>> "juhp" == Jens Petersen <petersen@redhat.com> writes:
> 
> >>>>> "PT" == Philippe Troin <phil@fifi.org> 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
> % 

Yes, I know.

The first patch fails to detect if configure runs without a
controlling tty, does not run the test and assumes that tcsetpgrp()
works correctly.

The second patch aborts the configure run in that case.

The first patch was a work in progress, the second patch is supposed
to be an improvement :-)

Why do you want to run configure with nohup?

I guess I could run the test in a separate, created pty, but that is
going to be messy to do portably in configure.

Phil.


  reply	other threads:[~2003-11-30  5:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-25  8:17 Jens Petersen
2003-11-25 20:39 ` Philippe Troin
2003-11-26  8:57   ` Jens Petersen
2003-11-26 19:19     ` Philippe Troin
2003-11-27  1:32       ` Jens Petersen
2003-11-27 10:30         ` Jens Petersen
2003-11-30  5:43           ` Philippe Troin [this message]
2003-11-30 18:56             ` Danek Duvall
2003-12-01  2:36               ` Geoff Wing
2003-12-01  6:08               ` Philippe Troin
2003-12-01  6:56                 ` Bart Schaefer
2003-12-01  8:32                 ` Jens Petersen
2003-12-03  1:19                   ` Philippe Troin
2003-12-09  4:50                     ` Jens Petersen
2003-12-09  5:26                       ` Philippe Troin
2003-12-01  1:06             ` Jens Petersen

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=87zneewgvd.fsf@ceramic.fifi.org \
    --to=phil@fifi.org \
    --cc=petersen@redhat.com \
    --cc=zsh-users@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).