delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/31/05:48:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 31 Aug 2000 17:50:40 +0800
From: Greg Matheson <lang AT ms DOT chinmin DOT edu DOT tw>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: error list compiling within vim
Message-ID: <20000831175039.A31365@ms.chinmin.edu.tw>
Mime-Version: 1.0
User-Agent: Mutt/1.2i

I had trouble getting vim to generate the list of errors it's
supposed to produce when you compile from it. As the vim help
files put it:

The idea is to save the error messages from the compiler in a
file and use them to jump to the errors one by one.  You can then
examine each problem and fix it, without having to remember all
the error messages.

The problem was the .exe extension that cygwin sticks on the
SHELL enviromental variable. Vim depends on $SHELL to decide the
right redirection operators, and it was not recognizing it was
running under a bash shell.  

I fixed it by putting set shell=/usr/bin/bash in .vimrc. I could
have set shellpipe, too.

-- 
Greg Matheson                    Teaching is difficult.
Chinmin College, Taiwan          Learning is more difficult.
lang AT ms DOT chinmin DOT edu DOT tw            


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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