Élie Roux wrote: > 2010/3/16 Taco Hoekwater <[email protected]>: >>> local system = io.popen("uname -s"):read("*l") >> You could test against os.uname(). > > Hello, > > here is what I get from os.uname() now: > > os.uname().sysname: Windows XP > os.uname().machine: i686 > os.uname().release: build 2600 > os.uname().version: 5.01 Service Pack 3 > os.uname().nodename: ROTIMN0L020707 > > No trace of cygwin, which is normal I guess, as the system calls go > directly to windows, being cygwin-transparent... Any idea of how to > detect cygwin? I must say I don't have any, as you cannot call > cygwin-specific things in the binary...
Maybe a test for the odd fake unix mount structure? Assuming they still do that, I abandoned cygwin as a 'bad idea' about a decade ago. Best wishes, Taco _______________________________________________ dev-luatex mailing list [email protected] http://www.ntg.nl/mailman/listinfo/dev-luatex
