Date: Sun, 29 Dec 1996 08:43:35 +0200 (IST) From: Eli Zaretskii To: DJ Delorie cc: djgpp-workers AT delorie DOT com Subject: Re: mail search 0.1 alpha In-Reply-To: <199611170309.WAA24779@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sat, 16 Nov 1996, DJ Delorie wrote: > I've been working on a program to do local searches of the djgpp mail > archives, for inclusion on future CD-ROM distributions. Sorry it took so long to look at it. I got swamped on my daytime job, and these things somehow never make it to the top of the list ;-). Anyway, seems like a nice tool. A few comments: 1) The screen background color is left to be red when you quit the program. Nothing serious ("cls" fixes this), but annoying. 2) Sometimes, but not always, the last message displayed doesn't include the keywords mentioned on the command line, even if you use +key. For an example, try "ms +emacs" and tell me if you see any "emacs" in the last message. I didn't dig deep enough, but it seems that the number of messages which contain the word is incorrect (off by 1) in these cases. 3) The indexing program seems to collapse the case of all the words, but ms.exe is still case-sensitive. For example "ms +Zaretskii" doesn't find anything, while "ms +zaretskii"... well, you can guess ;-) 4) The algorithm which colorizes the lines that quote previous messages is too naive: some people use characters other than `>' to do that.