From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32599 invoked by alias); 9 Dec 2002 23:37:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 32583 invoked from network); 9 Dec 2002 23:37:04 -0000 Received: from unknown (HELO main.gmane.org) (80.91.224.249) by sources.redhat.com with SMTP; 9 Dec 2002 23:37:04 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18LXSH-0005hm-00 for ; Tue, 10 Dec 2002 00:36:53 +0100 To: cygwin@cygwin.com X-Injected-Via-Gmane: http://gmane.org/ Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18LXSH-0005hc-00 for ; Tue, 10 Dec 2002 00:36:53 +0100 Path: not-for-mail From: Soren A Subject: Re: [ANN] Re: cyg-wrapper.sh Date: Mon, 09 Dec 2002 15:44:00 -0000 Organization: Occasionally Sporadically Message-ID: References: <20021206013757.GA976927@ORLYN> <20021208193753.GA44134983@ORLYN> NNTP-Posting-Host: ny-kenton2a-951.buf.adelphia.net X-Trace: main.gmane.org 1039477013 21917 24.51.95.183 (9 Dec 2002 23:36:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 23:36:53 +0000 (UTC) User-Agent: Xnews/L5 X-Archive: encrypt X-SW-Source: 2002-12/txt/msg00514.txt.bz2 Luc Hermitte wrote around 08 Dec 2002 news:20021208193753.GA44134983@ORLYN: >> > [2] This form has been privileged because of the MsWindows 9x >> > series. >> >> Hmmm. If you mean that people who run Win9x are more likely to be >> running old DOS programs that use 8.3, then ok; otherwise there's no >> difference between NT-derived and 9x-type Windows in this respect -- >> that I know of. > > No. This is a scripting problem I had on MsWindows Me, and I don't > remember any similar issue on Windows NT -- more tests should be done to > be sure. > > The problem comes from pathnames having spaces. If we want to run: > appl "c:/Program Files/foo.txt" ~/bar.txt > The parameters should be requoted before (/while ?) running xargs. I > haven't spent enough time to find to something that works. Yes. I am pretty sure that you'll have the same problem with pathnames containing spaces on NT & its derivatives, too. So having the wrapper generate the 8.3 form of the name probably isn't a bad idea, at least as far as this issue goes. There might be other (side) effects. Not to seem like I am competing with you or upstaging you, Luc, but I want to announce (bec. I am assuming the readers of this thread might have interest) that I have done my own WWW publication about how I start (instantiate) GVIM from Cygwin's bash shell: http://home.att.net/~perlspinr/vim/VIMhelpers.html It doesn't use your cyg-wrapper script because I wanted to do some more elaborate stuff. Readers "shopping" for a test editor to use in conjunction with Cygwin are encouraged to check out GVIM 6.x (www.vim.org) -- it rocks. And then use my script to run it from bash ;-). Best, Soren -- "So, tell me, my little one-eyed one, on what poor, pitiful, defenseless planet has my MONSTROSITY been unleashed?" - Dr. Jumba, Disney's "Lilo & Stitch" -- 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/