Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Aaron Griffin (phrakture)
Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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.
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 :)

Loading...