On Sat, Apr 20, 2013 at 2:57 AM, Roland Mainz <[email protected]> wrote: > On Fri, Jul 20, 2012 at 12:55 PM, Roland Mainz <[email protected]> > wrote: >> On Fri, Jul 20, 2012 at 12:40 PM, Roland Mainz <[email protected]> >> wrote: >>> Attached (as "builtin_read.sh.gz") is a _prototype_ test module for >>> the "read" builtin. While writing the tests I found an issue with $ >>> read -N5 # when the input consists of five multibyte characters in the >>> zh_CN.UTF-8 locale. >> [snip] >> >> Grumpf... I should sometimes proofread the emails I write... ;-/ >> ... the issue is that $ read -N5 x # returns after reading five ascii >> characters but does not return after reading five multibyte >> characters. This seems to happen only if the input is a tty (e.g. from >> "pty" ) ... > > Erm... ping! ... the issue still occurs in ast-ksh.2013-04-09 (mostly > affecting Asian users in CJKV locales (Olga hit it today again with > Ukrainian/Cyrillic characters...) ... ;-(( ) ...
The bug is still present in ast-ksh.2013-04-22... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
