Re: [nmh-workers] real basic nmh question

2019-05-23 Thread Ralph Corderoy
Hi Jude, > I got getmail working when I found most of my braille notes on > .fetchmailrc were gone and decided to try a fetchmail competitor. I > found in getmail the mboxrd type could be used for the inbox then I > figured I could use nmh with this set up. That's similar to my configuration. I

[nmh-workers] for me a useful script

2019-05-23 Thread Jude DaShiell
This may need some improvement could maybe use message number token on a couple lines rather than the scan -width option but this works for me for now. -- cut here. #!/usr/bin/bash # file: nmhstat.sh - show message count, first message number and last message number. echo "number of messages:" s

[nmh-workers] my reason for writing nmhstat.sh script

2019-05-23 Thread Jude DaShiell
I got tired of running show when show didn't have a correct current message number. Now I can give show a correct message number to show. -- -- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers

Re: [nmh-workers] for me a useful script

2019-05-23 Thread Valdis Klētnieks
On Thu, 23 May 2019 13:45:02 -0400, Jude DaShiell said: > echo "first available message:" > scan -width 6|head -1 scan -width 6 first will be much faster. > echo "last available message:" > scan -width 6|tail -1 scan -width 6 last will be much faster. If you have 10,000 entries in a folde

Re: [nmh-workers] for me a useful script

2019-05-23 Thread Ken Hornstein
>This may need some improvement could maybe use message number token on a >couple lines rather than the scan -width option but this works for me for >now. Jude, Thanks for your script! So, in the spirit of constructive criticism ... it is probably not obvious to new nmh users that nmh actually h