X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Subject: How do I prevent zsh from opening pipes and read redirections in text mode? Date: Thu, 4 Dec 2008 09:40:35 +0100 Message-ID: <3E4278088AD82C48B4663DDFE762CEF305A2DDED@prga004a.ww300.siemens.net> From: "Hudec, Jan" To: X-purgate: clean X-purgate: This mail is considered clean X-purgate-type: clean X-purgate-Ad: Checked for Spam by eleven - eXpurgate www.eXpurgate.net X-purgate-ID: 149917::081204094037-0B9D8BA0-54EDF9EE/0-0/0-15 X-purgate-size: 802/0 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id mB48fSfk014205 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 and cat file | git-fast-import despite me having all the mounts set to binary and CYGWIN=binary. How do I explain to zsh, that pipes and read redirections to commands must be binary? Note, that zsh used not to do this and bash is not doing it either. -- Jan Hudec