Cygwin and CR/LF

Earnie Boyd earnie_boyd@yahoo.com
Thu Sep 21 09:37:00 GMT 2000


--- Emmanuel Blot <emmanuel.blot@ireland.sun.com> wrote:
> Hello,
> 
> I still have some difficulties with the CR/LF conversion provided with
> cygwin (dll 1.1.4)
> 
> I would like that the 'echo' command does _not_ produce CR/LF dual chars,
> but only the Unix LF.
> I've tried to set the environment variable CYGWIN to binmode then to
> nobinmode and the results is always the same: CR,LF.  What should I do
> 
> I need this command to work with the cpio command:
> 
> echo 'file1' >> filelist
> echo 'file2' >> filelist
> ...
> cat filelist | cpio -pdu
> 
> the problem is that cpio gets the \r\n and is unable to interpret the
> pathnames
> I also tried with the tar command, and I get the same errors.
> 
> By the way, I have also tried to set the CYGWIN32 environment variable to
> binmode / nobinmode.
> 
> What is the difference between CYGWIN  and CYGWIN32  ??
> 
> Anyone can help me ?
> 

Paste the output of `cygcheck -s -r -v' in a mail to the list, not to me.

Cheers,

=====
--- < http://earniesystems.safeshopper.com > ---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://gw32.freeyellow.com/ >
           __Minimalist GNU for Windows__
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list