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

X-Spam-Check-By: sourceware.org
X-Server-Uuid: 28645247-49A4-4379-9F94-A4A955DB61BC
X-Server-Uuid: 0A4B65EF-5A12-47DF-A411-5A09AA31642F
MIME-Version: 1.0
Subject: RE: "rxvt -e bash" From Batch File
Date: Wed, 8 Feb 2006 12:26:57 -0500
Message-ID: <409682623CA4E6468E81B07768EFF5440E4A9C@ROC08MXC06VA.bcbsfl.com>
From: "Hassel, Scott" <Scott DOT Hassel AT bcbsfl DOT com>
To: "Bubba Jones" <iambubba AT budweiser DOT com>, cygwin AT cygwin DOT com
X-TMWD-Spam-Summary: SEV=1.1; DFV=A2006020806; IFV=2.0.6,4.0-7; RPD=4.00.0004; RPDID=NA; ENG=IBF; TS=20060208172659; CAT=NONE; CON=NONE;
X-MMS-Spam-Filter-ID: A2006020806_4.00.0004_2.0.6,4.0-7
X-WSS-ID: 6FF4F6682TW968021-01-01
X-WSS-ID: 6FF4F78A25G7321434-62-01
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k19FECK3006917

-----Original Message-----
From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com]On Behalf
Of Bubba Jones
Sent: Wednesday, February 08, 2006 12:07 PM
To: cygwin AT cygwin DOT com
Subject: "rxvt -e bash" From Batch File


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.



Blue Cross Blue Shield of Florida, Inc., and its subsidiary and affiliate companies are not responsible for errors or omissions in this e-mail message. Any personal comments made in this e-mail do not reflect the views of Blue Cross Blue Shield of Florida, Inc.  The information contained in this document may be confidential and intended solely for the use of the individual or entity to whom it is addressed.  This document may contain material that is privileged or protected from disclosure under applicable law.  If you are not the intended recipient or the individual responsible for delivering to the intended recipient, please (1) be advised that any use, dissemination, forwarding, or copying of this document IS STRICTLY PROHIBITED; and (2) notify sender immediately by telephone and destroy the document. THANK YOU.



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