This is the mail archive of the
mailing list for the Cygwin project.
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Crescioli, Phil" <Phil dot Crescioli at gd-ais dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 17 Mar 2004 13:17:33 -0500 (EST)
- Subject: RE: GVIM
- References: <33F012255162604984A3F4BDA95C6EC4F12E07@mstaex1b.dsrusi.com>
- Reply-to: cygwin at cygwin dot com
FWIW, this won't work from rxvt or xterm. Why not use '(`uname -o` ==
On Wed, 17 Mar 2004, Crescioli, Phil wrote:
> I took your bash shell vi->gvim converter and re-wrote it
> for placement in my ~/.tcshrc.
> if ($?tcsh) then
> if ("$TERM" == "cygwin") then
> echo "Setting VI to kickoff GVIM within a cygwin window"
> if (-x "C:/vim/vim62/gvim.exe") then
> alias vi "C:/vim/vim62/gvim.exe"
> Thanks for the tip!
> -----Original Message-----
> From: email@example.com [mailto:firstname.lastname@example.org]
> Sent: Friday, March 12, 2004 9:51 AM
> To: Crescioli, Phil
> Subject: Re: GVIM
> >>>>> "Phil" == Crescioli, Phil <Phil.Crescioli@gd-ais.com> writes:
> Phil> Hello all, Why is only VIM and not GVIM included with the
> Phil> Cygwin package? I'd love to use GVIM straight from a Cygwin
> Phil> install.
> Cygwin packages whatever software someone has bothered to port to
> Cygwin. Apparently nobody has ported gvim. Go ahead and do it
> As it happens, I use gvim with Cygwin, and it's fine. I had to
> install Cygwin and gvim separately, of course, but neither
> installation is difficult.
> To further the illusion of gvim being "part of" Cygwin, I've put this
> shell function definition in ~/.bashrc:
> if [ "$OSTYPE" = "cygwin" ]; then
> if [ -x "/c/vim/vim62/gvim.exe" ]; then
> vi ()
> /c/vim/vim62/gvim.exe "$@"
> Thus, when I type `vi foo' in a Cygwin shell, I actually run gvim.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html