delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/04/08:02:23

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=CC4X_sooluYA:10 a=aD1PYc-CwgwA:10 a=xe8BsctaAAAA:8 a=WSf2_2o1NJRus97nuVoA:9 a=sm-bIjmyK6ePKbxTcVSKarpVuT4A:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10
Message-ID: <4937D49E.3030606@byu.net>
Date: Thu, 04 Dec 2008 06:01:18 -0700
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18) Gecko/20081105 Thunderbird/2.0.0.18 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How do I prevent zsh from opening pipes and read redirections in text mode?
References: <3E4278088AD82C48B4663DDFE762CEF305A2DDED AT prga004a DOT ww300 DOT siemens DOT net>
In-Reply-To: <3E4278088AD82C48B4663DDFE762CEF305A2DDED@prga004a.ww300.siemens.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Hudec, Jan on 12/4/2008 1:40 AM:
> Hello Folks,
> 
> I have a program (actually a cygwin program -- git-fast-import) that reads commands from standard input and absolutely needs the stream to be binary (byte counts to be read are included in some commands). However, zsh forces it's input to text mode both when I run:
>  git-fast-import < file

I suppose I could try submitting a patch to the git folks that uses
#include <io.h> and setmode.  But this also sounds like zsh might be doing
something wrong.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9 AT byu DOT net
volunteer cygwin git maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk31GYACgkQ84KuGfSFAYCZMQCeKNf8hJe0zL/6UIxuwv3uQXVf
Q1MAoNbFS81yX3XTeoRfCVMPsv5Z/LaI
=mDvQ
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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