This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Mount mode problem? [Fwd: Emacs and ispell]
- To: "David A. Cobb" <superbiskit at home dot com>
- Subject: Re: Mount mode problem? [Fwd: Emacs and ispell]
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Fri, 19 Jan 2001 11:02:01 -0500
- CC: Cygwin List <cygwin at cygwin dot com>
- References: <3A6848C7.EC2BD64C@home.com>
- Reply-To: Earnie Boyd <cygwin at cygwin dot com>
"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