public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Hassel, Scott" <Scott.Hassel@bcbsfl.com>
To: "Bubba Jones" <iambubba@budweiser.com>, 	cygwin@cygwin.com
Subject: RE: "rxvt -e bash" From Batch File
Date: Wed, 08 Feb 2006 17:33:00 -0000	[thread overview]
Message-ID: <409682623CA4E6468E81B07768EFF5440E4A9C@ROC08MXC06VA.bcbsfl.com> (raw)


-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
Of Bubba Jones
Sent: Wednesday, February 08, 2006 12:07 PM
To: cygwin@cygwin.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/

             reply	other threads:[~2006-02-08 17:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 17:33 Hassel, Scott [this message]
2006-02-08 17:49 ` Bubba Jones
2006-02-08 17:59   ` "rxvt -e bash" From Batch File Bubba Jones
  -- strict thread matches above, loose matches on Subject: below --
2006-02-08 18:59 Eric Blake
2006-02-09 10:25 ` Chris Taylor
2006-02-08 17:10 Bubba Jones
2006-02-08 17:36 ` Chris Taylor
2006-02-08 17:58   ` Bubba Jones
2006-02-08 18:02     ` "rxvt -e bash" From Batch File Bubba Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=409682623CA4E6468E81B07768EFF5440E4A9C@ROC08MXC06VA.bcbsfl.com \
    --to=scott.hassel@bcbsfl.com \
    --cc=cygwin@cygwin.com \
    --cc=iambubba@budweiser.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).