[Dev-luatex] uname() volunteer needed

Yue Wang yuleopen at gmail.com
Wed May 21 16:01:55 CEST 2008


Hi, Taco


> That is tricky. Should I return 'cygwin' in that case?
> it is neither windows nor unix.

As far as I am concerned, you need not to convert the string return by
uname() into the previous label used in LuaTeX.
This keeps LuaTeX simple and easy to maintain.
I think os.name() should return a table contains five strings:
{sysname=xxx,nodename=xxx,release=xxx,version=xxx,machine=xxx}
Leave the corresponding code to higher level(for example, ConTeXt)

Yue Wang


More information about the dev-luatex mailing list