delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/20/15:40:24

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

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 AT sourceware DOT cygnus DOT com

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