1 May 2010 05:25
Minor patch to /etc/profile
Chris Sutcliffe <ir0nh34d <at> gmail.com>
2010-05-01 03:25:14 GMT
2010-05-01 03:25:14 GMT
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
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 )(Continue reading)
RSS Feed