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

X-Spam-Check-By: sourceware.org
Message-ID: <43F10B44.1010007@equate.dyndns.org>
Date: Mon, 13 Feb 2006 22:42:12 +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: Bubba Jones <iambubba AT budweiser DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Bash Window Geometry
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>
In-Reply-To: <20060213221916.1523.qmail@synacor.com>
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

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
> 
> 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?
> 
> Thanks!
> 

Re your other message, it's Geordi ;-)

Anyway. Why csh? I can't tell you what the options would be for that.. 
You'd have to check the man page

As for the command I gave you not working from a command prompt - it 
does, as long as you are in your cygwin bin directory.. Otherwise, in a 
batch file, yes you will need to prepend rxvt with C:\cygwin\bin\ , or 
whatever the path to the executable is.
The same applies to if you just make a shortcut for it..
See the default cygwin.bat for reference.

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