Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Fri, 9 Jan 2004 12:10:49 -0500 (EST)
From: Igor Pechtchanski <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: "Elberger, Richard A." <Richard.Elberger@smarts.com>
cc: cygwin@cygwin.com
Subject: Re: Switching between DOS and UNIX mode
In-Reply-To: <31C9207F18E0ED42BC1C5D05867839D9017021E9@EXCHANGE1.smarts.com>
Message-ID: <Pine.GSO.4.56.0401091208510.10405@slinky.cs.nyu.edu>
References: <31C9207F18E0ED42BC1C5D05867839D9017021E9@EXCHANGE1.smarts.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Fri, 9 Jan 2004, Elberger, Richard A. wrote:

> Hi all,
>
> I am looking to have "switchability" between UNIX mode and DOS mode in
> cygwin (the choice during the installation).  We install all of our
> cygwin installations in UNIX mode.
>
> A subset of our developers use Windows-based editors. We use the cygwin
> cvs to checkout files from a remote repository.
>
> For some reason, this hiccups the windows editors -- probably CR/LFs.
>
> Is there a way to "switch" to DOS mode either through setting a variable
> in local shell, .profile, or some config file in /etc?
>
> thanks --
> -- rich

Use the 'mount' command.  In fact, you should be able to simply mount some
particular directories (e.g., the ones the checkout is done into) in text
(DOS) mode for those developers that need this, and leave the Cygwin
installation itself in binary (Unix) mode.  Note: mounts in Cygwin are
(currently) persistent.
	Igor
-- 
				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/

