delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/18/05:37:50

From: godot AT uni-paderborn DOT de (Frank Baumgart)
Subject: how to force pipes into binary mode?
18 Apr 1998 05:37:50 -0700 :
Message-ID: <3537AEEE.33F3E0BC.cygnus.gnu-win32@uni-paderborn.de>
Mime-Version: 1.0
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

Having a workaround for the missing serial interface handling capability
of cygwin32 now by having written a getty-like handler (mixing Win32 API
and cygwin32) for my application I had to discover that pipes are opened
in text-mode, not only in bash but generally despite
CYGWIN32=tty,binmode.

So, how do I force my pipes which have been created with pipe() to work
in binary mode?

Or better: are there any patches or even cygwin32.dll available working
in binary mode generally? (pipes doing text-mode translation is so
stupid!)

My setup: pl19 with Sergey's latest coolview (dl'ed 17th of april), NT
4.0 SP3. The ChangeLog of winsup-980414.tar.bz2 does not show any
improvements regarding this topic.

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

- Raw text -


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