Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-Id: <5.2.1.1.0.20030603175855.10b0c4f8@rogue.codemeta.com> X-Sender: lee AT rogue DOT codemeta DOT com (Unverified) Date: Tue, 03 Jun 2003 18:30:50 -0400 To: cygwin AT cygwin DOT com From: "Lee D. Rothstein" Subject: 'fortune', 'strfile' & binmode Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" After significant searching, I discovered that 'fortune' requires 'strfile' to create the index database ('.dat' file) for each text file of fortunes. ('strfile' is not listed under "See also:" 'man fortune' and hence does not appear in the output of 'apropos fortune'. The 'man' page needs to be updated. I will do it myself, if someone will explain how to submit the change. This is a change to GNU fortune 'man' page, not Cygwin anything.) However, when I execute 'strfile' on a fortune file -- say, 'fortune', to produce an index file -- e.g., 'fortune.dat', it doesn't quite get the index right. I've tried (I think) all combinations of: * 'strfile', 'strfile -r' * UNIX and DOS line endings and character sets (LF vs CRLF, ANSI vs DOS) * Cygwin="nobinmode ..." vs. Cygwin="binmode ..." and no luck. Suggestions? -- Lee D. Rothstein -- lee AT veritech DOT com VeriTech -- 603-424-2900 7 Merry Meeting Drive Merrimack, NH 03054-2934 -- 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/