On 04 January 2007 17:17, Aaron Brown wrote: > From within the C preprocessor, how do I find out whether a > Cygwin installation is set to use dos or unix EOLs? You don't. Whatever you're trying to do, this is the wrong way to go about it. For a start, the answer to the question "Is this in dos or unix mode" can change from one directory to another. What is the /end/ result you're trying to achieve here? cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/