Minor patch to /etc/profile

Chris Sutcliffe ir0nh34d@gmail.com
Sat May 1 03:25:00 GMT 2010


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: profile.diff
Type: application/octet-stream
Size: 508 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100501/f8b0c470/attachment.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list