Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Tue, 13 Nov 2001 16:36:24 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@sources.redhat.com
Subject: Re: Editing zipped files with VIM under cygwin
Message-ID: <20011113163624.A21980@cygbert.vinschen.de>
Mail-Followup-To: Corinna Vinschen <cygwin@cygwin.com>,
	cygwin@sources.redhat.com
References: <5A95B0B37820D511AD1500B0D0AADF774DDE4C@lbsvnt4>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <5A95B0B37820D511AD1500B0D0AADF774DDE4C@lbsvnt4>; from BStrohhaecker@Hueller-Hille.com on Tue, Nov 13, 2001 at 03:44:51PM +0100

On Tue, Nov 13, 2001 at 03:44:51PM +0100, Strohhaecker, Bernd wrote:
> Yes, I've installed latest/which/which-1.4.tar.gz

I just tried it by myself again, setting the environment variable
$SHELL to different values prior to starting vim:

$ SHELL=/bin/tcsh vim foo.gz		<-- worked

$ SHELL=/bin/bash vim foo.gz            <-- worked

$ SHELL=/bin/sh vim foo.gz		<-- worked

$ SHELL="" vim foo.gz
  Error detected while processing function <SNR>7_read..<SNR>7_check:
  line    3:
  E91: 'shell' option is empty
  Can't open file /tmp/v666347/0
  line    5:
  E91: 'shell' option is empty
  Can't open file /tmp/v666347/1

$ SHELL=cmd vim foo.gz
  Error detected while processing function <SNR>7_read..<SNR>7_check:
  line    3:
  Can't open file /tmp/v666361/0
  line    5:
  Can't open file /tmp/v666361/1

Does that look familiar?

> Is the following patch reasonable ?

Since that is a target independent problem, I assume you should
ask on the bzip mailing list.  But when the Cygwin bzip maintainer
is around, he wants to chime in here, perhaps.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

