public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Cygwin and CR/LF
@ 2000-09-21  9:37 Earnie Boyd
  2000-09-21  9:44 ` Emmanuel Blot
  0 siblings, 1 reply; 7+ messages in thread
From: Earnie Boyd @ 2000-09-21  9:37 UTC (permalink / raw)
  To: Emmanuel Blot, cygwin

--- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Cygwin and CR/LF
@ 2000-09-21 12:48 Earnie Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Earnie Boyd @ 2000-09-21 12:48 UTC (permalink / raw)
  To: Emmanuel Blot; +Cc: cygwin users

--- Emmanuel Blot <emmanuel.blot@ireland.sun.com> wrote:
> > Ok, you've two version of the cygwin dll.  The old one is in
> /epoch32/gcc/bin
> > and appears to be around version b18 based on the date.  It also has
> registry
> > entries indicating that it should process in text mode.
> >
> > Since, I can't reproduce your problem I'd suggest that you remove the
> > references to epoch32/gcc/bin from your PATH.
> 
> Ok, thanks.
> 
> May I leave the registry entries since I really need to work with this
> [awful] development kit (epoc) ?
> 

Yes, the registry entries are fine.  You just can't have both versions of
Cygwin on the PATH at the same time.

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Cygwin and CR/LF
@ 2000-09-21 10:59 Earnie Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Earnie Boyd @ 2000-09-21 10:59 UTC (permalink / raw)
  To: Emmanuel Blot, cygwin

--- Emmanuel Blot <emmanuel.blot@ireland.sun.com> wrote:
> > Paste the output of `cygcheck -s -r -v' in a mail to the list, not to me.
> 
> Here it is. Should I have a look at a specific point ?
> 

Ok, you've two version of the cygwin dll.  The old one is in /epoch32/gcc/bin
and appears to be around version b18 based on the date.  It also has registry
entries indicating that it should process in text mode.

Since, I can't reproduce your problem I'd suggest that you remove the 
references to epoch32/gcc/bin from your PATH.

BTW, CYGWIN vs CYGWIN32,  CYGWIN32 was used in version b19, it was changed to
CYGWIN in version b20.

>   586k 2000/08/04 E:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2000/8/4 1:53
>     Cygwin DLL version info:
>         dll major: 1001
>         dll minor: 4
>         dll epoch: 19
>         dll bad signal mask: 19005
>         dll old termios: 5
>         api major: 0
>         api minor: 26
>         shared data: 3
>         dll identifier: cygwin1
>         mount registry: 2
>         cygnus registry name: Cygnus Solutions
>         cygwin registry name: Cygwin
>         program options name: Program Options
>         cygwin mount registry name: mounts v2
>         build date: Thu Aug 3 20:53:46 EDT 2000
>         CVS tag: cygwin-1-1-4
>         shared id: cygwin1S3
> 
>  1541k 1996/05/07 s:\epoc32\gcc\bin\CYGWIN.DLL - os=4.0 img=1.0 sys=4.0
>                   "cygwin.dll" v0.0 ts=1996/5/8 3:20
> Use -h to see help about each section
> 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Cygwin and CR/LF
@ 2000-09-21  9:33 Emmanuel Blot
  2000-09-21 14:27 ` Chris Faylor
  0 siblings, 1 reply; 7+ messages in thread
From: Emmanuel Blot @ 2000-09-21  9:33 UTC (permalink / raw)
  To: cygwin

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 ?

Thanks,
Emmanuel.



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-09-22  9:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-21  9:37 Cygwin and CR/LF Earnie Boyd
2000-09-21  9:44 ` Emmanuel Blot
  -- strict thread matches above, loose matches on Subject: below --
2000-09-21 12:48 Earnie Boyd
2000-09-21 10:59 Earnie Boyd
2000-09-21  9:33 Emmanuel Blot
2000-09-21 14:27 ` Chris Faylor
     [not found]   ` <01ab01c02494$50bae800$e5dc9c81@ireland.sun.com>
2000-09-22  9:54     ` Chris Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).