tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vi vs. nvi



hi,

> BTW
>
>  http://www.geocities.jp/kosako3/oniguruma/
>
>  Could this be useful?

there's some problems:

 Onigruma doesn't uses POSIX locale(LC_CTYPE/LC_COLLATE)'s function,
it uses its own multibyte functions implementation, onigenc_*.

 we already have similar multibyte functions under
src/lib/libc/citrus/modules/*.
this redundancy causes growth of libc size (everybody hate ;<)
so that we have to hook onigenc_* function by defining our own
OnigEncodingType which wraps POSIX locale or Citrus API.

 but Onigruma currenlty doesn't supports stateful encoding.
we already have stateful encoding locale, ISO-2022-JP, COMPOUND_TEXT etc.
so we need to hack to support. how hard and long way to go...

very truly yours.
-- 
Takehiko NOZAKI<takehiko.nozaki%gmail.com@localhost>


Home | Main Index | Thread Index | Old Index