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

X-Spam-Check-By: sourceware.org
Message-ID: <43EB12B7.9070304@equate.dyndns.org>
Date: Thu, 09 Feb 2006 10:00:23 +0000
From: Chris Taylor <chris AT equate DOT dyndns DOT org>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Debian Thunderbird 1.0.7 (X11/20051017)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: "rxvt -e bash" From Batch File
References: <020820061848 DOT 1594 DOT 43EA3D02000B46CF0000063A22007507840A050E040D0C079D0A AT comcast DOT net>
In-Reply-To: <020820061848.1594.43EA3D02000B46CF0000063A22007507840A050E040D0C079D0A@comcast.net>
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

Eric Blake wrote:
> [You have a really weird mailer - every other line was blank!]
> 
> 
>>On 8 Feb 2006 17:54:59 -0000 Bubba Jones 
>>
>>>I think I found the problem.  My $HOME variable is
>>
>>>set to another location than I want.  Before using
>>
>>>rxvt I explicitly set HOME in my .bashrc...  When
>>
>>>I set HOME in the regular bash prompt and run
>>
>>>"rxvt -e /bin/bash --login -i" all is well.  So, my
>>
>>>problem now is, how do I set my HOME in a batch
>>
>>>file?  If that can't be done, how can I set HOME
>>
>>>before I call rxvt?
> 
> 
> You can permanently edit environment variables in Windows using
> control panel, system, advanced, environment variables.  Or for
> a single use, you should try 'set /?' in a cmd.com window, for ideas
> on setting environment variables in batch files.
> 
> See also http://cygwin.com/faq/faq-nochunks.html#faq.setup.home
> 

Alternatively, you could do:
rxvt -e /bin/bash --login --rcfile /cygdrive/h/.bashrc -i

Thus combining your current configuration with the way you want it to be...



Chris
-- 

Spinning complacently in the darkness, covered and blinded by a blanket
of little lives, false security has lulled the madness of this world
into a slumber. Wake up! An eye is upon you, staring straight down and
keenly through, seeing all that you are and everything that you will
never be. Yes, an eye is upon you, an eye ready to blink. So face
forward, with arms wide open and mind reeling. Your future has
arrived... Are you ready to go?

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