delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/02/11:02:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Wed, 2 Jul 2003 17:12:01 +0200 (CEST)
From: Ronald Landheer-Cieslak <ronald AT landheer DOT com>
X-X-Sender: ronald AT localhost DOT localdomain
To: Carl Lindgren <devel_support AT crlc DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: Question on postinstall
In-Reply-To: <004501c340a3$d4a33ae0$0325a8c0@crlc.net>
Message-ID: <Pine.LNX.4.44.0307021705070.26834-100000@localhost.localdomain>
MIME-Version: 1.0

If your port is Cygwin-savvy (i.e. is a Cygwin application and uses Cygwin
for its file I/O) then the question falls back to the mount tables.

The Setup option controls how the mount table is set up (binmode vs 
textmode mounts). Any program that opens a file in text mode (i.e. without 
specifically opening in binary mode) that is linked against cygwin1.dll 
obeys the mount table and, if on a textmode-mounted directory, eats up the 
CRs. If that causes a problem, either remount in binmode, fix your program 
or link against binmode.o

As for a Cygwin-port of ksh, there's none I know of - but please feel free 
to contribute!

rlc

On Wed, 2 Jul 2003, Carl Lindgren wrote:

> Thanks, but I'm still not sure why then the Cygwin install asks you whether
> you want Unix or DOS style files (EOF's).
> 
> After reading your post I did some further investigation and determined that
> my problem is in my port of ksh and not specifically with Cygwin itself.
> 
> Does anyone know of a Cygwin port for ksh that lets me choose between Unix
> and DOS EOF's or at least uses DOS EOF's?
> 
> Carl
> 
> ----- Original Message -----
> From: "Christopher Faylor" <cgf-idd AT cygwin DOT com>
> To: <cygwin AT cygwin DOT com>
> Sent: Tuesday, July 01, 2003 7:20 PM
> Subject: Re: Question on postinstall
> 
> 
> > On Tue, Jul 01, 2003 at 07:04:05PM -0400, Harig, Mark wrote:
> > >1. Check the (renamed) scripts in /etc/postinstall.
> > >
> > >2. Check the 'mount' command (/usr/bin/mount) and its
> > >   manual page ($ man mount) for information on changing
> > >   your mount points from binary to text and vice versa.
> >
> > That is good general advice but there is no specific setting controlling
> > EOF in cygwin.  Cygwin does not honor the CPM "CTRL-Z is EOF for text
> > files" convention.  I don't know if that is the question or not, but...
> >
> > cgf
> >
> > >>-----Original Message-----
> > >>From: Carl Lindgren [mailto:devel_support AT crlc DOT net]
> > >>Sent: Tuesday, July 01, 2003 6:27 PM
> > >>To: cygwin AT cygwin DOT com
> > >>Subject: Question on postinstall
> > >>
> > >>Can someone direct me to where I can find info on the postinstall and
> > >>what script/*exe controls the settings for the EOF (DOS/UNIX).
> > >>
> > >>Is there a way to reset EOF (End of File) after the install?
> >
> > --
> > 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/
> >
> 
> 
> --
> 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/
> 


--
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