public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Compilling squid
@ 1998-08-03 17:22 Andrew Thompson
  1998-08-03 17:30 ` ftp client corrupts binary files with ^m ?? Andrew Thompson
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Thompson @ 1998-08-03 17:22 UTC (permalink / raw)
  To: gnu-win32

Some people have sucessfull compiled squid on the latest gnu-win32. I have
the EGCs compillers and lots of librarys but I still need a number or
things like regex_t, timegm, tm.tm_gmtoff ,timezone or time_t.

Am I wasting my time if I try to go to one of the GNU ftp servers and take
the source for these librarys and compile them ??? I am new to unix
programming.

Andrew Thompson

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* ftp client corrupts binary files with ^m ??
  1998-08-03 17:22 Compilling squid Andrew Thompson
@ 1998-08-03 17:30 ` Andrew Thompson
  1998-08-05  3:36   ` Guido Roeskens
  1998-08-05  4:28   ` Marius van Wyk
  0 siblings, 2 replies; 4+ messages in thread
From: Andrew Thompson @ 1998-08-03 17:30 UTC (permalink / raw)
  To: gnu-win32

I have ftp.exe installed on my system. When I get text files from other
servers ftp works OK but when I set ftp to 'bin' and get a binary file the
file comes out a little larger and (I Think) it has ^m's inserted into the
binary code, hence it does not run.

Do I need to mount everyting as "text=bin" on my system currently
everyting is text=!bin??

I do not understand how this system translates text files from unix type
to dos type.

Andrew Thompson

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: ftp client corrupts binary files with ^m ??
  1998-08-03 17:30 ` ftp client corrupts binary files with ^m ?? Andrew Thompson
@ 1998-08-05  3:36   ` Guido Roeskens
  1998-08-05  4:28   ` Marius van Wyk
  1 sibling, 0 replies; 4+ messages in thread
From: Guido Roeskens @ 1998-08-05  3:36 UTC (permalink / raw)
  To: Andrew Thompson; +Cc: gnu-win32

Andrew Thompson wrote:

> I have ftp.exe installed on my system. When I get text files from other
> servers ftp works OK but when I set ftp to 'bin' and get a binary file the
> file comes out a little larger and (I Think) it has ^m's inserted into the
> binary code, hence it does not run.
>
> Do I need to mount everyting as "text=bin" on my system currently
> everyting is text=!bin??
>
> I do not understand how this system translates text files from unix type
> to dos type.
>
> Andrew Thompson

When ftp starts up it is in text (ascii) mode which does EOL
conversion("End-of Line" gets converted from 'LF' on Unix to 'CRLF' on DOS)

You have to change the transfer type to binary mode: Simply type "bin" as an
abbreviation for "binary". You can check the transfer type set with "type" or
with "status".

BTW: For help with ftp type "help" or "help <command>"Guido


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* Re: ftp client corrupts binary files with ^m ??
  1998-08-03 17:30 ` ftp client corrupts binary files with ^m ?? Andrew Thompson
  1998-08-05  3:36   ` Guido Roeskens
@ 1998-08-05  4:28   ` Marius van Wyk
  1 sibling, 0 replies; 4+ messages in thread
From: Marius van Wyk @ 1998-08-05  4:28 UTC (permalink / raw)
  To: gnu-win32

On Wed, 5 Aug 1998 01:40:57 +1200 (NZST), Andrew Thompson
<andrew@waitaki.otago.ac.nz> wrote:

> I have ftp.exe installed on my system. When I get text files from other
> servers ftp works OK but when I set ftp to 'bin' and get a binary file the
> file comes out a little larger and (I Think) it has ^m's inserted into the
> binary code, hence it does not run.
> 
> Do I need to mount everyting as "text=bin" on my system currently
> everyting is text=!bin??

Assume that the ftp was written for a unix machine, and that the
author did not bother opening files as binary instead of text, so use
bin at all times anyway.

DOS's crlf configuration sucks - period

> I do not understand how this system translates text files from unix type
> to dos type.

> Andrew Thompson
> 
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request@cygnus.com" with one line of text: "help".

--
> finger marius@e.co.za for PGP and other info.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~1998-08-05  4:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-03 17:22 Compilling squid Andrew Thompson
1998-08-03 17:30 ` ftp client corrupts binary files with ^m ?? Andrew Thompson
1998-08-05  3:36   ` Guido Roeskens
1998-08-05  4:28   ` Marius van Wyk

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