Re: Random Signature

2001-07-14 Thread Suresh Ramasubramanian

Efata  [15/07/01 05:48 +0700]:
> Thanks your Reply, but which section number?
 
Read the whole FAQ (or at least the index) perhaps?

--suresh (any manual on *how* to RTFM available?)

> On Sat 14/07/2001 at 05:34PM +0200, Ralf Hildebrandt wrote:
> > On Sat, Jul 14, 2001 at 10:07:34PM +0700, Efata wrote:
> > > Can Mutt handle random signature like siggi program in window.
> > Yes. Read the FAQ.



Re: MailDir vs. mbox (was: Re: vfolders)

2001-07-14 Thread Tim Legant

On Sun, Jul 15, 2001 at 01:42:03AM +0200, Alexander Skwar wrote:
> So sprach »Walt Mankowski« am 2001-07-13 um 19:04:43 -0400 :
> > Maildirs have some neat advantages of their own.  For example it's
> > very easy to merge two folders together.  I send mail from my laptop,
> 
> Hmm,  dunno, but I find a cat old_mbox >> current_mbox also quite easy.
> Dunno how maildir names the files, but if it's just a semi "random"
> (increasing numbers count like this as well) name,

It's not.

> Okay, I just tested.  Using procmail, I end up with files named like
> this:
> 
> 995153880.17759_1.teich
> 995153880.17760_1.teich
> 995153880.17761_1.teich
> 

Procmail is severely broken in its creation of file names for maildirs.
If procmail correctly followed the specification for maildirs,
duplicates would be impossible.

http://cr.yp.to/proto/maildir.html

> So a simple copy will also create dupes.  No gain here.

No. Only broken procmail creates dupes.

Procmail users should consider using something like 'safecat' to deliver
mail rather than the built-in delivery mechanism.


Tim



Re: Printing in Vim: Solved via Oualline's book

2001-07-14 Thread David Champion

On 2001.07.14, in <[EMAIL PROTECTED]>,
"Brendan Cully" <[EMAIL PROTECTED]> wrote:
> On Saturday, 14 July 2001 at 18:58, David Champion wrote:
> > On 2001.07.14, in <[EMAIL PROTECTED]>,
> > "John P. Verel" <[EMAIL PROTECTED]> wrote:
> > > 
> > > Am I the only one who'd been stymied at how to print from within vim?
> > 
> > Am I the only one who's never wanted to print from inside... hmm, which
> > is more portable: (el|n)?vi(s|m|per), or (el|n)?vi[sm(per)]
> 
> I too have never wanted to print from inside either elviper or
> nvis. From nviper on the other hand...

Leave out one ? and the wolves are all over you :)

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Printing in Vim: Solved via Oualline's book

2001-07-14 Thread Brendan Cully

On Saturday, 14 July 2001 at 18:58, David Champion wrote:
> On 2001.07.14, in <[EMAIL PROTECTED]>,
>   "John P. Verel" <[EMAIL PROTECTED]> wrote:
> > 
> > Am I the only one who'd been stymied at how to print from within vim?
> 
> Am I the only one who's never wanted to print from inside... hmm, which
> is more portable: (el|n)?vi(s|m|per), or (el|n)?vi[sm(per)]

I too have never wanted to print from inside either elviper or
nvis. From nviper on the other hand...



Re: Printing in Vim: Solved via Oualline's book

2001-07-14 Thread David Champion

On 2001.07.14, in <[EMAIL PROTECTED]>,
"John P. Verel" <[EMAIL PROTECTED]> wrote:
> 
> Am I the only one who'd been stymied at how to print from within vim?

Am I the only one who's never wanted to print from inside... hmm, which
is more portable: (el|n)?vi(s|m|per), or (el|n)?vi[sm(per)]

I'm not sure that there's a difference in which standards are required
(extended, at least, and I think that's all), but perhaps one executes
faster than the other?

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: Printing in Vim: Solved via Oualline's book

2001-07-14 Thread Todd A. Gibson

On Sat, Jul 14, 2001 at 07:44:20PM -0400, John P. Verel wrote:
> One thing that Oualline's new Vim book solved for me (dummy me) is how to
> print to a system printer from within vim:
> 
> :w ! lpr
> 
> Works like a charm, especially in visual mode.
> 
> Am I the only one who'd been stymied at how to print from within vim?
> 

I didn't know to do it that way.  I've always used the less
efficient:

:w
:!lpr %

-TAG



Re: mailinglist-filtering

2001-07-14 Thread Alexander Skwar

So sprach »Andre Wyrwa« am 2001-07-14 um 18:07:16 +0200 :
> is there a way of automatic mailinglist-filtering from within mutt?

Dunno, but IMHO procmail is the right kind of tool for this, and not a
MUA.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 12 hours 15 minutes



MailDir vs. mbox (was: Re: vfolders)

2001-07-14 Thread Alexander Skwar

So sprach »Walt Mankowski« am 2001-07-13 um 19:04:43 -0400 :
> Maildirs have some neat advantages of their own.  For example it's
> very easy to merge two folders together.  I send mail from my laptop,

Hmm,  dunno, but I find a cat old_mbox >> current_mbox also quite easy.
Dunno how maildir names the files, but if it's just a semi "random"
(increasing numbers count like this as well) name, than "merging" two
folders will create dupes (just like my cat above does).

Okay, I just tested.  Using procmail, I end up with files named like
this:

995153880.17759_1.teich
995153880.17760_1.teich
995153880.17761_1.teich


So a simple copy will also create dupes.  No gain here.

> All I have to do is periodically scp or rsync everything in
> ~/Mail/sent/cur on my laptop and ISP to ~/Mail/sent/cur on my desktop,
> and suddenly everything is in one place.

Hmm, I have

set   record=`date +${HOME}/Mail/Sent-Mail-%Y-%m`

in my muttrc.  This causes the sent messages to be stored in
Sent-Mail-2001-07 for this month.  So, to sync, just copy the files over
and cat them together.   No big deal.

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 11 hours 59 minutes



Printing in Vim: Solved via Oualline's book

2001-07-14 Thread John P. Verel

One thing that Oualline's new Vim book solved for me (dummy me) is how to
print to a system printer from within vim:

:w ! lpr

Works like a charm, especially in visual mode.

Am I the only one who'd been stymied at how to print from within vim?

-- 
John P. Verel
Norwalk, CT



OT (sort of): New Vim Book

2001-07-14 Thread John P. Verel

There is just out the book, "Vi IMproved -- Vim", by Steve Oualline,
Foreword by Bram Moolenarr, published by New Riders Press, 2001.  It's
pretty fabulous, really.  A lot is familiar from the Vim online help.
This book FAR exceeds the treatment given in O'Reilly's, "Learning the
vi Editor" There is an excellent tutorial section to begin the book,
followed by a through reference section.

I find the illustrations to be a particularly helpful feature.  It's
terrific to have all this on Vim in one printed place.

-- 
John P. Verel
Norwalk, CT



Re: Random Signature

2001-07-14 Thread Efata

Thanks your Reply, but which section number?

On Sat 14/07/2001 at 05:34PM +0200, Ralf Hildebrandt wrote:
> On Sat, Jul 14, 2001 at 10:07:34PM +0700, Efata wrote:
> > Can Mutt handle random signature like siggi program in window.
> 
> Yes. Read the FAQ.
> 
> -- 
> [EMAIL PROTECTED]innominate AG
> Technical Consultant   Don't be afraid of what you see -
> Diplom-Informatiker be afraid of what you don't see!
> tel: +49.(0)7000.POSTFIXfax: +49.(0)30.308806-77



Re: archiving mail folders

2001-07-14 Thread David Champion

On 2001.07.14, in <[EMAIL PROTECTED]>,
"Mark Ferlatte" <[EMAIL PROTECTED]> wrote:
> I use a procmail rule for that:
> 
> :0 c :
> $MAILDIR/Archive/`date +%Y-%m`
> 
> Which copies all incoming mail into a -DD mbox format mailbox, and
> then lets the message continue through any other rules that I have. 

This and other approaches are covered several times in the archive. Look
there for other ideas.

-- 
 -D.[EMAIL PROTECTED]NSITUniversity of Chicago



Re: archiving mail folders

2001-07-14 Thread dan radom

Mark,

That sounds like exactly what i'm looking for.  If I understand you correctly this 
will copy all messages into $MAILDIR/Archives/`date whatever`, and also allows it to 
pass through the remainder of my procmail rules for a match?  I could also modify the 
rule to copy messages to $MAILDIR/Archives/mutt-users--MM, which would be exactly 
what I'm looking for.  Thanks.

Dan

* Mark Ferlatte ([EMAIL PROTECTED]) wrote:
> I use a procmail rule for that:
> 
> :0 c :
> $MAILDIR/Archive/`date +%Y-%m`
> 
> Which copies all incoming mail into a -DD mbox format mailbox, and
> then lets the message continue through any other rules that I have. 
> 
> Works For Me (tm).
> 
> M
> 
> On Sat, Jul 14, 2001 at 08:34:26AM -0600, dan radom wrote:
> > I've got several mbox format mailboxes I want to archive monthly.  I've come up 
>with the following shell script to run from cron, but I'm not sure there isn't a 
>better way to go about this.  Here's the script..
> > 
> > #!/bin/sh
> > maildir=/home/graffix/mail
> > for x in $maildir/lug $maildir/support $maildir/mutt-users $maildir/procmail
> > do tar czfp $x-`date '+%m-%Y'`.tar.gz $x ; cp /dev/null $x
> > done
> > 
> > 
> > My main concern is that mutt might be in the process of writing to a mbox when 
>cron fires off the script.  I'm guessing that could create some problems and possibly 
>even lost email.  Anyone have a better suggestion?
> > 
> > Dan



Re: archiving mail folders

2001-07-14 Thread Mark Ferlatte

I use a procmail rule for that:

:0 c :
$MAILDIR/Archive/`date +%Y-%m`

Which copies all incoming mail into a -DD mbox format mailbox, and
then lets the message continue through any other rules that I have. 

Works For Me (tm).

M

On Sat, Jul 14, 2001 at 08:34:26AM -0600, dan radom wrote:
> I've got several mbox format mailboxes I want to archive monthly.  I've come up with 
>the following shell script to run from cron, but I'm not sure there isn't a better 
>way to go about this.  Here's the script..
> 
>   #!/bin/sh
>   maildir=/home/graffix/mail
>   for x in $maildir/lug $maildir/support $maildir/mutt-users $maildir/procmail
>   do tar czfp $x-`date '+%m-%Y'`.tar.gz $x ; cp /dev/null $x
>   done
> 
> 
> My main concern is that mutt might be in the process of writing to a mbox when cron 
>fires off the script.  I'm guessing that could create some problems and possibly even 
>lost email.  Anyone have a better suggestion?
> 
> Dan



Re: Executing a function when Mutt exits

2001-07-14 Thread teo

Hi Duke!
On Fri, 13 Jul 2001, Duke Normandin wrote:

> 
> Hi...
> 
> I want to run a Bash 'function' automatically upon Mutt exiting. Can this
> be done from my /etc/muttrc file? If not, how about a shell script? TIA..

why don't you just define an alias for mutt command
alias mutt="mutt; do_something.sh"

or something

-- teodor



mailinglist-filtering

2001-07-14 Thread Andre Wyrwa

Hello,

is there a way of automatic mailinglist-filtering from within mutt?

I think of something like an automatic sorting into maildirs when mutt moves read 
mails to the default mbox/maildir.

Perhaps one could define a folder-hook which saves every read message?

Has anybody done something like that?

Thx.
Andre.




Re: Can I use Supercite with mutt?

2001-07-14 Thread Suresh Ramasubramanian

Ravi Rao  [14/07/01 07:40 -0700]:
 
> I rather love the way Supercite works inside Emacs so that you may
> quote a person's Email in a far more human-readable format, than regular ">
> or ":"s do. I was wondering if there existed a configuration for Supercite
> to run specifically over mutt or if there existed an alternative? 

I guess you oughta read this list a little more, Ravi ... this was posted by
Jeff Kinzli some days back -

> The way I do it is with the following in .muttrc:
> macro index $ ':set indent_str="> "^M'
> macro pager  $ ':set indent_str="> "^M'
> macro index % ":set indent_str='"
> macro pager % ":set indent_str='"
> Then, when in the pager or index, I hit "%" and then enter something
> like:
> DT> '

-suresh



Re: Random Signature

2001-07-14 Thread Ralf Hildebrandt

On Sat, Jul 14, 2001 at 10:07:34PM +0700, Efata wrote:
> Can Mutt handle random signature like siggi program in window.

Yes. Read the FAQ.

-- 
[EMAIL PROTECTED]innominate AG
Technical Consultant   Don't be afraid of what you see -
Diplom-Informatiker be afraid of what you don't see!
tel: +49.(0)7000.POSTFIXfax: +49.(0)30.308806-77




Random Signature

2001-07-14 Thread Efata

Can Mutt handle random signature like siggi program in window.
Thanks



archiving mail folders

2001-07-14 Thread dan radom

I've got several mbox format mailboxes I want to archive monthly.  I've come up with 
the following shell script to run from cron, but I'm not sure there isn't a better way 
to go about this.  Here's the script..

#!/bin/sh
maildir=/home/graffix/mail
for x in $maildir/lug $maildir/support $maildir/mutt-users $maildir/procmail
do tar czfp $x-`date '+%m-%Y'`.tar.gz $x ; cp /dev/null $x
done


My main concern is that mutt might be in the process of writing to a mbox when cron 
fires off the script.  I'm guessing that could create some problems and possibly even 
lost email.  Anyone have a better suggestion?

Dan



Can I use Supercite with mutt?

2001-07-14 Thread Ravi Rao

Hi,

While I normally use VM/XEmacs on my powerful desktop workstation
for my Emailing, I also use mutt 1.3.18i *lots* over ssh, as I do mutt 1.2.x
on two separate machines.

I rather love the way Supercite works inside Emacs so that you may
quote a person's Email in a far more human-readable format, than regular ">
or ":"s do. I was wondering if there existed a configuration for Supercite
to run specifically over mutt or if there existed an alternative? 

I still prefer vim/mutt over ssh on remote machines to any other
combination, and VM/XEmacs on desktop ... 

Thanks.

--ravi.

P.S.: Please Cc me on replies, as I cant handle all the traffic on
mutt-users just now ... (and yes, I know procmail, and digests ...)
-- 
 -
| Ravikant K. Rao <[EMAIL PROTECTED]>   <[EMAIL PROTECTED]> |
| Larval geek   http://www.bothan.net/~ravi/F1E7DE29  | 
 -