Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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" X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Joe Kraska 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> 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 AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com