Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 16 Oct 2002 10:04:41 -0400 (EDT) From: Igor Pechtchanski To: Cygwin Discussion Subject: Re: Errors during setup post-install scripts In-Reply-To: <3DAD7092.5000506@cox.net> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 16 Oct 2002, David A. Cobb wrote: > Igor Pechtchanski wrote: > > >On 16 Oct 2002, Robert Collins wrote: > > > >>On Wed, 2002-10-16 at 09:11, Max Bowsher wrote: > >> > >>>David A. Cobb wrote: > >>> > >>>>Would it be a big deal to have the various setup scripts send their > >>>>output to, say, /var/log/setup/SCRIPTNAME.log? > >>>> > >>>Probably not, but someone has to actually do it. > >>> > >>It's been discussed in the cygwin-apps list, at length. > > > >I'm looking into a simple-minded way to do this, and this raised at least > >one question: do we actually need the output of the post-install scripts > >flashing in front of our eyes? > > > IMO, no - the screen displays generally flash past too fast to be read > anyway. Just log it! > > >If not, I can just redirect it to a file, > >say, /var/log/setup.log.postinstall (there's probably no need for a > >separate file per script). > > > Well, it needs to be fairly simple to tell which script failed - if any. > > >If we actually want the console windows, it'll take some more doing, > >probably a separate console tee-like application. > > Igor I was planning to bracket the script output with 'Running ' and 'Done '. This should be enough... Now, if only I could get setup to build... :-( Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/