Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "John Morrison" <john.r.morrison@ntlworld.com>
To: "Sandro Bonazzola" <sandrobonazzola@users.sourceforge.net>,
   "Ronald Landheer-Cieslak" <ronald@landheer.com>
Cc: <cygwin@cygwin.com>
Subject: RE: cygwin bash profile / Windows ME
Date: Mon, 23 Feb 2004 17:28:47 -0000
Message-ID: <NCEBJJFMCAOKNNABBFIMCEAHFHAA.john.r.morrison@ntlworld.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
In-Reply-To: <40388CA8.6000304@users.sourceforge.net>
X-IsSubscribed: yes

Thanks Sandro,

I've made a slight change to your suggestion,

> From: Sandro Bonazzola
>
> Under Windows ME the 'uname -s' command reports: "CYGWIN_ME-4.90".
> The /etc/profile file says:
>

CYGWIN_9?-* | CYGWIN_ME-*)
	PRINTER="`regtool -q get
'\config\System\CurrentControlSet\Control\Print\Printers\Default'`"
 	;;
esac

since they are otherwise identical :)

> which seems to work for my system.
>
> Another problem is that here:
> case "$0" in
> bash     | -bash     | */bash | \
> bash.exe | -bash.exe | */bash.exe )
>
> the script didn't recognize correctly bash due to case sensitive
> matching, as $0 is "/usr/bin/BASH".
> I've solved appending */BASH as option in the case statement.

I didn't realise this was the case, consider it added (I'll
assume it's the same for all the other shells and add them too).

> I hope to had been helpfull.

Feedback/suggestions always is - thanks.

> (I'm sorry if there are english error, I don't have many occasion to use
> this language.)

Your English was perfectly clear, better than some native
speakers I've been talking to lately :)

J.


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

