Re: char sets (was Re: mail-followup-to standard.... though it shouldn't have been)

2001-12-05 Thread René Clerc

* David T-G [EMAIL PROTECTED] [05-12-2001 03:18]:

| My charset value is
| 
|   :set ?charset
|   charset=iso-8859-1

So is mine.

| so I should think that it would be fine.  Does anyone have any idea what
| might be up?

Except for this incredibly long list of patches, most values are the
same with me. Unless anybody else has a clue, I suggest you take a
peek at my box, test it by sending mail to it, and fix it ;)

GL,

-- 
René Clerc  - ([EMAIL PROTECTED])

To be patriotic, hate all nations but your own; to be religious, all sects
but your own; to be moral, all pretenses but your own.
-- Lionel Strachey



msg21071/pgp0.pgp
Description: PGP signature


Re: binding and slow reaction

2001-12-05 Thread Thomas Dickey

On Tue, Dec 04, 2001 at 09:48:35PM -0500, Brian Clark wrote:
 
 Can anyone tell me why this:
 
 bind pager \e exit
 
 Causes there to be a full 1 second delay, after hitting Esc, before it
 actually quits the pager?
 
man ncurses

   ESCDELAY
Specifies  the total time, in milliseconds, for which
ncurses will await  a  character  sequence,  e.g.,  a
function  key.  The default value, 1000 milliseconds,
is enough for most uses.  However, it is made a vari-
able to accommodate unusual applications.

(it's hardcoded in slang, btw)
 
 -- 
  -Brian Clark
 
 % egrep -i pager= ~/.muttrc
 set pager=builtin
 
 % mutt -v
 Mutt 1.3.23i (2001-10-09)
 Copyright (C) 1996-2001 Michael R. Elkins and others.
 Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
 Mutt is free software, and you are welcome to redistribute it
 under certain conditions; type `mutt -vv' for details.
 
 System: Linux 2.2.19 [using ncurses 5.2]

-- 
Thomas E. Dickey [EMAIL PROTECTED]
http://invisible-island.net
ftp://invisible-island.net



matching in hooks

2001-12-05 Thread Roman Neuhauser

Hi there,

I started playing with hooks, and can't get one thing to work:

Let's say I want to have a different signature when mailing/replying to
[EMAIL PROTECTED] I put this in my .muttrc:

send-hook . 'set signature = ~/bin/signature|'
send-hook '~e john@doe\\.com' 'set signature=FUBAR'

When I start mutt with this config, and locate a mail from john doe with
/~e john@doe\.com
(i. e. the pattern matches), and hit r, I get the regular signature, not
the customized one. 

What ad I doing wrong?

TIA

-- 
FreeBSD 4.4-STABLE
12:03PM up 42 days, 22:46, 13 users, load averages: 0.02, 0.06, 0.05



Re: matching in hooks

2001-12-05 Thread René Clerc

* Roman Neuhauser [EMAIL PROTECTED] [05-12-2001 12:06]:

| Hi there,
| 
| I started playing with hooks, and can't get one thing to work:
| 
| Let's say I want to have a different signature when mailing/replying to
| [EMAIL PROTECTED] I put this in my .muttrc:
| 
| send-hook . 'set signature = ~/bin/signature|'
| send-hook '~e john@doe\\.com' 'set signature=FUBAR'
| 
| When I start mutt with this config, and locate a mail from john doe with
| /~e john@doe\.com
| (i. e. the pattern matches), and hit r, I get the regular signature, not
| the customized one. 
| 
| What ad I doing wrong?

Spotted in TFM:

~e EXPR message which contains EXPR in the ``Sender'' field

In your scenario, John Doe isn't the sender, *you* are the sender.
John Doe was the sender of the mail you received from him, but since
you're replying, there is a new message, which contains John Doe as
recipient, not as sender.

You'll probably want one of these: ~C, ~c or ~t.

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

If you want to make God laugh, tell him about your plans.
-Woody Allen



msg21074/pgp0.pgp
Description: PGP signature


Re: a couple more questions

2001-12-05 Thread Paul Roberts Student lab engineer

On Fri, Nov 30, 2001 at 10:45:30AM -0500, Paul Brannan wrote:

 
 2) Can I set up vim to place the cursor in the To field automatically
when composing a message?

vim +/^To:

But, why does the header even appear in your message when you load it
into vi? Doesn't mutt handle the message header and just send the body
to your editor?

Cheers, - Paul

-- 
Paul Roberts [EMAIL PROTECTED]



Re: a couple more questions

2001-12-05 Thread René Clerc

* Paul Roberts Student lab engineer [EMAIL PROTECTED] [05-12-2001 12:32]:

| On Fri, Nov 30, 2001 at 10:45:30AM -0500, Paul Brannan wrote:
| 
|  
|  2) Can I set up vim to place the cursor in the To field automatically
| when composing a message?
| 
| vim +/^To:
| 
| But, why does the header even appear in your message when you load it
| into vi? Doesn't mutt handle the message header and just send the body
| to your editor?

It's customizable:

check out the edit_headers variable.

Bye,

-- 
René Clerc  - ([EMAIL PROTECTED])

I have opinions of my own -- strong opinions --but I don't always agree
with them.
-George Bush, US President



msg21076/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-05 Thread David T-G

Rene, et al --

...and then Ren? Clerc said...
% * Nicolas Rachinsky [EMAIL PROTECTED] [05-12-2001 00:05]:
% 
% | mark_old unset, new messages stay new (until read), and messages
% | marked_old become new when you leave the mailbox (just try it).
% 
% Aha! I didn't know this; this explains a lot! I wasn't familiar with
% this behaviour, and even think it can be considered a bug.

Worse yet, it's not when you leave the mailbox but when you enter it
again, and then manually setting mark_old on does nothing.  I didn't
figure this out until I tried writing the mailbox with some 'O'ld
messages over and over and over again and then finally got back in with

  mutt -F /dev/null -f =boxname

and found them 'O'ld as I expected but as they never were upon re-entry.


% 
% | The
% | patch changes the behaviour in respect with old messages and unset
% | mark_old, the messages stay old (and new messages stay new).
% 
% I see! Like I said, I would've already expected this behaviour.

Yep.  This is another patch that will go into my cocktail.


% 
% Excusez-moi!
% 
% -- 
% René Clerc  - ([EMAIL PROTECTED])
% 
% It's not the fall that kills you. It's the sudden stop at the end.
% -Douglas Adams


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




msg21082/pgp0.pgp
Description: PGP signature


Re: a bunch of newbie questions

2001-12-05 Thread René Clerc

* David T-G [EMAIL PROTECTED] [05-12-2001 14:34]:

| % | The
| % | patch changes the behaviour in respect with old messages and unset
| % | mark_old, the messages stay old (and new messages stay new).
| % 
| % I see! Like I said, I would've already expected this behaviour.
| 
| Yep.  This is another patch that will go into my cocktail.

Watch it, or you'll get drunk ;)

-- 
René Clerc  - ([EMAIL PROTECTED])

About the use of language: it is impossible to sharpen a pencil with a
blunt ax. It is equally vain to try to do it with ten blunt axes instead.
-Edsger Dijkstra



msg21083/pgp0.pgp
Description: PGP signature


Re: $attribution/$post_indent_string for new mail

2001-12-05 Thread René Clerc

* Thorsten Haude [EMAIL PROTECTED] [05-12-2001 15:40]:

| * Volker Moell [EMAIL PROTECTED] [01-12-05 14:44]:
| But I'd like to have something similar when composing a new mail, but
| unfortunately $attribution and $post_indent_string are only for
| replying.  Is there a equivalent way for new mails or is it possible to
| implement a workaround in an easy manner?  It would be great, if the %n
| can be used to insert the Realname like in $attribution.
| I could send you a NEdit solution that could be changed to do what you
| want. In any case, ask your editor (and its command line), not Mutt.

How about filtering the message through some home-made baking^W
script?

-- 
René Clerc  - ([EMAIL PROTECTED])

Acting doesn't bring anything to a text. On the contrary, it detracts
from it.
-Marguerite Duras



msg21086/pgp0.pgp
Description: PGP signature


Re: $attribution/$post_indent_string for new mail

2001-12-05 Thread Volker Moell

Thorsten Haude wrote:

 I could send you a NEdit solution that could be changed to do what you
 want.

Thanks, but I use emacs.


 In any case, ask your editor (and its command line), not Mutt.

I often read this answer (and I accept it).  But I thought that if mutt
supports $attribution/$post_indent_string for reply, why it doesn't do
it for new mail? I hoped that I simply didn't found the solution in the
man-page.

And the reason my $EDITOR can't do it completely is to do the %n thing
(like in $attribution).  Another reason to think that mutt can help me.


Cheerio,

-volker

-- 
  http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/

Do something unusual today.  Pay a bill.



msg21087/pgp0.pgp
Description: PGP signature


Re: $attribution/$post_indent_string for new mail

2001-12-05 Thread David T-G

Volker --

...and then Volker Moell said...
% Thorsten Haude wrote:
% 
%  I could send you a NEdit solution that could be changed to do what you
%  want.
% 
% Thanks, but I use emacs.

I think he was providing it as a starting base that you could adapt :-)


% 
% 
%  In any case, ask your editor (and its command line), not Mutt.
% 
% I often read this answer (and I accept it).  But I thought that if mutt
% supports $attribution/$post_indent_string for reply, why it doesn't do
...
% And the reason my $EDITOR can't do it completely is to do the %n thing
% (like in $attribution).  Another reason to think that mutt can help me.

I don't get it, though.  Those variables reference data from the replied
mail.  What on earth do you expect to have in them when you're starting
a new mail?


% 
% 
% Cheerio,
% 
% -volker
% 
% -- 
%   http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/
% 
% Do something unusual today.  Pay a bill.


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




msg21088/pgp0.pgp
Description: PGP signature


Command line options

2001-12-05 Thread Barney Wells

I am using mutt .93.1 on SCO UNIX 5.0.5.
I installed mutt last week, so my experience
is one week old. I want my database to e-mail
files to intranet users. This is done with the command;

mutt -s test -a test.file username

Instead of mutt sending the request I am prompted with 
To:username enter
Then I get 
Subject:test enter
Then vi starts, I have to type a message in vi and save.
Then the mutt console starts and I press y to send.
Can you please help me with the config settings that I am missing.

Also, the only version I could get working is the version that
I found on the skunkware CD-ROM.
 
Thanks in advance
BW




__
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com



Re: $attribution/$post_indent_string for new mail

2001-12-05 Thread Thorsten Haude

Moin,

* David T-G [EMAIL PROTECTED] [01-12-05 15:57]:
%  I could send you a NEdit solution that could be changed to do what you
%  want.
% Thanks, but I use emacs.
I think he was providing it as a starting base that you could adapt :-)
No; NEdit's macro language is mercifully unsimilar to Lisp.

Thorsten
-- 
It is dangerous to be right when the government is wrong.
- Voltaire



change folder traversal order

2001-12-05 Thread Paulius Bulotas

Hello,

not good behaviour:
cEnter
folder1 [there are new messages, but i don't want to read them now]
cEnter
folder2 [I read all messages]
cEnter
folder1

is it possible to configure mutt that it jumped to folder3, not folder1?

Thanks ;)
Paulius



Re: Command line options

2001-12-05 Thread Cliff Sarginson

On Wed, Dec 05, 2001 at 07:20:38AM -0800, Barney Wells wrote:
 I am using mutt .93.1 on SCO UNIX 5.0.5.
 I installed mutt last week, so my experience
 is one week old. I want my database to e-mail
 files to intranet users. This is done with the command;
 
 mutt -s test -a test.file username

mutt -x -s test -a test.file username /dev/null
 

-- 
Regards
Cliff





Re: Command line options

2001-12-05 Thread David T-G

Barney --

...and then Barney Wells said...
% I am using mutt .93.1 on SCO UNIX 5.0.5.

Wow, that's pretty old :-)


% I installed mutt last week, so my experience
% is one week old. I want my database to e-mail
% files to intranet users. This is done with the command;
% 
% mutt -s test -a test.file username
% 
% Instead of mutt sending the request I am prompted with 
...

Since you've provided no message body (with something like

  echo testing | mutt -s test -a test.file username

or

  mutt -s test -a test.file username  /dev/null

as examples) mutt gives you the opportunity to provide it.


...
% Can you please help me with the config settings that I am missing.

No config; just usage :-)


% 
% Also, the only version I could get working is the version that
% I found on the skunkware CD-ROM.

I take it, then, that you've downloaded some fairly current source
(1.2.5, 1.3.x) and tried to compile it on your box...  What sorts of
problems did you have?


%  
% Thanks in advance
% BW

HTH  HAND


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




msg21093/pgp0.pgp
Description: PGP signature


Re: char sets (was Re: mail-followup-to standard.... though it shouldn't have been)

2001-12-05 Thread Michael Tatge

David T-G muttered:
 % | % René Clerc  - ([EMAIL PROTECTED])
 
 Interesting...  Your accented e showed up as backslash-three-five-one
 in the pager

 My charset value is
 
   :set ?charset
   charset=iso-8859-1
 
 so I should think that it would be fine.  Does anyone have any idea what
 might be up?

What are your LC settings?

Mine are:
LANG=en_US
LANGUAGE=en_US:en
and LC_ALL=en_US

Works like charm. :)

HTH,

Michael
-- 
I've run DOOM more in the last few days than I have the last few
months.  I just love debugging ;-)
(Linus Torvalds)

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



From: and From

2001-12-05 Thread christophe barbé

Hi,

For all mailing-list I use a special address :
   [EMAIL PROTECTED]
instead of my primary one.
  
Under mutt I've set a sender-hook to setup correctly the header:

send-hook . 'my_hdr From: christophe barbé [EMAIL PROTECTED]'
send-hook '~l' 'my_hdr From: christophe barbé [EMAIL PROTECTED]'

But after a reject on a mailing-list I've noticed that the mail contains
the correct address in the 'From: ' header line but not in the first line
of the header 'From '.

I guess that mutt perhaps use the adress in /etc/email-addreses for the
first 'From ' line. Is this normal? I've tested with balsa, and the both
From lines are correct (So this is not a exim problem).

You can check header in this mail.

Christophe


-- 
Christophe Barbé [EMAIL PROTECTED]
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8  F67A 8F45 2F1E D72C B41E



msg21095/pgp0.pgp
Description: PGP signature


Re: $attribution/$post_indent_string for new mail

2001-12-05 Thread Volker Moell

David T-G wrote:

 I don't get it, though.  Those variables reference data from the replied
 mail.  What on earth do you expect to have in them when you're starting
 a new mail?

In replied messages it's the realname part in From:, so now I want the
realname part in To: (prompted after typing m).  Is this so
illogical?

Seeya,

-volker

-- 
  http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/

98% of all statistics are useless.



msg21096/pgp0.pgp
Description: PGP signature


Re: $attribution/$post_indent_string for new mail

2001-12-05 Thread Thomas Hurst

* Volker Moell ([EMAIL PROTECTED]) wrote:

 In replied messages it's the realname part in From:, so now I want
 the realname part in To: (prompted after typing m).  Is this so
 illogical?

It is when you allow editing of headers (doesn't everybody? :)

I'd recommend allowing editing of headers and writing a macro to fill in
the gaps from them before it's written.

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/



Re: patch-1.3.23.cd.edit_threads-6[.CYA] not working

2001-12-05 Thread Prahlad Vaidyanathan

Hi,

On Tue, 04 Dec 2001 Cedric [EMAIL PROTECTED] spewed into the ether:
 * Prahlad Vaidyanathan [EMAIL PROTECTED] [11/30/01 17:39]:
   Or wait a little... I will rewrite the patch so that it can work along
   with the new threading code.
 
 Done.
 
  I'll take the latter option. Thanks !
 
 You'll find the patch updated for the new threading implementation at
 
   http://cedricduval.free.fr/mutt/

Works like a charm ! Thanks !

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



msg21098/pgp0.pgp
Description: PGP signature


Re: binding and slow reaction

2001-12-05 Thread Brian Clark

* David T-G [EMAIL PROTECTED] [Dec 05. 2001 08:19]:

 Meanwhile, if you first exit and then delete, you should move to the next
 unread and not be in the pager.
 
 In either case, you wouldn't need the next-unread in your macro, so I
 suspect that you have resolve=no.

OK, I checked out my .muttrc and I do have resolve unset. So there's my
whole problem with the move-to-the-next-message thing.
 
 % Which is basically what I was trying to do (Del, Esc to close, then
 % arrow down).
 
 Did you specifically want to not be back in the pager?  That looks like
 the factor that will decide how you might rewrite.

Yep, I wanted to exit the pager.
 
 HTH  HAND

Thanks, David

-- 
 -Brian Clark




Re: binding and slow reaction

2001-12-05 Thread Brian Clark

* Thomas Dickey [EMAIL PROTECTED] [Dec 05. 2001 04:49]:

 man ncurses
 
ESCDELAY
 Specifies  the total time, in milliseconds, for which
 ncurses will await  a  character  sequence,  e.g.,  a
 function  key.  The default value, 1000 milliseconds,
 is enough for most uses.  However, it is made a vari-
 able to accommodate unusual applications.
 
 (it's hardcoded in slang, btw)

OK, this is bordering on confusion (mine), but I decided to go with
another key because I'm still checking out all of Mutt's features and
would rather not FUBAR the Esc key combinations.

I see that I am using ncurses, though. (.deb mutt package)

Thanks for the heads-up.

-- 
 -Brian Clark




Re: patch-1.3.23.cd.edit_threads-6[.CYA] not working

2001-12-05 Thread Cedric Duval

Hi Prahlad,

  You'll find the patch updated for the new threading implementation at
  
http://cedricduval.free.fr/mutt/

 Works like a charm ! Thanks !

I'm afraid that's not entirely true: there was a nasty bug in
patch-1.3.24.cd.edit_threads.7

This is fixed in edit_threads.8, that I've just uploaded at

  http://cedricduval.free.fr/download/patch-1.3.24.cd.edit_threads.8

Sorry for the inconvenience,
-- 
Cedric



msg21101/pgp0.pgp
Description: PGP signature


Re: From: and From

2001-12-05 Thread Michael Elkins

I believe you want to
set envelope_from
to force your envelope adderess to be the same as your From: address.

me



highlighting unread messages in the index

2001-12-05 Thread Paul Brannan

In the index, unread messages show up as bold (bright white).  When I
select a message using the cursor, it shows up as a normal (light grey)
foreground with a blue background.  Unfortunately, this is the same
color as a read message, so it is difficult to tell whether a message is
new without moving the cursor or looking at the flags at the left.  Is
there any way I can make a highlighted unread message show up bold?

Here's the relevant portion of my .muttrc:

color normal defaultdefault
color index  brightwhitedefault ~N
color index  brightwhitedefault ~O
color indicator  defaultblue

TIA,

Paul




Re: patch-1.3.23.cd.edit_threads-6[.CYA] not working

2001-12-05 Thread Thorsten Haude

Hi,

* Cedric Duval [EMAIL PROTECTED] [01-12-05 20:19]:
This is fixed in edit_threads.8
I have just patched in all three of your changes in 1.3.24i. While
patching, I got one error each (with different line numbers):
- - - Schnipp - - -
can't find file to patch at input line 715
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--
|--- PATCHES~   Sun Dec  3 08:54:50 2000
|+++ PATCHES Sun Dec  2 01:07:35 2001
--
- - - Schnapp - - -

Unfazed, I continued.

Configure (./configure --prefix=/usr --with-homespool=Mail/in) runs
fine, make gives one warning, probably not yours:
- - - Schnipp - - -
pager.c: In function `format_line':
pager.c:1118: warning: implicit declaration of function `wcwidth'
- - - Schnapp - - -

The linking fails, however:
- - - Schnipp - - -
mx.o: In function `trash_append':
/home/hde/work/mail/mutt/mutt-1.3.24/mx.c:825: undefined reference to `TrashPath'
/home/hde/work/mail/mutt/mutt-1.3.24/mx.c:838: undefined reference to `TrashPath'
signature.o: In function `mutt_signature':
/home/hde/work/mail/mutt/mutt-1.3.24/signature.c:485: undefined reference to 
`SigDirectory'
/home/hde/work/mail/mutt/mutt-1.3.24/signature.c:491: undefined reference to 
`SigDirectory'
- - - Schnapp - - -

So is it the patching that went wrong?

Thorsten
-- 
Nichts ist schwerer und erfordert mehr Charakter, als sich in offenem
Gegensatz zu seiner Zeit zu befinden und zu sagen: Nein!
- Kurt Tucholsky



Re: binding and slow reaction

2001-12-05 Thread Cliff Sarginson

On Wed, Dec 05, 2001 at 01:45:43PM -0500, Brian Clark wrote:
 * Thomas Dickey [EMAIL PROTECTED] [Dec 05. 2001 04:49]:
 
  man ncurses
  
 ESCDELAY
  Specifies  the total time, in milliseconds, for which
  ncurses will await  a  character  sequence,  e.g.,  a
  function  key.  The default value, 1000 milliseconds,
  is enough for most uses.  However, it is made a vari-
  able to accommodate unusual applications.
  
  (it's hardcoded in slang, btw)
 
 OK, this is bordering on confusion (mine), but I decided to go with
 another key because I'm still checking out all of Mutt's features and
 would rather not FUBAR the Esc key combinations.

I think you will save yourself a lot of grief with this decision :)

-- 
Regards
Cliff





Re: highlighting unread messages in the index

2001-12-05 Thread René Clerc

* Paul Brannan [EMAIL PROTECTED] [05-12-2001 20:52]:

| In the index, unread messages show up as bold (bright white).  When I
| select a message using the cursor, it shows up as a normal (light grey)
| foreground with a blue background.  Unfortunately, this is the same
| color as a read message, so it is difficult to tell whether a message is
| new without moving the cursor or looking at the flags at the left.  Is
| there any way I can make a highlighted unread message show up bold?
| 
| Here's the relevant portion of my .muttrc:
| 
| color normal defaultdefault
| color index  brightwhitedefault ~N
| color index  brightwhitedefault ~O
| color indicator  defaultblue

This is currently not possible: indicator color has precedence over
other coloring of messages. You're thinking of layered coloring, am
I right?

-- 
René Clerc  - ([EMAIL PROTECTED])

The end of wisdom is to dream high enough to lose the dream in the
seeking of it.
-William Faulkner



msg21106/pgp0.pgp
Description: PGP signature


sync mailbox (was Re: a couple more questions)

2001-12-05 Thread Paul Brannan

On Mon, Dec 03, 2001 at 10:31:54AM -0500, Paul Brannan wrote:
 No, I'm not trying to delete the message.  What I want to do is send a
 message to myself and refresh the mailbox, so that I can see the message
 in my mailbox before the next scheduled mail check.  (In other words, I
 want to be able to check my mail at an arbitrary time, rather than at
 every mail_check interval).

I've been trying out setting delete=ask-no, and seeing if I can live
with that.  It seems bearable, but still a minor nuisance.

However, if I respond no that I do not want to purge message, it
seems that new messages do not show up in the inbox.  As soon as I
respond with a yes, the new messages show up.

Is there any way to allow new messages to show up without purging
messages from a mailbox?

Paul




Re: Command line options

2001-12-05 Thread Barney Wells


--- David T-G [EMAIL PROTECTED] wrote:


 ...and then Barney Wells said...
 % I am using mutt .93.1 on SCO UNIX 5.0.5.
 
 Wow, that's pretty old :-)
 
 % Also, the only version I could get working is the version that
 % I found on the skunkware CD-ROM.
 
 I take it, then, that you've downloaded some fairly current source
 (1.2.5, 1.3.x) and tried to compile it on your box...  What sorts
 of
 problems did you have?

The package looks like this,
mutt-0.93.1-VOLS.tar
After extracting the tar file I get this,
VOL.000.000
VOL.000.000.files
VOL.000.000.sum
Then I run the custom command.
In the software manager window I choose install new...
At this point SCO Unix asks Where are the Media images
I point it to /tmp
Then it installs
If I use any other distributions I do not
get the VOL.000.000 files when they are extracted. If I 
don't get these type of files, I don't know any other way to 
install the program on SCO unix.

BW



__
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com



Re: sync mailbox (was Re: a couple more questions)

2001-12-05 Thread René Clerc

* Paul Brannan [EMAIL PROTECTED] [05-12-2001 21:34]:

| Is there any way to allow new messages to show up without purging
| messages from a mailbox?

I'm not sure on this one, but what seemed to work for me, was trying
to move the indicator below the last message. This seemd to force a
check. But, again, I don't know this for sure...

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

There is a definite parallel between shots of tequila and a woman's breasts.
One is not enough and three are too many.



msg21109/pgp0.pgp
Description: PGP signature


Re: highlighting unread messages in the index

2001-12-05 Thread Paul Brannan

I accidentally hit 'r' instead of 'L', so the last two iterations here
were in private.  René suggested that I forward his response to the
list.

Is there a good way to prevent me from doing this again in the future?

Paul

- Forwarded message from René Clerc [EMAIL PROTECTED] -

From: René Clerc [EMAIL PROTECTED]
Date: Wed, 5 Dec 2001 21:38:11 +0100
To: Paul Brannan [EMAIL PROTECTED]
Subject: Re: highlighting unread messages in the index
User-Agent: Mutt/1.3.23i

* Paul Brannan [EMAIL PROTECTED] [05-12-2001 21:24]:

| On Wed, Dec 05, 2001 at 08:58:41PM +0100, René Clerc wrote:
|  This is currently not possible: indicator color has precedence over
|  other coloring of messages. You're thinking of layered coloring, am
|  I right?
| 
| Some sort of layering would work (but would probably be overkill).  If I
| could give the indicator color a regular expression, that would probably
| be enough.

Well, you mention that you want indicated, new messages to have a
certain color. Then the next thing is indicated tagged messages,
indicated deleted messages, and so on...

What I meant with layering was, that if you specify the indicator
foreground color default, it would let the ~N foreground color
through, so to speak.

Btw, I have arrow_cursor set, then you've got no problem. But I'm
probably the only one who has that set...

I'll attach the color files of my mutt setup so you can see how my mutt
colors are set (i.c.m. with the arrow-cursor)... Note that the
list-colors file is only loaded when I'm in a mailinglist folder, for
obvious reasons...

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

Birthdays are good for you. Statistics show that the people who
have the most live the longest.
-Rev. Larry Lorenzoni

color  hdrdefault  green   black 
color  header  brightyellowblack^from:
color  header  brightyellowblack^subject:
color  quoted  brightgreen black
color  quoted1 brightblue  black
color  signature   brightred   black
color  indicator   brightyellowblack
color  error   brightred   black
color  status  brightwhite black
color  treebrightmagenta   black
color  tilde   brightmagenta   black
color  bodybrightyellowblack (((ht|f)tps?)|mailto):(//)?[^\ 
\t]*|www\.[-a-z0-9.]+[^\ .,;\t]
color  bodybrightmagenta   black[-a-z_0-9.+]+@[-a-z_0-9.]+
color  attachment  brightmagenta   black

source ~/.mutt/gpg-colors

color index brightred black ~F
color index brightgreen   black ~T
color index brightwhite   black ~N
color index brightblueblack ~D

#EOF vim: ft=muttrc ts=2

color   bodybrightgreen black  ^gpg: Good signature from
color   bodybrightred   black  ^gpg: Bad signature from
color   bodybrightred   black  ^gpg: BAD signature from
color   bodybrightred   black  ^gpg: Note: This key has expired!
color   bodybrightyellowblack  ^gpg: WARNING: This key is not certified 
with a trusted signature!
color   bodybrightyellowblack  ^gpg:  There is no indication that 
the signature belongs to the owner.
color   bodybrightyellowblack  ^gpg: can't handle these multiple 
signatures
color   bodybrightyellowblack  ^gpg: signature verification suppressed
color   bodybrightyellowblack  ^gpg: invalid node with packet of type

# vim: ft=muttrc ts=2

color index brightblueblack ~h 'In-Reply-To: .*clerc\.nl'
color index brightblueblack ~x '.*clerc\.nl'

## everything from me jumps out
color index brightyellow  black ~P

#source ~/.mutt/colors
  
# vim: ft=muttrc ts=2




- End forwarded message -



newbie: gpg confusion, various shell commands

2001-12-05 Thread Brian Clark

OK guys and gals, I almost didn't post this for fear I missed something
in the pound of documentation I've read g, but here goes.

I'm using GnuPG and some recipients' clients do not have the capability
to decipher PGP/MIME (see: Windows; TheBat!).

* I've set up my procmail rules to add the appropriate headers so that
  mutt will allow me to decrypt messages and verfy signatures,
  regardless of their type. This is working perfectly.

* I've managed to be able to clear sign outbound messages using:
  macro compose \Cp Fgpg --clearsign\ny PGP clearsign
  (by the way, binding and using ^s causes mutt to freeze, forcing me 
  to kill it. Haven't the slightest clue why.)
  The signing works OK as well.

Now, I keep seeing references to a pgp-menu function in various HOW-TO
texts. According to my mutt, there is no such thing. I can't seem to
find decent newbie intructions on how to encrypt messages without using
PGP/MIME (or, prompting me for a choice, for example).

I'm using vim for my editor, and I can't seem to figure out how to
encrypt (Non-PGP/MIME) only the body of the message and be able to
pick a recipient's key to encrypt to.

I'm basically looking for tips/suggestions to make my life easier,
if someone has any to offer.
  
-- 
 -Brian Clark




Re: newbie: gpg confusion, various shell commands

2001-12-05 Thread darren chamberlain

Brian Clark [EMAIL PROTECTED] said something to this effect on 12/05/2001:
 OK guys and gals, I almost didn't post this for fear I missed something
 in the pound of documentation I've read g, but here goes.

I have nothing to say about this, but...

 * I've managed to be able to clear sign outbound messages using:
   macro compose \Cp Fgpg --clearsign\ny PGP clearsign
   (by the way, binding and using ^s causes mutt to freeze, forcing me 
   to kill it. Haven't the slightest clue why.)

^s freezing your terminal is most llikely because your xterm is
interpreting it as a flow-control thingie; ^q should start it
back up again...

(darren)

-- 
The limits of my language mean the limits of my world.
-- Ludwig Wittgenstein



Whoops: various shell commands

2001-12-05 Thread Brian Clark

I left out part of my inquiry in the last post to the list..sorry. :-)

When I do something like this:

macro index F2 !echo 'Checking mail..';~/bin/getmail\n Check for new mail
macro pager F2 !echo 'Checking mail..';~/bin/getmail\n Check for new mail

where getmail's contents are:

#!/bin/sh

if [ -f /var/lock/LCK..ttyS1 ]; then
if [ ! -f ~/.fetchmail.pid ]; then
fetchmail -s
fi
fi

.. I get the expected output, Checking mail.., but when it's done I
get the Press any key to continue... -- which I get for any shell
commands I run.

Is there any way to only do that if there is an error?

-- 
 -Brian Clark




Re: newbie: gpg confusion, various shell commands

2001-12-05 Thread Brian Clark

* darren chamberlain [EMAIL PROTECTED] [Dec 05. 2001 16:02]:

  * I've managed to be able to clear sign outbound messages using:
macro compose \Cp Fgpg --clearsign\ny PGP clearsign
(by the way, binding and using ^s causes mutt to freeze, forcing me 
to kill it. Haven't the slightest clue why.)
 
 ^s freezing your terminal is most llikely because your xterm is
 interpreting it as a flow-control thingie; ^q should start it
 back up again...

And it does, thanks!

-- 
 -Brian Clark




Re: highlighting unread messages in the index

2001-12-05 Thread René Clerc

* Paul Brannan [EMAIL PROTECTED] [05-12-2001 22:07]:

| I accidentally hit 'r' instead of 'L', so the last two iterations here
| were in private.  René suggested that I forward his response to the
| list.
| 
| Is there a good way to prevent me from doing this again in the future?

In theory it should be possible to rebind 'r' to list-reply when
you're in some specific (mailinglist) folder.

But you'll learn hitting 'L'... I usually press 'L' first, then
realize I'm not replying to a mailing list but to a person in private,
and then hit 'r' with a grin on my face ;)

-- 
René Clerc  - ([EMAIL PROTECTED])

The distance between insanity and genius is measured only by success.
-James Bond, Tomorrow Never Dies



msg21115/pgp0.pgp
Description: PGP signature


Re: sync mailbox (was Re: a couple more questions)

2001-12-05 Thread Paul Brannan

On Wed, Dec 05, 2001 at 09:40:36PM +0100, René Clerc wrote:
 I'm not sure on this one, but what seemed to work for me, was trying
 to move the indicator below the last message. This seemd to force a
 check. But, again, I don't know this for sure...

Hmm, that did not help. :)

I think this has something to do with Mutt's interaction with IMAP
mailboxes?

Paul




how to have mutt show new mail on index ?

2001-12-05 Thread Bara Zani

Hi All ,
I use mutt and fetchmail to retrive mail 
how ever if i leave mutt open it will not show new messeges on
index unless i press a key 
i have check_mail=yes in my .muttrc but it does not seem to work 
any idea's ?

Mute n output from mutt -v
1.2.5i (2000-07-28)
System: FreeBSD 4.4-RELEASE [using ncurses 5.1]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  -USE_FCNTL  +USE_FLOCK
+USE_IMAP  -USE_GSS  -USE_SSL  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS  +COMPRESSED


thanks 
barazani



Re: patch-1.3.23.cd.edit_threads-6[.CYA] not working

2001-12-05 Thread Cedric Duval

Hi Thorsten,

 I have just patched in all three of your changes in 1.3.24i. While
 patching, I got one error each (with different line numbers):
 - - - Schnipp - - -
 can't find file to patch at input line 715
 Perhaps you used the wrong -p or --strip option?
 The text leading up to this was:
 --
 |--- PATCHES~   Sun Dec  3 08:54:50 2000
 |+++ PATCHES Sun Dec  2 01:07:35 2001
 --
 - - - Schnapp - - -

Weird. How did you apply the patches?

Did you, as the error message suggest, use the right -p option? From the
good directory?

Sample of what you should have done:

  $ wget http://cedricduval.free.fr/download/patch-1.3.24.cd.edit_threads.8
  $ tar xvzf mutt-1.3.24i.tar.gz
  $ cd mutt-1.3.24
  $ patch -p1  ../patch-1.3.24.cd.edit_threads.8
  patching file `thread.c'
  patching file `OPS'
  patching file `copy.c'
  patching file `curs_main.c'
  patching file `doc/manual.sgml.head'
  patching file `functions.h'
  patching file `mutt.h'
  patching file `mx.c'
  patching file `pager.c'
  patching file `parse.c'
  patching file `protos.h'
  patching file `recvcmd.c'
  patching file `send.c'
  patching file `PATCHES'

 So is it the patching that went wrong?

I suspect you applied the patches at the wrong place, because other
peoples have had no problem. If not, maybe we should continue off-list
to see what's wrong.

Cheers,
-- 
Cedric



Re: highlighting unread messages in the index

2001-12-05 Thread Thomas Hurst

* Paul Brannan ([EMAIL PROTECTED]) wrote:

 I accidentally hit 'r' instead of 'L', so the last two iterations here
 were in private.  René suggested that I forward his response to the
 list.

 Is there a good way to prevent me from doing this again in the future?

Maybe rebind 'r' to list-reply im ml folders or so.

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/



Mutt finding new mail

2001-12-05 Thread Cleber S. Mori

Hi there, folks!

I have a wondering.

How does mutt checks for new mail?
I mean, when I press cret, how does it knows which folder have new mails,
and which one does not?

That's all ;)

Take care!

-- 
Cleber S. Mori
Monitor Lab Linux
2o Ano - Bacharelado em Ciências da Computação
ICMC - Instituto de Ciências Matemáticas e de Computação
USP - Universidade de São Paulo - São Carlos

HPage:  http://grad.icmc.sc.usp.br/~cleber/
E-mail: [EMAIL PROTECTED]
ICQ/UIN:1409389





Re: Mutt finding new mail

2001-12-05 Thread René Clerc

* Cleber S. Mori [EMAIL PROTECTED] [06-12-2001 00:04]:

| How does mutt checks for new mail?
| I mean, when I press cret, how does it knows which folder have new mails,
| and which one does not?

Check the mailboxes directive: here you specify which mailboxes
receive mail. The order you specify them in, determines which one with
new mail shows up first.

HTH,

-- 
René Clerc  - ([EMAIL PROTECTED])

Too clever is dumb.
-Ogden Nash



msg21121/pgp0.pgp
Description: PGP signature


Re: Mutt finding new mail

2001-12-05 Thread Will Yardley

Ren? Clerc wrote:
 * Cleber S. Mori [EMAIL PROTECTED] [06-12-2001 00:04]:
 
  How does mutt checks for new mail?  I mean, when I press cret, how
  does it knows which folder have new mails, and which one does not?

 Check the mailboxes directive: here you specify which mailboxes
 receive mail. The order you specify them in, determines which one with
 new mail shows up first.

well i think the question was how mutt knows which folders have new
mail.  for mbox folders it uses the modification time (mtime i think,
but i always get that crap mixed up) to see when the file was last
modified. 

with maildir i assume it just checks to see if there are messages in
folder/new/ but i could be wrong there.

-- 
William Yardley   System Administrator, Newdream Network
[EMAIL PROTECTED] http://infinitejazz.net/will/pgp/gpg.asc



(New mails) Where is the problem origin?

2001-12-05 Thread Cleber S. Mori

Hi all!

It's me again, I'm feeling like disturbing you guys, sorry :)

I'm having a problem with mutt finding new mails, even after all the
mailboxes var and etc. set, Mutt still don't find folders with new mails.

I found the problem, but not the problem origin. What is happening is that
when new mail comes, the mail file (Separeted via procmail) is touched in
atime and ctime (mtime?), while the expected behaviour is that only the
ctime is modifyed. This way, mutt can look and find wich file have a mtime 
newer than atime.

So, when I get new mails, mutt don't see that the folder have new mails.

When I do touch -m /home/cleber/Mail/Lists/Mutt (which is the mutt list
file), mutt DOES tell me that a new mail is in there, so the configuration
is correct.

The problem is that *something* is touching the file. 

Any one has had this problem? I thought that procmail was doing something
wrong, and I upgraded-it (v3.22), but the problem persists.

Any one, have a clue?



-- 
Cleber S. Mori
Monitor Lab Linux
2o Ano - Bacharelado em Ciências da Computação
ICMC - Instituto de Ciências Matemáticas e de Computação
USP - Universidade de São Paulo - São Carlos

HPage:  http://grad.icmc.sc.usp.br/~cleber/
E-mail: [EMAIL PROTECTED]
ICQ/UIN:1409389




Re: binding and slow reaction

2001-12-05 Thread David T-G

Brian --

...and then Brian Clark said...
% * David T-G [EMAIL PROTECTED] [Dec 05. 2001 08:19]:
% 
%  In either case, you wouldn't need the next-unread in your macro, so I
%  suspect that you have resolve=no.
% 
% OK, I checked out my .muttrc and I do have resolve unset. So there's my
% whole problem with the move-to-the-next-message thing.

There ya go :-)



%  
%  % Which is basically what I was trying to do (Del, Esc to close, then
%  % arrow down).
%  
%  Did you specifically want to not be back in the pager?  That looks like
%  the factor that will decide how you might rewrite.
% 
% Yep, I wanted to exit the pager.

That is, for clarity, that you wanted to exit the pager for the current
message, delete it, go to the next unread, and not read it immediately,
right?  After all, as I'm reading through a thread and not sure that I'll
delete the whole thing, I just use 'd' from the pager to delete the
message and read the next one; I don't spend any time back in the index.

Of course, you might want to exit, delete, move, and not enter, but if
you'd prefer the behavior above you can dispense with the macro entirely.


%  
%  HTH  HAND
% 
% Thanks, David

Sure thing!


% 
% -- 
%  -Brian Clark


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




msg21127/pgp0.pgp
Description: PGP signature


Re: $attribution/$post_indent_string for new mail

2001-12-05 Thread David T-G

Volker --

...and then Volker Moell said...
% David T-G wrote:
% 
%  I don't get it, though.  Those variables reference data from the replied
%  mail.  What on earth do you expect to have in them when you're starting
%  a new mail?
% 
% In replied messages it's the realname part in From:, so now I want the
% realname part in To: (prompted after typing m).  Is this so
% illogical?

Nothing is ever illogical once the point of view is understood -- but I
don't yet understand your point of view :-)

So you want to trap what's in To: in either case (in a reply, where we
might also think of it as originating-From:, and in a new message).

I still don't see how you would use such data.  What am I missing?


% 
% Seeya,
% 
% -volker
% 
% -- 
%   http://die-Moells.de/  *  http://Stama90.de/  *  http://ScriptDale.de/
% 
% 98% of all statistics are useless.


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




msg21128/pgp0.pgp
Description: PGP signature


Re: Command line options

2001-12-05 Thread David T-G

Barney --

...and then Barney Wells said...
% 
% --- David T-G [EMAIL PROTECTED] wrote:
% 
%  ...and then Barney Wells said...
%  % I am using mutt .93.1 on SCO UNIX 5.0.5.
...
%  % Also, the only version I could get working is the version that
%  % I found on the skunkware CD-ROM.
%  
%  I take it, then, that you've downloaded some fairly current source
%  (1.2.5, 1.3.x) and tried to compile it on your box...  What sorts
%  of
%  problems did you have?
% 
% The package looks like this,
% mutt-0.93.1-VOLS.tar
% After extracting the tar file I get this,
% VOL.000.000
% VOL.000.000.files
% VOL.000.000.sum

Interesting.  Of course, I haven't touched SCO in quite a few years...


% Then I run the custom command.
% In the software manager window I choose install new...
% At this point SCO Unix asks Where are the Media images
% I point it to /tmp
% Then it installs

Hokay.


% If I use any other distributions I do not
% get the VOL.000.000 files when they are extracted. If I 

Right; I've never seen 'em.


% don't get these type of files, I don't know any other way to 
% install the program on SCO unix.

Do you have a compiler, either stock or GNU, or is SCO one of those
horribly stricken *NIXes that has absolutely no compiling support?


% 
% BW


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




msg21129/pgp0.pgp
Description: PGP signature


Something changed in new Mutt

2001-12-05 Thread Cliff Sarginson

Hello,
I installed the new Mutt yesterday

Mutt 1.3.24i (2001-11-29)
Copyright (C) 1996-2001 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.4.13FB (i686) [using ncurses 5.2]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  -DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
-USE_POP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET  
++HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_GETSID  -HAVE_GETADDRINFO  
ISPELL=/usr/bin/ispell
SENDMAIL=/usr/sbin/sendmail
MAILPATH=/var/mail
PKGDATADIR=/usr/local/share/mutt
SYSCONFDIR=/usr/local/etc
EXECSHELL=/bin/sh
-MIXMASTER

And I know there are new features etc (still not quite sure I understand
the ? in threads..)
But something kept bothering me about the index display, it didn't look
the same.
And it just hit me what it was.
I have the following in my aliases:

alias mutt Mutt List [EMAIL PROTECTED]

In my index list i used to see Mutt List

162   L Dec 05 To Mutt List( 4: 4) matching in hooks

Now I see

162   L Dec 05 To mutt-users   ( 4: 4) matching in hooks

?

-- 
Regards
Cliff





Re: newbie: gpg confusion, various shell commands

2001-12-05 Thread David T-G

Brian --

...and then Brian Clark said...
% OK guys and gals, I almost didn't post this for fear I missed something
% in the pound of documentation I've read g, but here goes.

At least you've read some.  We all thank you :-)


% 
% I'm using GnuPG and some recipients' clients do not have the capability
% to decipher PGP/MIME (see: Windows; TheBat!).

ultimate_flame_warScrew 'em!/ultimate_flame_war


% 
% * I've set up my procmail rules to add the appropriate headers so that
%   mutt will allow me to decrypt messages and verfy signatures,
%   regardless of their type. This is working perfectly.

Great!  I find that more convenient than the new esc-P function, lovely
though it is to have that (for when I go back to my local copy of a
message that I sent out to such a user).


% 
% * I've managed to be able to clear sign outbound messages using:
%   macro compose \Cp Fgpg --clearsign\ny PGP clearsign
%   (by the way, binding and using ^s causes mutt to freeze, forcing me 
%   to kill it. Haven't the slightest clue why.)
%   The signing works OK as well.

Ick.  That is one way to do it, and is unfortunately necessary when using
a charset other than us-ascii and perhaps when attaching a file
(but that bit is untested), but doing it within mutt would be so much
nicer.

I have had wonderful success with the stock $pgp_create_traditional and
the patch-supplied $pgp_outlook_compat settings; when both are yes,
even LookOut! users can read and reply to my signed mail.


% 
% Now, I keep seeing references to a pgp-menu function in various HOW-TO
% texts. According to my mutt, there is no such thing. I can't seem to
% find decent newbie intructions on how to encrypt messages without using
% PGP/MIME (or, prompting me for a choice, for example).

You initiate a message, supply your recipient and subject information,
edit it, and finish your composition.  You are then dropped into the
compose menu, where you can send, edit, attach, or make pgp changes
(or execute your macro from above).  When you hit 'p' from there,
you enter the pgp menu; you can, IIRC, sign, sign as, encrypt, both,
or forget it and send cleartext.


% 
% I'm using vim for my editor, and I can't seem to figure out how to
% encrypt (Non-PGP/MIME) only the body of the message and be able to
% pick a recipient's key to encrypt to.

I'd do it from mutt rather than vim; mutt knows how to pass the recipient
info off.


% 
% I'm basically looking for tips/suggestions to make my life easier,
% if someone has any to offer.

You might try the archives, but signing and encryption come up a lot.  I
haven't checked, but a query for signing outlook might be sufficient.


%   
% -- 
%  -Brian Clark

HTH  HAND


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




msg21131/pgp0.pgp
Description: PGP signature


Re: Whoops: various shell commands

2001-12-05 Thread David T-G

Brian --

...and then Brian Clark said...
% I left out part of my inquiry in the last post to the list..sorry. :-)

No problem; threads shouldn't be tied together anyway.


% 
% When I do something like this:
% 
...
% .. I get the expected output, Checking mail.., but when it's done I
% get the Press any key to continue... -- which I get for any shell
% commands I run.

Right.


% 
% Is there any way to only do that if there is an error?

RTFM for $wait_key :-)


% 
% -- 
%  -Brian Clark

HTH  HAND


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




msg21132/pgp0.pgp
Description: PGP signature


Re: newbie: gpg confusion, various shell commands

2001-12-05 Thread Josh Huber

Brian Clark [EMAIL PROTECTED] writes:

 * I've managed to be able to clear sign outbound messages using:
   macro compose \Cp Fgpg --clearsign\ny PGP clearsign (by the
   way, binding and using ^s causes mutt to freeze, forcing me to
   kill it. Haven't the slightest clue why.)  The signing works OK as
   well.

You're most likely enabling scroll-lock for your terminal when you
press C-s.  Try hitting C-q to make it go away.

Use something other than C-s, or disable C-s as the stop char:

stty -a shows:

speed 38400 baud; rows 57; columns 84; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = undef;
eol2 = undef; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
...

try:
$ stty stop 

That fixes it for me, although that may not be the right way to do it.

HTH,

-- 
Josh Huber | [EMAIL PROTECTED] |



Re: Whoops: various shell commands

2001-12-05 Thread Brian Clark

* David T-G [EMAIL PROTECTED] [Dec 05. 2001 21:35]:

 % 
 % Is there any way to only do that if there is an error?
 
 RTFM for $wait_key :-)

Good grief! Right there under my nose. :-) It's great that you can do so much
customization, but it sure plays tricks on your lookup abilities. g

Thanks!

-- 
 -Brian Clark




Re: $attribution/$post_indent_string for new mail

2001-12-05 Thread Prahlad Vaidyanathan

Hi,

On Wed, 05 Dec 2001 Volker [EMAIL PROTECTED] spewed into the ether:
 Thorsten Haude wrote:
 
  I could send you a NEdit solution that could be changed to do what you
  want.
 
 Thanks, but I use emacs.
[-- snip --]
 
 And the reason my $EDITOR can't do it completely is to do the %n thing
 (like in $attribution).  Another reason to think that mutt can help me.

Just edit your headers, and put in a macro to do this in your editor.
It's quite easy under Vim (*grin*) :

:2co /^$/ | :s/.*\:\ // | :s/.*//

This is assuming you want to put the name in right under the headers.
I'm sure something similar should be possible for Emacs.

pv.

-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



msg21135/pgp0.pgp
Description: PGP signature


Re: newbie: gpg confusion, various shell commands

2001-12-05 Thread Brian Clark

* David T-G [EMAIL PROTECTED] [Dec 05. 2001 21:33]:

 % I'm using GnuPG and some recipients' clients do not have the capability
 % to decipher PGP/MIME (see: Windows; TheBat!).
 
 ultimate_flame_warScrew 'em!/ultimate_flame_war

Flamewars aside, if you ever have to use Windows, TheBat! is actually an
exceptional MUA. (unless one wanted to use Mutt with Cygwin(sp?).)
 
 % * I've managed to be able to clear sign outbound messages using:
 %   macro compose \Cp Fgpg --clearsign\ny PGP clearsign
 %   (by the way, binding and using ^s causes mutt to freeze, forcing me 
 %   to kill it. Haven't the slightest clue why.)
 %   The signing works OK as well.
 
 Ick.  That is one way to do it, and is unfortunately necessary when using
 a charset other than us-ascii and perhaps when attaching a file
 (but that bit is untested), but doing it within mutt would be so much
 nicer.

I was reeeally hoping the HOW-TO's were going to say, oh yeah, that's
eeeasy. :-) The manual says clear signing is seriously depreciated, but
there are a ton of people out there unfamiliar with PGP/MIME. That makes
me wonder why the author(s) of Mutt didn't go ahead and add in support
for clear signing that's on par with its PGP/MIME ease of use.

 I have had wonderful success with the stock $pgp_create_traditional and
 the patch-supplied $pgp_outlook_compat settings; when both are yes,
 even LookOut! users can read and reply to my signed mail.

I'd have to figure out how to patch a source deb and rebuild it. I've
never done that before, but..
 
 % Now, I keep seeing references to a pgp-menu function in various HOW-TO
 % texts. According to my mutt, there is no such thing. I can't seem to
 % find decent newbie intructions on how to encrypt messages without using
 % PGP/MIME (or, prompting me for a choice, for example).
 
 You initiate a message, supply your recipient and subject information,
 edit it, and finish your composition.  You are then dropped into the
 compose menu, where you can send, edit, attach, or make pgp changes

OK, when you say make pgp changes, what are you referring to? In the
PGP field, every time I send, I see PGP: Clear but it _never_ prompts
me for anything, and the mail is never sent signed. I expected it not to
be signed, however, because I have it set not to sign by default in my
dot files. Is there something wrong with my set-up if it's displaying
PGP: Clear every time I'm dropped to the compose menu (and of course
not signing it)?

 (or execute your macro from above).  When you hit 'p' from there,
 you enter the pgp menu; you can, IIRC, sign, sign as, encrypt, both,
 or forget it and send cleartext.

Hitting p from the compose menu is what I wasn't getting. LOL If I think
about it for a while, I realize how silly that is for me to overlook
that.
 
 % I'm using vim for my editor, and I can't seem to figure out how to
 % encrypt (Non-PGP/MIME) only the body of the message and be able to
 % pick a recipient's key to encrypt to.
 
 I'd do it from mutt rather than vim; mutt knows how to pass the recipient
 info off.

Yep, but hittin p from the compose menu is going to drop back to
PGP/MIME, AFAIK, right?
 
 % I'm basically looking for tips/suggestions to make my life easier,
 % if someone has any to offer.
 
 You might try the archives, but signing and encryption come up a lot.  I
 haven't checked, but a query for signing outlook might be sufficient.

And off I go.. (again) ;-)

Thanks again, David.

-- 
 -Brian Clark




Re: Script to rebuild quotes

2001-12-05 Thread Prahlad Vaidyanathan

Hi,

On Fri, 30 Nov 2001 Thomas [EMAIL PROTECTED] spewed into the ether:
[-- snip --]
 Initial perl version at:
 
 http://freak.aagh.net/code/quotefix.pl

Does this grok ^http: and stuff ? Doesn't seem to do it here. So, what
I did was, I converted the regexp it looks for into the $quote_regexp in
my .muttrc, with a few changes.

snip
while ($line =~ /^(--)|^([ \t]*[(A-Z){0,2}|(a-z){0,6}]+)|^([ \t\]*[|}%])+/
/snip

Another thing is, the Super-quotes, like ^ AA, always seem to end
in , and not in [|}%], etc. This could possible be changed by some
sadistic people, but for now, I've omitted everything but .

Also, this is something that comes up often in display filtering :

When stripping of trailing white-spaces, don't strip off the white-space
after the sig-dashes. Or, better yet, do this, before printing $line :

$line =~ s/^--$/-- /;

Anyway, great work ! But, unfortunately, the quest for the perfect
quote_regexp seems never-ending :-(

pv.


-- 
Prahlad Vaidyanathan [EMAIL PROTECTED]What, me worry ?
http://www.symonds.net/~prahladv/Don't Panic !
--



msg21140/pgp0.pgp
Description: PGP signature


Re: Script to rebuild quotes

2001-12-05 Thread Thomas Hurst

* Prahlad Vaidyanathan ([EMAIL PROTECTED]) wrote:

 On Fri, 30 Nov 2001 Thomas [EMAIL PROTECTED] spewed into the ether:
 [-- snip --]
  Initial perl version at:
  
  http://freak.aagh.net/code/quotefix.pl
 
 Does this grok ^http: and stuff ? Doesn't seem to do it here.

It should do, the ruby one certainly seems to, but the Perl version's
poorly tested.

You'll note the:

 $1.$' !~ /^(From|(http|mailto|ftp|telnet|gopher|scp|rsync):|[:;]-?\))/)

The ^ is probably tripping it up - maybe a \s* is needed.

 So, what I did was, I converted the regexp it looks for into the
 $quote_regexp in my .muttrc, with a few changes.

 snip while ($line =~ /^(--)|^([ \t]*[(A-Z){0,2}|(a-z){0,6}]+)|^([
 \t\]*[|}%])+/ /snip

I'll see what I can rip out of that, but don't forget FO

 Another thing is, the Super-quotes, like ^ AA, always seem to end
 in , and not in [|}%], etc. This could possible be changed by
 some sadistic people, but for now, I've omitted everything but .

Yeah, something worth exploiting, probably.

 Also, this is something that comes up often in display filtering :

 When stripping of trailing white-spaces, don't strip off the
 white-space after the sig-dashes. Or, better yet, do this, before
 printing $line :

 $line =~ s/^--$/-- /;

It's made with filtering individual blocks in mind, because this is how
I format mail - I hit F2 to fix the quotes and F3 to run it through par,
but I'll fix this.

 Anyway, great work ! But, unfortunately, the quest for the perfect
 quote_regexp seems never-ending :-(

47 downloads so far - 30 for the quick perl version and 17 for the
original tested Ruby :)

-- 
Thomas 'Freaky' Hurst  -  [EMAIL PROTECTED]  -  http://www.aagh.net/



Re: patch-1.3.23.cd.edit_threads-6[.CYA] not working

2001-12-05 Thread Benjamin Michotte

On Tue, Dec 04, 2001 at 07:19:28AM, Cedric Duval wrote:
 You'll find the patch updated for the new threading implementation at
 
   http://cedricduval.free.fr/mutt/
Why doesn't it work with Maildir ?
 
 Cedric
---end quoted text---

binny

-- 

 J'aimerais savoir quels sont les différences majeurs entre FreeBSD, 
 OpenBSD et NetBSD ?
man diff
   -- Unknown

°v°  Benjamin Michotte[EMAIL PROTECTED]
_o_  web  : http://www.baby-linux.net