X-Spam-Check-By: sourceware.org Date: Fri, 13 Jan 2006 02:33:22 -0800 From: Yitzchak Scott-Thoennes To: Joshua Daniel Franklin Cc: cygwin AT cygwin DOT com Subject: Re: [PATCH] Proposed clarification of the snapshot installation FAQ Message-ID: <20060113103322.GA1972@efn.org> References: <43C32DA9 DOT 2070900 AT cygwin DOT com> <43C3F412 DOT 1010008 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jan 12, 2006 at 07:57:27PM -0800, Joshua Daniel Franklin wrote: > On 1/11/06, Igor Peshansky wrote: > > As mentioned in , > > here's a patch to the FAQ to clarify the section on installing snapshots. > > I didn't know whether the various *.texinfo files are still used, so I > > ported the modifications there as well, just in case. > > Applied to faq-setup.xml (the texinfo files are no longer used... I suppose I > should remove them). It would be nice to have a sample batch file that automated > the cygwin1.dll replacement, too. I've prettied up a batch file I use for installing cygwin-inst-* snapshots, and added stuff to handle spacey pathnames and inetd (which AIUI isn't always a cygrunsrv service), neither of which I personally use. Just drag and drop the tarball onto the batch file, or run with absolute tarball name as argument via a dos prompt. --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="snapshot.bat.txt" @echo off cd c:\cygwin path bin;%path% sh -c 'echo Preparing to install "`cygpath -ua %1`";echo' echo Please shut down all cygwin applications before proceeding pause echo Shutting down any cygwin services . . . net stop inetd >nul 2>nul sh -c "for serv in `cygrunsrv --list`;do cygrunsrv --stop $serv;done" echo Installing . . . move bin\cygwin1.dll sh -c 'tar xfj "`cygpath -u %1`"' echo Restarting any cygwin services . . . net start inetd 2>nul sh -c "for serv in `cygrunsrv --list`;do net start $serv;done" bin\echo cygstart cygwin.bat bin\echo echo Verify cygwin.bat and any services correctly start before deleting old dll pause del cygwin1.dll --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii -- 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/ --k1lZvvs/B4yU6o8G--