[Dev-luatex] uname() volunteer needed

Taco Hoekwater taco at elvenkind.com
Wed May 21 16:07:38 CEST 2008



Yue Wang wrote:
> 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)

I could make os.name be the sysname from uname(), but a table is
not a name and besides that approach would not work for win32.

Best wishes,
Taco




More information about the dev-luatex mailing list