Re: [Imap-uw] Using spg (search) in mail_sort

2008-05-19 Thread Mark Crispin
On Mon, 19 May 2008, [EMAIL PROTECTED] wrote: From what I can tell it seems to be down to the app to walk the results and make a count. That's one way. What is returned is a 0-terminated array. for (i = 0; sort_result[i] > 0; i++) Note that message numbers are unsigned, so test for n

Re: [Imap-uw] Using spg (search) in mail_sort

2008-05-19 Thread bhayden
On May 18 2008, Mark Crispin wrote: On Sun, 18 May 2008, [EMAIL PROTECTED] wrote: Current issue: mail_sort works as expected, consistently, with one exception. Any search program (spg) passed to it seems to be completely ignored. I've tried many different approaches for the last 48 hours and

Re: [Imap-uw] Using spg (search) in mail_sort

2008-05-18 Thread bhayden
On May 18 2008, Mark Crispin wrote: On Sun, 18 May 2008, [EMAIL PROTECTED] wrote: Current issue: mail_sort works as expected, consistently, with one exception. Any search program (spg) passed to it seems to be completely ignored. I've tried many different approaches for the last 48 hours and

Re: [Imap-uw] Using spg (search) in mail_sort

2008-05-18 Thread Mark Crispin
On Sun, 18 May 2008, [EMAIL PROTECTED] wrote: Current issue: mail_sort works as expected, consistently, with one exception. Any search program (spg) passed to it seems to be completely ignored. I've tried many different approaches for the last 48 hours and nothing has worked, so I'm curious if

[Imap-uw] Using spg (search) in mail_sort

2008-05-18 Thread bhayden
Background: working on mods to Cambridge's Prayer webmail, which uses c-client. Current issue: mail_sort works as expected, consistently, with one exception. Any search program (spg) passed to it seems to be completely ignored. I've tried many different approaches for the last 48 hours and no