Updated mksh packages that fix one bug are now available for Red Hat Enterprise Linux 6.
The mksh package provides the MirBSD enhanced version of the Public Domain Korn shell (pdksh), a Bourne-compatible shell, which is largely similar to the original AT&T Korn shell. Shift_JIS, also known as "SJIS", is a character encoding for the Japanese language. This package provides mksh support for the Shift_JIS encoding.
Previously, the mksh shell worked with bytes instead of characters when looking for the common part of a file name. As a consequence, the common part of the file name could contain only the beginning part of the border character, and only a part of the character was printed. With this update, mksh works with whole characters when looking for the longest common prefix, and tab completion prints the correct common part as expected.
Users of mksh are advised to upgrade to these updated packages, which fix this bug.