Re: mutt / resending ?

2002-06-10 Thread Nico Schottelius

Hi David  the rest of the list

David T-G [Fri, Jun 07, 2002 at 07:20:53AM -0500]:
 % Cedric Duval [Sun, Jun 02, 2002 at 12:00:39PM +0200]:
 %  Nico Schottelius wrote:
 %   How can I resend messages from outgoing (Maildir) ?
 %   I had a big problem with the mailserver, it deleted all outgoing mails.,
 %   Now I need to resend about 40 mails, howto do that mostly easy ?
 %  
 %  Just tag all these mails, hit tag-prefix (';') and use the bounce
 %  function ('b').
 [...]
 address, they will *all* go to Bob.

that's surely not what I wanted.

 Since they're in a Maildir, you already have them separated (unlike
 mbox).  It might be easiest to have a little for loop that goes thru the
 dropped mails and re-hands each one INDIVIDUALLY to sendmail.

sounds like the work I did with resending every mail with reediting and
resending them from mutt.

 % Please send your messages pgp-signed or pgp-encrypted.
 
 This may sound odd, coming from me (an always-signer), but why request
 signed *or* encrypted?

don't expect it to be an XOR, but OR ;)

I myself prefer AND.

To clearify this, I will change my signature...

Have a nice day,

Nico

-- 
Please send your messages pgp-signed and pgp-encrypted (don't encrypt mails
to mailing list!). If you don't know what pgp is visit www.gnupg.org.
(public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)



msg28805/pgp0.pgp
Description: PGP signature


From %%F? (was Re: Mutt/Cygwin shortcomings)

2002-06-10 Thread Thomas Baker

On Fri, Jun 07, 2002 at 03:31:39PM +0200, Stefan Friedle wrote:
I use fetchmail to fetch mail from my POP account and use procmail to 
 deliver it to my local maildir (~/Maildir/inbox/).  All with cygwin on 
 Windows NT.  In my .fetchmailrc there is a line:
 
 mda: 'procmail -m D:/home/.procmailrc'

I tried this in my .fetchmailrc (substituting my pathname) but
got a parse error.  After checking the documentation, I tried

mda -m procmail -d %T -m e:/.procmailrc

but that failed with a parse error too.

Invoking procmail with a fetchmail command line argument
(--mta 'procmail -m e:/.procmailrc') _did_ work, but it wrote
out an mbox without From-lines.  After further research, I
tentatively concluded that this was a Procmail problem -- that
Procmail perhaps needed to run in explicit delivery mode.
I discovered that the Unixmail Perl script which hitherto had
functioned (flawlessly) as my MTA was prepending % to my
email address in the From line and that if I did not add
these by hand, Mutt could not parse the messages that had
been delivered From-less by Procmail.

It would appear that the %T and %F are key to both (the
Perl script takes %%F as an argument to generate From
[EMAIL PROTECTED]), but I can only infer what they
mean.  I have searched for documentation of these escapes
in several man pages and cached documentation (fgrep '%F')
but have not yet gotten to the bottom of it.

Can anyone point me in the right direction?  Does Mutt need
to have a %-escaped username or username@domain, and are
the %T and %F escapes a cross-platform (*nix/Win32) way to
get these?

Or am I in the wrong list to pose the question?

Thanks,
Tom

-- 
Dr. Thomas Baker[EMAIL PROTECTED]
Institutszentrum Schloss Birlinghoven  mobile +49-171-408-5784
Fraunhofer-Gesellschaft  work +49-30-8109-9027
53754 Sankt Augustin, Germany fax +49-2241-14-2619



urlview: console vs xterm

2002-06-10 Thread Kevin Coyner


When in console mode, I've got mutt working with urlview to bring up
lynx and display the selected page.  Works fine.

However, when I fire up X and launch mutt in an xterm, and then try to
view a link via urlview, I get nothing.  urlview just continues to
display the harvested links.  I'm trying to get urlview to launch Opera.
Note that I've edited my url_handler.sh (called by /usr/bin/screen) to
include the path to Opera, so that change has already been made.

Any suggestions?

Here's what I have for ~/.mailcap:

# Send html to a running opera by remote
text/html; opera -remote 'openURL(%s)' 

# If I'm not running Opera but am running X, start opera
text/html; opera %s  

# Else If use lynx to view it as text
text/html; lynx %s; nametemplate=%s.html

# Else use lynx to view via Autoview
text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput

# Use enscript to print text in two columns to a page
text/*; more %s; print=enscript -2Gr %s

# Converts images to text using netpbm tools
image/*; (anytopnm %s|pnmscale -xysize 80 46|ppmtopgm|pgmtopbm\
   |pbmtoascii -1x2)21; copiousoutput

# Use gunzip to view tar files
application/x-tar-gz; gunzip -c %s|tar -tf -; copiousoutput


As always, thanks, Kevin

-- 

Kevin Coyner
mailto: [EMAIL PROTECTED]
GnuPG key: 1024D/8CE11941



msg28807/pgp0.pgp
Description: PGP signature


Re: mutt / resending ?

2002-06-10 Thread David T-G

Nico, et al --

...and then Nico Schottelius said...
% 
% Hi David  the rest of the list

Hello!


% 
% David T-G [Fri, Jun 07, 2002 at 07:20:53AM -0500]:
%  % Cedric Duval [Sun, Jun 02, 2002 at 12:00:39PM +0200]:
%  %  Nico Schottelius wrote:
%  %   How can I resend messages from outgoing (Maildir) ?
%  %   I had a big problem with the mailserver, it deleted all outgoing mails.,
%  %   Now I need to resend about 40 mails, howto do that mostly easy ?
%  %  
%  %  Just tag all these mails, hit tag-prefix (';') and use the bounce
%  %  function ('b').
%  [...]
%  address, they will *all* go to Bob.
% 
% that's surely not what I wanted.

Yeah, I imagine not :-)


% 
%  Since they're in a Maildir, you already have them separated (unlike
%  mbox).  It might be easiest to have a little for loop that goes thru the
%  dropped mails and re-hands each one INDIVIDUALLY to sendmail.
% 
% sounds like the work I did with resending every mail with reediting and
% resending them from mutt.

Well, maybe; my procedure would be

  tag all of the mails to resend
  tag-prefix pipe through formail -s sendmail -oem -oi
  get on with other things

:-)


% 
%  % Please send your messages pgp-signed or pgp-encrypted.
%  
%  This may sound odd, coming from me (an always-signer), but why request
%  signed *or* encrypted?
% 
% don't expect it to be an XOR, but OR ;)

Ahhh...


% 
% I myself prefer AND.

Same here (though that cannot-search-encrypted-bodies thing from another
thread still bugs me).


% 
% To clearify this, I will change my signature...
% 
% Have a nice day,

And you!


% 
% Nico
% 
% -- 
% Please send your messages pgp-signed and pgp-encrypted (don't encrypt mails
% to mailing list!). If you don't know what pgp is visit www.gnupg.org.
% (public pgp key: ftp.schottelius.org/pub/familiy/nico/pgp-key)


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28808/pgp0.pgp
Description: PGP signature


Re: From %%F? (was Re: Mutt/Cygwin shortcomings)

2002-06-10 Thread David T-G

Tom --

...and then Thomas Baker said...
% 
...
% Can anyone point me in the right direction?  Does Mutt need
% to have a %-escaped username or username@domain, and are
% the %T and %F escapes a cross-platform (*nix/Win32) way to
% get these?

Ahhh...  That's a good point.  The % is under DOS/Win what the $ is under
a *NIX shell; you write a loop, for instance, as

  for %i in ...

and when you do that in a batch file, where %1 is the first parameter and
so on, you have to

  for %%i in ...

to protect it.  Even though I *think* you've said that this is all within
mutt and not in a pipeline (which I would almost bet a twinkie would get
mucked up), you still might be experiencing some of these problems.


% 
% Or am I in the wrong list to pose the question?

That's quite probable.  Even though this is all about mutt and fetchmail
and such, you may find better expando answers on the cygwin list.
Wouldn't hurt to try.


% 
% Thanks,
% Tom
% 
% -- 
% Dr. Thomas Baker[EMAIL PROTECTED]
% Institutszentrum Schloss Birlinghoven  mobile +49-171-408-5784
% Fraunhofer-Gesellschaft  work +49-30-8109-9027
% 53754 Sankt Augustin, Germany fax +49-2241-14-2619


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28809/pgp0.pgp
Description: PGP signature


Re: 3 quick questions

2002-06-10 Thread darren chamberlain

* Peter Gelbman [EMAIL PROTECTED] [2002-06-08 01:54]:
## Delete messages to the trash can rather than bit-bucket, unless
## we're in the trash folder.
folder-hook .   macro index d save-message=trashenter
folder-hook .   macro pager d save-message=trashenter
folder-hook .   macro pager D delete-message
  
folder-hook trash   macro index d delete-message
folder-hook trash   macro pager d delete-message
  
# When we go into to the trash folder, tag stuff greater than 14
# days old.  Don't mark anything that's already flagged, though.
folder-hook trash  push 'D~r14d!~F\n'

 Thanks for the tip. I've used almost the same setup for a while, but
 yours is cleaner. I'd like to use the push thing but when I go into
 my trash folder it get a:
 
 Key is not bound.  Press '?' for help.
 
 Running
 Running  1.3.28i under Solaris 8
 
 Where can I find out more about the push command to tweak it to my own
 tastes? Thanx

The push command assumes that your bindings are the same as mine.  I've
been meaning to modify it for a while to:

  folder-hook trash push 'delete-pattern~r14d!~Fcr'

Which doesn't assume anything about bindings.

(darren)

-- 
Don't sweat the petty things, and don't pet the sweaty things.



Re: Dealing with top-posters in Mutt/Vim?

2002-06-10 Thread David T-G

Rob, et al --

[Even if Sean sent to @gbnet.net that doesn't mean you should, young man.]

...and then Feztaa said...
% 
% Alas! Sean LeBlanc spake thus:
%  I subscribe to quite a few technical lists. Does anyone know of any way to
%  deal with top-posters? I'm looking for some type of ability to put
...
%  enough not to top-post isn't really bad until it becomes threaded - then it
%  becomes an absolute nightmare - having some sort of macro to correct this
%  would be something that would be very much appreciated. 
% 
% I'm not sure what you would possibly expect from a script. Unless you
% happen to know a scriptint language that has natural-thinking

Nah; it isn't that bad.


% algorithms, there is *no*way* that you can correct TOFU. Your best bet
% is to just make a vim macro that copies all the text from before the
% quote to after the quote.

And how is that not a good start, and a programmatic one at that?

I'm not saying it would be easy, but I don't think it's impossible.
Search for and identify common top-poster attribution lines, back up one
and mark the line, and if there's any text between your attribution line
and that then you must be freshly editing a reply (versus re-editing)
and so cut the mess and jump to the your sig and paste it up one.

Unfortunately, it doesn't *really* solve the problem, since now you
have a huge bottom-post (not necessarily a huge-bottom post, though
coincidence isn't ruled out ;-) and still have to clean it up.

My answer to top-posters is to go to the first of their quoted lines and
delete from there to my sig and then reply in context.  Too bad if they
don't like it :-)  The entire TOFU mentality can, I believe, be summed up
as 1) throw away all but the most recent message (assuming you keep any in
the first place) in the thread, since the entire thread is self-contained,
and 2) if anyone is new s/he will easily be able to read the whole thread
and catch up.  I don't subscribe to either of those viewpoints.


% 
% -- 
% Rob 'Feztaa' Park
% http://members.shaw.ca/feztaa/
% --
% Billy:Mom, you know that vase you said was handed down from
%   generation to generation?
% Mom:  Yes?
% Billy:Well, this generation dropped it.


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28811/pgp0.pgp
Description: PGP signature


Re: GnuPG - verify signatures

2002-06-10 Thread David T-G

Kevin, et al --

...and then Kevin Coyner said...
% 
% On Sun, Jun 09, 2002 at 10:26:26PM -0500, David T-G wrote..
%  
%  ...and then Kevin Coyner said...
%  % 
...
%  % My gut feel is the the line I have in the 'options' file for keyserver
%  % is what the problem is.  
%  
%  Are you using the fresh, new 1.0.7 or something earlier?  If you're at
%  the latest, then you must add
% 
% I'm using the new 1.0.7,

OK.  If you've never used gpg before this then you're probably fine; if
you're upgrading, there are some particular caveats.


% 
%keyserver-options auto-key-retrieve
% 
% I had not added the *keyserver-options auto-key-retrieve* line.  Adding
% it made the whole thing work in a snap!

Funny how reading the docs can make everything right again ;-)


% 
...
%  % Could someone please verify if the keyserver entry and syntax I'm using
%  % is correct, and if not, then suggest a correct version?
%  
%  That looks good, but other possibilities include
% 
% Thanks for the thorough list of keyservers!

Sure thing.  I got tired of hitting dead or empty keyservers and so I
started taking notes every time I saw one mentioned.  I also run

  host -l pgp.net | grep wwwkeys | sed s/^/#/ | sort

every once in a while and throw it onto the end of my file so that I
have a list of all of those, which is a start (and not a bad one, since I
have seen even those in that circle not necessarily in sync with each
other, and I think more than just a day out after a new key is uploaded,
but it's been a long time since I've bothered to take note).


...
% As always, thanks for the tremendous help.

Sure thing!


% Kevin
% 
% -- 
% 
% Kevin Coyner
% mailto: [EMAIL PROTECTED]
% GnuPG key: 1024D/8CE11941


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28812/pgp0.pgp
Description: PGP signature


Re: GnuPG - verify signatures

2002-06-10 Thread David T-G

Aaron --

...and then Aaron Goldblatt said...
% 
%keyserver-options auto-key-retrieve
%  
% When I add this (1.0.7), I get:
%  
% [-- PGP output follows (current time: Mon 10 Jun 2002 02:17:15 AM CDT)
% --]
% gpg: /home/rnbwpnt/.gnupg/options:108: invalid optionncrypted bodies,
% [-- End of PGP output --]

Is auto-key-retrieve on line 108?  What do you have on lines 105-111 of
your options file?  Better to read it into your editor directly instead
of copying, since it looks like you could have a funky character buried
in there...


% 
% ag 


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28813/pgp0.pgp
Description: PGP signature


Re: urlview: console vs xterm

2002-06-10 Thread David T-G

Kevin --

No time to really think about this, but ideas that come up include

- are your lynx sessions happily appearing on the console anyway?
- are you running screen in your xterm already?
- if so, have you hit ctrl-a ctrl-a (by default) to switch windows?
- if you don't have a fallback to lynx you won't get anywhere; opera
  can't run in an xterm or on a console or in a window

and

- why bother with screen under X instead of just firing off opera?

all boiling down to

- you probably need some under X or not? logic in there


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28814/pgp0.pgp
Description: PGP signature


Re: From %%F? (was Re: Mutt/Cygwin shortcomings)

2002-06-10 Thread Thomas Baker

On Mon, Jun 10, 2002 at 06:51:49AM -0500, David T-G wrote:
 % Can anyone point me in the right direction?  Does Mutt need
 % to have a %-escaped username or username@domain, and are
 % the %T and %F escapes a cross-platform (*nix/Win32) way to
 % get these?
 
 Ahhh...  That's a good point.  The % is under DOS/Win what the $ is under
 a *NIX shell; you write a loop, for instance, as

DOS/Win, eh?  Well,that would explain why I couldn't find
any documentation... :-)

   for %i in ...
 
 and when you do that in a batch file, where %1 is the first parameter and
 so on, you have to
 
   for %%i in ...
 
 to protect it.  Even though I *think* you've said that this is all within
 mutt and not in a pipeline (which I would almost bet a twinkie would get
 mucked up), you still might be experiencing some of these problems.

Well, I'm not sure that protecting a parameter with another %
(the DOS/Win equivalent of \$?) is really what's happening
in this case.  Unixmail is set up to get my mail thus:

cd c:/cygwin/unixmail
cat etc/fetchmailrc users/$USERNAME/fetchmailrc | 
bin/fetchmail.exe -f - --nodetach --mda 'perl bin/spoolmail.pl %%F'

where (I think) the %F argument is getting through with an extra %,
so that a Perl command in spoolmail.pl:

# Default header
print SPOOL From $from  . localtime() . \n;

will generate headers such as:

From [EMAIL PROTECTED] Fri Jun  7 13:59:03 2002
From [EMAIL PROTECTED] Fri Jun  7 15:27:22 2002
From [EMAIL PROTECTED] Fri Jun  7 14:27:23 2002
From [EMAIL PROTECTED] Fri Jun  7 14:27:25 2002
From [EMAIL PROTECTED] Fri Jun  7 14:38:17 2002

My Cygwin/Mutt apparently needs that prepended % because
if I generate a From-line without it -- eg, for the mbox
that Procmail wrote which had no From-lines at all -- Mutt
will not recognize that line as a message delimiter.  So %
would seem to be not just a DOS/Win thing, but a Mutt thing??

And the %F and %T parameters are discussed in my version of
the fetchmail man page under Delivery Control Mechanisms,
flag -m/--mda -- though the man does not say what they are,
just that they are potential security risks.

 % Or am I in the wrong list to pose the question?
 
 That's quite probable.  Even though this is all about mutt and fetchmail
 and such, you may find better expando answers on the cygwin list.
 Wouldn't hurt to try.

I have already moved a related question to that list,
but I'm still not clear on whether this % business is
Cygwin-specific??

Thanks,
Tom

-- 
Dr. Thomas Baker[EMAIL PROTECTED]
Institutszentrum Schloss Birlinghoven  mobile +49-171-408-5784
Fraunhofer-Gesellschaft  work +49-30-8109-9027
53754 Sankt Augustin, Germany fax +49-2241-14-2619



Re: GnuPG - verify signatures

2002-06-10 Thread Kevin Coyner



On Mon, Jun 10, 2002 at 07:09:18AM -0500, David T-G wrote..
 Kevin, et al --
 
 % 
 % I'm using the new 1.0.7,
 
 OK.  If you've never used gpg before this then you're probably fine; if
 you're upgrading, there are some particular caveats.


New user.  Can't you tell?  I thought it would be rather obvious.  :-)

 
 % 
 %keyserver-options auto-key-retrieve
 % 
 % I had not added the *keyserver-options auto-key-retrieve* line.  Adding
 % it made the whole thing work in a snap!
 
 Funny how reading the docs can make everything right again ;-)


I've been reading so many docs/info/man's recently that I'm going
cross-eyed. Perhaps that's the problem - read too much and you miss
things!  Information overload.

 
 % 
 ...
 %  % Could someone please verify if the keyserver entry and syntax I'm using
 %  % is correct, and if not, then suggest a correct version?
 %  
 %  That looks good, but other possibilities include
 % 
 % Thanks for the thorough list of keyservers!
 
 Sure thing.  I got tired of hitting dead or empty keyservers and so I
 started taking notes every time I saw one mentioned.  I also run
 
   host -l pgp.net | grep wwwkeys | sed s/^/#/ | sort


I demonstrating more of my inexperience with this question, but the
command above didn't work for me.  I know that host should give me a
list of all machines in the zone pgp.net, and then you'll grep for
wwwkeys and send that to sed (lost here as haven't studied sed yet) and
then sort that result.  But when I run it from the CL, I get zip (no
errors, just the comm. prompt again).  What am I missing?  I checked my
/etc/resolv.conf and my entries there for DNS servers are o.k.


 every once in a while and throw it onto the end of my file so that I
 have a list of all of those, which is a start (and not a bad one, since I
 have seen even those in that circle not necessarily in sync with each
 other, and I think more than just a day out after a new key is uploaded,
 but it's been a long time since I've bothered to take note).


Thanks and HAND back to you.  Kevin




msg28816/pgp0.pgp
Description: PGP signature


How can I save the help screens?

2002-06-10 Thread Russell Hoover

Is there an easy way to save mutt's help
screens to a file, without doing a cut  paste?

-- 
// [EMAIL PROTECTED] //




Re: From %%F? (was Re: Mutt/Cygwin shortcomings)

2002-06-10 Thread David T-G

Tom --

...and then Thomas Baker said...
% 
% On Mon, Jun 10, 2002 at 06:51:49AM -0500, David T-G wrote:
...
%  
%  Ahhh...  That's a good point.  The % is under DOS/Win what the $ is under
%  a *NIX shell; you write a loop, for instance, as
% 
% DOS/Win, eh?  Well,that would explain why I couldn't find
% any documentation... :-)

*grin*


% 
...
%for %%i in ...
%  
%  to protect it.  Even though I *think* you've said that this is all within
%  mutt and not in a pipeline (which I would almost bet a twinkie would get
%  mucked up), you still might be experiencing some of these problems.
% 
% Well, I'm not sure that protecting a parameter with another %
% (the DOS/Win equivalent of \$?) is really what's happening

Right.


...
% will generate headers such as:
% 
%   From [EMAIL PROTECTED] Fri Jun  7 13:59:03 2002
...
% 
% My Cygwin/Mutt apparently needs that prepended % because
% if I generate a From-line without it -- eg, for the mbox
% that Procmail wrote which had no From-lines at all -- Mutt
% will not recognize that line as a message delimiter.  So %
% would seem to be not just a DOS/Win thing, but a Mutt thing??

Hmmm...  That's very odd; mutt definitely doesn't care about % in an mbox
file and I don't think that it's legal in the mbox filespec.  But it
certainly does seem to be after any pipelines.


% 
...
%  and such, you may find better expando answers on the cygwin list.
%  Wouldn't hurt to try.
% 
% I have already moved a related question to that list,
% but I'm still not clear on whether this % business is
% Cygwin-specific??

It almost certainly isn't cygwin-specific, but if it is a DOS/Win thing
then they're probably the most likely place to find answers or at least
valid pointers.

While the %-in-mbox-file thing does make it a bit confusing, that
certainly isn't a mutt or mbox thing and so you might ask, especially
since a %% is apparently becoming a % along the way.


% 
% Thanks,
% Tom

HTH  HAND


:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28818/pgp0.pgp
Description: PGP signature


Re: GnuPG - verify signatures

2002-06-10 Thread David T-G

Kevin --

We're starting to move dangerously near the edge of topic...

...and then Kevin Coyner said...
% 
% On Mon, Jun 10, 2002 at 07:09:18AM -0500, David T-G wrote..
%  
%  % 
%  % I'm using the new 1.0.7,
%  
%  OK.  If you've never used gpg before this then you're probably fine; if
%  you're upgrading, there are some particular caveats.
% 
% New user.  Can't you tell?  I thought it would be rather obvious.  :-)

Well, yeah, but I not only can give the benefit of the doubt but could
also imagine that you might have used gpg under win in your past life :-)


% 
...
%  % it made the whole thing work in a snap!
%  
%  Funny how reading the docs can make everything right again ;-)
% 
% I've been reading so many docs/info/man's recently that I'm going
% cross-eyed. Perhaps that's the problem - read too much and you miss
% things!  Information overload.

Yeah, I know what you mean.


% 
...
%  Sure thing.  I got tired of hitting dead or empty keyservers and so I
%  started taking notes every time I saw one mentioned.  I also run
%  
%host -l pgp.net | grep wwwkeys | sed s/^/#/ | sort
% 
% I demonstrating more of my inexperience with this question, but the
% command above didn't work for me.  I know that host should give me a

Hmmm...


% list of all machines in the zone pgp.net, and then you'll grep for
% wwwkeys and send that to sed (lost here as haven't studied sed yet) and
% then sort that result.  But when I run it from the CL, I get zip (no
% errors, just the comm. prompt again).  What am I missing?  I checked my
% /etc/resolv.conf and my entries there for DNS servers are o.k.

First try the host command.  If that works, try it with grep.  If that
works, try it with sed (which searches for the beginning of each line and
replaces it (not really anything but a marker point) with an octothorpe,
the net result being that it's now a comment instead of a command).
If that works, try it with sort.

If it fails at the first step, I can't help you :-)


% 
...
% 
% Thanks and HAND back to you.  Kevin
% 


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28819/pgp0.pgp
Description: PGP signature


Re: How can I save the help screens?

2002-06-10 Thread John P Verel

On 06/10/02, 08:37:18AM -0400, Russell Hoover wrote:
 Is there an easy way to save mutt's help
 screens to a file, without doing a cut  paste?
Have a look at the manual, section 6.4, Functions.

John




quote_regexp

2002-06-10 Thread Mike Arrison

Howdy Mutters,
  I just want to contribute a little something I figured out.
Nothing earth shattering here, but it might help someone.  Aparently
some people (ahem, no names please) like to use strange characters
to quote people's messages.  So I found the quote_regexp command.  The
default is:

set quote_regexp=^([ \t]*[|:}#])+

That does a pretty good job my allowing any number of tabs or
spaces followed by either pipes, angle brackets (my favorite), colons,
right curly brace or pound, and then that pattern can be repeated ( I
think).  If you want to allow other characters as quotes, stick in the
second brackets, like this one I did:

set quote_regexp=^([ \t]*[%|:}#])+

Maybe this will help someone :)

  -Mike Arrison



Re: GnuPG - verify signatures

2002-06-10 Thread Rocco Rutte

Hi,

* David T-G [02-06-10 15:10:02 +0200] wrote:
 Sure thing.  I got tired of hitting dead or empty
 keyservers and so I started taking notes every time I saw
 one mentioned.  I also run

   host -l pgp.net | grep wwwkeys | sed s/^/#/ | sort

If you like, go with the template options file to get some
more:

,[ ~/.gnupg/options ]-
| [...]
| # Use host -l pgp.net | grep www to figure out a keyserver.
| [...]
`-

(note: '-l' is important, won't work otherwise)

Cheers, Rocco



Re: How can I save the help screens?

2002-06-10 Thread darren chamberlain

* Russell Hoover [EMAIL PROTECTED] [2002-06-10 08:38]:
 Is there an easy way to save mutt's help
 screens to a file, without doing a cut  paste?

I find:

   cat /usr/local/doc/mutt/manual.txt | col -bx

to be the easiest way.  This will dump it to stdout; redirect it to a
file, or lpr, or wherever.

(darren)

-- 
The history of Liberty is a history of the limitation of government
power.
-- Woodrow Wilson



Re: quote_regexp

2002-06-10 Thread Rocco Rutte

Hi,

* Mike Arrison [02-06-10 15:10:14 +0200] wrote:
 I just want to contribute a little something I figured
 out.  Nothing earth shattering here, but it might help
 someone.  Aparently some people (ahem, no names please)
 like to use strange characters to quote people's messages.

You mean David, right? ;-)

 set quote_regexp=^([ \t]*[%|:}#])+

 Maybe this will help someone :)

Sorry, no, it doesn't. I use:

,-
| pdmef@klaus:~$ mutt -Q quote_regexp
| quote_regexp=^([ \t]*(([A-Z]+)?[|:!#%]))+
`-

...which will catch some other ``creative'' quoting styles
(with initials).

Cheers, Rocco



Re: How can I save the help screens?

2002-06-10 Thread Rocco Rutte

Hi,

* darren chamberlain [02-06-10 16:15:05 +0200] wrote:
 * Russell Hoover [EMAIL PROTECTED] [2002-06-10 08:38]:
  Is there an easy way to save mutt's help
  screens to a file, without doing a cut  paste?

cat /usr/local/doc/mutt/manual.txt | col -bx

...but it won't show the current key bindings and your
adjustments are skipped, too.

Cheers, Rocco



Re: How can I save the help screens?

2002-06-10 Thread darren chamberlain

* Rocco Rutte [EMAIL PROTECTED] [2002-06-10 10:20]:
 * darren chamberlain [02-06-10 16:15:05 +0200] wrote:
  * Russell Hoover [EMAIL PROTECTED] [2002-06-10 08:38]:
   Is there an easy way to save mutt's help
   screens to a file, without doing a cut  paste?
 
 cat /usr/local/doc/mutt/manual.txt | col -bx
 
 ...but it won't show the current key bindings and your
 adjustments are skipped, too.

Ah, I misunderstood the question.  Sorry for the useless info...

(darren)

-- 
The Net inteprets censorship as damage and routes around it.
-- John Gilmore



Re: Dealing with top-posters in Mutt/Vim?

2002-06-10 Thread Rocco Rutte

Hi,

* Rob 'Feztaa' Park [02-06-10 15:09:34 +0200] wrote:
 I'm not sure what you would possibly expect from a script.

I think he wants:

 Your best bet is to just make a vim macro that copies all
 the text from before the quote to after the quote.

Right, but that won't solve the problem which is why I don't
repair TOFU by hand. I simply keep TO and kill all the FU.

The problem is that the luser's answer can be be put under
some text, but you won't be able sort it in the context by a
script. And putting the own opinion in the context or in
contrast to another one is what makes something readable.

I once was thinking about an autoresponder in Perl sending
mail to those whose /dev/brain is temporarily out of
order...

Cheers, Rocco



multi line macros?

2002-06-10 Thread Mike Arrison

Hello Mutters,
In a macro, is it possible to have a multi line sequence?  For
instance, I'd when I hit my macro key I want to do about 5 different
things.  This quickly creates a 200 key sequence.  I can't figure out
how to escape the sequence into multiple lines.  Simple backslashes in
the middle of the sequence don't seem to do it.  Any thoughts?

  -Mike Arrison



Re: multi line macros?

2002-06-10 Thread Michael Tatge

Mike Arrison ([EMAIL PROTECTED]) muttered:
 In a macro, is it possible to have a multi line sequence?

Yep.

macro index $somekey \
 set var1; \
  set var 2; \
  set var 3

HTH,

Michael
-- 
If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system.
(By Linus Torvalds)

PGP-Key: http://www-stud.ims.uni-stuttgart.de/~tatgeml/public.key



Re: How can I save the help screens?

2002-06-10 Thread Rocco Rutte

Hi,

* Russell Hoover [02-06-10 15:10:08 +0200] wrote:
 Is there an easy way to save mutt's help screens to a
 file, without doing a cut  paste?

Hmm, I heard a Linux user saying that 'screen' can do a kind
of capture of the screen. For FreeBSD (don't know about
other BSDs), you may use vidcontrol:

  $ vidcontrol -p  /dev/ttyv1 | scr2png  ~/screenshot1

It will produce a png image rather than normal text. You
could dump the help screen to something like:

  http://www.inf.tu-dresden.de/images/~s1118644/images/mutt-news-001.png

...although it won't be searchable. You can do the same
within an xterm, too.

Cheers, Rocco



Re: How can I save the help screens?

2002-06-10 Thread David T-G

Rocco, et al --

...and then Rocco Rutte said...
% 
% Hi,

Hello!


% 
% * Russell Hoover [02-06-10 15:10:08 +0200] wrote:
%  Is there an easy way to save mutt's help screens to a
%  file, without doing a cut  paste?
% 
% Hmm, I heard a Linux user saying that 'screen' can do a kind

Yep.  Assuming the normal keybindings, ctrl-a h will save your window
image to the file hardcopy.NN where NN is your current window number.
The file gets overwritten, so you'd have to move it aside for multiple
pages.

There's also logging, with ctrl-a L, and you could always run script
before starting mutt if you didn't mind wading through to the good stuff.


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28831/pgp0.pgp
Description: PGP signature


Re: How can I save the help screens?

2002-06-10 Thread David T-G

Rocco, et al --

...and then Rocco Rutte said...
% 
% Hi,

Hi again!


% 
% * darren chamberlain [02-06-10 16:15:05 +0200] wrote:
...
% cat /usr/local/doc/mutt/manual.txt | col -bx
% 
% ...but it won't show the current key bindings and your
% adjustments are skipped, too.

True, but unfortunately even looking at the help screens themselves
usually doesn't show the macros that have been defined.  I'd love to see
a detailed help screen that covers every binding and macro in full rather
than just the first tens of characters.  Any ideas?


% 
% Cheers, Rocco


TIA  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28832/pgp0.pgp
Description: PGP signature


Re: multi line macros?

2002-06-10 Thread David T-G

Mike --

...and then Mike Arrison said...
% 
% Hello Mutters,

Hi!


...
% how to escape the sequence into multiple lines.  Simple backslashes in
% the middle of the sequence don't seem to do it.  Any thoughts?

Note that the backslash is to escape the newline, so you have to end the
line with the slash and not have anything, even a blank space, after it.

I haven't tested it, but my recollection is that backslashes work, so
make sure yours are all clean.


% 
%   -Mike Arrison


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28833/pgp0.pgp
Description: PGP signature


Re: How can I save the help screens?

2002-06-10 Thread Bruno Postle

On Mon 10-Jun-2002 at 08:37:18AM -0400, Russell Hoover wrote:
 
 Is there an easy way to save mutt's help screens to a file, without
 doing a cut  paste?

:set pager=vi

Then you can do whatever you like with them.

-- 
Bruno



Re: multi line macros?

2002-06-10 Thread Mike Arrison

Well,

 macro index $somekey \
  set var1; \
   set var 2; \
   set var 3

I tried this:

macro compose 3 edit-from^Umy_alias^M; \
 edit-bcc^Uother_addr^M  Set From to my_alias

and I got a Key is not bound error somewhere after the from part.
That is the from part worked but the bcc part did not.

-Mike



Re: How can I save the help screens?

2002-06-10 Thread David T-G

Bruno, et al --

...and then Bruno Postle said...
% 
% On Mon 10-Jun-2002 at 08:37:18AM -0400, Russell Hoover wrote:
%  
%  Is there an easy way to save mutt's help screens to a file, without
%  doing a cut  paste?
% 
% :set pager=vi
% 
% Then you can do whatever you like with them.

Hey, that's slick, and so utterly simple.  Way cool.

Now to get the long version...


% 
% -- 
% Bruno


Thanks  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28836/pgp0.pgp
Description: PGP signature


Re: maildir vs mbox

2002-06-10 Thread David Champion

* On 2002.06.08, in 20020608212345.GB4832@sumida,
*   Kevin Coyner [EMAIL PROTECTED] wrote:
 
 I don't want to start a religious war, but is there consensus opinion
 as to whether mbox or Maildir is better?  I know mutt supports both
 automatically, so it's probably a bit of a mute question, but mutt
 also gives you the option of specifying which format new folders are
 set up in, so I thought I'd ask.

There's no consensus, and there's no right answer. It depends on your
needs and perhaps on some characteristics of your OS.

I think most people have agreed that mbox is probably best for large
archival material, where new messages are not appended. At some variable
point, mbox can theoretically perform much better than maildir or mh
folders, because of the decreased number of directory hits. But it also
requires more reads, which means more data processing, so where this
point lies along the spectrum depends on the ratio of your filesystem
performance to your read rate and your CPU and memory speeds. But in any
case, a common observation with maildirs is that it becomes noticeably
slower when you stretch into many thousands of messages.

Maildirs will always be faster for appending messages, I expect, and
they're lock-safe. MH folders won't perform as well as maildirs, and
though they might once have been (and might still be) more portable,
they're losing that ground.

Mbox (UNIX(tm) v7 format) remains most standard. With that standard
comes less flexibility, less performance and a larger history of
trouble. :) But it's highly portable -- you can even FTP mbox files to
some PC and Mac mail readers and import the folders locally.

I use mbox, because the way I've arranged my mail folders doesn't
require high performance inside my mailer, and I generally favor
portability over other features. Besides, I have 12 years' worth of mbox
files in various archival media, and I simply refuse to convert them to
another format without also sorting and arranging and organizing, and I
haven't found time to do that yet. YM, as always, MV.

If you're just getting started and you're completely unconvinced of
advantages, I'd suggest going with whatever the common tools on your
system support. If you're on a straight-laced UNIX system, use mbox. If
you're on some new-fangled thing like BSD or Linux, you might rather
give maildir a try. It's probably been demonstrated to have a future by
this time, so it's probably safe for long-term use.

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



Re: multi line macros?

2002-06-10 Thread Mike Arrison

On Mon, Jun 10, 2002 at 10:35:26AM -0500, David T-G wrote:
 Note that the backslash is to escape the newline, so you have to end the
 line with the slash and not have anything, even a blank space, after it.

My lines are clean, backslash terminated.  Next suggestion?
See above post for actual lines.

-Mike Arrison



Re: multi line macros?

2002-06-10 Thread Nicolas Rachinsky

* Mike Arrison [EMAIL PROTECTED] [2002-06-10 11:40 -0400]:
 Well,
 
  macro index $somekey \
   set var1; \
set var 2; \
set var 3
 
 I tried this:
 
 macro compose 3 edit-from^Umy_alias^M; \
  edit-bcc^Uother_addr^M  Set From to my_alias

I would try it without the leading whitespace in the second line.

Nicolas



Re: multi line macros?

2002-06-10 Thread Mike Arrison

On Mon, Jun 10, 2002 at 06:18:42PM +0200, Nicolas Rachinsky wrote:
  macro compose 3 edit-from^Umy_alias^M; \
   edit-bcc^Uother_addr^M  Set From to my_alias
 
 I would try it without the leading whitespace in the second line.

Good thought.  No dice.

-Mike



Re: multi line macros?

2002-06-10 Thread Nicolas Rachinsky

* Mike Arrison [EMAIL PROTECTED] [2002-06-10 11:40 -0400]:
 I tried this:
 
 macro compose 3 edit-from^Umy_alias^M; \
  edit-bcc^Uother_addr^M  Set From to my_alias

Why is there a ';', I don't think you need it. Try it without the ';'
and remove all unneccessary whitespace (the leading in the second
line, and the whitespace before the '\').

Have you a working one-line version? Take this and add just an '\'
immediatly followed by a newline.

Nicolas



Re: How can I save the help screens?

2002-06-10 Thread Rocco Rutte

Hi,

* David T-G [02-06-10 18:29:35 +0200] wrote:
 ...and then Rocco Rutte said...
 % * darren chamberlain [02-06-10 16:15:05 +0200] wrote:

 ...

 % cat /usr/local/doc/mutt/manual.txt | col -bx
 % 
 % ...but it won't show the current key bindings and your
 % adjustments are skipped, too.

 True, but unfortunately even looking at the help screens
 themselves usually doesn't show the macros that have been
 defined.

Huh?

 I'd love to see a detailed help screen that covers every
 binding and macro in full rather than just the first tens
 of characters.  Any ideas?

Here it shows all available bindings within the menu I
called help from. But the full macro substitution is
truncated, right. Some more intelligent output routine 
would be nice since lots of space is wasted in the first
column. Or, maybe even a $help_format? That would be k3wl.

Cheers, Rocco



Re: multi line macros? - Solution

2002-06-10 Thread Mike Arrison

On Mon, Jun 10, 2002 at 06:44:28PM +0200, Nicolas Rachinsky wrote:
  macro compose 3 edit-from^Umy_alias^M; \
   edit-bcc^Uother_addr^M  Set From to my_alias
 
 Why is there a ';', I don't think you need it. Try it without the ';'
 and remove all unneccessary whitespace (the leading in the second
 line, and the whitespace before the '\').

Aha!  Eureka.  The semicolon is allowed, but all whitespace is not.
When I removed the white space from before the second edit, and removed
it after the semi, AND removed it after the final ^M... it worked :)

Moral: Whitespace is bad.

-Mike Arrison




Re: OT: Making Mutt: log files

2002-06-10 Thread David Champion

* On 2002.06.09, in 20020609113937.A15126@Verdi,
*   John P Verel [EMAIL PROTECTED] wrote:
 I'm getting set to do my first non-rpm install of mutt and therefore my
 first usage of make.
 
 Looking at Sven's Installation Examples, I see outputted logs showing
 the results of configure, make and make install.  Am I correct to
 assuming that these are generated automatically?

You can redirect commands individually, as people have shown. But to
easily log the whole thing, I'd recommend script:

shell-prompt$ script mutt.log
Script started, file is mutt.log
sh$ ./configure --whatever
sh$ make
sh$ make install
sh$ exit
shell-prompt$ ls mutt.log
mutt.log

Script starts a new shell. Anything on the stdout or stderr in that
shell gets duplicated to the log file. You exit to terminate the log.

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



Re: How can I save the help screens?

2002-06-10 Thread David T-G

Rocco, et al --

...and then Rocco Rutte said...
% 
% Hi,

Hello!


% 
% * David T-G [02-06-10 18:29:35 +0200] wrote:
...
%  True, but unfortunately even looking at the help screens
%  themselves usually doesn't show the macros that have been
%  defined.
% 
% Huh?

My fault for not speaking clearly.  See the next 'graph.


% 
%  I'd love to see a detailed help screen that covers every
%  binding and macro in full rather than just the first tens
%  of characters.  Any ideas?
% 
% Here it shows all available bindings within the menu I
% called help from. But the full macro substitution is
% truncated, right. Some more intelligent output routine 

Exactly.


% would be nice since lots of space is wasted in the first
% column. Or, maybe even a $help_format? That would be k3wl.

Way, D00D.  It would have to handle printing macros across multiple
lines, though; many are longer than 80 chars which certainly a realistic
upper bound.

Here's hoping ;-)


% 
% Cheers, Rocco


HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28845/pgp0.pgp
Description: PGP signature


Re: multi line macros? - Solution

2002-06-10 Thread David Champion

* On 2002.06.10, in [EMAIL PROTECTED],
*   Mike Arrison [EMAIL PROTECTED] wrote:
 On Mon, Jun 10, 2002 at 06:44:28PM +0200, Nicolas Rachinsky wrote:
   macro compose 3 edit-from^Umy_alias^M; \
edit-bcc^Uother_addr^M  Set From to my_alias
  
  Why is there a ';', I don't think you need it. Try it without the ';'
  and remove all unneccessary whitespace (the leading in the second
  line, and the whitespace before the '\').
 
 Aha!  Eureka.  The semicolon is allowed, but all whitespace is not.

It's probably allowed because it's the default binding for tag-prefix.
You don't need anything to separate keystrokes; the commands just know
how many strokes are theirs.

I suggest using kill-line rather than ^U and enter rather than
^M. These are binding-independent; if you change your bindings, or
need to post a macro to a list, they'll work again this way.


Another approach is to split them into submacros:
macro compose esc_3a edit-fromkill-linemy_aliasenter
macro compose esc_3b edit-bcckill-lineother_addrenter
macro compose esc_3c ...something else...
macro compose 3 esc_3aesc_3besc_3c Set From to my_alias

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



Making 1.4: Error messages

2002-06-10 Thread John P Verel

Made Mutt 1.4 today.  I'm getting the following errors:

Error in /home/john/.muttrc, line 359: thread: unknown sorting method

This refers to a line which reads:

set sort=thread (Works fine in 1.2)

Second problem:

When I press F1, I get key not bound error.

Third thing:

In make intall log I get:

if test -f /home/john/mutt1.4/bin/mutt_dotlock  test xmail != x ; then
\
chgrp mail /home/john/mutt1.4/bin/mutt_dotlock  \
chmod 2755 /home/john/mutt1.4/bin/mutt_dotlock || \
{ echo Can't fix mutt_dotlock's permissions! 2 ; exit 1 ; }
\
fi
chgrp: changing group of `/home/john/mutt1.4/bin/mutt_dotlock':
Operation not permitted
Can't fix mutt_dotlock's permissions!
make[2]: *** [install-exec-local] Error 1

Is this important?

John



Re: Making 1.4: Error messages

2002-06-10 Thread David T-G

John --

...and then John P Verel said...
% 
% Made Mutt 1.4 today.  I'm getting the following errors:
% 
% Error in /home/john/.muttrc, line 359: thread: unknown sorting method
...
% set sort=thread (Works fine in 1.2)

Don't know why it did, but it should be pluralized.


% 
% Second problem:
% 
% When I press F1, I get key not bound error.

Do you have the F1 binding in the system muttrc, or perhaps in yours?
It's in the system muttrc by default.  What do you see when you hit ? to
look at your current bindings?  Is it there at all?


% 
% Third thing:
% 
% In make intall log I get:
% 
% if test -f /home/john/mutt1.4/bin/mutt_dotlock  test xmail != x ; then
% \
% chgrp mail /home/john/mutt1.4/bin/mutt_dotlock  \
% chmod 2755 /home/john/mutt1.4/bin/mutt_dotlock || \
% { echo Can't fix mutt_dotlock's permissions! 2 ; exit 1 ; }
% \
% fi
% chgrp: changing group of `/home/john/mutt1.4/bin/mutt_dotlock':
% Operation not permitted
% Can't fix mutt_dotlock's permissions!
% make[2]: *** [install-exec-local] Error 1
% 
% Is this important?

It just means you're installing as you instead of root but that you built
mutt to expect to find a mutt_dotlock to do locking for it.  If you have
an old mutt_dotlock on the system then I would say it's no biggie EXCEPT
that recently someone else posted that mutt compiles in the location of
mutt_dotlock instead of searching your path, so in the worst case you
might have to symlink your mutt_dotlock to the system one with the proper
perms.  Only testing will tell if you really need it.  If your mail is
not in /var/*/mail where only mail can create files then you don't even
need special perms (well, assuming that you can always write in your own
dirs, anyway).


% 
% John


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28848/pgp0.pgp
Description: PGP signature


Re: How can I save the help screens?

2002-06-10 Thread Rocco Rutte

Hi,

* David T-G [02-06-10 19:28:41 +0200] wrote:
 ...and then Rocco Rutte said...

 % Or, maybe even a $help_format? That would be k3wl.

 Way, D00D.  It would have to handle printing macros across
 multiple lines, though;

Well, you could print the first characters (as it is now).
The user's description would have to be enough to identify a
macro. If you're still not sure, some mechanism to make mutt
display the complete call would be nice. It's IMHO not a
good idea to completely show *every* available macro in its
full and long beauty...

Cheers, Rocco



Re: 3 quick questions

2002-06-10 Thread Peter Gelbman

On Mon, Jun 10, 2002 at 07:53:26AM -0400, darren chamberlain wrote:
 * Peter Gelbman [EMAIL PROTECTED] [2002-06-08 01:54]:
 ## Delete messages to the trash can rather than bit-bucket, unless
 ## we're in the trash folder.
 folder-hook .   macro index d save-message=trashenter
 folder-hook .   macro pager d save-message=trashenter
 folder-hook .   macro pager D delete-message
   
 folder-hook trash   macro index d delete-message
 folder-hook trash   macro pager d delete-message
   
 # When we go into to the trash folder, tag stuff greater than 14
 # days old.  Don't mark anything that's already flagged, though.
 folder-hook trash  push 'D~r14d!~F\n'
 
  Thanks for the tip. I've used almost the same setup for a while, but
  yours is cleaner. I'd like to use the push thing but when I go into
  my trash folder it get a:
  
  Key is not bound.  Press '?' for help.
  
  Running
  Running  1.3.28i under Solaris 8
  
  Where can I find out more about the push command to tweak it to my own
  tastes? Thanx
 
 The push command assumes that your bindings are the same as mine.  I've
 been meaning to modify it for a while to:
 
   folder-hook trash push 'delete-pattern~r14d!~Fcr'
 
 Which doesn't assume anything about bindings.

Actually I was using the same binding, but this generic one is better.
The problem was that that I seem to need to use enter instead of cr.
Dunno why. Actually I prefer to be interactively asked b4 nuking the
marked messages upon entering the trash folder, so I am just leaving the
enter off.  Thanks again



Re: Making 1.4: Error messages

2002-06-10 Thread John P Verel

On 06/10/02, 12:44:57PM -0500, David T-G wrote:
 
 Don't know why it did, but it should be pluralized.
Pluralized it and it's fixed :)
 % % Second problem: % % When I press F1, I get key not bound error.
 
 Do you have the F1 binding in the system muttrc, or perhaps in yours?
 It's in the system muttrc by default.  What do you see when you hit ?
 to look at your current bindings?  Is it there at all?

The 1.2.5 version is in /etc, the 1.4 version is in the source for 1.4.
Where should the new one live?
 
 
 % % Third thing: % % In make intall log I get: % % if test -f
 /home/john/mutt1.4/bin/mutt_dotlock  test xmail != x ; then % \ %
 chgrp mail /home/john/mutt1.4/bin/mutt_dotlock  \ % chmod
 2755 /home/john/mutt1.4/bin/mutt_dotlock || \ % { echo Can't
 fix mutt_dotlock's permissions! 2 ; exit 1 ; } % \ % fi % chgrp:
 changing group of `/home/john/mutt1.4/bin/mutt_dotlock': % Operation
 not permitted % Can't fix mutt_dotlock's permissions!  % make[2]: ***
 [install-exec-local] Error 1 % % Is this important?
 
 It just means you're installing as you instead of root but that you
 built mutt to expect to find a mutt_dotlock to do locking for it.  If
 you have an old mutt_dotlock on the system then I would say it's no
 biggie EXCEPT that recently someone else posted that mutt compiles in
 the location of mutt_dotlock instead of searching your path, so in the
 worst case you might have to symlink your mutt_dotlock to the system
 one with the proper perms.  Only testing will tell if you really need
 it.  If your mail is not in /var/*/mail where only mail can create
 files then you don't even need special perms (well, assuming that you
 can always write in your own dirs, anyway).

My mail comes via fetchmail from my ISP's POP server.

If I look at the configuration options for 1.2.5, I see -USE_DOTLOCK.
These settings came via the rpm from Red Hat.  1.4 shows +USE_SETGID and
+USE_DOTLOCK, plus +DL_STANDALONE.  Could these setting be sources of
the problem?
 




Re: Making 1.4: Error messages

2002-06-10 Thread John P Verel

On 06/10/02, 02:25:28PM -0400, John P Verel wrote:
 
 The 1.2.5 version is in /etc, the 1.4 version is in the source for 1.4.
 Where should the new one live?
Fixed it.  Mutt set up SYSCONFDIR as /home/john/mutt1.4/etc  However, it
did not copy my Muttrc to it, nor change the path to the manual in the
macro. I did and it's fixed.




Re: Making 1.4: Error messages

2002-06-10 Thread David T-G

John, et al --

...and then John P Verel said...
% 
% On 06/10/02, 12:44:57PM -0500, David T-G wrote:
%  
%  Don't know why it did, but it should be pluralized.
% Pluralized it and it's fixed :)

Good :-)


%  % % Second problem: % % When I press F1, I get key not bound error.
%  
%  Do you have the F1 binding in the system muttrc, or perhaps in yours?
%  It's in the system muttrc by default.  What do you see when you hit ?
%  to look at your current bindings?  Is it there at all?
% 
% The 1.2.5 version is in /etc, the 1.4 version is in the source for 1.4.
% Where should the new one live?

You won't be able to write in /etc 'cuz you're not root, so under your
home tree (--prefix=...) is good.


%  
%  % % Third thing: % % In make intall log I get: % % if test -f
You really shouldn't reformat other people's paragraphs :-)


...
%  it.  If your mail is not in /var/*/mail where only mail can create
%  files then you don't even need special perms (well, assuming that you
%  can always write in your own dirs, anyway).
% 
% My mail comes via fetchmail from my ISP's POP server.

I imagine it goes into your home dir somewhere, then, but it could go
into the system mail spool.  What does

  :set ?spoolfile

in mutt tell you?


% 
% If I look at the configuration options for 1.2.5, I see -USE_DOTLOCK.
% These settings came via the rpm from Red Hat.  1.4 shows +USE_SETGID and
% +USE_DOTLOCK, plus +DL_STANDALONE.  Could these setting be sources of
% the problem?

Well, it's just a difference rather than a problem.  If you turned off
USE_DOTLOCK you wouldn't have to worry about installing the dotlock
program but you'd then have to be sure that other locking worked.


...and then John P Verel said...
% 
% On 06/10/02, 02:25:28PM -0400, John P Verel wrote:
%  
%  The 1.2.5 version is in /etc, the 1.4 version is in the source for 1.4.
%  Where should the new one live?
% Fixed it.  Mutt set up SYSCONFDIR as /home/john/mutt1.4/etc  However, it

Right.


% did not copy my Muttrc to it, nor change the path to the manual in the

Now *that* is interesting; I am almost certain it should have done the
copy.  You did finish up with a make install, right?


% macro. I did and it's fixed.

Yeah, it won't change that.  Someone should probably file a flea but,
well, one of these days...


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28853/pgp0.pgp
Description: PGP signature


Re: Making 1.4: Error messages

2002-06-10 Thread John P Verel

On 06/10/02, 01:46:21PM -0500, David T-G wrote:
 
 % My mail comes via fetchmail from my ISP's POP server.
 
 I imagine it goes into your home dir somewhere, then, but it could go
 into the system mail spool.  What does
 
   :set ?spoolfile
 
 in mutt tell you?
 
Says unknow option -- which seems consistent with configuration option
-HOMESPOOL.  FWIW, this is a stand alone machine, hooked to a cable
mode, poping mail using fetchmail.
 
 % 
 % If I look at the configuration options for 1.2.5, I see -USE_DOTLOCK.
 % These settings came via the rpm from Red Hat.  1.4 shows +USE_SETGID and
 % +USE_DOTLOCK, plus +DL_STANDALONE.  Could these setting be sources of
 % the problem?
 
 Well, it's just a difference rather than a problem.  If you turned off
 USE_DOTLOCK you wouldn't have to worry about installing the dotlock
 program but you'd then have to be sure that other locking worked.

Doesn't procmail (used here) take care of locking?

 % Fixed it.  Mutt set up SYSCONFDIR as /home/john/mutt1.4/etc
 However, it
 
 Right.
 
 
 % did not copy my Muttrc to it, nor change the path to the manual in
 % the F1 macro.
 
 Now *that* is interesting; I am almost certain it should have done the
 copy.  You did finish up with a make install, right?
Yep.

John




Re: Making 1.4: Error messages

2002-06-10 Thread David T-G

John --

...and then John P Verel said...
% 
% On 06/10/02, 01:46:21PM -0500, David T-G wrote:
%  
...
%:set ?spoolfile
%  
%  in mutt tell you?
%  
% Says unknow option -- which seems consistent with configuration option

Now *that* is odd.  Do you not set spoolfile in your muttrc?  What if
you try to change folders to ! (that's the folder name); does it work?


% -HOMESPOOL.  FWIW, this is a stand alone machine, hooked to a cable

That tells me that your mail should be found in /var/*/mail rather than
in your home dir, so you probably *do* need a mutt_dotlock with mail
group perms to do dotlocking -- though, again, your system one might be
found and do the job.


% mode, poping mail using fetchmail.

Still, I've never seen a setup that doesn't have a spoolfile :-)


%  
...
%  Well, it's just a difference rather than a problem.  If you turned off
%  USE_DOTLOCK you wouldn't have to worry about installing the dotlock
%  program but you'd then have to be sure that other locking worked.
% 
% Doesn't procmail (used here) take care of locking?

Not when you're saving a message to another folder; mutt has to lock a
mailbox when it writes to it or cleans it.


% 
...
%  
%  Now *that* is interesting; I am almost certain it should have done the
%  copy.  You did finish up with a make install, right?
% Yep.

Interesting...


% 
% John


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28855/pgp0.pgp
Description: PGP signature


Re: Making 1.4: Error messages

2002-06-10 Thread David T-G

John --

...and then John P Verel said...
% 
% On 06/10/02, 02:24:34PM -0500, David T-G wrote:
%  
%  % -HOMESPOOL.  FWIW, this is a stand alone machine, hooked to a cable
%  
%  That tells me that your mail should be found in /var/*/mail rather than
...
% Procmail delivers my mail to /home/john/Mail, as default mailbox.  Most,
% of course, gets filtered into various mbox files by procmail.

Then you must set spoolfile somewhere in your muttrc in order for mutt to
be able to find ! when you start up, because -HOMESPOOL says that your
mail is found under /var.  That makes the unknown variable all that
more peculiar.

Well, we've figured out the answers to your original questions; we should
probably let this thread die :-)


% 
% John


HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28857/pgp0.pgp
Description: PGP signature


Re: Making 1.4: Error messages

2002-06-10 Thread John P Verel

On 06/10/02, 03:27:18PM -0500, David T-G wrote:
 Then you must set spoolfile somewhere in your muttrc in order for mutt to
 be able to find ! when you start up, because -HOMESPOOL says that your
 mail is found under /var.  That makes the unknown variable all that
 more peculiar.
My ~/.muttrc says:
set spoolfile='~/Mail/mbox'
 
 Well, we've figured out the answers to your original questions; we should
 probably let this thread die :-)

Morte ! ;)



1.4 Snappier than 1.2.5?

2002-06-10 Thread John P Verel

This may just be me, but it seems to me that 1.4 is considerably
snappier than 1.2.5 was.  It's about 50K larger, and this is compiled
on this particular machine, versus rpm installed.

Does this make sense?  Have others noticed this?

John



Re: 1.4 Snappier than 1.2.5?

2002-06-10 Thread David T-G

John --

...and then John P Verel said...
% 
% This may just be me, but it seems to me that 1.4 is considerably
% snappier than 1.2.5 was.  It's about 50K larger, and this is compiled
% on this particular machine, versus rpm installed.

Who knows; it might still stand some stripping and get even smaller :-)


% 
% Does this make sense?  Have others noticed this?

I haven't noticed it specifically, but that's because I stuck with the
1.3 tree for quite a while; I haven't used 1.2.5 in a long time.

I know that a lot of improvements have been made, so I'm not at all
surprised.


% 
% John


Enjoy  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28860/pgp0.pgp
Description: PGP signature


Re: 1.4 Snappier than 1.2.5?

2002-06-10 Thread John P Verel

On 06/10/02, 05:39:00PM -0500, David T-G wrote:
 John --
 
 ...and then John P Verel said...
 % 
 % This may just be me, but it seems to me that 1.4 is considerably
 % snappier than 1.2.5 was.  It's about 50K larger, and this is compiled
 % on this particular machine, versus rpm installed.
 
 Who knows; it might still stand some stripping and get even smaller :-)
 
This puppy's already been stripped, per Sven.
 
 % 
 % Does this make sense?  Have others noticed this?
 
 I haven't noticed it specifically, but that's because I stuck with the
 1.3 tree for quite a while; I haven't used 1.2.5 in a long time.
 
 I know that a lot of improvements have been made, so I'm not at all
 surprised.
 
 
 % 
 % John
 
 
 Enjoy  HAND
 
 :-D
 -- 
 David T-G  * It's easier to fight for one's principles
 (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
 (work) [EMAIL PROTECTED]
 http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
 





solved: viewing in-line text/html with mutt and lynx

2002-06-10 Thread Dave Price

ok,

I finally got it working right.  I am using mutt and 
lynx Version 2.8.1rel.2 

In ~/.muttrc I put:

auto_view text/html text/enriched

and I made a ~/.mailcap with:

text/html;/usr/bin/lynx -dump -force_html %s ;copiousoutput

My lynx likes -dump, not --dump and the -force_html deals with the case
where the attachment filename is not .html, without it I got raw
(uninterpreted) html.

Now I get the attachments all nicely laid out with bold lines in between
indicating the command line used to view them - sweet.

(I like mutt _even_more_ now)

aloha,
dave





Re: solved: viewing in-line text/html with mutt and lynx

2002-06-10 Thread David T-G

Dave --

...and then Dave Price said...
% 
% ok,
% 
% I finally got it working right.  I am using mutt and 
% lynx Version 2.8.1rel.2 

Yay!  Glad to hear it.


% 
% In ~/.muttrc I put:
% 
% auto_view text/html text/enriched
% 
% and I made a ~/.mailcap with:
% 
% text/html;/usr/bin/lynx -dump -force_html %s ;copiousoutput
% 
% My lynx likes -dump, not --dump and the -force_html deals with the case
% where the attachment filename is not .html, without it I got raw
% (uninterpreted) html.

In case it's helpful another time, the template option will let you
specify how %s should be written (in this case %s.html) so that you don't
have to get mean to your browser :-)


% 
% Now I get the attachments all nicely laid out with bold lines in between
% indicating the command line used to view them - sweet.
% 
% (I like mutt _even_more_ now)

Ain't it great? :-)


% 
% aloha,
% dave
% 


HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28863/pgp0.pgp
Description: PGP signature


[dan@hld.ca: Re: [oclug] GPG and mutt]

2002-06-10 Thread Brenda J. Butler



I asked this on a local linux user list, and was advised
that perhaps mutt-users would be a better place to
ask it.  So, here's my question:

On Sun, Jun 09, 2002 at 08:30:40PM -0400, Brenda J. Butler wrote:
 
 I'm trying to use GPG via mutt, and I find there is an annoying
 two-second wait every time I hit a signed message in the index
 while GPG verifies if the signature is ok.  I'd like to turn off
 automatic verification, but I can't find the command to verify
 the signature on demand.  Is there one?
 
 I'm not keen on setting pgp_verify_sig to ask-yes or ask-no,
 that's not much more efficient than just waiting 2 seconds
 for the check to be done.
 
 There is a command to verify the old-style PGP signature, I want
 a user-initiated command to verify if the GPG signature is ok.
 
 TIA.

I'm running mutt version 1.3.27i (2002-01-22) and gpg version 1.0.6,
both part of Debian 3.0 unofficial (cd made in March).

-- 
bjb at achilles dot net
Welcome to the GNU age!   http://www.gnu.org




Re: [dan@hld.ca: Re: [oclug] GPG and mutt]

2002-06-10 Thread Rob Reid

At  9:26 PM EDT on June 10 Brenda J. Butler sent off:
 I'm trying to use GPG via mutt, and I find there is an annoying two-second
 wait every time I hit a signed message in the index while GPG verifies if the
 signature is ok.  I'd like to turn off automatic verification, but I can't
 find the command to verify the signature on demand.  Is there one?
 
 I'm not keen on setting pgp_verify_sig to ask-yes or ask-no, that's not much
 more efficient than just waiting 2 seconds for the check to be done.
 
 There is a command to verify the old-style PGP signature, I want a
 user-initiated command to verify if the GPG signature is ok.

Put something this in your .muttrc (or the keybinding file if you've split it
up):

# Check a signature.  Thanks to David Champion [EMAIL PROTECTED]
macro index \Cv enter-commandset 
pgp_verify_sig=yesenterdisplay-messageenter-commandset pgp_verify_sig=noenter 
Verify PGP signature
macro pager \Cv ienter-commandset 
pgp_verify_sig=yesenterdisplay-messageenter-commandset pgp_verify_sig=noenter 
Verify PGP signature

Then control-v will do what you want once you source the bindings.

-- 
Can vegetarians eat animal crackers?  - Jack Handey (Yes - R.R.)
Robert I. Reid [EMAIL PROTECTED] http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Diff between 'd' and 'D~A'?

2002-06-10 Thread Ken Weingold

I have new mail colored brightcyan.  Deleted is red.  If I hit 'd' to
delete mail, it turns red.  If I delete the pattern ~N, they stay
blue, but are marked as deleted.  What's the difference here?


-Ken



Re: Diff between 'd' and 'D~A'?

2002-06-10 Thread John Iverson

* On Tue, 11 Jun 2002, Ken Weingold wrote:

 I have new mail colored brightcyan.  Deleted is red.  If I hit
 'd' to delete mail, it turns red.  If I delete the pattern ~N,
 they stay blue,

You mean brightcyan?

 but are marked as deleted.  What's the difference here?

Order seems to be significant with the color index commands.
Put the ~D coloring command _after_ the ~N one if you want the ~D
coloring to take precedence:

   color index ... ... ~N
   color index ... ... ~D

-- 
John



Re: Diff between 'd' and 'D~A'?

2002-06-10 Thread Rocco Rutte

Hi,

* Ken Weingold [02-06-11 07:39:15 +0200] wrote:
 I have new mail colored brightcyan.  Deleted is red.  If I
 hit 'd' to delete mail, it turns red.  If I delete the
 pattern ~N, they stay blue, but are marked as deleted.
 What's the difference here?

The order of your color statements is important in this
case. If you have placed the definition of New before that
for Deleted than the New one wins. New and Deleted do not
interfere with each other which means that a mail can be
deleted and still is marked new (and so the color for New
applies first and mutt aborts searching for color
statements).

If you have the Deleted statement before the New one it
should do.

Cheers, Rocco