https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232374
Bug ID: 232374
Summary: /bin/sh can not handle ja_JP.eucJP character code
Product: Base System
Version: 11.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Description
/bin/sh exits when reading non-ascii characters in ja_JP.eucJP environment!
That is, the /bin/sh can not be used in EUC Japanese environment.
How-To-Repeat:
With 11.2-RELEASE(amd64|i386)
1) set /bin/sh as login-sh then login, or execute "exec sh" in other shell.
2) press key like Alt-A (or Alt-B, Alt-C, .. Alt-1, Alt-4, ..),
or input eucJP KANJI code.
or
1) in window opend by "xterm /bin/sh" or "kterm"
2) press key like Alt-A (or Alt-B, Alt-C, .. Alt-1, Alt-4, ..),
or paste eucJP KANJI code.
The cause of this problem lies in (/usr/src/lib)/)libedit,
which makes it impossible to handle the eucJP character code
with the read_char() function in read.c file.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"