delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/13/17:37:38

X-Spam-Check-By: sourceware.org
Date: Mon, 13 Feb 2006 17:37:20 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Bubba Jones <iambubba AT budweiser DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Bash Window Geometry
In-Reply-To: <20060213221916.1523.qmail@synacor.com>
Message-ID: <Pine.GSO.4.63.0602131732140.7551@access1.cims.nyu.edu>
References: <020820061848 DOT 1594 DOT 43EA3D02000B46CF0000063A22007507840A050E040D0C079D0A AT comcast DOT net> <43EB12B7 DOT 9070304 AT equate DOT dyndns DOT org> <20060213221916 DOT 1523 DOT qmail AT synacor DOT com>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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 Mon, 13 Feb 2006, Bubba Jones wrote:

> > ...
> > 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...
>
> Ahhh, most cool.  That command with switches works from
> the cygwin bash prompt, but not from the DOS prompt,
> which tells me it wouldn't work from a batch file.  The
> following does work from DOS:
>
> h:\cygwin\bin\rxvt -e /bin/bash --rcfile /cygdrive/h/.bashrc -i
                                    ^
There should be no space between "--" and "rcfile", but I guess you know
that (it's hard to tell whether that was your mailer's linewrapping).

> But the following does not:
>
> h:\cygwin\bin\rxvt -e /bin/csh --login --rcfile /cygdrive/h/.bashrc -i
                             ^^^
> The difference being that "--login" breaks...  Any idea why --login es
> no bueno?  Is --login really needed?

Now, this is interesting...  Why would you expect bash options to work for
csh?

If this really is a typo and

h:\cygwin\bin\rxvt -e /bin/bash --login --rcfile /cygdrive/h/.bashrc -i

does break for you from a DOS prompt, please run

h:\cygwin\bin\bash --login --rcfile /cygdrive/h/.bashrc -i

from the same DOS prompt and tell us what output it produces.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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