reworked for cygwin; fixed ll and l