Mail Archives: cygwin/2003/07/02/11:02:24
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 -