On 8 Feb 2006 17:45:34 -0000 Bubba Jones 

<[EMAIL PROTECTED]> wrote:

> On Wed, 8 Feb 2006 12:26:57 -0500 "Hassel, Scott" 

> [EMAIL PROTECTED]> 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/

Reply via email to