This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Mount mode problem? [Fwd: Emacs and ispell]


"David A. Cobb" wrote:
> 
> This looks like the originator ran into a problem with the "default"
> mount mode.  There isn't much clue as to which change levels within
> 1.1.x
> are involved.  Is this a known Cygwin problem/feature or is it within
> ispell?
> 

It's not a problem, just an OS feature.  The \r\n line endings were
created when the mount entries were in text mode.  Then when upgrading
the user chose UNIX mode (binary mode) mounts.  ispell now gets the \r
as part of the data in the record.

To correct this, you can:

1) mount -t c:/path/to/ispell.exe /bin/ispell
2) rebuild ispell and add the /lib/textmode.o object to the link process
3) modify ispell to open it's files in text mode or modify the fd's with
setmode.
4) convert the line endings in the offending data files.

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]