hybrid text/binary mount

Chris Faylor cgf@cygnus.com
Wed Apr 26 12:29:00 GMT 2000

On Wed, Apr 26, 2000 at 10:53:56AM -0400, Jeffrey Juliano wrote:
>> > I think that most output is done in more than one character at a time
>> > mode.
>> Yeah, but consider, for example, raw PBM files.  The first few lines
>> are text lines, but after that the data is binary.  One could easily
>FYI, emacs has done automatic UNIX/DOS/MAC detection for a while now.  I
>use NTemacs all the time, and I don't think it's ever guessed wrong for
>me.  I just tested on a raw PBM file, and it got it right.

I assume that emacs can do that because it probably reads in the whole
file and can guess much more precisely.  'vim' also seems to be pretty
good at guessing for the same reason.  I have had situations where 'vim'
fails to guess correctly, though.


More information about the Cygwin-developers mailing list