www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/02/12:17:31

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
Message-ID: <00a401c340b5$7ddb05f0$0325a8c0@crlc.net>
Reply-To: "Carl Lindgren" <devel_support AT crlc DOT net (remove_this_to_email)>
From: "Carl Lindgren" <devel_support AT crlc DOT net>
To: <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0307021120430 DOT 17919-100000 AT slinky DOT cs DOT nyu DOT edu>
Subject: Re: Question on postinstall
Date: Wed, 2 Jul 2003 11:17:53 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700

Opps! >>> I did mean EOL and not EOF, sorry for the confusion...

Like I said in my last post... I don't have a problem with bash or zsh only
with ksh that I compiled on Cygwin. Not a major problem for me but I would
like to know how to correct it. It seems to me, from what I can remember,
that the ksh port from the Microsoft NT 4.0 Resource Kit didn't have this
problem. But when I compiled the *nx pdksh on Cygwin that is when I started
to see this problem with ksh.

Again my mistake on the EOL and EOF thing...

Carl

----- Original Message -----
From: "Igor Pechtchanski" <pechtcha AT cs DOT nyu DOT edu>
To: "Ronald Landheer-Cieslak" <ronald AT landheer DOT com>
Cc: "Carl Lindgren" <devel_support AT crlc DOT net>; <cygwin AT cygwin DOT com>
Sent: Wednesday, July 02, 2003 10:30 AM
Subject: Re: Question on postinstall


> Carl,
>
> Ok, I can see what you're saying now.  You meant EOL's, not EOF's, right?
> To reset the system mounts to binary, use the following:
>
> eval "`mount -m | sed '/ -s /s/ -t / -b /'`"
>
> To reset them to text, you could use something like
>
> eval "`mount -m | sed '/X11/!{/ -s /s/ -b / -t /}'`"
>
> to make sure the fonts directory is still mounted in binary (or X will
> crash).
>
> Hope this helps.
>
> On Wed, 2 Jul 2003, Ronald Landheer-Cieslak wrote:
>
> > As for a Cygwin-port of ksh, there's none I know of - but please feel
free
> > to contribute!
>
> FYI, pdksh is an official package, and ast-ksh has been submitted for
> evaluation.
> Igor
>
> On Wed, 2 Jul 2003, Ronald Landheer-Cieslak wrote:
>
> > 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?
>
> --
> http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor AT watson DOT ibm DOT com
>      |,4-  ) )-,_. ,\ (  `'-' Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> "I have since come to realize that being between your mentor and his route
> to the bathroom is a major career booster."  -- Patrick Naughton
>


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