This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Switching between DOS and UNIX mode
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: "Elberger, Richard A." <Richard dot Elberger at smarts dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 9 Jan 2004 12:10:49 -0500 (EST)
- Subject: Re: Switching between DOS and UNIX mode
- References: <31C9207F18E0ED42BC1C5D05867839D9017021E9@EXCHANGE1.smarts.com>
- Reply-to: cygwin at cygwin dot com
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/