This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Why text=binary mounts (Re: Gnu-win32 (b18), coolview and NTEmacs)
- To: sab at seanet dot com
- Subject: Re: Why text=binary mounts (Re: Gnu-win32 (b18), coolview and NTEmacs)
- From: "Larry Hall (RFK Partners Inc)" <lhall at rfk dot com>
- Date: Fri, 09 Jan 1998 10:28:54 -0500
- Cc: gnu-win32 at cygnus dot com
- References: <"Jeffrey C. Fried"'s message of "Wed, 07 Jan 1998 21:45:26 -0700"><3.0.5.32.19980107214526.007caae0@popd.ix.netcom.com>
At 10:34 AM 1/8/98 -0800, you wrote:
>Maybe the reading operations could track what kind of
>line termination is being used on a file, then succeeding write operations
>could use the same style (unless overridden by the open() flags)? That
>sounds weird...and probably unworkable...just food for thought.
Not necessarily. Various programs do this, including vim and, I think, NTEmacs.
>How do the MS-land programs that understand both line terminations work?
>They probably just accept either on input, then do \r\n on output, right?
Precisely.
Larry Hall lhall@rfk.com
RFK Partners, Inc. (781) 239-1053
8 Grove Street (781) 239-1655 - FAX
Wellesley, MA 02181
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".