delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/19/00:02:09

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <7CD674FF54FBD21181D800805F57CD540B4F4C14@RED-MSG-44>
From: Stephan Mueller <smueller AT MICROSOFT DOT com>
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: binary mode
Date: Tue, 18 Jan 2000 21:04:27 -0800
Importance: low
X-Priority: 5
X-Mailer: Internet Mail Service (5.5.2650.21)

But your previous reply was most entertaining, and probably of greater value
to the world at large (by creating a few chuckles) than the more informative
reply, which only helped out one more person who didn't RT various forms of
F documentation.

stephan();


-----Original Message-----
From: cygwin AT sourceware DOT cygnus DOT com [mailto:cygwin AT sourceware DOT cygnus DOT com]
Sent: Tuesday, January 18, 2000 9:06 PM
To: BKish9079 AT aol DOT com; cygwin AT sourceware DOT cygnus DOT com
Subject: Re: binary mode


On Tue, Jan 18, 2000 at 10:24:50PM -0500, cygwin AT sourceware DOT cygnus DOT com
wrote:
>On Tue, Jan 18, 2000 at 06:57:13PM -0500, BKish9079 AT aol DOT com wrote:
>>How do I set it to binary mode?

It's been pointed out to me that my previous reply was less than helpful.
So, in the interest of being more than unhelpful, please provide the
mailing list a little more information on what you are trying to do.
Your simple question did not provide enough context to provide any
meaningful help.

There are various ways of setting things in binmode.

You can specify the -b option to mount when you mount a directory.

You can set CYGWIN=binmode to control how devices (i.e., pipes) handle
line endings.

You can open files in binmode using the fopen function by appending
a "b" to the second argument.

You can open files in binmode using the open function by appending
an "| O_BINARY" to the second argument.

If none of this helps, provide more details to this mailing list and
someone will surely be able to help.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019