Re: Emacs question

2002-08-14 Thread Charles Curley

On Tue, Aug 13, 2002 at 05:18:36PM -0700, Andy Davidson muttered:
 On Tue, Aug 13, 2002 at 03:33:51PM -0700, Sam Peterson wrote:
  Does Emacs say anything when it starts up?  Something to the effect of
  Symbol's value as function is void? 
 
 Nope. No error messages at all.

To determine if you got an error message, go to (C-x b) *Messages*,
and search for it. You may need to expand the size of your message
buffer. To do that, customize message-log-max.



-- 

Charles Curley  /\ASCII Ribbon Campaign
Looking for fine software   \ /Respect for open standards
and/or writing?  X No HTML/RTF in email
http://w3.trib.com/~ccurley / \No M$ Word docs in email



msg30260/pgp0.pgp
Description: PGP signature


[Slightly OT] Arrgggg! Data Recovery!

2002-06-11 Thread Charles Curley

I just made a major OOPS: I went to delete an old copy of my ~/Mail
directory and accidentally deleted the working copy instead. OOPS!

I was able to recover from tape to the last backup, as of mid-May. I
have since turned on fetchmail, so I will have recent messages in
my files by the time you respond.

Now my query:

I have a duplicate mail setup on my laptop, procmail  all. I was on a
trip from the time of the last backup of my desktop until recently,
and all that mail is sitting on the laptop, neatly procmailed, etc.

Is there a (fairly) painless way to get the mail from the laptop onto
the desktop?

Can I simply append files (e.g. cat /mnt/nfs/laptop/mutt  mutt). If I do
this, will mutt or any other software get confused because some of the
messages are out of date order by almost a month?

Is there a way to use procmail? Other tools?

Thanks!

-- 

Charles Curley  /\ASCII Ribbon Campaign
Looking for fine software   \ /Respect for open standards
and/or writing?  X No HTML/RTF in email
http://w3.trib.com/~ccurley / \No M$ Word docs in email



msg28887/pgp0.pgp
Description: PGP signature


Re: Mutt lies about PGP/GPG signature verification result

2002-03-20 Thread Charles Curley

On Tue, Mar 19, 2002 at 08:12:51PM +, Dave Ewart muttered:
 On Tuesday, 19.03.2002 at 21:00 +0100, Michal Kochanowicz wrote:
 
  On Tue, Mar 19, 2002 at 06:52:50AM -0500, R Signes wrote:
   Define it.
   
   set pgp_good_sign=Good signature
  I did it. And this solves problem with encrypted  signed messages. But
  it still complains that it could not verify signature in messages which
  were _encrypted_ony_.
 
 Well, obviously it _couldn't_ verify the signature - there is no
 signature to verify?!?

Ah, well. Perhaps three possible messages to the user are in order.

Couldn't find a signature.
Found a signature, and it is valid.
Found a signature, and it is invalid.

If there is no signature, then it cannot be valid, and it cannot be
invalid, so let's not confuse the issue (or the user) by saying it is
one or the other.


-- 

Charles Curley  /\ASCII Ribbon Campaign
Looking for fine software   \ /Respect for open standards
and/or web pages?X No HTML/RTF in email
http://w3.trib.com/~ccurley / \No M$ Word docs in email



msg25770/pgp0.pgp
Description: PGP signature


Re: Mutt lies about PGP/GPG signature verification result

2002-03-18 Thread Charles Curley

On Mon, Mar 18, 2002 at 10:18:34PM +0100, Michal Kochanowicz muttered:
 Hi
 
 My colegue came across some problem with mutt/GPG/PGP cooperation. It
 seem that for every _encrypted_ and encrypted/signed file mutt displays
 in status line information that signature could not be verified. And it
 displays it despite of that in the message area one can see that message
 is OK.

I suspect that mutt and gpg/pgp are doing everything right but that
you are misinterpreting the results. Have you and your colleague read
up in the The GNU Privacy Handbook (http://www.gnupg.org/docs.html)
about validating public keys?

-- 

Charles Curley  /\ASCII Ribbon Campaign
Looking for fine software   \ /Respect for open standards
and/or web pages?X No HTML/RTF in email
http://w3.trib.com/~ccurley / \No M$ Word docs in email



msg25703/pgp0.pgp
Description: PGP signature


Re: Form Letters on Mutt

2002-02-22 Thread Charles Curley

On Fri, Feb 22, 2002 at 01:01:36PM -0600, David DeSimone muttered:
 johnathan spectre [EMAIL PROTECTED] wrote:
 
  PS.  Sorry to hear your terminal can't word-wrap beyond 80 columns,
  but not everyone uses an 80 column terminal (I ditched my VT100 ages
  ago).
 
 When you send E-mail, it's intended to be read on other people's
 screens.  Which are probably a different size from yours.  Be kind, and
 write your mail to display nicely somewhere else.

The relevant RFC (I forget the number) suggests that you word wrap at
or before 74 characters, to allow space for quoting.

-- 

-- C^2

The world's most effective anti-virus software: Linux.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



msg24692/pgp0.pgp
Description: PGP signature


[notify@networksolutions.com: [NIC-011017.2f17] NOTIFY CC554-ORG]

2001-10-19 Thread Charles Curley


Is anyone using mutt/gpg to change records at Network Solutions using
pgp?  I seem unable to send a change to them which their software will
accept. Their error message is less than lucid.


- Forwarded message from Notify [EMAIL PROTECTED] -

Date: Thu, 18 Oct 2001 23:13:25 -0400 (EDT)
From: Notify [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [NIC-011017.2f17] NOTIFY CC554-ORG
X-Mailer: fastmail [version 2.4 PL24]

We have received your Notify Template, but are unable to process it 
at this time. The most likely reasons why this may have happened are 
listed below. Please review this list and compare the possible errors 
with your message. If possible, correct the error and re-send your 
Notify Template to VeriSign at [EMAIL PROTECTED]

1. Your PGP signed message was MIME-encapsulated. Most Windows based 
e-mail applications will perform this conversion. Currently, we cannot 
support PGP signed messages that have been MIME-encapsulated. 

2. There are extra characters in your message, which distort your PGP 
signature and make it impossible for us to confirm that your signature 
is correct. These extra characters are inserted when a PGP plugin for 
Outlook or Eudora are used to sign a message, and the message is then 
sent to a system using a UNIX platform, which we use. Currently, we 
cannot support PGP signed messages sent from a computer using any 
platform other than UNIX.

3. Although PGP is your Guardian method, you did not sign your message 
with your PGP private key. Please sign your message with your PGP 
private key and return it by e-mail to VeriSign at 
[EMAIL PROTECTED]

4. It appears that you have more than one PGP private key. Although you 
signed this message with a PGP key, you didn't use the PGP private key 
that is associated with the contact handle on this record. Please make 
sure that you are using the right PGP private key to sign your message 
and return the message by e-mail to VeriSign at 
[EMAIL PROTECTED]

Best regards,
VeriSign, Inc.
http://www.netsol.com

=
ntfy08
=

- End forwarded message -

-- 

-- C^2

The world's most effective anti-virus software: Linux.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: [notify@networksolutions.com: [NIC-011017.2f17] NOTIFY CC554-ORG]

2001-10-19 Thread Charles Curley

On Fri, Oct 19, 2001 at 10:14:28AM -0400, Jim Toth muttered:
 On Fri, Oct 19, 2001 at 07:58:24AM -0600, Charles Curley ([EMAIL PROTECTED]) said:
  
  Is anyone using mutt/gpg to change records at Network Solutions using
  pgp?  I seem unable to send a change to them which their software will
  accept. Their error message is less than lucid.
 
 Really?  Seemed pretty clear...
 
 [snip]
  1. Your PGP signed message was MIME-encapsulated. Most Windows based 
  e-mail applications will perform this conversion. Currently, we cannot 
  support PGP signed messages that have been MIME-encapsulated. 
 
 Do a
 
   colonset pgp_traditional=yes
 
 before sending to them and a
 
   colonset pgp_traditional=no
 
 (setting it to how it should be) afterwards.

I did the equivalent: I saved to a file, edited, signed the file, and
sent that in the body of a message. It still didn't work. For future
use, I will keep this in mind.

I just got off the phone with one of their support people. It appears
that the change from mail-from authorization to PGP authorization had
gotten lost or something, so they had me still as mail-from. So no
amount of finagling would have helped. And of course, their brain-dead
software that ships a generic error message on any error sent
incorrect diagnostics.


 
 And mock them for not implementing the standard.  :-)

Indeed.

-- 

-- C^2

The world's most effective anti-virus software: Linux.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Mailcap headaches

2001-10-19 Thread Charles Curley

On Fri, Oct 19, 2001 at 07:32:11PM +0100, Norm muttered:
 Hi
 
 I am having serious problems with mailcap!  In my home directory resides
 a perfectly formed if small .mailcap file, however Mutt refuses to
 recognise it.  I keep getting the message :-
 
 mailcap entry for type text/html not found
 
 Here are the relevant headers :-
 
 Content-Return: allowed
 Content-Type: text/html; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 Content-Length: 31956
 
 and here is the ~/.mailcap file incase I'm being a numptie.
 
 image/*; kview %s;copiousoutput;needsterminal
 text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html

Try instead:

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

That works for me.


 
 
 TIA
 
 Norm.

-- 

-- C^2

The world's most effective anti-virus software: Linux.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: About quoting text, about emacs.

2001-07-25 Thread Charles Curley

On Wed, Jul 25, 2001 at 03:05:58PM +0200, Jens Paulus muttered:
 Hello,
 
 about a week ago I was posting some questions. Only one of three have
 been replied to until now. That's why I decided to repost the unreplied
 ones again.

Try one subject per message. With Mutt's threading, it may make the
discussion easier.

 
 1.) Editing an email with vim/mutt, I sometimes wish to insert/quote
 text from another email that I'm not currently replying to. I remember
 that there was such a function when I used pine some years ago. Pine's
 builtin editor pico (pine composer) read the contents from an other
 email to the cursor position after hitting a special key combination and
 entering the index number of the email in the current folder. Do you
 know a way to do this with vim and mutt?

Don't now about vim/mutt, but you can run multiple instances of
mutt. Use grepm to select the message(s) from which you wish to
select. You may need to add the quote character yourself.

 
 2.) I'm using vim and don't know too much of emacs. One thing I find
 very useful with vim is that if I want to wrap a very long quoted line
 with width greater than 80 characters and the line begins with the
 quotation character ' ', then I can hit gqap or gqip and I have the
 long line turned to a paragraph that has each line beginning with the
 quotation character ' ' and has width of 'textwidth' variable which is
 usually set to 72 characters. Do you know if there is such a function in
 emacs, too?

Yes. In Emacs, C-h v fill-column shows how to set the column number
for wrapping. Then M-q runs fill-paragraph. C-h f fill-paragraph for
details.

You may want to look into text mode for serious editing. And don't
forget to run M-x ispell-region on your replies.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Mutt under Win2k

2001-03-15 Thread Charles Curley

On Tue, Mar 06, 2001 at 05:53:55PM +, Norbert Lieckfeldt wrote:
 ++ 06/03/01 10:27 -0700 - Charles Curley:
  At 07:31 PM 3/5/01 +, Norbert Lieckfeldt wrote:
  I am trying to use mutt under win2k and under Mandrake 7.2. It works fine
  under Linux. Having tried Mutt, going back to Pine is quite painful.
  
  Having downloaded the cygwin files, I am trying to start the shell but
  when executing the command 'mutt' in c:\cygwin\bin, I get the message that
  cygint.dll cannot be found. Any ideas where I can get this from. I tried
  dej^H^H^H Google but without success.
  
  I believe what you want is at www.cygwin.com. The Bash (and other GNU
  tools) port to NT was done by Cygnus, which has since been bought by Red
  Hat. Get the entire tool set. That and NT Emacs make NT almost habitable.
 
 Thaks, I have got all that. I can start mutt under the bash shell, but it
 asks me whether to open a new Mail folder under /home/500/Mail and then
 exits. I'd need a starter on how to set this up, so that I can get learning
 by doing (or by crashing the system, whatever).

Sorry to take so long to respond; I've been away.

Unfortunately, I don't know the answer to this, so I'll toss it back
to the list; perhaps someone else has a suggestion.

I do think that extra "500" in the path you site is fishy. Is that
correct? You may need to create ~/Mail.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Mutt under Win2k

2001-03-06 Thread Charles Curley

At 07:31 PM 3/5/01 +, Norbert Lieckfeldt wrote:
I am trying to use mutt under win2k and under Mandrake 7.2. It works fine
under Linux. Having tried Mutt, going back to Pine is quite painful.

Having downloaded the cygwin files, I am trying to start the shell but
when executing the command 'mutt' in c:\cygwin\bin, I get the message that
cygint.dll cannot be found. Any ideas where I can get this from. I tried
dej^H^H^H Google but without success.

I believe what you want is at www.cygwin.com. The Bash (and other GNU
tools) port to NT was done by Cygnus, which has since been bought by Red
Hat. Get the entire tool set. That and NT Emacs make NT almost habitable.


-- C^2

[EMAIL PROTECTED]

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Emacs mutt mode??

2001-01-18 Thread Charles Curley

On Thu, Jan 18, 2001 at 09:06:53AM +, Dave Pearson muttered:
 On Wed, Jan 17, 2001 at 09:37:10PM +, Conor Daly wrote:
 
  OTOH, I did a little script that checks for "attach" style keywords in
  your message and then checks for a "content disposition attachment" type
  line in the message and if it doesn't find one, pop's up an xmessage to
  ask if you want to send without an attachment. 
 
 The emacs junkies out there might also like to note that the emacs mutt mode
 (as in mail editing mode, not the mode for editing muttrc files) has a
 similar feature.

And where does one find said Emacs mutt mode?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Emacs mutt mode??

2001-01-18 Thread Charles Curley

On Thu, Jan 18, 2001 at 02:34:36PM +, Dave Pearson muttered:
 On Thu, Jan 18, 2001 at 07:05:07AM -0700, Charles Curley wrote:
  On Thu, Jan 18, 2001 at 09:06:53AM +, Dave Pearson muttered:
 
   The emacs junkies out there might also like to note that the emacs mutt
   mode (as in mail editing mode, not the mode for editing muttrc files)
   has a similar feature.
  
  And where does one find said Emacs mutt mode?
 
 Apologies, I thought there was a link to it on URL:http://www.mutt.org/.
 See URL:http://astro.utoronto.ca/~reid/mutt/.

Mea culpa. There is a link from the mutt home page. I looked at your page,
and did not find it there. Thanks

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: display sent messages

2001-01-01 Thread Charles Curley

On Mon, Jan 01, 2001 at 05:40:47PM +0100, Jens Nestel muttered:
 hi,
 
 I am new to mutt, so please forgive me if my problem
 sounds stupid :)
 I just sent an e-mail an I want to view it again,
 but how can I display the contents of sent mail again ?
 
 thanks - Jens Nestel - [EMAIL PROTECTED] -

Assuming you have fcc (copying outgoing messages to the outbox) working
correctly, try

c=outtab

That should get you to the outbox, with an example of tab completion on
the way.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Extra line added on edit message

2000-12-29 Thread Charles Curley

On Fri, Dec 29, 2000 at 10:42:11PM +, Conor Daly muttered:
  exit 0 unless (defined($ARGV[0])  defined($ARGV[1]));
 
 Does perl use the usual convention of "argv[0]" is the name the
 script/program was called with or sometrhing different (The line above
 suggests different to me)?

Something different.

Oh, you wanted to know what is is? :-)

$0

If you don't have the camel book, get it. Programming Perl, Larry Wall 
Randall Schwartz, O'Reilly, www.ora.com.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: help

2000-12-20 Thread Charles Curley

On Wed, Dec 20, 2000 at 01:54:13PM -0500, George Quaweay muttered:
 Im new to the Linux and to the Unix world for that matter.
 Im user Mutt for my email editor.
 I would like to learn as much as possible about this editor.
 what do you recommend ?

Hmmm, since he wouldn't know what he was getting into :-), this guy would
make an excellent volunteer to the Mutt Newbie Manual, or as much of it as
exists so far. Anyone care to inflict it upon him?

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Line length and word wrapping

2000-12-18 Thread Charles Curley

On Mon, Dec 18, 2000 at 09:15:29AM -0500, Jeffrey A Schoolcraft wrote:

 I have a problem with my line length and word wrapping.  I'm not sure
 where the configurations are in the muttrc but if someone could help me
 I would appreciate it (and I'm sure everyone else I write to would
 also).

Yes, you certainly do. :-)

You should deal with that in your editor, not in mutt. There has been
discussion of how to do this in vim on this list; you might check the
archives.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: gnupg vs pgp?

2000-12-14 Thread Charles Curley

On Wed, Dec 13, 2000 at 01:56:21PM -0800, Myrddin muttered:
 Just like the subject says.
 
 I see on the mutt homepage that gnupg is recommended over pgp.  Are there
 reasons for this beyond the whole 'use gnu whenever possible because of their
 licensing'?  Or are there real, functional reasons behind choosing gnupg over
 pgp?

One reason is security. GPG is free software, PGP is captive. This means
you can get the GPG source, read it and compile it for yourself.

All very well, you may say, but I am not a programmer; I wouldn't know a
security hole if it lept out and bit me on the kneecap.

True enough, and I might add that even with more than 20 years experience
as a software engineer I have not looked at the source for GPG. But I can
rely on the fact that may other people, almost all of them outside the
development team, have already done so.

To paraphrase Eric Raymond's dictum in The Cathedral and the Bazaar, given
enough eyeballs, all security holes are shallow. And GPG has had far more
eyeballs go over it than recent versions of PGP.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: gnupg vs pgp?

2000-12-14 Thread Charles Curley

On Thu, Dec 14, 2000 at 08:22:33AM -0500, Thomas E. Dickey muttered:
 On Thu, 14 Dec 2000, Charles Curley wrote:
 
  On Wed, Dec 13, 2000 at 01:56:21PM -0800, Myrddin muttered:
  One reason is security. GPG is free software, PGP is captive. This means
  you can get the GPG source, read it and compile it for yourself.
 
 you also compile PGP (and presumably find the time to read it).

For Unix, the source has always been available, because of the nature of
Unix distribution. Which I ought to have said.

However, for Windows and Mac, NAI has only recently made source
available. This is a change since the last time I looked at PGP, so I
apologize for the error. However, their Mac and Windows source releases
lag after the binary releases.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: gnupg vs pgp?

2000-12-14 Thread Charles Curley

On Thu, Dec 14, 2000 at 08:17:29AM -0800, [EMAIL PROTECTED] muttered:
 On Thu, Dec 14, 2000 at 05:48:30AM -0700, Charles Curley wrote:
  
  One reason is security. GPG is free software, PGP is captive. This means
  you can get the GPG source, read it and compile it for yourself.
 
 What? PGP source code has always been available. The source for PGP
 6.5.8 can be downloaded from http://www.pgpi.org 

Quite so, and I have already acknowledged this in a previous email.


  
 [...]
 
  To paraphrase Eric Raymond's dictum in The Cathedral and the Bazaar, given
  enough eyeballs, all security holes are shallow. And GPG has had far more
  eyeballs go over it than recent versions of PGP.
 
 Perhaps. If the goal is to use source that has been examined by many
 people over the years, PGP 2.6.3i is a good choice. 
 
 The German government has given a grant to GPG. Would you trust PGP
 if it were funded by the American government? Is there some reason
 to believe the German government isn't just as interested in reading
 your private mail as the US government is?

I trust no government any further than I can throw it. I am aware of the
German government grant, as it is described on the GPG web site. Indeed,
as webmaster for the Wyoming Libertarian Party, I posted a link to the GPG
web site, with an appropriate
warning. (http://www.geocities.com/wyolp/more.links.html#TOC91)

As a technical issue, free software, regardless of who funded it, is less
likely to have a security hole, back door or otherwise, than captive
software, regardless of who funded it.

I don't know the terms of the German grant to the FSF for funding GPG;
perhaps the test is on their web site (but, alas, I am not literate in
German). Nor do I know whether those GNUisances at the FSF have honored it
in its entirety.

But I have sufficient experience in American secret military and NSA "Top
Secret -- Burn Before Reading" type work to guess at the terms of such a
grant from the US government, and again sufficient experience with US
companies doing that sort of work to guess their response.

Is the German government just as much a police state as the US? I'm not
sure, but I suspect that -- in spite of their Orwellian ban on teaching
the history of Germany in the 1930s and 1940s and other evidence -- they
are not.

 
 Understand, I'm not saying the German government has a nefarious
 motive for the grant to GPG, but if the US government did the same
 the rumors of back doors would be much more rampant than they are.

And possibly such rumors would be justified.

On the other tentacle, perhaps the German government funded the
development of GPG because they were worried about the American government
reading their email? But didn't want to say so publicly?


 
 -- 
 "They have computers, and they may have other weapons of mass
   destruction." --Janet Reno, US Attorney General, 2.27.98 
   

Quite.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Question regarding clearsigning emails automatically

2000-12-14 Thread Charles Curley

On Thu, Dec 14, 2000 at 06:24:10PM +0100, Werner Koch muttered:
 On Thu, 14 Dec 2000, David Champion wrote:
 
  Having the signatures come up, and my mailer and OpenPGP client freeze
  while I wait to download a signature that might and might not be on the
 
 And on a slow box (mine) it even freezes during signature
 verification. It would be much better if Mutt has an option to check
 signatures on demand and not every time you open that message.


Try:

set pgp_verify_sig=ask-yes


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: gnupg vs pgp?

2000-12-14 Thread Charles Curley

On Thu, Dec 14, 2000 at 06:59:09PM +0100, Thorsten Haude muttered:
 Hi,
 
 this is certainly ot, but you made a really wrong assumption (I hope) about
 Germany and I don't want to let that stand.

Nor I; thank you for the correction.

 
 I don't know the terms of the German grant to the FSF for funding GPG;
 perhaps the test is on their web site (but, alas, I am not literate in
 German).
 The site's native language is english:
 http://www.gnupg.de/presse.en.html

Right, and I read what I could find on the grant in English.


 
 I'm not sure, but I suspect that -- in spite of their Orwellian ban on
 teaching the history of Germany in the 1930s and 1940s and other evidence
 You are either totally misinformed or denying that anything bad happened
 in these years.  Which one?
 During my time in various schools, I had to take three classes about nazism
 in Germany. This is typical.

Then totally misinformed. It was my understanding that very little was
taught on that period in German govermnent schools.



 
 On the other tentacle, perhaps the German government funded the
 development of GPG because they were worried about the American government
 reading their email? But didn't want to say so publicly?
 That and they possibly even like GnuPG's motto:
 
 Das Briefgeheimnis sowie das Post- und
 Fernmeldegeheimnis sind unverletzlich.
 Grundgesetz, Artikel 10, Abs 1.
 
 Secrecy of letters as well as sanctity of
 mail, telephone and telegraph are inviolable.
 Basic Law, Article 10, Paragraph 1

Cool! Is that a quote from the Constitution? Or is "Basic Law" a different
set of laws? If the former, it is much stronger than the American equivalent!

As you say, this is decidedly OT. Having made an assertion on the list, I
thought it appropriate to retract and apologize on the list. If you would
care to respond to those questions privately, I would appreciate it.


 
 Thorsten

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Error messages

2000-12-13 Thread Charles Curley

When working on my .muttrc, it would be very nice if there were some way
to see error messages generated by bugs in the .muttrc. Is there any such
mechanism?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: RH 7.0, xmutt and F1

2000-12-11 Thread Charles Curley

On Mon, Dec 11, 2000 at 04:24:01AM -0500, Thomas Dickey muttered:
 On Mon, Dec 11, 2000 at 09:53:20AM +0530, Suresh Ramasubramanian wrote:
  Charles Curley proclaimed on mutt-users that: 
  
   Another curious item related to xmutt. The F1 key to launch help does
   not appear to work under xmutt. It does work if I launch an rxvt, then run
   mutt in it.
  
  works here, funnily enough (xmutt from the standard mutt.linuxatwork.at srpm,
  compiled on a slak 7.1 box running icewm, xfree86 3.3.6)
 
 it's all a matter of properly-chosen $TERM (XFree86 xterm may send either
 vt100-style, or bogus-vt220-style codes for F1-F4 depending on your resource
 settings).

Bingo. xmutt sets a $TERM of rxvt, where if you launch them from the
keyboard you get $TERM of xterm. So I just removed the "-tn rxvt" from the
command line for rxvt.

This has the further salutory effect that when I launch a program (e.g. my
editor) from mutt, the screen remains in place, with the "Waiting for
Emacs..." message in the bottom line of the display. The previous behavior
was to clear the screen, which I thought a bit of overkill.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Multiple Personailities

2000-12-11 Thread Charles Curley

I set up two personalities for myself, per Martti Rahkila's excellent
instructions at http://www.acoustics.hut.fi/~mara/mutt/profiles.html. I
just took the concept a bit further.

The two personalities are called as follows in my .muttrc:

# default
source ~/.mutt/profile.default

# macros to invoke a profile

# First, in the index view
macro   index   F10":source ~/.mutt/profile.default\n" "Load default profile"
macro   index   F9 ":source ~/.mutt/profile.libertarian\n" "Load profile: 
libertarian"

# Then in the pager view...
macro   pager   F10":source ~/.mutt/profile.default\n" "Load default profile"
macro   pager   F9 ":source ~/.mutt/profile.libertarian\n" "Load profile: 
libertarian"


All part of Martti's instructions so far. What I just aded is the ability
to use one key to toggle between the two. In the libertarian profile, I
added:


macro   index   F9 ":source ~/.mutt/profile.default\n" "Toggle between 
libertarian and defaul personalities"
macro   pager   F9 ":source ~/.mutt/profile.default\n" "Toggle between 
libertarian and defaul personalities"

and in the default profile:

macro   pager   F9 ":source ~/.mutt/profile.libertarian\n" "Toggle between 
libertarian and defaul personalities"
macro   index   F9 ":source ~/.mutt/profile.libertarian\n" "Toggle between 
libertarian and defaul personalities"

I also changed the documentation part of the two F9 macros in my .muttrc.

If you had more than two personalities, you could still do this. The
default profile would set all the personality keys to their alternate
values. The alternate personality keys would set all the alternate
personality keys to the alternates, except their own, which they would set
to the default value.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

 PGP signature


xmutt/rxvt on RH 7.0

2000-12-10 Thread Charles Curley

I have Mutt-1.2.5i-3 on Red Hat 7.0, and I use xmutt to launch
mutt. (Thank you, Thomas!) It appears that the F11 is not getting through
to mutt.

I have two known working macros, of which one uses F10, and the other
F11. The F10 macro works just fine, the F11 one dies not. I can
hand-source the F11 macro, and it works. I can move it to use F9, and it
works there.

However, when I just launch rxvt, I get the tilde (~) for both F11 and F10
in the term window.

It's no big deal; I just moved the F11 macro to F9. But it is probably
something other RH 7.0 users should keep an eye out for.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


RH 7.0, xmutt and F1

2000-12-10 Thread Charles Curley

Another curious item related to xmutt. The F1 key to launch help does
not appear to work under xmutt. It does work if I launch an rxvt, then run
mutt in it.

This, of course, leaves me helpless for the moment. :-)


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: xmutt/rxvt on RH 7.0

2000-12-10 Thread Charles Curley

On Sun, Dec 10, 2000 at 01:51:23PM -0800, Jason Helfman muttered:
 What and where would I go about finding xmutt ?

H.

ccurley@charlesc $ rpm -qf `which xmutt`
file /usr/bin/xmutt is not owned by any package

I must have copied it in from my earlier Mandrake Linux disty. I wonder if
that is part of my problem.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Mutt Assistant

2000-12-09 Thread Charles Curley

On Sat, Dec 09, 2000 at 10:13:59PM +0100, Nils Vogels muttered:
 Hi Jesper Holmberg !
 
 On Tue 05 Dec 2000 (23:07), you muttered on the list:
 
  This thread reminds me: where can I find the Mutt Assistant? I can't
  find the setting right now, but I'm sure there's a way to turn it on.
  It's supposed to be like an animated paper clip, giving me good advice
  while I'm composing an e-mail. I'm sure I've seen it somewhere. It's
  very useful. Can you help me?
  
 
 It was coded out a few releases ago, since it was the source of a resource
 hog.

Rumor has it that Microsoft -- apparently not understanding the GPL --
bought the code, and the implementers are getting ready to retire filthy
rich.

One of the enhancements M$ are planning is to add voice instructions. They
are trying to get the same woman who does all those "Press 5 if you want
to dump core" voice mail messages.

The expected release date is in late 2007.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: resend-message

2000-10-24 Thread Charles Curley

On Tue, Oct 24, 2000 at 08:48:31PM +0200, Jesper Holmberg muttered:
 * On Tuesday, October 24, Mikko Hänninen wrote:
  You're missing that there's no default Fcc value provided with
  resend-message.  This is certainly something I think should be changed,
  it could even be called a bug.
 
 Hey, a mutt bug, I didn't think those existed! Anyway, I've been

Of course mutt bugs exist. They're called "fleas."

...

Hey, why'd everyone run away?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: GPG 1.0.3 and mutt

2000-10-20 Thread Charles Curley

On Fri, Oct 20, 2000 at 05:02:57PM +0930, Brian Salter-Duke wrote:
 I recently decided to try GnuPG after using only pgp2 off and on for
 some years. It was only after I downloaded it and played with it for a
 while, that I realised that version 1.0.3 was very recent. I had got in
 right at the beginning of a new version. This new version incorporates
 RSA which I understand came out of copyright only in September.
 
 This allows one I gather to encrypt in a manner compatible with pgp2.

I don't know abou that, as I have not generated a new key pair. The man
page does not indicate any commands specific to "RSA".

I do know that I can now verify email signed with an RSA key, which was my
main interest in 1.0.3.


 
 The gpg.rc script assumes the use of gpg-2comp and this assumes that RSA 
 patches to gpg have been installed. Version 1.0.3 appears to alter the 
 whole game.  So my question is this - what do we have to use in place of
 gpg.rc. Has anybody given this any thought or has anyone who used an
 earlier version of gpg got any war stories about upgrading to 1.0.3?

I have not changed it in the least. However, I have had no reason to do
so. Perhaps someone who uses an RSA-only version of PGP would ask me to do
so, then I would have to dink with it. Or tell them to upgrade to GPG. :-)

 
 Now an extra question. I always get "gpg: Please note that you don't 
 have secure memory on this system". I added "no-secmem-warning" to 
 ~/.gnupg/options as suggested and I then made gpg suid root. I still get
 the error message. Any ideas?

Sorry, no ideas here.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Composing a draft?

2000-10-15 Thread Charles Curley

On Sun, Oct 15, 2000 at 10:20:06AM +0530, Suresh Ramasubramanian muttered:
 Bob Bell proclaimed on mutt-users that: 
 
  Just open another mutt session.  Unlike many mail editors, you can
  have multiple instances of mutt running at the same time.
  
  However, mailbox flags get modified when you do this - especially with mbox
  folders.  A better thing to do is to use something like gvim or emacs as the
  editor (both of which pop up in different terms from the mutt window, and
  multiple sessions of which can be opened leaving your mutt xterm free)

Which is rather useless because then mutt just sits there with its tongue
hanging out saying "Waiting for Emacs..." until the editor completes. That
phrase is probably an artifact of emaclient rather than mutt, but it does
reneder mutt rather useless while one is editing an email.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Gnu Privacy Guard 1.0.3

2000-10-14 Thread Charles Curley

For those folks who use Gnu Privacy guard, gpg 1.0.3 is now available at
the usual place, http://www.gnupg.org/. This version incorporates code for
the RSA encryption methods. I found out that everything you need to build
an RPM is included in the tarball; just follow the instructions in the
file INSTALL.

I'd make the RPMs available on my web site, but I don't need a bunch of
armed and testosterone poisoned thugs breaking my door down in the middle
of the night in case I accidentally break some export rule. Sorry.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: self-destruction

2000-10-13 Thread Charles Curley

On Fri, Oct 13, 2000 at 08:45:39PM +0100, Conor Daly muttered:
 On Fri, Oct 13, 2000 at 06:10:42PM +0100 or so it is rumoured hereabouts, 
 Dave Pearson thought:
  On Fri, Oct 13, 2000 at 10:21:12AM -0500, the/eXtreme wrote:
  
   Is it possible that using hooks to generate different cyber-egos for
   different recipients could inadvertently shut me out of a news group that
   I was subscribed to? Could I somehow have set things in .muttrc so that a
   news group no longer recognizes my postings as coming from me?
   
   (Why I'm asking: since I've switched to mutt, I've had several folks tell
   me they are not getting my emails...).
  
  First you talk about news groups, then you talk about email. What exactly is
  your problem and how does it manifest itself?
  
 and have you seen a shrink about it?

Probably not, but his email obviously has.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Different signature/tag line each day/email.

2000-10-04 Thread Charles Curley

On Wed, Oct 04, 2000 at 01:32:30PM -0700, Timothy Grant wrote:
 On Wed, Jun 14, 2000 at 10:47:35AM -0400, Bob Bell wrote:
  Wouldn't something like this work and be simpler?
  
  set signature='(cat .signature  fortune -s) |'
 
 I've been playing around with some stuff to put my uptime in my signature.
 You can see that it works from the sig below.
 
 I use the above format to do this
 
 set signature='(buildsig)|'
 
 Problem is that I have two signatures, the formal one below, and an informal
 one. So I modified my script to take an argument depending on the sigfile I
 want to use.
 
 send-hook exceptionalminds.com set signature='(buildsig .siginformal)|'
 
 This doesn't work. and mutt spits up over it.
 
 How do I pass an argument to a script in my .muttrc?

I don't think you do.

What I do is this: I have a perl script which does what I want: so much
time to a certain event (which I am not using here). I customize it by
providing different input times as one input string and an event input
string string that describes what will happen x days, etc from now.

I provide the time and event to the perl script in a shell script, very
brain dead. I have a default send-hook to set up my defaul signature file,
below. Then I have send hooks for various lists and/or people which change
the signature file to execute the appropriate script.

So, where until.pl is the perl script, this is the shell script I use for
the Wyoming Libertarian Party, polls.sh:


# -*- shell-script -*-
# Time-stamp: 2000-10-03 12:23:59 ccurley
until.pl "The Wyoming Libertarian Party, http://www.geocities.com/wyolp/

Vote early and vote often!
 -- W.C. Fields
privacy
The polls open " "7:00 Nov 7th 2000"



And here are some appropriate lines from my .muttrc:

send-hook . set signature=~/.signatures/.signature
send-hook '~C [EMAIL PROTECTED]' "set signature=~/.signatures/polls.sh|; \
   my_hdr Reply-To: [EMAIL PROTECTED]; unset pgp_autosign"
send-hook my sweetie's email address set signature=~/.signatures/sweetie.sh|

The result for the Wyoming LP list is:

 
-- C^2
 
The Wyoming Libertarian Party, http://www.geocities.com/wyolp/
 
Vote early and vote often!
 -- W.C. Fields
 
The polls open 1 month, 2 days, 14 hours, 39 minutes, 38 seconds from now.




Note that mutt provides the signature delimiter, "-- ".


You would no doubt be able to simplify this considerably, but that should
give you a good start.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

 PGP signature


Re: source .muttrc while inside mutt?

2000-09-22 Thread Charles Curley

On Fri, Sep 22, 2000 at 08:51:59AM -0500, the/eXtreme muttered:
 Hey, is it possible to re-source .muttrc from inside mutt
 and have any changes take effect?
 
 TIA---the/eXtreme

From mutt:

:source ~/.muttrc

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Anyone interested in a contact/addressbook system?

2000-09-09 Thread Charles Curley

On Sat, Sep 09, 2000 at 09:56:46AM -0400, Damien Tougas muttered:
 
 
 On Sat, Sep 09, 2000 at 06:27:45PM +0530, Suresh Ramasubramanian wrote:
  *[Damien Tougas on Sat, Sep 09, 2000 at 08:14:30AM -0400]:
  
   I have designed a simple contact/addressbook system and a query script
   that allows it to be used with Mutt. If anyone is interesed in this,
   please reply to me directly and I can e-mail it to you.
   
  Please put it on the web and post a url to mutt-users ... that is, if you
  intend to GPL it and not keep it closed source ;)
 
 It's not closed source, it's written in Perl. I don't want to waste my time
 putting it on the web if nobody thinks it is useful. I wrote it because I
 needed it, that does not mean anyone else will need it, find it useful or,
 or even like it.

Post it anyway. It looks good on the resume to have some sample code on
your web site.

It's not hard to webify source code. I use an emacs module called htmlize
which will transform a colorized buffer to HTML source that reproduces the
colorization on the browser. See my web page for examples  a URL for
htmlize.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: lbdb-fetchaddr and secondary DB

2000-08-29 Thread Charles Curley

On Tue, Aug 29, 2000 at 02:37:44PM -0400, David T-G muttered:
 Hi, folks --
 
 Can I tell lbdb-fetchaddr to write to a secondary database (m_inmail.list
 file), and then tell lbdbq to read from that?
 
 I'd like to save the addr info out of spam that I get and then query that
 later as a test of potential spam, but I don't want to dedicate lbdb to
 just that.

I would think you would be more likely to get a useful answer on the lbdb
lists or newsgroups than on this one.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Mutt and Spam macro idea, is it possible?

2000-08-17 Thread Charles Curley

On Thu, Aug 17, 2000 at 08:15:19AM -0400, David T-G muttered:
 Anthony --
 
 ...and then Anthony Green said...
 % 
 % This was a thought I had while deleteing spam mail and was wondering if
 % it could be done via a Mutt macro or otherwise. Couldnt really see anything
 % on mutt.org for dealing with spam.
 
 As Lars said, that's because it really isn't a mutt issue (stock answer,
 right? :-)  BTW, Lars's pointer should have been to www.cauce.org
 (not cause with an "s").
 
 I haven't bothered to tie into some of the delivery-time spam filters
 mostly because I'm too lazy.  I have, however, figured out how to do
 much to automate my spam submissions to spamcop; it's easy enough now
 that I usually get the "Yum, this spam is fresh!" messge when I send
 the reports :-)
 
 If you're not yet familiar with spamcop, surf on over to www.spamcop.net
 and check 'em out.  It's been said before that "spamcop is for newbies"
 but it does get the job done and it doesn't require any MDA configuration
 and etcetc.  The standard way to submit a spam message is to paste it into
 the web page and hit the button, but this was a PITA under one terminal
 emulator and darned near impossible under another, so I started doing
 more digging.

But it might be something to automate using the duct tape of the
net. Christiansen  Torkington, Perl Cookbook, O'Reilly, 1998, has a
recipe for automating forms submission (20.2). It is slick and I have used
it extensively for testing a form's CGI program. Can you use this to build
a perl script to submit the info to spamcop?

The recipe returns the return web page, which you could then pass to the
browser of your choice for examination or further manual transactions.




-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Hiding Subjects in PGP-encrypted messages

2000-07-29 Thread Charles Curley

On Sat, Jul 29, 2000 at 05:43:10PM -0400, Randall Hopper muttered:
 I now use PGP exclusively for swapping personal mail with other Mutt
 users.
 
 One wish I have is for there to be an alternative way to specify the
 subject such that it is stored and retrieved from the body and not the
 header, so it can be PGPed.
 
 Is there any way to do this?  If not, good idea for a feature?
 Maybe a section with a MIME type of pgp/subject that Mutt could detect and
 use if present.

An intriguing idea. Can you write a macro for your editor that will simply
copy the subject line from the header to the body of the message?

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Piping mail through a script from a macro

2000-07-27 Thread Charles Curley

On Thu, Jul 27, 2000 at 02:30:42PM -0500, Ben Beuchler muttered:
 On Thu, Jul 27, 2000 at 01:28:00PM -0500, David Champion wrote:
 
  $20 says it "unlocks" when you type ^Q.
 
 Thanks to you and everyone else that responded with this bit of Unix
 lore from days gone by...  That's one of the reasons I love Unix.  It
 has a history!

Yeah, we know about _women_ who "have a history". Does that also apply to
operating systems as well?

:-)

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: gnupg and pgp incompatibility

2000-07-24 Thread Charles Curley

On Mon, Jul 24, 2000 at 03:11:51PM -0400, David T-G muttered:
 David, et al --
 
 ...and then David Champion said...
 % On 2000.07.22, in [EMAIL PROTECTED],
 % "Dennis Robertson" [EMAIL PROTECTED] wrote:
 %  Hello List,
 %  I am trying to correspond with a friend who uses Windows and Eudora 4.3.2 
(gasp!) with PGP
 
 Hey, same here.  Oh, darn.
 
 
 ...
 % 4.3.2 will issue valid PGP/MIME, which mutt can read, but it can not
 % read PGP/MIME issued by either mutt or itself.  (Yes: Eudora cannot
 % read its own output.)
 
 Oy.
 
 
 % 
 % So, short answer: Eudora can send to Mutt, but Mutt can't send to
 % Eudora, and it's Eudora's fault.
 
 FWIW, I have been able to send with mutt-0.95.4i and pgp5; my recipient
 may whine a bit, but he's been reading the messages well for quite a
 while now (since his upgrade a few months ago).
 
 In addition, I never have a problem reading his mail, but that could be
 because I'm using the procmail recipe from PGP-Notes and don't have to
 worry about it any more :-)
 
 
 % 
 % (Actually there are ways to make Mutt send messages that Eudora can
 % handle, but these are kludgy and don't involve proper MIME.  I think
 % they involve macros.  Again, check the web or archives.)
 
 I tried sending old-style messages with pgp_create_traditional; he tells
 me that Eudora detaches the message and he has to go and find it and
 open it (he chooses to use Word, of all things!), and the text is there.
 
 I searched both mutt archives and a teeny bit of the web in general, but
 didn't find anything.  Is "the old way" what you meant, or do you hint at
 something else?


I use:


set pgp_create_traditional=ask-no


in my .muttrc. When i have a message to a correspondent who uses Eudora
3.x and an old pgp (3.6, I think), I hit "y", otherwise return.  I suppose
I should automate that with a send-hook. Real Soon Now.

Note: that combination can handle signed or encrypted, but not both signed
and encrypted.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Email below mail index

2000-07-24 Thread Charles Curley

On Mon, Jul 24, 2000 at 02:24:08PM +0530, Mrinal Kalakrishnan muttered:
 Hi,
 
 Jason Helfman typed:
  How is this done... I have seen it only a few times, but I would like to
  try it out..
  here is an example of what I am talking about...
  http://www.32bitsonline.com/issues/199812/mutt2.gif
 
 Use this:
 
 set pager_index_lines=n
 (where n ~ the number of lines taken up by the index)

Works like a charm; thank you.

Now, if you use the xmutt script (at /usr/bin/xmutt on my system), you can
modify it to give you a nice big display. I use:

if [ $? -eq 0 ]; then
  rxvt -fn 10x20 -geometry 80x40 -tn rxvt -T Mutt -e mutt
else

Have fun!

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


PGP signatures

2000-07-24 Thread Charles Curley


PGP/GPG signatures are rampanton this list, and I am glad to see them out
there. One request: please upload your public keys to a keyserver. It does
not take long.

The reason I ask this is because some folks may have their mutt set up to
fetch your key from a keyserver. If it's there, they get authentication
quickly. If it isn't there, they get to wait while the keyserver conducts
a fruitless search.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Screen doesn't refresh when using gpg

2000-07-24 Thread Charles Curley

On Mon, Jul 24, 2000 at 07:11:33PM +0200, Caster muttered:
 I asked this before but nobody answered.
 When I use gpg functions the screen doesn't refresh after calling it.
 If I press the refresh screen sequence (^L by default) everything is
 alright -- screen backs to normal. Is this a known bug? Does it occure
 in your mailers?

I have not seen this. Judging by the lack of response to your last
message, I suspect no-one else has either.

Possibly you have a termcap problem, or else mutt is sending the wrong
sequence of control characters to your terminal program. I use rxvt on
Linux, and have no problems.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: gvim

2000-07-20 Thread Charles Curley

On Thu, Jul 20, 2000 at 03:57:04PM -0400, Mostly Harmless muttered:
 Can anyone explain how to use gvim with mutt? mutt and gvim fail to get
 my signature into the message and mutt is always telling me that gvim
 didn't modify my message, so why don't I abort.

I suspect that your .muttrc is not set up correctly for your signature. It
provides the siganture before feeding the message boilerplate to your
editor.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: decrypting using gpg

2000-07-19 Thread Charles Curley

On Wed, Jul 19, 2000 at 10:47:47PM +1000, Dennis Robertson muttered:
 Hello List,
 I have RTFM, several sample .muttrcs including Sven's and Gabe's, the faq and the gnu
 privacy handbook and I am stumped.  I want to autoview and decrypt the content of 
encrypted
 messages.  I have tried every entry I can think of in .mailcap and .muttrc to try to
 autoview octet-stream using the gpg command.  The closest I have got is a message to 
the
 effect you need a passphrase to unlock the secret key etc; enter passphrase.  But the
 screen is frozen and will not accept any input.  I am having to enter
 /home/dennis/Mail/inbox and save the message elsewhere before I can decrypt it, 
which is
 ridiculous.  Can someone put me out of my misery, please.

I suspect that mutt is spawning gpg, which is then hanging waiting for
input at SDTIN. Have you included the gpg.rc file into your .muttrc, as
follows:

source ~/gpg.rc

The plain vanilla gpg.rc works just fine out of the box. I have since
added a few tweaks to it, but I don't think any of my tweaks were for
snything like this.



-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: pgp_encrypt_self with 1.2.4 and gpg

2000-07-18 Thread Charles Curley

On Tue, Jul 18, 2000 at 02:42:25PM -0400, David T-G muttered:
 Hi, folks --
 
 I am very dismayed to find that messages that I send out, even though I
 have specified
 
   set pgp_encrypt_only_command="pgpewrap gpg -v --batch --output - --encrypt 
--textmode --armor --always-trust -- -r B66D9EEA %r -- %f"
   set pgp_encrypt_sign_command="pgpewrap gpg --passphrase-fd 0 -v --batch --output - 
--encrypt --sign %?a?-u %a? --armor --always-trust -- -r B66D9EEA %r -- %f"
 
 where B66D9EEA is my key, are encrypted for the other recipient only.
 
 What do I need to do to ensure that I can read my own outgoing messages?
 [No, I'm not interested in fcc_clear; thanks.]

Your ~/.gnupg/options file should contain:

# Always encrypt to myself.
encrypt-to xx





-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


PGP self-encryption?

2000-07-01 Thread Charles Curley

I find that I am encrypting outgoing mail only to the recipent(s). That
makes the copy in my outbox rather useless. Is there a simple way to also
encrypt to myself, or do I need to hack the command line in gpg.rc? If the
latter, how?

Thanks

-- 

-- c^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: PGP self-encryption?

2000-07-01 Thread Charles Curley

On Sat, Jul 01, 2000 at 03:26:31PM -0400, Bennett Todd muttered:
 2000-07-01-13:20:27 Charles Curley:
  I find that I am encrypting outgoing mail only to the recipent(s). That
  makes the copy in my outbox rather useless. Is there a simple way to also
  encrypt to myself, or do I need to hack the command line in gpg.rc? If the
  latter, how?
 
 If you're using gpg.rc, then I'd be a-guessing you're using GnuPG,

Correct

 and in _that_ case there's an easy solution, entirely outside of
 mutt. In your $HOME/.gnupg/options, add an entry:
 
   encrypt-to 4ECDDFDB
 
 replacing 4ECDDFDB with your encrypting (ElGamal), rather than
 signing (DSA), key-id.
 
 The only caveat about this is, if you should ever want to try and
 use an anonymizer and send encrypted anonymous email, besides
 turning off digital signing, you'd also want to disable this --- the
 fact that it's also encrypted to you would be a strong hint to the
 recipient:-).
 
 -Bennett

I think that's got it; thanks!


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: those users (was Re: Reply to all???)

2000-06-30 Thread Charles Curley

On Fri, Jun 30, 2000 at 11:35:40AM +0530, Suresh Ramasubramanian wrote:
 Byrial Jensen proclaimed on mutt-users that:
 
 On Tue, Jun 27, 2000 at 16:41:12 -0400, David T-G wrote:
  Yeah.  I've since learned that there isn't any sort of "documentation
  group" for mutt, so we have nobody to ask.  Time to call for volunteers,
 
 I don't volunteer to write. It must be a job for native English
 speakers to make English documentation, but the volunteer group
 (if any such are made) are welcome ask me their technical
 questions in order to write correct documentation.
 
 
 I'm _not_ a native English speaker, but we Indians speaka da eenglish
 really well (or at least, well enough for this, I hope) :)

You probably speak it better than the average newly minted government
school graduate in this country.


 
 I've started work on one - and Sven Guckes  Robin Socha have been really
 helpful on this. 

Perhaps you all will consider contributing anyway. Whether an author is a
native Engish speaker or not, all of the draft documentation should be
edited for a consistent grammar, style, spelling etc. I am a native
English speaker -- OK, American -- and a published author. I know dang
well that I cannot edit my own stuff worth a dang.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: emacs mutt

2000-06-30 Thread Charles Curley

On Fri, Jun 30, 2000 at 01:10:14PM +0100, Gunther Kuhlmann muttered:
 On Wed, Jun 21, 2000, Charles Curley wrote:
 
  - 1.) what does emacs vs emacs client mean? I read that I must run
  emacs
  - and mutt on the same host.. I don't understand the overall picture
  - with this. Why/how is this different from specifying Pico in the
  - .muttrc file? What is a server? I had to include some lines in my
  - .emacs file about that.
  
  Sigh, methinks this is a candidate for a Mutt FAQ, even though it is an
  Emacs issue.
  
  Emacs is a big, fat program, and susceptible to a lot of
  customization. With all that, it can take a while to load ("Emacs Makes
  Any Computer Slower"). It is simpler, and the Emacs Way, to leave Emacs
  running during your session. To allow Mutt and other programs to feed
  files to Emacs for editing, use emacsclient instead. So in your .muttrc,
  specify emacsclient as your editor, not emacs. When you go to edit an
  email, emacsclient will feed the file to an already running instance of
  emacs (it will not launch emacs for you). When you are done, hit C-x #,
  and move your focus back to mutt.
  
  In this scheme of things, emacs is an editor server, and emacsclient
  lets
  mutt and other programs be clients of the server.
  
  You have to set this up in your .emacs. Because I run the same .emacs on
  several different OSs, I have the following in my .emacs (which, BTW, is
  posted on my web site):
 
  If you don't need the portability, this will do:
  
  
  (server-start)
 
 I am currently starting xemacs for each mail I write (from mutt). So 
 I added (server-start) into my .emacs file, but it came up with the 
 following error:
 
 Signaling: (void-function server-start)
   (server-start)
 )
   load-internal("~/.emacs" t t t undecided)
   load("~/.emacs" t t t)
   load-user-init-file("")
   load-init-file()
   command-line()
   normal-top-level()
 
 What am I doing wrong? Do I need to install something which is missing?
 (I hope this is not too OT.)


Possibly what you are doing wrong is using Xemacs. :-) I have never used
it, but I know that there are differences between Xemacs and Emacs. For
aught I know, this is one of them. Somewhere there should be an Xemacs
list where you can ask.

If you do get it working correctly, would you please post the correct code
here for other folks' reference.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: those users (was Re: Reply to all???)

2000-06-30 Thread Charles Curley

On Fri, Jun 30, 2000 at 04:01:47PM +0530, Suresh Ramasubramanian muttered:
 Mrinal Kalakrishnan proclaimed on mutt-users that:
 
 Why don't you post each FAQ to the list as each one is done (all in
 one thread) so that people can suggest changes, as well as track it's
 development?
 
 'k.  Here (as printed in lynx) is what index.html will look like ...
 (thanks to Sven for a few additions).  Requires a _lot_ of work right now.
 
 
   Mutt for Newbies
   
Mutt - the mongrel of Mail User Agents [mutt.gif]

"All mail clients suck. This one just sucks less." - Mike Elkins
    running mutt line from sven's page
 
Mutt is a mail program. Actually, it is a mixture of mail programs,
taking only the best features of several mail programs - elm, pine,
and others. It's mixture makes it a "mongrel of mailers" - hence its
name - "mutt". woof

The original author of Mutt was Michael Elkins.

And still is, as has been noted.


Mutt is much lighter and far more configurable than PINE, and (dare I
say it) far lighter and just as configurable as VM on emacs - see for
yourself.

Mutt has much more features than Microsoft Outlook Express and other
  many

Product names should have TM if you can do it.

such 'doze brokenware, and streets ahead of (say) PINE because
 
  * It sucks less (so says Mike Elkins)
  * It rocks (and so say all of us)
  * vi is the default editor
  * Has lots of other cool features

This is fun, but doesn't really tell the reader why mutt is better than
Pine.



[I wish there was an extra page for this, eg
http://www.mutt.org/features.html]

   Get up and running with mutt
   
Mutt will work out of the box, but there are a few things which may
have to be tweaked. For example, you might want to get your mail via
POP from within Mutt - then you need to install it such that it
contains the code for POP support. Other installation options add code
for colored text, use of Gnu regular expressions, and protocols such
as GSS, IMAP, PGP, SSL. However, quite a lot of these tweaks will be

Is PGP a protocol? I know there is an RFC, but don't tknow its
status. Also, as a rule you should spell out an acronym the first time the
reader encounters it. For example: Pretty Good Privacy (PGP), Secure
Sockets Layer (SSL). Acronyms are also excellent candidates for a
glossary.


to your "muttrc" - the user's configuration file (usually
$HOME/.muttrc).

One of these tweaks is setting your outbound address, ie the one that
will show up in the From: line. For example, I have a linux box called
whack.spammers.cluestick.org, but my address is [EMAIL PROTECTED]
I don't want to send out mails as [EMAIL PROTECTED]
- I wouldn't even get a single reply, and anyone trying to mail me at
this very entertaining address would get a bounce. So, I have to tell
mutt that my address is actually [EMAIL PROTECTED]
The line in my muttrc then would read like this:
 
 my_hdr From: Suresh Ramasubramanian [EMAIL PROTECTED]
 
There's a few more things I'd love to do - and can do with mutt. Using
PINE, I'd just not bother trying them at all :)

Insert period (.) at the end: trying them at all. :)


The best way to get a running start is to grab someone's .muttrc and
make a few minor changes.

There are a few very good (and one fair to middling) .muttrcs (in HTML
format) linked below - they are all extensively commented.
  * Mike Elkins
  * Thomas Roessler
  * Sven Guckes (*)
  * Felix von Leitner
  * Karsten Rohrbach
  * Lots more at dotfiles.com
  * Oh yeah - I'll throw in my .muttrc as well :)

Or, you could try Mahdi Nazir's online .muttrc generator at
http://mutt.netliberte.org See also:
http://www.math.fu-berlin.de/~guckes/mutt/user.html for some more
pages on mutt with setup files, patches, scripts and more.

Now, you've probably got a serviceable (actually, a pretty good)
.muttrc - quite adequate if you use only one e-mail address and don't
get too much mail (especially from several mailing lists). If you are
a trifle more adventurous, see below :)

Again, period before the smiley.



  * Using multiple e-mail addresses in Mutt
  * Managing mailing lists with Mutt
  * Using keybindings to customize mutt
  * Color setups for folder index, mail header and mail body
  * managing mails via IMAP
  * managing mails via POP
  * using digital signatures
  * setup for your language

  $Id: mutt/index.html: $Author: Suresh Ramasubramanian - mallet (@)
 cluestick.org$ $Date: 2000/06/20 19:17:06$ $Revision: 1.00$
   
with some additions by Sven Guckes 000628


This is a 

Re: those users (was Re: Reply to all???)

2000-06-30 Thread Charles Curley

On Fri, Jun 30, 2000 at 05:19:04PM +0530, Suresh Ramasubramanian muttered:
 Mrinal Kalakrishnan proclaimed on mutt-users that:
 
 Suresh Ramasubramanian typed:

  * using digital signatures
 
 Has to be done

I just recently got GPG running, so may be able to do something there.


 
 And one more suggestion - why don't you do it all in the LinuxDoc DTD
 (SGML) instead of using HTML directly? This will make things uniform,
 neat and standardized. (I'm not a fan of DocBook) :-)
 
 I am much better at html than am at SGML :)  I'll convert the lot later I
 suppose ...

Do the conversion now, and save yourself a LOT of problems later
on. Believe me, been there, done that.

You could use SGML mode in Emacs. :-)


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: those users (was Re: Reply to all???)

2000-06-30 Thread Charles Curley

On Fri, Jun 30, 2000 at 10:22:03PM +0530, Suresh Ramasubramanian muttered:
 Charles Curley proclaimed on mutt-users that:


Get up and running with mutt

 Mutt will work out of the box, but there are a few things which may
 have to be tweaked. For example, you might want to get your mail via
 POP from within Mutt - then you need to install it such that it
 contains the code for POP support. Other installation options add code
 for colored text, use of Gnu regular expressions, and protocols such
 as GSS, IMAP, PGP, SSL. However, quite a lot of these tweaks will be
 
 Is PGP a protocol? I know there is an RFC, but don't tknow its
 status. Also, as a rule you should spell out an acronym the first time the
 
 That text was added by Sven - I'm not sure whether it's a _protocol_ as
 such.

OK, then perhaps, " Other installation options add code for features such
as colored text, Gnu regular expressions, GSS, IMAP, PGP, and SSL.




 
 reader encounters it. For example: Pretty Good Privacy (PGP), Secure
 Sockets Layer (SSL). Acronyms are also excellent candidates for a
 glossary.
 
 There _is_ a glossary under construction.  Said glossary will also include
 a lot of *nix terminology I don't want to explain in the main text (stuff
 like $home, configure, make, rpm and such)

Excellent. We'll have lots to carp about, er, look over. I'm looking
forward to it.



 
 PINE, I'd just not bother trying them at all :)
 
 Insert period (.) at the end: trying them at all. :)
 
 OK. :)
 ^^
 Like this? :)

Yep. :)


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: those users (was Re: Reply to all???)

2000-06-30 Thread Charles Curley

On Fri, Jun 30, 2000 at 01:16:34PM -0600, Charles Curley muttered:
 On Fri, Jun 30, 2000 at 10:22:03PM +0530, Suresh Ramasubramanian muttered:
  Charles Curley proclaimed on mutt-users that:
 
 
 Get up and running with mutt
 
  Mutt will work out of the box, but there are a few things which may
  have to be tweaked. For example, you might want to get your mail via
  POP from within Mutt - then you need to install it such that it
  contains the code for POP support. Other installation options add code
  for colored text, use of Gnu regular expressions, and protocols such
  as GSS, IMAP, PGP, SSL. However, quite a lot of these tweaks will be
  
  Is PGP a protocol? I know there is an RFC, but don't tknow its
  status. Also, as a rule you should spell out an acronym the first time the
  
  That text was added by Sven - I'm not sure whether it's a _protocol_ as
  such.
 
 OK, then perhaps, " Other installation options add code for features such
 as colored text, Gnu regular expressions, GSS, IMAP, PGP, and SSL.

Make that GNU. It's an acronym: "Gnu's Not Unix."



-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: 32 + line sig

2000-06-28 Thread Charles Curley

On Wed, Jun 28, 2000 at 08:07:35AM -0700, fman muttered:
 Please no more comments on my sig. I changed it dammit 8^)
 
 - juan
 -- 


Thank you


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: those users (was Re: Reply to all???)

2000-06-27 Thread Charles Curley

On Tue, Jun 27, 2000 at 12:08:28PM -0400, David T-G wrote:
- Hi, everyone in general --
- 
- Without going too far into the whole argument of what's intuitive or not
- and without condemning too much, I hope, those users who get in our way
- and keep us from doing what we should be able to do (read mail and surf
- and occasionally fix systems :-) I would say that this *is* becoming a
- FAQ and it's because folks aren't reading the docs.

The docs are user hostile, and not merely difficult to read. For many
people they are impossible to read.

They are difficult or impossible to read because 1) they are organized by
function name. This is dandy if you have function phoo in front of you and
want to know what it does. It is utterly useless if you want to phoo, and
don't know that it's called phooing, and the name of the function to do it
is phoo. Reason 2) is because it assumes a lot of knowledge on the
readers' part. Things like the fact that procmail exists.


- 
- It seems that mutt is cresting one of those points of explosive growth
- where we see a massive influx of clueless newbies -- perhaps, due to

Clueless newbies indeed -- many if not all are coming to mutt and Linux in
general from Windows. Mail on Windows is trivially easy: you fire up
Outlook Express, put in a bare minimum of information, and sit back and
wait. You get a trojan horse, it eats your hard drive, you install the
next version of Windows, and repeat. Real simple.


- the easy availability of Linux and even other more mainstream *NIX
- distributions, so new that they don't even know how things work in The
- Right World (tm) -- and have to deal with a bunch of questions that seem
- pretty darned dumb even when we look back to the days when we were young
- and lusers ourselves.
- 
- Unfortunately, this translates directly into more traffic on the mailing
- lists that is of fairly low interest to at least the Original Ones; after
- all, who wants to keep telling people why mutt doesn't talk on port 25 or
- how to configure pgp or why color works with vim but not mutt or even how
- to group reply.  Note that I'm guilty, in recent times, of some of these
- questions myself; I'd like to think that I've done my homework and found
- the documentation confusing or lacking, but it's more probable that I
- just didn't do my homework, either.  The problem, though, is that some of
- the Original Ones are getting tired of this crap and are unsubscribing or
- strongly contemplating it.  I can hardly blame them; I saw the same
- decline on the sun-managers list a couple of years ago, and went that
- route myself.

I concur. What we need to do is lower the traffic on this list.


- 
- It seems to me, though I certainly speak not from any position of
- authority, that we as the mutt community need to come up with some Quick
- Start and "mutt for the impatient" docs, perhaps along the lines of the
- proposed "mutt for Attorneys" item mentioned recently, to head off some
- of the questions but also to come up with some more proactive methods
- of getting this information out.  Without going into a drawn-out call
- for votes or anything silly like that, what does anyone think about
- 
-   - asking, most very humbly, the doc writers to spend some time on the
- FAQ or Quick Start, even at the expense of the full documentation,
- just to round it out and provide something to throw at requesters

This would be good.


-   - somehow more strongly expecting those who post questions to post
- summaries (even if it's a summary of lack of response)

This is excellent. As a programmer and technical documentor myself, I can
tell you that this is far and away the best thing the neophyte who has a
question can do to return value to freeware.


-   - better promoting the searchable archives and perhaps redesigning the
- main mutt page to first send folks to answers

Good.

-   - a mail server (my favorite idea :-) to which folks can forward such
- requests that spits out a form letter to the requester pointing him
- to the proper places to search (archives, FAQ, manual) and the manual
- section where the option(s) is(are) defined

You get to write the procmail recipes. :-) It's a good idea but a lot of work.


- 
- for starters?  Heck, maybe the Muttrc included in RPMs could pop up a
- message saying "Don't ask; read first" until the user figures out how to
- get rid of it, and the Makefile in the tarball could require that one
- read a similar message before the compile will proceed...

This will kill interest in using mutt faster than anything I can think of
short of making it an exclusively Windows package.

But at least you are thinking of things and tossing them out there for
consideration. Good for you.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Verifying PGP 5.0 Sigs (Again)

2000-06-27 Thread Charles Curley

On Tue, Jun 27, 2000 at 03:56:30PM -0400, Howard Arons wrote:
- I just can't get the hang of verifying a signed cleartext message. In
- this case it's one I sent to myself.
- 
- First, I cannot access any kind of "PGP menu" in the index or pager,
- like I can when composing a message. So I have to pipe the signes
- message to 'pgpv' and it says that I have a detached sig, and asks what
- file it pertains to, and of cousre I have no filename to give it.
- 
- I can sign a message via my editor so that the sig is included in the
- text, and I can verify such a message without error.
- 
- I've read the Mutt page, the PGP-Notes.txt, and whatever else I can
- find, but no joy.
- 
- Typical header info:
- [-- Attachment #1 --]
- [-- Type: text/plain, Encoding: quoted-printable, Size: 0.1K --]
- 
- [-- Attachment #2 --]
- [-- Type: application/pgp-signature, Encoding: 7bit, Size: 0.2K --]
- 
- For the record, here's the output of 'mutt -v'
- Mutt 1.0i (1999-10-22)
- 
- System: Linux 2.2.14 [using ncurses 3.0]
- Compile options:
- -DOMAIN
- -HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
- -USE_IMAP  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  +HAVE_COLOR
- +HAVE_PGP5  +HAVE_PGP2  -BUFFY_SIZE
- -EXACT_ADDRESS  +ENABLE_NLS
- SENDMAIL="/usr/sbin/sendmail"
- MAILPATH="/var/spool/mail"
- SHAREDIR="/usr/local/share/mutt"
- SYSCONFDIR="/usr/local/etc"
- ISPELL="/usr/bin/ispell"
- _PGPPATH="/usr/local/bin/pgp"
- _PGPV2PATH="/usr/local/bin/pgp"
- _PGPV3PATH="/usr/local/bin/pgp"
- 
- What am I missing here?
- -- 
- Powered by SuSE Linux 6.3 -- Kernel upgraded to 2.2.14
- Communications by Mutt 1.0i


First suggestion: upgrade to the latest mutt, 1.2 or so. The gpg/pgp
configuration has changed a lot, and there are sample config files that
you can drop right in. I was able to use gpg within minutes with the
latest mutt.

Once you do that, there is a pgp menu in the compose window.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Yet another FAQ

2000-06-26 Thread Charles Curley

On Mon, Jun 26, 2000 at 05:32:45PM +0200, Kai Blin wrote:
- On Thu, Jun 22, 2000 at 09:47:35PM +0530, Suresh Ramasubramanian wrote:
- [snip]
-  
-  I plan to model the planned mutt for dummies [1] on this page.
-  
-  [1] better not call it that - comdex/idg attorneys will chew my ass off
-  for copyright violations ;)
-  
- [snap]
- come to think of it, name it "mutt for {stupids, dumb-bells, newbies}"

Think we might get the idea across and still avoid being sued if we called
it "Mutt for Attorneys". :-)



-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: PGP problems

2000-06-23 Thread Charles Curley

On Fri, Jun 23, 2000 at 01:10:34PM -0700, Shane Wegner wrote:
- Hi all,
- 
- I have been using PGP with Mutt now for quite some time and have had no
- problems.  I am however, experiencing difficulty encrypting to someone using
- PGP version 6 with Microsoft Outlook.
- 
- I am using GPG and a RSA key to encrypt but the message shows up in outlook
- as x.dat as a file attachment and the decrypt option from the PGP menu
- doesn't do anything.  Sending encrypted mail between outlook accounts works
- fine.  As does encrypting a message from Outlook to Mutt.  Mutt hapily
- decrypts it.
- 
- It seems that Mutt and Outlook are using slightly different MIME formats for
- PGP support.  Is there some sort of option or method to enable PGP
- interoperability with Windows.
- 
- I imagine this must get asked a lot but I can't seem to find anything in
- pgp_notes.txt or the documentation.

Take a look at pgp_create_traditional in the manual for mutt v. 1.2. I use
it for someone who has an ancient version of Eudora. If you must use it, I
recommend you set it as follows:

set pgp_create_traditional=ask-no


Then the default, no, is the easiest, a simple return.



- 
- Best regards,
- Shane
- 
- 
- -- 
- Shane Wegner: [EMAIL PROTECTED]
- Personal website: http://www.cm.nu/~shane/

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: emacs mutt

2000-06-20 Thread Charles Curley

On Tue, Jun 20, 2000 at 07:24:18PM -0700, Dale Morris wrote:
- I've started using emacs as editor for mutt. I'm specified it in the
- muttrc file and also have setup a script file(e-lisp) in /home/me/.mutt called
- post.el which is a package for running emacs as an email editor with
- mutt. It seems to be working fine, but I have a couple of
- questions. 
- 1.) what does emacs vs emacs client mean? I read that I must run emacs
- and mutt on the same host.. I don't understand the overall picture
- with this. Why/how is this different from specifying Pico in the
- .muttrc file? What is a server? I had to include some lines in my
- .emacs file about that.

Sigh, methinks this is a candidate for a Mutt FAQ, even though it is an
Emacs issue.

Emacs is a big, fat program, and susceptible to a lot of
customization. With all that, it can take a while to load ("Emacs Makes
Any Computer Slower"). It is simpler, and the Emacs Way, to leave Emacs
running during your session. To allow Mutt and other programs to feed
files to Emacs for editing, use emacsclient instead. So in your .muttrc,
specify emacsclient as your editor, not emacs. When you go to edit an
email, emacsclient will feed the file to an already running instance of
emacs (it will not launch emacs for you). When you are done, hit C-x #,
and move your focus back to mutt.

In this scheme of things, emacs is an editor server, and emacsclient lets
mutt and other programs be clients of the server.

You have to set this up in your .emacs. Because I run the same .emacs on
several different OSs, I have the following in my .emacs (which, BTW, is
posted on my web site):


(if (or (string-equal (getenv "OSTYPE") "Linux" )
(string-equal (getenv "OSTYPE") "linux-gnu" ))
  (server-start))
; end gnuserv stuff


If you don't need the portability, this will do:


(server-start)



- 
- 2.) On the tool bar at the top of the emacs window, to the right of
- Mule, is a category called Post. It has several commands concerning
- quoting and signatures, also one for exiting "Save Message and Return
- from Post" (C-c C-c), which I assume saves the compose buffer. But it
- doesn't close emacs, it just leaves me in the *scratch* buffer and I
- have to go ahead and close it with the C-xC-c command.  

This is specific to the post.el file you mentioned, assuming that the file
follows Emacs custom and is for a major mode called post mode. It operates
"correctly" for the client/server scheme I outlined above. You leave Emacs
running, ready for the next message.

I have a copy of post.el here; I may try it some day. In my copious free
time.



-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: emacs fontsize

2000-06-19 Thread Charles Curley

On Mon, Jun 19, 2000 at 09:22:07AM -0700, Dale Morris wrote:
- I'm trying to use emacs as the editor for mutt. Only problem I have is
- that the new version of emacs that came with Redhat 6.2 has a much
- larger font than previous releases. How do I set the font size to
- something a little smaller?

First, I assume you are using Emacs in the canonical manner, that is:
lauching it once, then using emacsclient to communicate between mutt and
emacs.

There are several ways to change your font size when you launch it. I have
one in my sample .emacs at the web page below.

Another is to use the command line when you launch emacs, such as:

emacs -fn 10x20 

which tells emacs to use the 10x20 font.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: muttrc.el

2000-06-15 Thread Charles Curley

On Thu, Jun 15, 2000 at 03:30:25PM +0200, Byrial Jensen wrote:
- On Thu, Jun 15, 2000 at 06:19:04 -0600, Charles Curley wrote:
-  On Thu, Jun 15, 2000 at 01:07:21AM +0100, Dave Pearson wrote:
-  On Wed, Jun 14, 2000 at 04:45:52PM -0600, Charles Curley wrote:
-  
-  While scrounging through the new mutt, 1.2, I found evidence of a muttrc
-  mode for Emacs.
- 
-  The evidence was this at the beginning of one of the sample files:
-  
-  # -*-muttrc-*-
- 
- It isn't necessarily evidence of an Emacs mode. The -*- tags are
- also used by jed, and a muttrc mode for jed exists. 

Ah, OK.

- 
- P.S. Please don't use non-standard $indent_string. It prevents
- editors with mail modes (like jed) from rewrapping long lines in
- quotes while preserving the quote characters.

What are the standard quote characters? An RFC reference will do
fine. However, I doubt I'm the only person who uses this, so perhaps you
could add it to the appropriate regex for your editor?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: compressed folder rpm location

2000-06-15 Thread Charles Curley

On Thu, Jun 15, 2000 at 03:10:56PM -0500, [EMAIL PROTECTED] wrote:
- Can someone point me to the url for the rpms of mutt compiled with
- compressed folder support, please?
- 
- Thanks,
- Brian
- -- 
- The 21st century begins on January 1, 2001.

http://mutt.linuxatwork.at/


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


muttrc.el

2000-06-14 Thread Charles Curley

While scrounging through the new mutt, 1.2, I found evidence of a muttrc
mode for Emacs. Where do I find such a beastie?

Thanks

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Seeking help

2000-06-13 Thread Charles Curley

On Tue, Jun 13, 2000 at 10:38:32AM +0100, Lars Hecking wrote:
- 
-   keymap.c:69: `KEY_END' undeclared here (not in a function)
-  
-  This is what stopped the build - HP has a different flavor of cursess
-  which should define this (curs_colr), but mutt's configure script
-  doesn't recognize that (doesn't generate -I and -L options for the
-  makefile to make it use the newer library).
- 
-  The only HP-UX 10.20 box I have access to has no man pages, and
-  a compiler that truely sucks (no -g, no ansi). I cannot install
-  anything on this machine.
- 
-  Which means that someone else will have to look into this ...

You can pay HP for an ANSI HP-UX 10.20 compiler, possibly upgrade to a
later version of HP-UX which may have an ANSI compiler, or you can get gcc
for HP-UX at the usual location and usual price. It should compile
painlessly even on 10.20's KR compiler.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: (OT) editor

2000-06-01 Thread Charles Curley

On Thu, Jun 01, 2000 at 05:55:45PM +0300, Mikko Hänninen wrote:
- Manuel Arriaga [EMAIL PROTECTED] wrote on Thu, 01 Jun 2000:
-  emacs -f server-start
- 
-  how can I run the server without tying up a
-  virtual console?
- 
- This is pretty basic unix stuff, but I guess you have to learn it from
- somewhere. :-)  Put a  at the end of the (or any) command line, to put
- that command in "background".  eg.
- 
-   emacs -f server-start 

That will work.

I prefer to put options like starting the server into my .emacs, so edit
the following into your .emacs:

(server-start)

Now you can change the line to:

emacs 


(See my emacs resources at the URL in my signature for more information on
.emacs files.)

- 
-  Is it possible to automatically start a "server" version of emacs after
-  login so that mutt can always run emacsclient?
- 
- Sure.  This depends on which shell you're using, but each shell has a
- startup file that is run every time you log in.  For bash, it's .profile
- (or .bashrc, both are used and both work) in your home dir.  For tcsh
- and the like, it's .cshrc.  Putting the above command (with the ) in
- that file will run it every time you log in.
- 
- Note that the file is run *every* time, so hopefully the command will
- not start more than one instance of the server, when run multiple times.

If he puts it into .bashrc, it will run each time a new shell is
launched. To have it run once per login, put it into .bash_profile.

Now, Manuel, read the man page and perhaps some less user hostile
documentation on BASH to learn how to bring background tasks to the
foreground, and the Emacs info pages on how to put it into the background
and return to your shell.


There is another way to do this, I believe. I seem to recall a tool that
lets you launch a program into a given virtual console. Then you can
switch between mutt and emacs by toggling virtual consoles, which I
believe was your original question. Anyone recall its name?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: (OT) editor

2000-06-01 Thread Charles Curley

On Thu, Jun 01, 2000 at 08:52:02PM +0100, Manuel Arriaga wrote:
- Hi Mikko,
- 
- Thanks for the tip!
- 
-  This is pretty basic unix stuff, but I guess you have to learn it from
-  somewhere. :-)  Put a  at the end of the (or any) command line, to put
-  that command in "background".  eg.
-  
-emacs -f server-start 
- (...)
-  Sure.  This depends on which shell you're using, but each shell has a
-  startup file that is run every time you log in.  For bash, it's .profile
-  (or .bashrc, both are used and both work) in your home dir.  For tcsh
-  and the like, it's .cshrc.  Putting the above command (with the ) in
-  that file will run it every time you log in.
- 
- 
- Unfortunately I tried it without success; I put
- 
- #!/bin/sh
- emacs -f server-start 
- 
- into my ~/.profile (I just found out that my shell is called "bash"... :-) and 
logged in again, but I get an error message saying
- 
- emacs: standard input is not a tty
- [3]+  Exit 1  emacs -f server-start

Try it without the shebang line (#!/bin/sh). Bash executes the script
itself, so you should not have a call to another shell process.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Sending Mail

2000-05-30 Thread Charles Curley

On Tue, May 30, 2000 at 03:37:02PM +0530, Suresh Ramasubramanian wrote:
- Antoine Martin proclaimed on mutt-users that: 
- 
- On Tue, May 30, 2000 at 05:49:19AM -0400, Thomas Dickey wrote:
-  On Tue, May 30, 2000 at 10:16:10AM +0200, Antoine Martin wrote:
-works.  q causes a recording message bottom left of the screen.  Is
-   
-   I think you edit your mails with vi (q permits to record a macro with vi)
-  
-  no - that's vim, not vi.
-  vi does nothing with 'q'.
-  (in vile, a 'q' starts visual selection ;-)
- 
- Autant pour moi ;)
- 
- In fact, I use solaris 5.7 with vim, vi is aliased to vim ;)
- 
- Not a bad idea at all ... can anybody point me to a good howto on the
- viper mode in emacs?
- 
- s/mutt-users/vi[m]-users ;)


In Emacs, C-h i C-s viper


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Using multiple mailboxes with Mutt ( procmail filtering).

2000-05-26 Thread Charles Curley

On Fri, May 26, 2000 at 12:51:09AM +, Tom Gilbert wrote:
- * Jacob Davies ([EMAIL PROTECTED]) wrote:
-  in my .muttrc.  They all work OK, but the interface for dealing with multiple
-  mailboxes in mutt doesn't seem that great.  As I understand it, I will get
-  notification that I have new mail when it arrives in any of those mailboxes,
-  and in order to get to my next piece of new mail in any mailbox I have to
-  hit "c" to change mailboxes, hit Return, and hit Tab.  If I want to pick
-  an arbitrary mailbox I need to hit "c", "?" to pick from a list.
- 
- Not entirely what you're after here, but may be of use to you... I find
- the default folder navigation painful too, so I wrote some cursor-key
- navigation macros to make life better. Try these out?
- 
- bind  pager   up previous-line
- bind  pager   down   next-line
- bind  pager   left   exit
- bind  pager   right  view-attachments
- bind  attach  left   exit
- bind  attach  right  view-attach
- bind  index   right  display-message
- macro index   left   "c?"
- bind  browser right  select-entry
- bind  browser left   exit
- 
- It makes life much simpler IMO, and best of all, it's one-handed ;-)

Cool! Thank you, sir. Makes mutt much easier to use. A candidate for
inclusion with the distributuion.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Multiple IMAP Servers

2000-05-26 Thread Charles Curley

On Fri, May 26, 2000 at 10:35:16PM +0530, Suresh Ramasubramanian wrote:
- David T-G proclaimed on mutt-users that: 
- 
- Do mutt and IMAP support
- 
-   {user:pass@hostname:port}folder
- 
- instead?  Of course, leaving your password(s) in your muttrc is probably
- not a Good Thing (tm) anyway...
- 
- I haven't tried it but there is no reason why not.  And re leaving your
- password in your .fetchmailrc and .muttrc, if somebody gains access to
- your account, it is already compromised - worrying about passwords is
- redundant, sort of :)

Not necessarily. Your email server password may be different from your
login password. Mine are. You can, however, give only the user permission
to read or write to the two files, probably a good idea in general. An
other things we all know and don't do. :-)


- 
- -- 
- Suresh Ramasubramanian | sureshr at staff.juno.com
- He who attacks the fundamentals of the American broadcasting industry
- attacks democracy itself.
-  -- William S. Paley, chairman of CBS

Hmmph, a version of "What's good for General Motors is good for the USA."


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: I want a different sort of macro

2000-05-23 Thread Charles Curley

On Tue, May 23, 2000 at 02:00:34PM +0100, Chris Green wrote:
- I want to be able to have macros that will expand to such things as
- domain names which can be used anywhere.  For example I send a lot of
- mail to *different* users at both my work domain (kbss.bt.co.uk) and
- my home domain (isbd.demon.co.uk).  It would be nice if I could set up
- (two character?) macros that would expand to these domains rather than
- having to type them in every time.
- 
- Aliases don't help as they expect to be a full email address (or can
- aliases be used for parts of names?). I don't send mail frequently
- enough to specific users at isbd.demon.co.uk for it to be worth creating
- aliases for them but I do send mail very frequently to different
- names@isbd.demon.co.uk so a quick way of entering @isbd.demon.co.uk
- would be very useful.
- 
- The existing macro facility doesn't help because the macros
- are only detected at the beginning of any command.
- 
- I don't think this can be done in mutt at the moment but I think it
- would be useful - what do others think regarding adding it to the
- wish-list?

This seems to me to be the sort of thing you could easily do in your
editor. That also seems to me to be the place for it.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Success! Do you know which MUA I am using for sending this email??

2000-05-22 Thread Charles Curley

On Sun, May 21, 2000 at 09:26:10PM +0100, [EMAIL PROTECTED] wrote:
- Hi all/Emily,
- 
- Success! I just discovered that I had accidentally deleted the symlink in 
/usr/sbin/sendmail which called postfix, so that was why the messages weren't being 
sent at all.
- 
- Then I called a small script (copied from the postfix docs) which flushes the mail 
queue and 
- 
- In the mean time I had installed fetchmail and it revealed itself to be very easy 
to use: one command line
- 
- fetchmail -p POP3 -u username POP.server.address
- 
- retrieved my messages, and there it was: the test message I had just sent to 
myself!!
- 
- It all works flawlessly; I am very gratefull for your help! Just one question, 
though:
- 
- Right now, I must use all this commands to retrieve my messages and send any 
replies:
- 
- fetchmail
- mutt
- .email (name of the script which flushes the queue)
- 
- How do you "gurus" :-) do it?

Excellent start.

To answer the question in your subject line, yes. In mutt, hit "h" to
reveal all the headers. :-)

Now, if you run X, look at fetchmailconf. Get your configuration into
.fetchmailrc, which will save you a lot of typing and is less error prone.

Also, set fetchmail to run as a daemon. You may not want to do that if
you use a dial up on demand connection, though.

Then look at procmail to filter your incoming email into separate files,
including, in some cases, /dev/null.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: absolute newbie...

2000-05-21 Thread Charles Curley

On Sun, May 21, 2000 at 07:44:58PM +0100, Manuel Arriaga wrote:
- Hi everyone, 
- 
- I am trying to send /receive emails from the console, so I went for (and
- installed) mutt 1.2 and postfix.
- 
- I believe I configured postfix correctly, but now I haven't got *a clue*
- on how to use mutt. And I did try to read the provided manual and the
- man page for mutt, but they don't seem to cover the basics... can anyone
- point me to some sort of tutorial which will teach me the very basics of
- mutt? How can I, for example send an email? Is there any special
- configuration necessary before doing so? I pressed "m" and then typed an
- address, then a subject line, and then got an "message aborted" error
- message... I thought that was due to the fact that I hadn't defined an
- editor, so I declared (at the bash prompt)
- 
- VISUAL=emacs
- EDITOR=emacs

One suggestion: Leave a copy of emacs running at all times, and use
"EDITOR=emacsclient" instead. It brings up your editor much faster. That is
how RMS and other emacs gurus do it.

Also, I would change it to "export EDITOR=emacsclient" so that daughter
processes -- like mutt -- will see the variables.

- 
- but mutt still aborted after inputing the message's subject line. Any
- tips?
- 
- Or should I try a simpler email client? Is the latest version of elm any
- easier to use?
- 
- Thank you for your attention.
- 
- Best regards,
- 
- Manuel

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Folder Hooks

2000-05-17 Thread Charles Curley

On Wed, May 17, 2000 at 07:58:38AM +0200, Frank Derichsweiler muttered:
- On Tue, May 16, 2000 at 07:57:00PM -0600, Charles Curley wrote:
-  OK: I have some send hooks working. When I try to do analogous things with
-  folder hooks, those fail. For example:
-  
-  folder-hook =wyo_lp 'set signature=~/.signatures/conan_the_anarchist.txt'
-  folder-hook =wyo_lp 'my_hdr Reply-To: [EMAIL PROTECTED]'
-  
-  does not seem to work, where
-  
-  I am testing by going into the appropriate folder, then starting a new
-  email with "m". 
- 
- Some ideas:
- * Do you have some other folder-hooks in your muttrc? IMHO *all*
- matching ones are executed. E.g. a folder-hook . unmy_hdr reply-to
- later in the muttrc will abandon your Reply-to-address. 
- *Is the = directory properly set at that time? (muttrc is read from
- top to bottom...) 
- * Try removing the '' ticks in the 2nd one.
- 
- HTH
- Frank

Thanks, Frank, but no joy on any of these. I even commented out my
"folder-hook . ..." defaults, which are above the ondes I showed above.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Folder Hooks

2000-05-17 Thread Charles Curley

On Wed, May 17, 2000 at 06:27:03PM +0300, Mikko Hänninen muttered:
- Charles Curley [EMAIL PROTECTED] wrote on Tue, 16 May 2000:
-  I am testing by going into the appropriate folder, then starting a new
-  email with "m". If I provide the appropriate address for the send hook, it
-  works. If I provide a different address, the defaults are invoked. This is
-  true even when I comment out my send hooks.
- 
- I still think it might be because the send-hooks are overriding the
- settings in the folder-hook(s).  The send-hook stuff is executed every
- time you beging a new email, so if you have a default send-hook (very
- likely) that gets executed every time.  If it sets any of the same
- things that you set with a folder-hook when entering that folder, those
- settings will be overridden.

This turns out to be correct. I carefully commented out only the default
send hooks, and then use an email address that would not trigger any of
the custom ones. I got my folder hook to work.

Either I previously observed my tests incorrectly (quite possible after
many interations), or something else prevented the folder hooks from
working. Previously I did comment out all of my send hooks, not just the
default ones, and restarted mutt.


This may be a problem. I would like to use both send-hooks and folder
hooks. I will explore further.


- 
- You say that this happens even when you comment out the send-hooks, but
- did you *restart* Mutt after that?  Even if you comment the lines out
- from your .muttrc and do ":source .muttrc" then send-hooks will remain,
- you need to restart Mutt to do a full reset.
- (Or, I suppose you could use the clear-hooks command to clear all
- send-hooks, but restart is a sure way...)

I have been restarting mutt.


- 
- 
- Regards,
- Mikko
- -- 
- // Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
- // The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
- // Interests: roleplaying, Linux, the Net, fantasy  scifi, the Corrs /
- "The last good thing written in C was Franz Schubert's Symphony #9."

Not the Concerto for Line Printer and Orchestra, by Franz List?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Folder Hooks

2000-05-16 Thread Charles Curley

OK: I have some send hooks working. When I try to do analogous things with
folder hooks, those fail. For example:


folder-hook =wyo_lp 'set signature=~/.signatures/conan_the_anarchist.txt'
folder-hook =wyo_lp 'my_hdr Reply-To: [EMAIL PROTECTED]'


does not seem to work, where


send-hook '~C [EMAIL PROTECTED]' "set 
signature=~/.signatures/conan_the_anarchist.txt; \
my_hdr Reply-To: [EMAIL PROTECTED]"


does work correctly.

The case is correct in the folder name.

I am testing by going into the appropriate folder, then starting a new
email with "m". If I provide the appropriate address for the send hook, it
works. If I provide a different address, the defaults are invoked. This is
true even when I comment out my send hooks.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Personalities

2000-05-14 Thread Charles Curley

Is it possible to have multiple personalities in Mutt?

Suppose I want to compose an email. I want it to be from [EMAIL PROTECTED], and
have a signature file of ~.signatures/foo.signature.txt. After the enmail
is composed and sent, I want the items cusomized for the email to revert
to their settings for my usual personality.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: C-c C-c

2000-05-13 Thread Charles Curley

On Fri, May 12, 2000 at 11:32:57PM -0400, Jonathan Pennington wrote:
- Again with the lost configs. I used to just type that sequence after
- writing an email and emacs would save and exit, automagically
- releasing control to Mutt. Unfortunately, now I have to explicitily
- exit before continuing. Does anyone know what I want to adjust to
- make the sequence C-c C-c (or any sequence for that matter) do this
- automagically again? I know that this is really a .emacs question, but
- I thought it was in post.el, so it's a Mutt specific .emacs question
- :-)

Rather than firing up Emacs and exiting it every time you want to use it,
fire up Emacs once per login and shut it down when you log out. It means
access to files is much faster.

In Mutt, set your editor to emacsclient:

set editor="emacsclient"# editor to use when composing messages

and use C-x # to exit. You can do other tricks by building an elisp
function which would call "server-exit", the function C-X # calls. For
example, one of these days I will get around to writing a function like
that which calls spook:


supercomputer domestic disruption Uzi Ft. Meade World Trade Center Legion
of Doom DES Qaddafi NORAD fissionable SDI nuclear kibo munitions CIA


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



re-arranging the sample muttrcs

2000-05-08 Thread Charles Curley

On Mon, May 08, 2000 at 11:54:22AM -0500, Jeremy Blosser muttered:
-  On Sun 05/07/00 at 11:40 PM -0500, "Corey G." [EMAIL PROTECTED] wrote:
-  
-   I am looking for what I would call a nice color scheme for Mutt.  I
-   currently use the scheme listed below but I would like to see what other
-   people have come up with.
- 
- Hmmm... maybe I should split the configs section of the web site up to
- offer more than just full muttrcs?  A section on useful hooks, colors,
- tricks, etc?

YES! Much more useful. But a lot of work.

For example:

Color schemes
Fred's color scheme for purpose X
Harry's color scheme for purpose Y

Save Hooks
A save hook to do A
Another save hook to do A
A save hook to do B

Try to pull things together to show how various variable and functions
play together. For example, with send hooks you need to set up defaults,
THEN your cusomizations. So I have this in my .muttrc:


# globals, apply to all emails.
send-hook . unmy_hdr Reply-To:
send-hook . 'my_hdr From: [EMAIL PROTECTED]'
send-hook . 'set attribution="On %d, %n wrote:"'
send-hook . set signature=~/.signatures/.signature

# Specific addresses: set up replies. If you are going to add a new hook
# here, make sure the relevant varibale is also set in the defaults.

# The mutt users list
send-hook mutt- 'set attribution="On %d, %n muttered:"'

# The Wyo LP list
send-hook '~C [EMAIL PROTECTED]' "set 
signature=~/.signatures/conan_the_anarchist.txt; \
my_hdr Reply-To: [EMAIL PROTECTED]"

# Mail sent to the Wyo LP webmaster
send-hook '~f [EMAIL PROTECTED]' "set signature=~/.signatures/.sig.wyolp.web; \
    my_hdr From: Charles Curley [EMAIL PROTECTED]"



-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: using Mutt with xbiff?

2000-04-28 Thread Charles Curley

On Fri, Apr 28, 2000 at 03:21:38PM -0400, Hardy Merrill wrote:
- Is it possible to use Mutt with xbiff?
- 
- I'm a newbie to Mutt, and am trying to use Mutt with xbiff,
- and what happens is, my xbiff notification happens when I
- get a new message, but then as soon as Mutt recognizes that
- there's a new message, it retrieves(?) it and my xbiff
- notification goes off - making xbiff pretty useless.
- 
- Am I doing something wrong(or not doing something right)?
- 
- TIA.
- -- 
- Hardy Merrill
- Mission Critical Linux, LLC
- http://www.missioncriticallinux.com

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: feature request: graft and prune functions

2000-04-24 Thread Charles Curley

On Wed, Apr 19, 2000 at 09:03:44AM +0200, Thomas Roessler muttered:
- On 2000-04-19 00:18:22 -0400, David T-G wrote:
- 
-  Thoughts?
- 
- Real men use edit-message for this functionality.  But
- then again, real men also read their e-mail with dd(1).
- 
- :-)

_REAL_ programmers read their email in braille by passing their fingers over
the magnetic domains on the hard drive platter.

:-)

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: bold and underline in manual.txt

2000-04-13 Thread Charles Curley

On Thu, Apr 13, 2000 at 02:17:19PM -0400, David T-G muttered:
- Charles --
- 
- ...and then Charles Curley said...
- % On Thu, Apr 13, 2000 at 04:26:49PM +0100, Lars Hecking wrote:
- % - 
- % -  doc/manual.txt may be there, but for reading on line and searching it is
- % -  nearly useless.
- % - 
- % -  Not true. Get a decent text viewer. For instance less.
- % 
- % Lars, it comes across as a bit arrogant to say, if you don't like the way
- % we do things, then change the way you do things.
- 
- I admit that the answer was a little terse, but it's not entirely
- unfounded.  You didn't tell everyone up front that you were particularly
- tied to emacs (and I'll even try to not start a religious war!) so the
- logical assumption was simply that you were throwing any tool handy, like
- vi, at the file.  It wasn't meant to be edited, though, but just read, so
- just read it with a reader and keep things simple.

You are right, I did get a bit hot under the collar there. My apologies to
Lars.


- 
- 
- % -  including the manual as html?
- % - 
- % -  The html manual i_s_ included.
- % 
- % Where?
- 
- I just have to say that this had me laughing pretty hard.  That darned
- web thingy has just polluted everything; here you want something simple
- that can be viewed with a text editor, and you ask for an html version??
- [Why, back in *my* day, we had to dial up our uucp connection and
- download the newsfeed if we wanted to get files, and we had to use the
- letter 'o' because zero hadn't been invented yet... ;-]

After, of course, you bootstrapped your computer with toggle switches and
little blinking lights. Why, I remember when a six digit seven segment
display and a hex keypad was an improvement. (KIM I) Wrote my own keyboard
driver, I did.

But then I worked on one of the earliest silicon based computers, about 3
thousand years ago, near what is today Salisbury, England.

jihad Honduras FBI nuclear AK-47 fissionable CIA Marxist
counter-intelligence explosion arrangements Delta Force Semtex Treasury
bomb



-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Alias for a big name list

2000-04-08 Thread Charles Curley

On Sat, Apr 08, 2000 at 03:39:56PM -0400, Subba Rao muttered:
- On  0, Subba Rao [EMAIL PROTECTED] wrote:
-  
-  Hi,
-  
-  I can create individual user aliases fine.
-  How can I create an alias for a list of users ( about 30 )?
-  
-  
- 
- Thanks to everyone who replied. I have one other quetions on the same subject.
- I have one group alias that is a very long list of addresses of my team. When I use 
the alias
- name to send mail, it gets expanded to the full list. Sometimes the message, I send 
out
- is only couple of lines and the address list is about 20 times that long.
- 
- How can I prevent the alias name for the group from expanding, but insure that the
- mail gets delivered to the whole list? For example, if the "To:" field has 
"Programmers",
- everyone who receives the note knows who is on the list. I don't want the list to 
explicitly
- list every reciepient.
- 
- Any ideas on how to implement this is appreciated.

Use bcc instead of to.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Using send-hooks with replies

2000-04-03 Thread Charles Curley

On Wed, Jan 26, 2000 at 04:29:01PM -0600, Jeremy Blosser muttered:
- Edmund GRIMLEY EVANS [[EMAIL PROTECTED]] wrote:
-  Jimmy Mäkelä [EMAIL PROTECTED]:
-   Is it possible to look at the original To: of the message which I wan't
-   to reply to, and execute commands based on the contents of that.
-   
-   This would be nice since it is pretty common to have more than one
-   email-address, and it is IMHO better to have the address which they wrote
-   to as From in the reply.
-  
-  This must surely be the second most frequently asked question (after
-  the one about hooks having a permanent effect unless you also have a
-  default hook to reset the state).
- 
- I don't know, "how do I make Mutt filter mail" is pretty popular too ;)
- 
-  See reverse_name in the latest mutt. Unfortunately this isn't in
-  mutt-1.0, I think.
- 
- Others have noted this has been around forever, I will add that you should
- also see the $alternates variable, as reverse_name is useless without it.

OK, having gotten this far, how do you set it up? I experimented and came
up with the following:


# Set the various names by which I expect to get email. A regex.
set alternates="([EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED])"


send-hook '~f [EMAIL PROTECTED]' "set signature=~/.sig.wyolp.web; \
my_hdr From: [EMAIL PROTECTED]; \
    my_hdr Reply-To: Charles Curley [EMAIL PROTECTED]"



Mutt version is 1.0.1.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Using send-hooks with replies

2000-04-03 Thread Charles Curley

On Mon, Apr 03, 2000 at 11:41:53AM -0600, Charles Curley muttered:
- On Wed, Jan 26, 2000 at 04:29:01PM -0600, Jeremy Blosser muttered:
- - Edmund GRIMLEY EVANS [[EMAIL PROTECTED]] wrote:
- -  Jimmy Mäkelä [EMAIL PROTECTED]:
- -   Is it possible to look at the original To: of the message which I wan't
- -   to reply to, and execute commands based on the contents of that.
- -   
- -   This would be nice since it is pretty common to have more than one
- -   email-address, and it is IMHO better to have the address which they wrote
- -   to as From in the reply.
- -  
- -  This must surely be the second most frequently asked question (after
- -  the one about hooks having a permanent effect unless you also have a
- -  default hook to reset the state).
- - 
- - I don't know, "how do I make Mutt filter mail" is pretty popular too ;)
- - 
- -  See reverse_name in the latest mutt. Unfortunately this isn't in
- -  mutt-1.0, I think.
- - 
- - Others have noted this has been around forever, I will add that you should
- - also see the $alternates variable, as reverse_name is useless without it.
- 
- OK, having gotten this far, how do you set it up? I experimented and came
- up with the following:
- 
- 
- # Set the various names by which I expect to get email. A regex.
- set alternates="([EMAIL PROTECTED]|[EMAIL PROTECTED]|[EMAIL PROTECTED])"
- 
- 
- send-hook '~f [EMAIL PROTECTED]' "set signature=~/.sig.wyolp.web; \
- my_hdr From: [EMAIL PROTECTED]; \
-     my_hdr Reply-To: Charles Curley [EMAIL PROTECTED]"
- 
- 
- 
- Mutt version is 1.0.1.

Also, it helps if you set generic hooks to set the variable back to their
defaults for the next message. Otherwise when you send a reply to an email
sent to alternate address, the changes become permanent until you send a
reply to an email to another alternate address.


# globals, apply to all emails.
send-hook . unmy_hdr Reply-To:
send-hook . 'my_hdr From: [EMAIL PROTECTED]'
send-hook . 'set attribution="On %d, %n wrote:"'
send-hook . set signature=~/.signatures/.signature


Is anyone maintaining a Mutt HOW-TO?


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Multiple IMAP accounts?

2000-03-26 Thread Charles Curley

On Sat, Mar 25, 2000 at 06:14:43PM -0600, Ben Beuchler muttered:
- Has anyone come up with a way to access multiple IMAP accounts on
- different servers from mutt?  Or even a way to configure a macro that will
- switch me from one to the other?
- 
- Or am I stuck setting up two seperate .muttrc files and restarting mutt to
- switch?

Fetchmail.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



A mutt-worthy macro

2000-03-24 Thread Charles Curley

Now that I appear to be learning my way around mutt, I thought I should
contribute the following pair of macros, suitable for folks on this list
:-)


send-hook . 'set attribution="On %d, %n wrote:"'
send-hook mutt- 'set attribution="On %d, %n muttered:"'


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



[[expert] Re: [expert) OT: Pegaus Mail]

2000-03-22 Thread Charles Curley


- Forwarded message -

To: [EMAIL PROTECTED]
Subject: [expert] Re: [expert) OT: Pegaus Mail 
Date: Wed, 22 Mar 2000 15:35:58 -0600
X-Mailer: Microsoft Outlook Express 4.72.3110.1

The owner of Pegasus is willing to work privately with a developement team
to make Pegasus mail client available to Linux users.

http://www.pegasus.usa.com/sundry/pmlinux.htm

Pj

- End forwarded message -

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Invoking Procmail

2000-03-17 Thread Charles Curley

Let's see if I have this straight, before I shoot myself in the foot, or
email, anyway.

Mutt doesn't care how it gets its mail, as long as it surfaces someplace
on the computer where it can get at it. One way to get mail from a pop or
imap server is to use fetchmail. If I correctly read the man pages for
fetchmail, it doesn't put the mail in /var/spool/mail/username, or not
directly anyway. Rather, it calls sendmail to do this. If you happen to
have a call to procmail in your /etc/sendmail.cf file, sendmail executes
procmail, which then picks up ~/.procmailrc and executes the filters
there.

Since I already have a call to procmail in my sendmail.cf, all I need to
do to use procmail is write a .procmail.

Here is the invocation to procmail in sendmail.cf:


##*##
###   PROCMAIL Mailer specification   ###
##*##

#  @(#)procmail.m4  8.11 (Berkeley) 5/19/1998  #

Mprocmail,  P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, 
T=DNS/RFC822/X-Unix,
A=procmail -Y -m $h $f $u


And indeed procmail is right where the path above indicates it should be.


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Invoking Procmail

2000-03-17 Thread Charles Curley

On Fri, Mar 17, 2000 at 01:28:29PM -0600, David DeSimone wrote:
- Charles Curley [EMAIL PROTECTED] wrote:
- 
-  Since I already have a call to procmail in my sendmail.cf, all I need to
-  do to use procmail is write a .procmail.
- 
- Maybe, maybe not...
- 
-  ##*##
-  ###   PROCMAIL Mailer specification   ###
-  ##*##
-  
-  #  @(#)procmail.m4 8.11 (Berkeley) 5/19/1998  #
-  
-  Mprocmail, P=/usr/bin/procmail, F=DFMSPhnu9, S=11/31, R=21/31, 
T=DNS/RFC822/X-Unix,
- A=procmail -Y -m $h $f $u
- 
- That's a correct definition of the procmail mailer, BUT, the normal mail
- delivery method for local users is a mailer called "local", not
- "procmail".  You should search for the "Mlocal" definition and see if it
- makes use of procmail.
- 
- For instance, on my HP-UX box here, procmail is not used by the local
- mailer:
- 
- Mlocal,  P=/usr/bin/rmail, F=lsDFMAw5:/|@m, S=10/30, R=20/40,
-  T=DNS/RFC822/X-Unix,
-  A=rmail -d $u
- 
- But on my Linux box at home, procmail is used:
- 
- Mlocal,  P=/usr/bin/procmail, F=lsDFMAw5:/|@qShP, S=10/30, R=20/40,
-  T=DNS/RFC822/X-Unix,
-  A=procmail -a $h -d $u
- 
- So your answer is "It depends."  :)

I seem to have a very similar definition in my sendmail.cf.

Mlocal, P=/usr/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=10/30, R=20/40,
T=DNS/RFC822/X-Unix,
A=procmail -Y -a $h -d $u

Thanks!


-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Tagging on To line??

2000-01-31 Thread Charles Curley

I have tons of email I'd like to tag based on the contents of the To:
line. Searching (T) doesn't seem to do it. How can I do that? Thanks.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Getting back to spoolfile

2000-01-12 Thread Charles Curley

On Wed, Jan 12, 2000 at 02:17:02AM +, Telsa Gwynne wrote:
- On Wed, Jan 12, 2000 at 03:48:12AM +0200 or thereabouts, Mikko Hänninen wrote:
-  Jeremy Blosser [EMAIL PROTECTED] wrote on Tue, 11 Jan 2000:
- [summarised what I meant properly :)]
-   It makes a lot of sense once you see how it works, but can be confusing at
-   first.
-  
-  This made me think of something I've been wondering, related to the
-  default prompts but mostly for saving emails and attachements and
-  such, not changing folders.
-  
-  If I want to *add* something to the default prompt that
-  Mutt gives, how do I do that?  For example, say if I'm at a mail
-  message and press s for save, I get the default value of =folder.
-  Now, I want to save the message to a folder called =folder-foo.
-  How do I do this without having to type in "=folder-foo"?
- 
- To save something? Same as changing folder when you have 
- =folder, =folder-foo, =folder-fod and =folder-fot. 
- 
- I hit "=f" then the tab key and get a prompt of "=folder". Then
- I either
-  hit "-f" and get "=folder-foo" as a prompt if that was
- sufficiently unique. Then I hit return and it gets saved.
- or
-  hit tab again, and get something like the file browser,
- only it restricts its list to =folder-fod, =folder-foo and
- =folder-fot. With numbers next to them. Either I hit the 
- number or I move my cursor to the correct one and hit return
- to save it. Hitting "q" (in my settings, the default I believe)
- gets you out of that. 
- 
- I discovered this because every month or so I have a fit with
- tagging ~A and moving everything in =sent to =sent-YYMM and
- everything in =received to =received-YYMM and one day I was
- in bash-mode in my head and hit tab again to list the options.
- And it worked :) Yea, and I didn't need the manual or the
- list for once!
- 
- Telsa



I have found by accident and experimentation that a lot of Emacs
keystrokes work in Mutt. For example, to solve Jeremy's problem, above, I
tried control-e (got to the end of the line), and then start appending to
the proposed folder name. It worked.

Telsa, your BASH experience worked here because BASH also uses many Emacs
keystrokes. Unless you set the vi option: "set -o vi".




-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



[MAILER-DAEMON@trib.com: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA]

2000-01-05 Thread Charles Curley

I get the following message from my ISP. I see it on Mutt and Eudora. I am
using Fetchmail and IMAP to fetch mail from the ISP. Is this anything I
need to worry about?

- Forwarded message from Mail System Internal Data  -

Date: Tue, 4 Jan 2000 18:17:08 -0700 (MST)
From: Mail System Internal Data
Subject: DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA

This text is part of the internal format of your mail folder, and is not
a real message.  It is created automatically by the mail system software.
If deleted, important folder data will be lost, and it will be re-created
with the data reset to initial values.

- End forwarded message -

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: Multiple POP accounts and personalities...

1999-12-09 Thread Charles Curley

I've been lurking on this list for a while and monitoring this thread on
and off. Now it is time to uncloak.

A key point in the Unix philosophy is to keep it simple, stupid
(KISS). The Unix way is lots of very stupid little programs, which you can
then glue together in new ways to produce new and varied programs to do
new and varied things. Unix is Legos for applications. This has also
worked incredibly well for Forth, but that's another flame war. :-)

One of Microsft's major problems is that they have not followed this
philosphy. Case in point, they have programs like Outlook and Exchange,
which are: bloated, buggy, horridly insecure, and utterly dependant on
NTisms, and so hard to port. I would hate to see mutt go down the same
road.

Unix, wisely, separates mail functions into Mail Transport Agents (MTAs)
and Mail User Agents (MUAs), or mail readers. They are very different
functions. So, consistent with the Unix philosophy, let's keep them as
different programs.

If someone wants to write an MTA that handles IMAPisms and prepares a mail
file for Mutt's convenience, great. Similarly for POP. But, please, get
the MTA functions out of MUTT and leave it as just an MUA.


On Thu, Dec 09, 1999 at 01:40:18PM -0600, David DeSimone wrote:
- Edmund GRIMLEY EVANS [EMAIL PROTECTED] wrote:
- 
-  I haven't yet encountered an ISP POP3 server that doesn't do TOP. 
-  I've only found one that didn't do UIDL.
- 
- So would you have mutt use, or not use, the TOP command, and the UIDL
- command?
- 
-  Note that fetchmail quite happily uses "TOP n 99" instead of "RETR
-  n" to retrieve e-mail.  According to the comments in fetchmail's
-  pop3.c, this method very rarely fails.  (I saw a case recently where
-  it did fail, but this was because the server had a buggy
-  implementation of TOP, not because it didn't implement TOP.)
- 

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley



Re: s(ave) default mbox

1999-12-03 Thread Charles Curley

Yes, it's a very lame excuse. Some of us also barely have time to read a
newspaper, never mind do your research for you. I for one would like to
see some evidence that you have done a bit of research before you ask the
list.

Also, while we are on netiquette, I would appreciate it if people would
follow Jan's example below: post solutions or confirm correct solutions to
the list so that they end up in the archive. The archive should be a tool
people can use before asking the list.


On Fri, Dec 03, 1999 at 11:49:27AM +0100, Jan Houtsma wrote:
- On Fri, Dec 03, 1999 at 11:32:37AM +0200, Mikko Hänninen wrote:
-  Jan Houtsma [EMAIL PROTECTED] wrote on Fri, 03 Dec 1999:
-   Can i change this default in muttrc that any email from person
-   'xxx' should always be going to mailbox '=school' ??
-  
-  save-hook xxx =school
- 
- Thanks!
- 
-  
-  Or something like that, read the manual for more info on save-hooks.
-  
- 
- i know i know. I hardly have time to read the newspaper at the moment.
- Its a lame excuse i know. But sometimes its easier if someone can just
- immedeiatelly tell you by head than to read a whole document :-)
- 
- jan

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley