Ah, ok, thanks, that fixed it. However running with a binmode home directory will break other things, since everything in there is generally a text file. Who maintains the cygwin compile of stuff like emacs movemail? I'm not sure where I can file a bug...
Peter ----- Original Message ----- From: "Larry Hall" <[EMAIL PROTECTED]> To: "Peter Wisnovsky" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, February 13, 2004 12:57 PM Subject: Re: cygwin movemail file truncation -#- MailID:CNAA > At 02:31 PM 2/13/2004, Peter Wisnovsky you wrote: > >Hi! I'm trying to figure out a problem I seem to be having with cygwin > >movemail, installed in > > > > /usr/sbin/emacs/21.2/i686-pc-cygwin/movemail > > > >My mail directory for procmail/fetchmail is ~/usr/mail. HOME is > >/users/pwisnovsky. /users is mounted from C:/Documents and Settings in > >textmode: > > > > c:\Documents and Settings on /users type system (textmode) > > > >I have a mailbox tmp.spool which got mail routed into it via > >procmail/fetchmail: > > > > -rw------- 1 pwisnovs mkgroup- 67067 Feb 13 10:32 tmp.spool > > > >When I run movemail -p tmp.spool tmp I end up with > > > > -rw-rw-r-- 1 pwisnovs mkgroup- 1024 Feb 13 11:17 tmp > > -rw------- 1 pwisnovs mkgroup- 67067 Feb 13 10:32 tmp.spool > > > >Ick! Where did the rest of my email go? I'm trying to bin up my email using > >procmail automagically for later perusal via Emacs VM. > > > >Any suggestions? Could this be a CR/NL/lseek issue? I'm running the cygwin > >emacs 21.2.1 under Xfree86. > > > Sounds like it could be a binary/text mode issue. Try mounting '/users' > as binary instead of text. If it works then, you'll know movemail hasn't > been properly ported to Windows. > > > -- > Larry Hall http://www.rfk.com > RFK Partners, Inc. (508) 893-9779 - RFK Office > 838 Washington Street (508) 893-9889 - FAX > Holliston, MA 01746 > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/