This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
text / binary mounts (sorry)
- To: "'cygwin at sourceware dot cygnus dot com'" <cygwin at sourceware dot cygnus dot com>
- Subject: text / binary mounts (sorry)
- From: Matthew Lowther <m dot lowther at standard-platforms dot co dot uk>
- Date: Fri, 2 Jun 2000 09:00:55 +0100
Hullo,
I use cygwin (snapshot 05252000) , mainly to access cvs and make, so
I can build the same source on NT and unix.
When I check things out in CVS I don't want lots of Dos Line Feeds being
added.
This is OK, so long as I mount the relevant drive as a binary mount.
BUT is there anything I can setup to make all drives act as binary mounts
automatically.
The problem is that if a drive isn't mounted at all, then I get dos line
feeds at the end of each line. So people not accustomed to using bash use
cvs and unknowingly add dos line feeds to all the source files, this gets
repeated .... and we end up with lots and lots of horrible dos line feed
characters in all the source.
Thanks in advance for any help I may get, I'm scared to send this message
because I know there's been alot of mail about CR/LF issues, but I'm
desperatley hoping I can stop these ^M's infiltrating our source code.
Maff.
P.S. Problem description.
If I run bash and say change to the t drive
cd t:/
echo "bob" >fred
vi fred
->produces
bob^M
ie. with a dos line feed thing.
If I do mount -b t: /t
and do the above, it produces
bob
ie. no dos line feed.
But can I make echo "bob" > fred produce a file fred with no dos line feed
without having to make sure I've done the mount?
Attached is the cygcheck thing
. <<cygcheck.out>>
--
Matthew Lowther Direct Dial: +44 (0)1252 401033
Software Consultant Switchboard: +44 (0)1252 401000
Standard Platforms Limited Fax : +44 (0)1252 336934
http://www.standard-platforms.co.uk mailto:maff@bssl.co.uk
cygcheck.out
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com