delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/13/14:06:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 13 Sep 2004 14:06:32 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jan Nieuwenhuizen <janneke AT gnu DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: Installation hangs because asks for input from terminal (Attn: tetex maintainer, setup maintainer)
In-Reply-To: <87llfenmgx.fsf@peder.flower>
Message-ID: <Pine.GSO.4.61.0409131355080.13303@slinky.cs.nyu.edu>
References: <41416E12 DOT 30103 AT math DOT md> <Pine DOT GSO DOT 4 DOT 61 DOT 0409101300420 DOT 5749 AT slinky DOT cs DOT nyu DOT edu> <87llfenmgx DOT fsf AT peder DOT flower>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Mon, 13 Sep 2004, Jan Nieuwenhuizen wrote:

> Igor Pechtchanski writes:

FWIW, it was the original poster who wrote the below -- all of my comments
got snipped out.

> >> I found that it was a conflict with my existing fpTeX installation
> >> (fpTeX is a TeTeX port to Windows) that defined an environment
> >> variable TEXMFCNF to one of Windows directories.
>
> I feel that setup.exe should not use an unclean environment.

If an empty environment is needed, why not use "env -i" in the postinstall
script?

> >> The script post-texmf.sh diagnosted that and asked for user's
> >> reaction.
>
> Actually, it is texconfig which does that.
>
> Thanks for reporting this.
> Jan.

Ok, I think it's unreasonable to require that none of the tools called
from postinstall scripts read stdin -- there's just no way maintainers are
going to be able to ensure that.  I'll submit a patch to setup.exe that
redirects stdin from /dev/null.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019