This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installation hangs because asks for input from terminal (Attn: tetex maintainer, setup maintainer)


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]