X-Recipient: archive-cygwin AT delorie DOT 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: In-Reply-To: References: Date: Sat, 1 May 2010 07:32:16 +0100 Subject: Re: Minor patch to /etc/profile From: "John Morrison" To: cygwin AT cygwin DOT 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 AT morrison DOT mine DOT nu X-SA-Exim-Scanned: No (on gateway.morrison.mine.nu); SAEximRunCond expanded to false Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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