delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/09/10:54:04

X-Spam-Check-By: sourceware.org
Date: 8 Feb 2006 17:57:56 -0000
Message-ID: <20060208175756.16441.qmail@synacor.com>
From: "Bubba Jones" <iambubba AT budweiser DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: "rxvt -e bash" From Batch File
References: <20060208174534 DOT 31393 DOT qmail AT synacor DOT com>
In-Reply-To: <20060208174534.31393.qmail@synacor.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On 8 Feb 2006 17:45:34 -0000 Bubba Jones 
<iambubba AT xxx> wrote:
> On Wed, 8 Feb 2006 12:26:57 -0500 "Hassel, Scott" 
> Scott DOT Hassel AT bxxx> wrote:
> 
> > When I envoke "rxvt -e bash" from a command line
> > I get rxvt with bash and bash sourced my .bashrc
> > file.  However, when I put "rxvt -e bash" in a
> > batch file, launch the batch file, I get rxvt
> > with bash, but my .bashrc file is not sourced...
> > 
> > Does anyone know why my batch file doesn't source
> > .bashrc and/or how I can get the batch file to
> > source?  I'm guessing I'm starting a login
> > bash session, but I'm not certain...
> > -----END Original Message-----
> > 
> > 
> > 
> > Have you tried this:
> > 
> > set the dos/windows environment variable - 
> SHELL=/usr/bin/bash
> > 
> > and then you should be able to execute
> > 
> > C:\cygwin\bin\rxvt.exe -bg black -fg grey -sl 2048 -sb 
> -fn 9x16 -ls
> > 
> > or something similar. The -ls tells rxvt to treat it
as 
> a login shell. All the rest is just for looks.
> 
> That didn't work.  My environment variables might
> be messed up.  When I call the regular cygwin bash
> prompt from a batch file, I have the following in
> the batch file:
> 
> C:\Cygwin\bin\bash --rcfile /cygdrive/h/.bashrc -i
> 
> That explicitly tells bash to source my .bashrc.
> Does rxvt have anything like that?

I noticed the subject line got goofed.  This is a
repost...

_________________________________________________________________Get your FREE Budweiser E-mail account at http://budweiser.com     Budweiser E-Mail must be used responsibly and only is for consumers 21 years of age and older!       Disclaimer: Neither Anheuser-Busch, Inc. (the makers of BUDWEISER beer) nor the operator of this E-Mail service or their respective affiliates have seen, endorsed or approved any of the content in this e-mail and expressly disclaim all liability for the content in whole and in part.

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