delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/17/03:36:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Sat, 17 Feb 2001 09:36:01 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: A question for Corinna
Message-ID: <20010217093601.D16740@cygbert.vinschen.de>
Mail-Followup-To: cygwin <cygwin AT cygwin DOT com>
References: <00f101c0988b$eab461a0$3c5350d8 AT bluesguitar DOT org>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <00f101c0988b$eab461a0$3c5350d8@bluesguitar.org>; from matts@bluesguitar.org on Fri, Feb 16, 2001 at 08:47:07PM -0600

On Fri, Feb 16, 2001 at 08:47:07PM -0600, Matthew Smith wrote:
> Hi:
> 
>     This question is addressed specifically to Corinna.  I would like to
> maintain zsh for the cygwin project, and was wondering what kind of
> text/binary issues I'll have to deal with.  I downloaded the source for tcsh
> (I thought perhaps tcsh would be a better 'case study' - I'd wager it hasn't
> been as mutated as bash).  I didn't see any readme/patches in regards to
> cygwin though.  Can you send me your cygwin patches for tcsh?  Thanks very
> much for your time.

If you have downloaded the tcsh sources from cygwin/contrib/tcsh,
you have the changes incorporated. There's no hint to Cygwin itself
but you will find many places with sth. like


	#ifdef O_TEXT
	  setmode (fd, O_TEXT);
	#endif

or the same for O_BINARY.

Roughly spoken the bin/textmode patch is doing usually the same
in all shells:

O_TEXT mode for:
	- stdin
	- script files
	- here scripts
	- backquote commands
	- the `read' command

O_BINARY mode for:
	- pipes

Leave it as it is for:
	- stdout, stderr and their redirection

(no demand for completeness)

Hope, that helps,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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