Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <380E1AEF.D1D7C1B0@ece.gatech.edu>
Date: Wed, 20 Oct 1999 15:41:35 -0400
From: "Charles S. Wilson" <cwilson@ece.gatech.edu>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Joe Kraska <jkraska@bbn.com>
CC: cygwin@sourceware.cygnus.com
Subject: Re: rxvt and vim together
References: <199910201904.MAA08315@ESCHER.SD.BBN.COM>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I don't use bash-in-cmd.exe at all. I use bash-in-rxvt, so there's no
where else for vim to go! Two ways to do this: 

1) set all appropriate environment variables in NT properties window or
95/98 autoexec.bat. Start bash with a shortcut whose target is
"X:\FULL\WINDOWS\PATH\rxvt.exe {other options here} -e
X:\FULL\WINDOWS\PATH\bash.exe". Either use the rxvt-no-X port from
http://www.io.com/~bub/rxvt.html or use an xserver with a "regular"
cygwin rxvt.exe.

2) use a Windows Scripting Host -based script, written in javascript or
visual basic, to set the appropriate environment variables, and then
exec "X:\FULL\WINDOWS\PATH\rxvt.exe {other options here} -e
X:\FULL\WINDOWS\PATH\bash.exe" from within that script. See my recent
post in the "Console Resizer" thread for an example:
http://sourceware.cygnus.com/ml/cygwin/1999-10/msg00359.html

--Chuck

Joe Kraska wrote:
> 
> >From a bash window I start rxvt, and the window pops up
> just fine. I then run vim (the non gui version) from this rxvt
> window, but then the weirdest thing happens. The vim
> editor appears in the *bash* window. It boggles my mind,
> and perhaps has something to do with the rxvt not properly
> grabbing a tty entry or some such. Has anyone encountered
> this before? I would like to use rxvt exclusively, but this
> precludes this for the time being.
> 
> Joe Kraska
> San Diego
> CA
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

