delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/11/18/08:21:32

From: earnie_boyd AT yahoo DOT com (Earnie Boyd)
Subject: BUG: CYGWIN=binmode
18 Nov 1998 08:21:32 -0800 :
Message-ID: <19981118160731.8482.rocketmail.cygnus.cygwin32.developers@send102.yahoomail.com>
Reply-To: earnie_boyd AT yahoo DOT com
Mime-Version: 1.0
To: cygwin developers <cygwin32-developers AT cygnus DOT com>

starting bash with
CYGWIN=notty nobinmode notitle

and then doing after bash starts
export CYGWIN="notty binmode notitle"
echo "this is a binmode test" > binmode.test

will output in text mode.


starting bash with
CYGWIN=notty binmode notitle
echo "this is a binmode test" > binmode.test

will output in binary mode.


This only affects redirection, pipes seem to work ok

echo "this is a binmode test" | tee binmode.test

outputs in the correct mode.

==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd AT yahoo DOT com               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

- Raw text -


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