X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.9 required=5.0	tests=BAYES_50,RCVD_IN_DNSWL_NONE,TW_PD
X-Spam-Check-By: sourceware.org
Message-ID: <ba958abf090cbf5a4daf9992dd024a3c.squirrel@mail.morrison.mine.nu>
In-Reply-To:  <l2m2bf229d31004302025pf27b058av70c01290b3275abf@mail.gmail.com>
References:     <l2m2bf229d31004302025pf27b058av70c01290b3275abf@mail.gmail.com>
Date: Sat, 1 May 2010 07:32:16 +0100
Subject: Re: Minor patch to /etc/profile
From: "John Morrison" <john@morrison.mine.nu>
To: cygwin@cygwin.com
User-Agent: SquirrelMail/1.4.20
MIME-Version: 1.0
Content-Type: text/plain;charset=UTF-8
Content-Transfer-Encoding: 8bit
OpenPGP: id=5E84D85D42B54E92
X-SA-Exim-Connect-IP: ::1
X-SA-Exim-Mail-From: john@morrison.mine.nu
X-SA-Exim-Scanned: No (on gateway.morrison.mine.nu); SAEximRunCond expanded to false
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi Chris,

I'm anticipating to have several hours to do these (and other) changes in
the next week or so.

Regards,

John.

On Sat, May 1, 2010 4:25 am, Chris Sutcliffe wrote:
> The PS1 definition for ksh in /etc/profile uses the literal ascii
> characters '^[' for the escape sequence as opposed to the single byte
> escape control code.  The attached patch corrects that as well as
> HOSTNAME not being set correctly (at least for mksh).
>
> Finally, would it be appropriate to extend the 'ksh' case to catch
> both pdksh as well as mksh?  Basically the case would be:
>
> *ksh*     | -*ksh*     | */*ksh* | \
> *ksh*.exe | -*ksh*.exe | */*ksh*.exe )
>
> Chris
>
> --
> Chris Sutcliffe
> http://emergedesktop.org
> http://www.google.com/profiles/ir0nh34d
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

