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
profile.diff
Description: Binary data
-- 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