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

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
To: cygwin AT cygwin DOT com
Subject: Re: Installation hangs because asks for input from terminal (Attn: tetex maintainer, setup maintainer)
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> <Pine DOT GSO DOT 4 DOT 61 DOT 0409131355080 DOT 13303 AT slinky DOT cs DOT nyu DOT edu> <874qm2nigl DOT fsf AT peder DOT flower> <Pine DOT GSO DOT 4 DOT 61 DOT 0409131423110 DOT 13303 AT slinky DOT cs DOT nyu DOT edu>
From: Jan Nieuwenhuizen <janneke AT gnu DOT org>
Organization: Jan at Appel
Date: Mon, 13 Sep 2004 20:54:11 +0200
In-Reply-To: <Pine.GSO.4.61.0409131423110.13303@slinky.cs.nyu.edu> (Igor Pechtchanski's message of "Mon, 13 Sep 2004 14:27:56 -0400 (EDT)")
Message-ID: <87d60qm23w.fsf@peder.flower>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)
MIME-Version: 1.0
X-Virus-Scanned: by XS4ALL Virus Scanner
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Igor Pechtchanski writes:

> Not really.  As Max said, the environment in which the postinstall scripts
> run is the same as the one you'd get when you run them on the command line
> (albeit from a non-login /bin/sh).  That environment will contain all of
> the Windows-set environment variables.  If the tools require that some
> variables be unset (because they might throw the tools off, for example),
> the variables have to be unset in the postinstall script -- setup.exe
> can't be expected to know all of the variables potentially conflicting
> with all of the packages.

No, of course.  That's why I'd like to have an empty (rather than a
cleaned) environment, isn't that possible?  That sounds cleaner than
fixing all scripts?

FWIW, the way teTeX works, most variables set in texmf.cnf are
overridden by the environment; it would be next to impossible to
guarantee a successful teTeX environment after logging in if variables
from the WINDOWS are allowed to silently enter the Cygwin
environment...

> OTOH, I've already submitted the patch to setup.exe that kills stdin in
> postinstall scripts, so that even if some tool asks for input, it'll just
> get EOF.

That's great, but it will mean that with the current post-texmf.sh
(without resetting of the enviroment), the resulting teTeX setup will
be broken.

Jan.

-- 
Jan Nieuwenhuizen <janneke AT gnu DOT org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org

--
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