Re: Scan of folders with 10k+ messages?

2003-02-21 Thread Ralph Corderoy

Hi,

I see we all chipped in to help Harlan, probably thinking no one else
had yet.  Is there any chance the mailing list can turnaround posts a
little more quickly?

$ s -nos lp | g '^Date'
Date: Thu, 20 Feb 2003 10:48:49 -0800
Date: Thu, 20 Feb 2003 13:55:18 -0500
Date: Thu, 20 Feb 2003 12:06:09 -0700
Date: Thu, 20 Feb 2003 20:13:16 +0100
Date: Thu, 20 Feb 2003 11:25:23 -0800
Date: Thu, 20 Feb 2003 13:53:04 -0800
Date: Thu, 20 Feb 2003 23:41:27 +
$ s -nos lp | g 'for [EMAIL PROTECTED];'
for [EMAIL PROTECTED]; Fri, 21 Feb 2003 04:11:30 -0500 (EST)
for [EMAIL PROTECTED]; Fri, 21 Feb 2003 04:11:37 -0500 (EST)
for [EMAIL PROTECTED]; Fri, 21 Feb 2003 04:11:44 -0500 (EST)
for [EMAIL PROTECTED]; Fri, 21 Feb 2003 04:11:48 -0500 (EST)
for [EMAIL PROTECTED]; Fri, 21 Feb 2003 04:11:50 -0500 (EST)
for [EMAIL PROTECTED]; Fri, 21 Feb 2003 04:11:53 -0500 (EST)
for [EMAIL PROTECTED]; Fri, 21 Feb 2003 04:11:55 -0500 (EST)

Cheers,


Ralph.



Re: Scan of folders with 10k+ messages?

2003-02-21 Thread Peter S Galbraith
Harlan Stenn <[EMAIL PROTECTED]> wrote:

> I have a folder with more than 10k messages in it.
> 
> Scan now displays these messages as ?nnn, where nnn is really digits.
> 
> What do I need to hack to allow for a wider field?

That would be the format file (e.g. /etc/nmh/scan.default on Debian
systems).  See the `-form' option in the `scan' man page.

BTW, the current release of the Emacs front-end MH-E does this
automatically, detecting the number of messages to display in a given
folder.   See http://mh-e.sourceforge.net/

-- 
Peter S. Galbraith, MH-E developer  <[EMAIL PROTECTED]>
GPG key 1024/D2A913A1 - 97CE 866F F579 96EE  6E68 8170 35FF 799E
6623'rd GNU/Linux user at the Counter - http://counter.li.org/




Re: Scan of folders with 10k+ messages?

2003-02-21 Thread Oliver Kiddle
On 18 Feb, you wrote:
> I have a folder with more than 10k messages in it.
> 
> Scan now displays these messages as ?nnn, where nnn is really digits.
> 
> What do I need to hack to allow for a wider field?

In /usr/local/etc/nmh/scan.default or wherever your nmh installation has
put scan.default, change where it says '%4(msg)' and change the 4 to a
5.

Oliver

This e-mail and any attachment is for authorised use by the intended recipient(s) 
only.  It may contain proprietary material, confidential information and/or be subject 
to legal privilege.  It should not be copied, disclosed to, retained or used by, any 
other party.  If you are not an intended recipient then please promptly delete this 
e-mail and any attachment and all copies and inform the sender.  Thank you.




Re: Scan of folders with 10k+ messages?

2003-02-21 Thread J C Lawrence
On Tue, 18 Feb 2003 18:14:46 -0500 (EST) 
Harlan Stenn <[EMAIL PROTECTED]> wrote:

> I have a folder with more than 10k messages in it.  Scan now displays
> these messages as ?nnn, where nnn is really digits.

> What do I need to hack to allow for a wider field?

Edit your scancomps file.

-- 
J C Lawrence
-(*)Satan, oscillate my metallic sonatas. 
[EMAIL PROTECTED]   He lived as a devil, eh?  
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.




Re: Scan of folders with 10k+ messages?

2003-02-21 Thread Chris Dean

You can change whatever format file you're using.  I use scan.timely and
have modified the it to make the msg number 5 wide.  Like this:

%5(msg)%<(cur)+%| %>%<{replied}-%?{encrypted}E%| %>\
...

I wouldn't call this a bug, but more of a surprising feature ;->.

Regards,
Chris Dean

Harlan Stenn <[EMAIL PROTECTED]> wrote:
> I have a folder with more than 10k messages in it.
> 
> Scan now displays these messages as ?nnn, where nnn is really digits.
> 
> What do I need to hack to allow for a wider field?
> 
> H




Re: Scan of folders with 10k+ messages?

2003-02-21 Thread Ralph Corderoy

Hi Harlan,

> I have a folder with more than 10k messages in it.  Scan now displays
> these messages as ?nnn, where nnn is really digits.  What do I need to
> hack to allow for a wider field?

See scan's -form and -format options, and mh-format(5).  In particular,
copy the existing format file used by scan, e.g. /etc/nmh/scan.default,
and change the `%4(msg)' to `%5(msg)' before making it your default
using ~/.mh_profile.

Sorry, that's a bit terse, but hopefully you get the idea.  If not, come
back.

Cheers,


Ralph.




Re: Scan of folders with 10k+ messages?

2003-02-21 Thread Jerry Peek
On 02/18/03 04:14 PM, Harlan Stenn wrote:

I have a folder with more than 10k messages in it.

Scan now displays these messages as ?nnn, where nnn is really digits.

What do I need to hack to allow for a wider field?


You need to modify your scan format file -- or, if you don't have one of 
your own, make a copy of the system file and hack yours.  There's info 
in the online MH book; one place to start is 
http://www.ics.uci.edu/~mh/book/mh/morsca.htm#index2 .

Jerry
--
Jerry Peek, [EMAIL PROTECTED], http://www.jpeek.com/




Re: Scan of folders with 10k+ messages?

2003-02-21 Thread Bill Wohler
Harlan Stenn <[EMAIL PROTECTED]> wrote:

> I have a folder with more than 10k messages in it.
> 
> Scan now displays these messages as ?nnn, where nnn is really digits.
> 
> What do I need to hack to allow for a wider field?

  Copy /etc/nmh/scan.default into your Mail directory and
  s/%4(msg)/%5(msg)/.

  Or use MH-E which does this automatically for you
  (mh-e.sourceforge.net) ;-).

--
Bill Wohler <[EMAIL PROTECTED]>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.