delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/12/07:53:33

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
User-Agent: Mutt/1.5.5.1i Hamster-Fr/2.0.1.10
Date: Wed, 12 May 2004 13:58:28 +0200
From: Luc Hermitte <hermitte AT free DOT fr>
To: Peng Yu <yupeng AT physics DOT ucsd DOT edu>
Cc: cygwin AT cygwin DOT com
Subject: Re: How to start windows version gvim for cygwin correctly?
Message-ID: <20040512115828.GA3236@jade>
References: <024501c437af$fc990df0$c3dc3680 AT yupeng> <40A18B2B DOT 2010305 AT ateb DOT com> <00ae01c437cb$453386b0$c3dc3680 AT yupeng> <20040512030840 DOT GC204 AT jade> <00eb01c437d9$d30c3500$c3dc3680 AT yupeng>
Mime-Version: 1.0
In-Reply-To: <00eb01c437d9$d30c3500$c3dc3680@yupeng>
X-Operating-System: CYGWIN_NT-5.1
X-IsSubscribed: yes

Hello,

* On Tue, May 11, 2004 at 09:30:15PM -0700, Peng Yu <yupeng AT physics DOT ucsd DOT edu> wrote:
> Thank you for you script. I don't change $HOME, $VIM, $VIMRUNTIME in
> cygwin, because I'm afraid there are some potential conflicts. Do I
> have to worry about that.

Nope. I don't think so.
In the properties of my Windows XP system, HOME is set to c:\Users\Luc
I've patched /etc/profile to make cygwin think it is in fact
/cygdrive/f/Users/Luc
Neither VIM nor VIMRUNTIME are set.
I'm currently using gvim to edit this response. gvim has been launched
thanks to cyg-wrapper, and it expands $HOME, $VIM and $VIMRUNTIME into:
    f:\Users\Luc
    f:\Program Files\Edition\vim
    f:\Program Files\Edition\vim\vim62

The _vimrc used is the one from $VIM (I do not have to say anything to
vim), and the viminfo is $HOME/.viminfo
because of 
    set viminfo=%,'50,\"100,:100,n~/.viminfo
in my _vimrc.

> BTW, what's the best place to store cyg-wrapper.sh . I store it to
> /usr/bin. Is /bin better?

Wherever you want. Personnally, I prefer $HOME/bin. Thus the day I
reinstall cygwin or use it on another computer, I don't forget all the
little scripts I use.

If I had to choose between cygwin directories, I would use
/usr/local/bin as I install non-cygwin-standard stuff into /usr/local/
-- understand, the stuff I've compiled like mutt, a colored version of
abook, irssi, w3m, librairies, ...

HTH,
-- 
Luc Hermitte

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

- Raw text -


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