On 3/21/16 Mar 21 -3:38 PM, Daniel Kochmański wrote: > Don't know about the other implementations, but afair ECL puts :cygwin > in the *features*. Maybe check, if trivial-features handles cygwin > portably?
That was a good suggestion, but I'm afraid the answer is "no." No handling of cygwin in trivial-features. Unfortunately, there's also no :CYGWIN feature in *FEATURES*, at least not in the February release I just installed on my VM. Best, r > > Best regards, > Daniel > > Robert Goldman writes: > >> Is there some way that a CL implementation can know whether it is >> running under a Unix-alike like Cygwin or MinGW? >> >> If we use RUN-PROGRAM to interrogate the environment, we do so using >> CMD.exe, so I'm not sure how CMD.EXE would know if it was being run as >> the grandchild of a bash process. >> >> AFAICT Cygwin (and I don't know about MinGW) don't put anything into >> their environments that I can obviously see. E.g., if I start a lisp >> inside cygwin and do (GETENV "OS") I just see "Windows_NT". >> >> Thanks, >> r > >