delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/13/05:33:35

X-Spam-Check-By: sourceware.org
Date: Fri, 13 Jan 2006 02:33:22 -0800
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: Joshua Daniel Franklin <joshuadfranklin AT gmail DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: [PATCH] Proposed clarification of the snapshot installation FAQ
Message-ID: <20060113103322.GA1972@efn.org>
References: <dpu1ks$i0a$1 AT sea DOT gmane DOT org> <43C32DA9 DOT 2070900 AT cygwin DOT com> <dpvba1$i83$1 AT sea DOT gmane DOT org> <43C3F412 DOT 1010008 AT cygwin DOT com> <dq3d00$4o7$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0601111200110 DOT 9317 AT access1 DOT cims DOT nyu DOT edu> <dq3h09$k5o$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 63 DOT 0601112136461 DOT 9317 AT access1 DOT cims DOT nyu DOT edu> <cb51e2e0601121957p711594fexdf2a87e4395e3059 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <cb51e2e0601121957p711594fexdf2a87e4395e3059@mail.gmail.com>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

--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 <http://cygwin.com/ml/cygwin/2006-01/msg00537.html>,
> > 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--

- Raw text -


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