delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/24/23:57:18

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050724234242.03c70b68@pop.prospeed.net>
Date: Sun, 24 Jul 2005 23:56:53 -0400
To: "Patrick Sullivan" <PSullivan AT shoretel DOT com>,
"Kazuyuki Hagiwara" <hagiwara AT zuken DOT co DOT jp>, <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: RE: RE[3]: How does one set aliases for Cygwin for XP Prof Windows - Still doesn't work! HELP!
In-Reply-To: <9ED00E54321A9349A3A7B9C805C0984B04F4A30F@maui.shoretel.com >
References: <9ED00E54321A9349A3A7B9C805C0984B04F4A30F AT maui DOT shoretel DOT com>
Mime-Version: 1.0

At 11:34 PM 7/24/2005, you wrote:

>Hi Hagiwara and All,
>
>How is .bashrc and/or .bash_profile run?  I don't think they are even
>run for me.  I think I remember that another file was where I put the
>aliases last time?


HOME is not a required setting to start Cygwin's bash shell.  If you 
don't set it in your Windows environment, Cygwin will check /etc/passwd,
then, HOMEDRIVE/HOMEPATH, and finally default to '/' if none of the 
previous checks are successful (see '/etc/defaults/etc/profile' for a
full description of this).  

Patrick, I think it's time you read the bash man page or at least the 
pieces that others have pointed you to previously.  The man page describes 
exactly what gets called and when.  Keep in mind that if you're invoking
Cygwin via 'cygwin.bat', then you're running bash.  If you're invoking a
shell in some other manner, you may or may not be running bash.  And that
brings to mind more good advice.  Please read and follow the problem
reporting guidelines at <http://cygwin.com/problems.html>.  Without this
basic information of *exactly* what you're doing, the problems you see,
and your configuration, people here on the list can only guess why you're
seeing the problems you are.  AFAICT, everything that you're having problems
with is basic bash stuff so it really does make sense for you to read the
man page on bash carefully to find the solutions to your problems.  If 
you're still having some specific problem after that, then you can follow-
up with the list following the guidelines mentioned above.  But please
remember, this is a *Cygwin* help list, not a *bash* help list.  If your
problem is truly with bash and not how bash works (or doesn't) on Cygwin,
then you're going to be off-topic for this list.



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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