This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Question on postinstall


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@cs.nyu.edu>
To: "Ronald Landheer-Cieslak" <ronald@landheer.com>
Cc: "Carl Lindgren" <devel_support@crlc.net>; <cygwin@cygwin.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@cygwin.com>
> > > To: <cygwin@cygwin.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@crlc.net]
> > > > >>Sent: Tuesday, July 01, 2003 6:27 PM
> > > > >>To: cygwin@cygwin.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@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_ igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]