Thorsten Glaser <[email protected]> wrote:
|On Sun, 31 Mar 2013, Steffen Daode Nurpmeso wrote:
|> E.g., in the terminal on Mac OS X tab-completion and file-globbing
|> doesn't work for files on Apple-managed filesystems, because the
|
|Get what right, precisely? If you mean that mäh and máh are
|tabcompleted to “ma”, well, that’s by design. Yell at Apple.
Hah. The fun starts on a non-UTF-8 tty:
?0[steffen@sherwood tmp]$ touch mä má
?0[steffen@sherwood tmp]$ ll m*
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:03 m%E4
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:03 m%E1
Then, on an UTF-8 one:
?0[steffen@sherwood tmp]$ touch mä má
?0[steffen@sherwood tmp]$ ll m*
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:03 m%E4
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:03 m%E1
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:05 mä
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:05 má
And, back:
?0[steffen@sherwood tmp]$ ll m*
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:03 m%E4
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:03 m%E1
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:05 maÌ?
0 -rw-rw-r-- 1 steffen staff 0 30 Aug 13:05 maÌ?
?0[steffen@sherwood tmp]$ ll m<TAB>
m%E1 m%E4 maÌ maÌ
Snow Leopard, but with all Updates. (Hard to believe it has seen
improvements.)
And yes – i actually can't wait to spend time on that promised
CText thing. After the next release of Nail, again.
Next steps will be tox?digit-alike, then decomposition, then
normalization. But very first an additional, reduced-set
character classification dumper, because it could be that 9atom
(Plan9) will use the database-side of CText, and then large lookup
tables are a no-go… (I.e., on the long term, a «plan9» target
will be based upon binary array search tables, favourizing small
size, whereas the normal «unix» one will go for speed and the full
feature set, but practically requiring shared libraries.)
Hey – i'm sorry that MirBSD can't be supported due to its 16-bit
wide character! :) (At least until the sct_*() interface that
works on the LC_CTYPE locale is optional OR i do have also
implemented the set conversion and thus don't need the native
mbrtowc() and wctomb() functions; the sut_*() UTF-8 and sud_*()
Unicode layers are isolated anyway.)
Ciao,
|bye,
|//mirabilos
--steffen
--- Begin Message ---
On Sun, 31 Mar 2013, Steffen Daode Nurpmeso wrote:
> E.g., in the terminal on Mac OS X tab-completion and file-globbing
> doesn't work for files on Apple-managed filesystems, because the
> names are normalized, and neither the Apple-supplies bash and ksh,
> nor the mksh i'm running get that right.
Get what right, precisely? If you mean that mäh and máh are
tabcompleted to “ma”, well, that’s by design. Yell at Apple.
bye,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke
--- End Message ---