Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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