Re: [9fans] NFD and p9p acme on OSX

2013-09-14 Thread Mark van Atten
Thank you, Erik, for your comments! I just realized that in fn ls { builtin ls $* | iconv -f UTF8-MAC -t UTF-8 } one needs u iconv because otherwise it picks the wrong iconv when executing this redefined ls in contexts where $PLAN9/bin occurs in the path first; for example, try 9 man cat

[9fans] NFD and p9p acme on OSX

2013-09-12 Thread Mark van Atten
Running p9p on OSX, I find it useful to put this in my rc profile: fn ls { builtin ls $* | iconv -f UTF8-MAC -t UTF-8 } fn lc { builtin lc $* | iconv -f UTF8-MAC -t UTF-8 } so as to deal with the NFD used by the OSX file system and list names containing non-ascii characters correctly. But this

Re: [9fans] NFD and p9p acme on OSX

2013-09-12 Thread erik quanstrom
On Thu Sep 12 05:41:19 EDT 2013, vanattenm...@gmail.com wrote: Running p9p on OSX, I find it useful to put this in my rc profile: fn ls { builtin ls $* | iconv -f UTF8-MAC -t UTF-8 } fn lc { builtin lc $* | iconv -f UTF8-MAC -t UTF-8 } so as to deal with the NFD used by the OSX file