Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-Id: <4.3.1.2.20001221132930.02782fd0@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 21 Dec 2000 13:43:14 -0500 To: dkarr AT tcsi DOT com (David M. Karr), cygwin AT sourceware DOT cygnus DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: new install of cygwin with pdksh doesn't work In-Reply-To: References: <"Markus Hoenicka"'s message of "Thu, 21 Dec 2000 14:50:18 +0000 (CT0)"> <20001221033842 DOT 25619 DOT qmail AT web118 DOT yahoomail DOT com> <14914 DOT 6314 DOT 575000 DOT 452009 AT gargle DOT gargle DOT HOWL> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:46 AM 12/21/2000, David M. Karr wrote: > >>>>> "Markus" == Markus Hoenicka writes: > Markus> David M. Karr writes: > >> As I still have to work with other applications (Emacs, etc.) which > >> will continue to write files with DOS line endings, removing the ^Ms > >> is not a practical option, as I'd have to do that constantly. > > Markus> If Emacs is your major concern, stick the following into your .emacs: > > Markus> (setq-default buffer-file-coding-system 'undecided-unix) > > Markus> New files will then be unix-style. Works great here. > >Emacs is a major concern, but not my only one. I don't think it's >practical to try to fix every Windows program to produce Unix line >endings. I have to focus on getting Cygwin to work with DOS line >endings. > >My original installation works fine. When I ran the second >installation, I think I probably left the "Unix" flag on. Is it >conceivable that I'll have to uninstall completely so I can reinstall >with the "DOS" flag set? Rerunning it and setting that flag had no >effect. David, you should find the background to answer your question in the Cygwin User's Guide in the sections discussing mounts and the binary/text issue. Setting the "DOS" flag in the installation only indicates whether mount uses the "-b" (binary) flag or not by default. This applies to all mounts setup makes as well as the /cgydrive notation. There's no other "magic" going on here. Good luck, Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple