FS#16195 - [initscripts] printf "\e" doesn't work with all shells
Attached to Project:
Arch Linux
Opened by David Khunne (saniette) - Monday, 14 September 2009, 22:57 GMT
Last edited by Thomas Bächler (brain0) - Monday, 21 September 2009, 23:17 GMT
Opened by David Khunne (saniette) - Monday, 14 September 2009, 22:57 GMT
Last edited by Thomas Bächler (brain0) - Monday, 21 September 2009, 23:17 GMT
|
Details
When using mksh or pdksh as my default shell, I see the
string '\e%%G\e(K' printed on login.
This is due to printf statements in /etc/profile.d/locale.sh using the non-standard '\e' escape, which is not supported by all incarnations of printf. The problem can be fixed by replacing occurences of '\e' in /etc/rc.sysinit with the universally recognized '\033'. |
This task depends upon
Closed by Thomas Bächler (brain0)
Monday, 21 September 2009, 23:17 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in the next release.
Monday, 21 September 2009, 23:17 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in the next release.
Comment by Thomas Bächler (brain0) -
Monday, 21 September 2009, 22:59 GMT
Good catch, care to prepare a patch for it?
Comment by
Aaron Griffin (phrakture) - Monday,
21 September 2009, 23:15 GMT
Already made the change in git. It was simple enough :)