Re: vim question

2001-09-18 Thread Denis Perelyubskiy

 * Will Yardley [EMAIL PROTECTED] [09-Mon-01 21:49 -0700]:
 
 sorry in advance for the vim question, but i'll bet
 someone here knows the answer :

you should've been sorry if you were using emacs :)

 and (i can't resist)... one more quick vi / vim question.
 is there a quick way to make the arrow keys work the same
 in insert mode and in command mode?  right now i get
 'A','B','C' and 'D' instead.

try 
   :help xterm-cursor-keys

and you shall most likely find your answer

hth,

denis

plug
ps. vim 6.0 is coming out soon. you should definitely
upgrade. in addition to all the neat features it has, it has
this filetype plugin thing. you invoke vim with 'set
ft=mail' and it goes and reads mail.vim in specified
directory. you dont have to pass long string of options
anymore, and can use the same file for news/mail/etc
(even betas are *mostly* stable)
/plug

-- 
// mailto: Denis Perelyubskiy [EMAIL PROTECTED]
// icq   : 12359698
// PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc



Re: Knowing when something is a thread when it is collapsed

2001-09-18 Thread Victor Yegorov

* Cliff Sarginson [EMAIL PROTECTED] [17.09.2001 19:55]:
 Hello
 I like to have threads collapsed by default.
 However I would like some indication in the index display
 that a message is the first in a thread.
 Anyone know how I can do this ?
 

for indexer i use the following format:

[...]
set index_format=%4C:%2E %Z %(!%b %d, %H:%M) %-17.17F %s
[...]

%4C stands for message number, %2E - for message number in thread.
so i have something like this:

[...]
  30:11 N L Sep 18, 02:50 Will Yardleyƒ   “”
  31:11 NsL Sep 18, 03:37 Piet Delportƒ   ”
  32:11   L Sep 17, 12:28 David Champion  ”Re: OT: Shell scripting [w
  33:11  sL Sep 17, 12:33 David T-G ”
  34: 1   L Sep 17, 14:00 Suresh Ramasubram Re: Bouncing messages from a sp
  35: 1  sL Sep 17, 14:18 Rino MardoRe: reply defaults
  36: 4   L Sep 17, 12:25 Tim Johnson   MSHTML Email Question
  37: 4   L Sep 17, 13:40 Cedric Duval  “”
  38: 4   L Sep 17, 13:02 Gary Johnson  ”
  39: 4 N L Sep 17, 18:40 Tim Johnson ”
  40: 8   L Sep 17, 12:24 Vincent Lefevre   Re: pb with arrows and numeric 
  41: 8   L Sep 17, 12:30 Thomas Dickey ”
  42: 8   L Sep 17, 12:28 Vincent Lefevre ”
[...]

and this when threads are collapsed:

[...]
  22: 1  sL Sep 17, 12:24 Piet Delport  Re: [1.3.22.1] history bug
  23:11 nsL Sep 17, 12:38 Piet Delport  OT: Shell scripting [was: Re:
  35: 1  sL Sep 17, 14:18 Rino MardoRe: reply defaults
  36: 4 n L Sep 17, 12:25 Tim Johnson   MSHTML Email Question
  40: 8   L Sep 17, 12:24 Vincent Lefevre   Re: pb with arrows and numer
  48: 2  sL Sep 17, 12:39 David T-G Re: Macro to tag all messages
[...]

-- 

Victor Yegorov

 PGP signature


Re: mutt and PGP/GPG

2001-09-18 Thread Thomas Roessler

On 2001-09-17 21:22:54 -0400, Justin R. Miller wrote:

In recent devel versions of Mutt, you can hit Esc-P to convert a 
message on-the-fly.

In particular, this also works when the PGP-signed or encrypted body 
part is an attachment.

-- 
Thomas Roesslerhttp://log.does-not-exist.org/



Re: vim question

2001-09-18 Thread Will Yardley

Denis Perelyubskiy wrote:
 you should've been sorry if you were using emacs :)

haha 

 try 
:help xterm-cursor-keys
 
 and you shall most likely find your answer

that's precisely the answer i was looking for.  thanks. (and just out of
curiosity is there a way to do the same with the keypad when numlock is
off?  i think that's a different issue as i understand it, but i was
wondering if there's a cheap and dirty workaround as with the
xterm-cursor keys)

 plug
 ps. vim 6.0 is coming out soon. you should definitely
 upgrade. in addition to all the neat features it has, it has
 this filetype plugin thing. you invoke vim with 'set
 ft=mail' and it goes and reads mail.vim in specified
 directory. you dont have to pass long string of options
 anymore, and can use the same file for news/mail/etc
 (even betas are *mostly* stable)
 /plug

of course you could always do something like:
set editor=gvim -f +'/^$/+1' -U .mutt/gvimrc
(my specific example)
or
set editor=vim -u .mutt/vimrc
anyway, no?  wouldn't that do pretty much the same thing?

w

-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: vim question

2001-09-18 Thread Denis Perelyubskiy

 * Will Yardley [EMAIL PROTECTED] [09-Tue-01 01:56 -0700]:
 
 Denis Perelyubskiy wrote:
 [  snip  ]
 that's precisely the answer i was looking for.  thanks.
 (and just out of curiosity is there a way to do the same
 with the keypad when numlock is off?  i think that's a
 different issue as i understand it, but i was wondering if
 there's a cheap and dirty workaround as with the
 xterm-cursor keys)

actually, i am not too sure..i haven't tried. however, these
seem to work for me, so i wonder if it is in fact the same
problem. could it be that you have to play with the kPageUp
and kPageDown?

sorry, no go :) .. you could either go to
groups.yahoo.com/group/vim and try searching, or perhaps
even consider subscribing to [EMAIL PROTECTED]
([EMAIL PROTECTED]) .. there are definitely people there
who are much more knowledgeable then i am
 
  plug
  ps. vim 6.0 is coming out soon. you should definitely
  upgrade. in addition to all the neat features it has, it has
  this filetype plugin thing. you invoke vim with 'set
  ft=mail' and it goes and reads mail.vim in specified
  directory. you dont have to pass long string of options
  anymore, and can use the same file for news/mail/etc
  (even betas are *mostly* stable)
  /plug
 
 of course you could always do something like:
 set editor=gvim -f +'/^$/+1' -U .mutt/gvimrc
 (my specific example)
 or
 set editor=vim -u .mutt/vimrc
 anyway, no?  wouldn't that do pretty much the same thing?

oh sure. its just that that new feature provides this
uniform way to handle filetypes. in addition to what i
mentioned above, that feature will auto-detect filetypes,
like c/c++ (even muttrc if you so like, i think :) and still
execute those files.

but of course, it seems that here, is vim just being ... vim
: there is about a 1000 ways to accomplish the same thing :)

denis

-- 
// mailto: Denis Perelyubskiy [EMAIL PROTECTED]
// icq   : 12359698
// PGP   : http://www.cs.ucla.edu/~denisp/files/pgp.asc



Re: New Mails Old Mails No Mails

2001-09-18 Thread Thomas Kniep

Am 17.09.2001 (17:47) schrieb David T-G:

Hi ...

 % I have read all the mails about the missing N Flag on not so new mails but
 % none of the tips seam to work for me.
 It can be confusing.  What you describe actually sounds like the correct
 behavior.

[...]

 Note that when you enter the mailbox, even if you don't make any changes
 or read any messages, you've accessed it, and so the next time mutt lists
 it in the browser it won't be marked as new.  That 'N' flag has *nothing*
 to do with the state of messages in the file, but actually is only an
 indication of the update time of the file.

OK I can live with that ... so lets change the question a bit:

What is the use of nomark_old? Is it just for the TAB business? I have
changed TAB to:

bind pager tab next-unread
bind index tab next-unread

is there any other use for it?

Is there any why to get an overview on unread mails (either marked N or O)?

I start mutt with die -y option and would like to see all the folder with
unread mail.

-- 
Thomas Kniep ([EMAIL PROTECTED])


 PGP signature


GnuPG and accented characters

2001-09-18 Thread René Clerc

Hi everyone,

since we're talking about gpg anyway, perhaps I may find the answer to
my problem here.

as you can learn from my .signature, my name contains an e-accent-aigu.
When I generate my key, with this character in it, everything's fine,
but when I publish my key to the keyserver, it ends up like:

René Clerc

I used the both iso-8859-1 and iso-8859-2 for the --charset option,
but this doesn't help. Does anybody know how to handle this problem?
Is there another way of escaping this character in the gpg prompts?

Or should I change some TERM setting or so? (mine is 'screen' right
now)...

Or should I just change my name? (sigh...)

All the help is appreciated!

Regards,

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

That is 27 years ago, or about half an eternity in computer years.
-Alan Tibbetts (contributed by Nathan Poznick)



M$ Exchange and Mailboxes

2001-09-18 Thread Johannes Zellner

Hi,

There's one thing left I didn't get working with M$ Exchange  mutt:

If I do a 'c' (change folder) and type '?' for getting a list of
folders, mutt correctly displays a list of folders from the exchange
server. The only problem is that I can't select one of these folders.
The list looks like this:

 1IMAP +Aufgaben/
 2IMAP +Edgar/
 3IMAP +INBOX/
 ...

If I now choose for example 'INBOX' and type return, I just get
another folder list with one entry

 1IMAP +../

but I'd rather like (and expect) mutt to open the specified folder.

What do I have to do to get the desired behaviour ?

-- 
   Johannes



Re: New Mails Old Mails No Mails

2001-09-18 Thread David T-G

Thomas --

...and then Thomas Kniep said...
% Am 17.09.2001 (17:47) schrieb David T-G:
% 
% Hi ...

Hello again.


% 
%  Note that when you enter the mailbox, even if you don't make any changes
%  or read any messages, you've accessed it, and so the next time mutt lists
%  it in the browser it won't be marked as new.  That 'N' flag has *nothing*
%  to do with the state of messages in the file, but actually is only an
%  indication of the update time of the file.
% 
% OK I can live with that ... so lets change the question a bit:

Ready :-)


% 
% What is the use of nomark_old? Is it just for the TAB business? I have

Well, it could al so be for your use.  As I interpret it, the 'N' flag is
for mail that has arrived and which you have not yet evaluated -- read,
replied, or at least recognized.  Once you've recognized it, even if you
haven't read it or replied to it, you have seen it and you don't need to
have it called to your attention the next time you open the mailbox and
look for newly-arrived mail, so you could allow (with mark_old set) it to
be changed from 'N'ew to 'O'ld, even while preserving its unread status.

Of course, once you've read it, the 'N' or 'O' is cleared, and when you
reply the 'r' is set.

I use this to determine whether or not I pretend to have read it; when
a message comes in, if I can't identify it I read it (and I might delete
it, save it to another folder, reply to it, or whatever, finishing my
necessary processing) if I have the time (and if I don't have the time,
it just stays 'N').  If it's something of interest to read or process
later but not immediate, I'll re-mark it 'O'ld, indicating its unread
status (*wink*) but lowering its urgency; if it's something that will
need attention soon, I'll re-mark it 'N'ew to put it back on the heap, so
to speak.


% changed TAB to:
% 
% bind pager tab next-unread
% bind index tab next-unread
% 
% is there any other use for it?
% 
% Is there any why to get an overview on unread mails (either marked N or O)?

Hmmm...  You might have truly meant 'why' instead of 'way', and I don't
think there's an overview of that, but it's not a bad idea.  If you mean
'way', then I'm not sure what you mean other than the index view showing
them to you; if you want some sort of analysis like 23 New messages,
41 Old messages, 17 read messages, 6 replied messages you'll have to
write it -- but it sounds like a lovely idea ;-)


% 
% I start mutt with die -y option and would like to see all the folder with
% unread mail.

Since mutt doesn't look inside the folders as it scans them (gosh,
imagine how frightfully long *that* could take!), you won't get any
information relevant to N/O/ /r at that stage (or at the folder browser
stage); that's where the update-time and access-time thing comes in.


% 
% -- 
% Thomas Kniep ([EMAIL PROTECTED])
% 

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!


 PGP signature


Re: M$ Exchange and Mailboxes

2001-09-18 Thread David T-G

Johannes --

...and then Johannes Zellner said...
% Hi,

Hello!


% 
% There's one thing left I didn't get working with M$ Exchange  mutt:
% 
% If I do a 'c' (change folder) and type '?' for getting a list of
% folders, mutt correctly displays a list of folders from the exchange

Yay!


% server. The only problem is that I can't select one of these folders.
% The list looks like this:
% 
%  1IMAP +Aufgaben/
%  2IMAP +Edgar/
%  3IMAP +INBOX/
%  ...

Hrmmm...


% 
% If I now choose for example 'INBOX' and type return, I just get
% another folder list with one entry

Can you, however, choose either of your other two examples and then
arrive at the mail folder, or do you have this problem with all of them?


% 
%  1IMAP +../
% 
% but I'd rather like (and expect) mutt to open the specified folder.

My vague recollection is that a trailing / means that it's a directory,
which is also indicated by the ../ in the folder.  Would you mind
trying

  mutt -f imap://server/INBOX
  mutt -f imap://server/INBOX/
  mutt -f imap://server/INBOX.

and reporting any differences in the results?  [Well, access your imap
server however you usually do; what I specifically meant was to change
the character trailing after INBOX and see what you got.]  I don't
*think* that this has to do with $imap_delim_chars (see 6.3.64 in the
manual), but it might.

Secondarily, the manual says

  4.11.1.  The Folder Browser

  As of version 1.2, mutt supports browsing mailboxes on an IMAP server.
...
  ·  For the case where an entry can contain both messages and
 subfolders, the selection key (bound to enter by default) will
 choose to descend into the subfolder view. If you wish to view the
 messages in that folder, you must use view-file instead (bound to
 space by default).

so you could try hitting the space bar instead of the return key to see
if that works, if you've really been hitting the return key.


% 
% What do I have to do to get the desired behaviour ?

Try this and get back to us :-)


% 
% -- 
%Johannes

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!


 PGP signature


X-GPG headers [was: GnuPG and accented characters]

2001-09-18 Thread René Clerc

On Tue, Sep 18, 2001 at 11:19:22AM +0200, René Clerc wrote:
| Hi everyone,
| 
| since we're talking about gpg anyway, perhaps I may find the answer to
| my problem here.

Problem discussed in gnupg-users mailinglist. Problem lies with
keyservers not with me ;)

Another question:

are the X-GPG-*, X-PGP-* and alike headers generated because of some
configuration settings, or are they just results of several my_hdr
commands?

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

Meteorologist, n.:
A man who can look in a woman's eyes and predict whether.



Re: X-GPG headers [was: GnuPG and accented characters]

2001-09-18 Thread David T-G

René --

...and then Ren? Clerc said...
% On Tue, Sep 18, 2001 at 11:19:22AM +0200, René Clerc wrote:
% | 
% | since we're talking about gpg anyway, perhaps I may find the answer to
% | my problem here.
% 
% Problem discussed in gnupg-users mailinglist. Problem lies with
% keyservers not with me ;)

Good to know :-)


% 
% Another question:
% 
% are the X-GPG-*, X-PGP-* and alike headers generated because of some
% configuration settings, or are they just results of several my_hdr
% commands?

No, I think it's my_hdr stuff.


% 
% -- 
% René Clerc  - ([EMAIL PROTECTED])
% 
% Meteorologist, n.:
%   A man who can look in a woman's eyes and predict whether.

I thought that that was a meeting-her-ologist :-)


:-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!


 PGP signature


Re: M$ Exchange and Mailboxes

2001-09-18 Thread Johannes Zellner

On Tue, Sep 18, 2001 at 05:59:28AM -0400, David T-G wrote:
 % If I now choose for example 'INBOX' and type return, I just get
 % another folder list with one entry
 
 Can you, however, choose either of your other two examples and then
 arrive at the mail folder, or do you have this problem with all of them?

I've the problem with all folders.

 % 
 %  1IMAP +../
 % 
 % but I'd rather like (and expect) mutt to open the specified folder.
 
 My vague recollection is that a trailing / means that it's a directory,
 which is also indicated by the ../ in the folder.  Would you mind
 trying
 
   mutt -f imap://server/INBOX
   mutt -f imap://server/INBOX/
   mutt -f imap://server/INBOX.

none of these work.
but I can indeed select the files with space instead of return.
That's pretty much ok (although letting mutt decide if it should
open it as folder or as file would be even better)

Thanks for your help.


-- 
   Johannes



Re: Knowing when something is a thread when it is collapsed

2001-09-18 Thread darren chamberlain

Victor Yegorov [EMAIL PROTECTED] said something to this effect on 09/18/2001:
 * Cliff Sarginson [EMAIL PROTECTED] [17.09.2001 19:55]:
  Hello
  I like to have threads collapsed by default.
  However I would like some indication in the index display
  that a message is the first in a thread.
  Anyone know how I can do this ?
  
 
 for indexer i use the following format:
 
 [...]
 set index_format=%4C:%2E %Z %(!%b %d, %H:%M) %-17.17F %s
 [...]
 
 %4C stands for message number, %2E - for message number in thread.
 so i have something like this:

%E sounds like a hugely useful feature, but I can't seem to find
it in the mutt 1.2.5 manual; is it a feature of the 1.3.x
series?

(darren)

-- 
Nothing is ever accomplished by a reasonable man.



Re: Knowing when something is a thread when it is collapsed

2001-09-18 Thread Victor Yegorov

* darren chamberlain [EMAIL PROTECTED] [18.09.2001 16:11]:

 %E sounds like a hugely useful feature, but I can't seem to find
 it in the mutt 1.2.5 manual; is it a feature of the 1.3.x
 series?
 
i don't know exactly, but it seems to be so. i'm using 1.3.22.1i and
documentation is also for it.

-- 

Victor Yegorov

 PGP signature


Re: X-GPG headers [was: GnuPG and accented characters]

2001-09-18 Thread René Clerc

On Tue, Sep 18, 2001 at 06:23:13AM -0400, David T-G wrote:
| % Another question:
| % 
| % are the X-GPG-*, X-PGP-* and alike headers generated because of some
| % configuration settings, or are they just results of several my_hdr
| % commands?
| 
| No, I think it's my_hdr stuff.

Ok. Then probably the final question:

(hope I'm not annoying you guys/girls ;)

how does mutt know which key to fetch from the server? Does it base
this on the e-mail address of the sender?

Because, when I view a message, I can't find any key id attached to
it...

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

In order to maintain a well-balanced perspective, the person who has a
dog to worship him should also have a cat to ignore him.



Re: adding aliases not only from From: fields

2001-09-18 Thread Adam Shostack

On Mon, Sep 17, 2001 at 06:54:15PM -0700, Denis Perelyubskiy wrote:
 hello,
 
 is there any way to make mutt prompt me to add an alias
 based on some other field, other then From: ?

A slightly different question might be: How do I capture all the email
addresses that go by, so I can grab them later?  The answer is lbdb,
and I recommend it highly.

Adam


-- 
It is seldom that liberty of any kind is lost all at once.
   -Hume





Re: vim question

2001-09-18 Thread Matt Spong

 and (i can't resist)... one more quick vi / vim question.  is there a
 quick way to make the arrow keys work the same in insert mode and in
 command mode?  right now i get 'A','B','C' and 'D' instead.

:set nocp

This turns off strict vi compatibility and makes vim act much friendlier.

Matt

-- 
Matt Spong || [EMAIL PROTECTED] || AIM: Spong1027 || http://www.forkbomb.net

 Those who desire to give up freedom in order to gain security, will not
 have, nor do they deserve, either one.   -Benjamin Franklin

 PGP signature


Re: M$ Exchange and Mailboxes

2001-09-18 Thread David T-G

Johannes --

...and then Johannes Zellner said...
% On Tue, Sep 18, 2001 at 05:59:28AM -0400, David T-G wrote:
%  % If I now choose for example 'INBOX' and type return, I just get
%  % another folder list with one entry
%  
%  Can you, however, choose either of your other two examples and then
%  arrive at the mail folder, or do you have this problem with all of them?
% 
% I've the problem with all folders.

Hokay; it's not specific to the INBOX.  And it looks to have been figured
out below.  But ...


% 
%  which is also indicated by the ../ in the folder.  Would you mind
%  trying
%  
%mutt -f imap://server/INBOX
%mutt -f imap://server/INBOX/
%mutt -f imap://server/INBOX.
% 
% none of these work.

That's interesting.  You should be able to access INBOX directly from the
command line; I just did that a few months ago.  I'm afraid, though, that
I don't remember the grammar I used, and I no longer have an exchange
server to use to try it again.


% but I can indeed select the files with space instead of return.
% That's pretty much ok (although letting mutt decide if it should
% open it as folder or as file would be even better)

Yeah, but mutt doesn't know what you want to do -- each of these single
elements has two possibilities, so how could it?


% 
% Thanks for your help.

Glad to be of service.


% 
% 
% -- 
%Johannes


:-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!


 PGP signature


Re: X-GPG headers [was: GnuPG and accented characters]

2001-09-18 Thread David T-G

René --

...and then Ren? Clerc said...
% On Tue, Sep 18, 2001 at 06:23:13AM -0400, David T-G wrote:
% | 
% | No, I think it's my_hdr stuff.
% 
% Ok. Then probably the final question:
% 
% (hope I'm not annoying you guys/girls ;)

Not yet :-)


% 
% how does mutt know which key to fetch from the server? Does it base
% this on the e-mail address of the sender?

Look into the mysteries of $pgp_getkeys_command to learn more
(translation: RTFM :-)


% 
% Because, when I view a message, I can't find any key id attached to
% it...

It has to be there or nobody would ever know, but it's embedded in the
PGP code itself (IIRC) and thus not so obvious to your eye.


% 
% -- 
% René Clerc  - ([EMAIL PROTECTED])
% 
% In order to maintain a well-balanced perspective, the person who has a
% dog to worship him should also have a cat to ignore him.


:-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!


 PGP signature


Re: X-GPG headers [was: GnuPG and accented characters]

2001-09-18 Thread René Clerc

On Tue, Sep 18, 2001 at 09:50:24AM -0400, David T-G wrote:

| % how does mutt know which key to fetch from the server? Does it base
| % this on the e-mail address of the sender?
| 
| Look into the mysteries of $pgp_getkeys_command to learn more
| (translation: RTFM :-)

That command equals  in my case ;)

This is because of GnuPG: when Mutt asks gpg for a key, and in case
gpg doesn't have it, it downloads the key from a server, and passes
it back to Mutt. So the retrieving is transparent to Mutt...

| % Because, when I view a message, I can't find any key id attached to
| % it...
| 
| It has to be there or nobody would ever know, but it's embedded in the
| PGP code itself (IIRC) and thus not so obvious to your eye.

It's probably somewhere in the PGP signature, I agree...

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

Doing more with less.
-Buckminster Fuller



Legacy PGP Woes

2001-09-18 Thread Phil Gregory

I'm having some issues with mutt and PGP.  PGP/MIME stuff works great, but
older things (like what pine puts out) does not.  I'm using the procmail
recipie that adds

Content-Type: application/pgp; format=text; x-action=encrypt

to the headers of emails with PGP messages in them, but when I go to read
such an email, mutt asks me for my PGP passphrase, then shows a
nearly-blank screen, saying only

[-- application/pgp is unsupported (use 'v' to view this part) --]

If I hit 'v' and go to the menu, mutt refuses to show me anything, saying
that a mailcap entry for application/pgp was not found.  I assume I'm
doing something stupid, but I can't figure out what it is.  Can someone
please help me?

Further information:

I'm using mutt version 1.0.20 on a Debian unstable distribution.  I'm
using gpg version 1.0.6.  I'm sourcing an essentially stock gpg.rc (I
changed pgpewrap to use its fullly qualified name, but nothing else).

Let me know if you need further information.

-- 
[EMAIL PROTECTED] / DNRC / UMBC-LUG: http://linux.umbc.edu
PGP public key fingerprint:  0A7D B3AD 2D10 1099  7649 AB64 04C2 05A6
--- --
This is a one line proof... if we start sufficiently far to the left.
   -- Cambridge University math professor
 --- --



Re: New Mails Old Mails No Mails

2001-09-18 Thread Vineet Kumar

* David T-G ([EMAIL PROTECTED]) [010918 02:51]:
 ...and then Thomas Kniep said...
 % Am 17.09.2001 (17:47) schrieb David T-G:
 % Is there any why to get an overview on unread mails (either marked N or O)?
 
 Hmmm...  You might have truly meant 'why' instead of 'way', and I don't
 think there's an overview of that, but it's not a bad idea.  If you mean
 'way', then I'm not sure what you mean other than the index view showing
 them to you; if you want some sort of analysis like 23 New messages,
 41 Old messages, 17 read messages, 6 replied messages you'll have to
 write it -- but it sounds like a lovely idea ;-)

try limiting to ~O, to display only old messages. limit is by default
bound to 'l', so you'd go like this:
hit l
at the limit prompt, type ~O, and hit enter
now you see only messages marked Old.

Or maybe you're looking for this [N=%n,*=%t,old=%o,post=%p,new=%b] in
your status_format somewhere?

HTH,

-- 
Vineet   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
echo Qba\'g gernq ba zr\! |tr 'a-zA-Z' 'n-za-mN-ZA-M'

 PGP signature


scores

2001-09-18 Thread Matthias LOITSCH

i cant assign a negative number to a score!

why does the command ... :

  score '~f [EMAIL PROTECTED]' -5

... not work???

it always assignes 0 to the messages
i have no problem with positive numbers.

thanks for your help


.


-- 
Matthias Loitsch130599081
   [EMAIL PROTECTED]   
 www.yourth.net chimera




Re: scores

2001-09-18 Thread Dan Boger

On Tue, Sep 18, 2001 at 10:22:08PM +0200, Matthias LOITSCH wrote:
 i cant assign a negative number to a score!
 
 why does the command ... :
 
   score '~f [EMAIL PROTECTED]' -5
 
 ... not work???
 
 it always assignes 0 to the messages
 i have no problem with positive numbers.
 
 thanks for your help

  The score commands adds value to a message's score if pattern matches
  it.  pattern is a string in the format described in the ``patterns''
  section.  value is a positive or negative integer.  A message's final
  score is the sum total of all matching score entries.  However, you may
  optionally prefix value with an equal sign (=) to cause evaluation to
  stop at a particular entry if there is a match.  Negative final scores
  are rounded up to 0.

Negative final scores are rounded up to 0.  :)

HTH,

-- 
Dan Boger
Linux MVP
brainbench.com


 PGP signature


Paths not read from muttrc?

2001-09-18 Thread Jim Crumley

I've got a with some pathes that I set in my muttrc being
ignored.  A while back I wrote about print_command not being set
correctly. That problem could be worked around by manually
setting print_command after mutt had started, which isn't a big
deal since I don't print many emails. Now, I've found a similar
problem with mailcap_path - it is always set to .mailcap:.
This also can be worked around by always running mutt from my
home directory, but it is annoying.

I know that my muttrc is being read, since other variables are
set correctly.  And even some paths are set correctly.  For
instance if I've set alias_file to some arbitrary filename in my
muttrc, the correct value is set.



Here's an excerpt from my muttrc:
set mailcap_path = ~/.mailcap
set print_command = '/usr/local/bin/enscript -2r'

And some output from set from inside of mutt:
:set mailcap_path
mailcap_path=.mailcap:
:set print_command
print_command=/usr/ucb/lpr

And from mutt -v:
System: SunOS 5.7 [using ncurses 4.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/local/bin/ispell
SENDMAIL=/usr/lib/sendmail
MAILPATH=/var/mail
PKGDATADIR=/home/crumley/local/share/mutt
SYSCONFDIR=/home/crumley/local/etc
EXECSHELL=/bin/sh
-MIXMASTER

Any ideas what could be going on?

Thanks,
Jim

-- 
Jim Crumley  |
[EMAIL PROTECTED] |
Work: 612 624-6804 or -0378  |



How to *not* include myself in the reply message?

2001-09-18 Thread Jun Sun


Often times when I hit g for a group reply, I have myself included in 
the CC address.  Since I have already set up mutt such that I will 
get BCC'ed for my replies, I will then two copies of my own reply.

Is there a way to *not* include myself when I hit g group reply?

Thanks.

Jun



Re: How to *not* include myself in the reply message?

2001-09-18 Thread Will Yardley

Jun Sun wrote:
 
 Often times when I hit g for a group reply, I have myself included
 in the CC address.  Since I have already set up mutt such that I will
 get BCC'ed for my replies, I will then two copies of my own reply.
 
 Is there a way to *not* include myself when I hit g group reply?

from TFM:

metoo
Type: boolean
Default: no

If  unset,  Mutt  will remove your address from the
list of recipients when replying to a message.



-- 
Sintax error in config file! (line 378)
aborted!

GPG Public Key:
http://infinitejazz.net/will/pgp/



Re: How to *not* include myself in the reply message?

2001-09-18 Thread Jun Sun

On Tue, Sep 18, 2001 at 02:59:28PM -0700, Will Yardley wrote:
 Jun Sun wrote:
  
  Often times when I hit g for a group reply, I have myself included
  in the CC address.  Since I have already set up mutt such that I will
  get BCC'ed for my replies, I will then two copies of my own reply.
  
  Is there a way to *not* include myself when I hit g group reply?
 
 from TFM:
 
 metoo
   Type: boolean
   Default: no
 
   If  unset,  Mutt  will remove your address from the
   list of recipients when replying to a message.
 

Hmm, first I did not change 'metoo'.  Secondly even if I explicitly set
'metoo' to no, I still see my address included in group reply.

I think it might has to do with my folder setting.  I have set up such
that in different folders I have different From: address.  Perhaps
mutt does not recognize those additional From: addresses as me, and
consequently include them in the group reply.

Is there anyway to tell mutt what addresses are considered me so that
it won't include any of them when I hit g group reply?  Or is there way
to mutt respect the current From: and regard it as me ?

Jun 



Re: How to *not* include myself in the reply message?

2001-09-18 Thread Jonathan Irving

On Tue, Sep 18, 2001 at 04:26:34PM -0700, Jun Sun wrote:
 Is there anyway to tell mutt what addresses are considered me so that
 it won't include any of them when I hit g group reply?  Or is there way
 to mutt respect the current From: and regard it as me ?

set alternates=...

HTH

cheers
j

-- 
http://www.epic.org - Electronic Privacy Information Center



Re: How to *not* include myself in the reply message?

2001-09-18 Thread Ryan Cook

[...snip...]

 Hmm, first I did not change 'metoo'.  Secondly even if I explicitly set
 'metoo' to no, I still see my address included in group reply.
 
 I think it might has to do with my folder setting.  I have set up such
 that in different folders I have different From: address.  Perhaps
 mutt does not recognize those additional From: addresses as me, and
 consequently include them in the group reply.
 
 Is there anyway to tell mutt what addresses are considered me so that
 it won't include any of them when I hit g group reply?  Or is there way
 to mutt respect the current From: and regard it as me ?

Try looking up 'set alternates' in TFM.

/rc
 
 Jun 

-- 



Re: How to *not* include myself in the reply message?

2001-09-18 Thread Andy Wingo

Hi Jun,

On Tue, 18 Sep 2001, Jun Sun wrote:
[...]
 Is there anyway to tell mutt what addresses are considered me so that
 it won't include any of them when I hit g group reply?  Or is there way
 to mutt respect the current From: and regard it as me ?

check 'alternates' in the manual. that should help.

 Jun 

Regards,

wingo



Re: How to *not* include myself in the reply message?

2001-09-18 Thread Piet Delport


--0vzXIDBeUiKkjNJl
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, 18 Sep 2001 at 16:26:34 -0700, Jun Sun wrote:
 I think it might has to do with my folder setting.  I have set up such
 that in different folders I have different From: address.  Perhaps
 mutt does not recognize those additional From: addresses as me,
 and consequently include them in the group reply.
=20
 Is there anyway to tell mutt what addresses are considered me so
 that it won't include any of them when I hit g group reply?  Or is
 there way to mutt respect the current From: and regard it as me ?

Are you looking for alternates?

--=20
Piet Delport [EMAIL PROTECTED]
Today's subliminal thought is:

--0vzXIDBeUiKkjNJl
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (FreeBSD)

iD8DBQE7p+PKzRUP82sZFCcRAhHyAJ9wpaLBZh4hoBEVqtfpy322VCfwBQCeLGjg
JjBpEWT0uNPvN6eFq+xby2s=
=AncF
-END PGP SIGNATURE-

--0vzXIDBeUiKkjNJl--



inews a inn.conf

2001-09-18 Thread Matj Cepl

Hi,

I would like to use mutt as a news client (using 1.3.22.1i-nntp by 
Vsevolod Volkov; remembering VC as the best filemanager for DOS -- is 
it the same guy?). Reading is fine, but when I try to post (to local 
leafnode), inews answers, that I have not set mta variable in inn.conf.
Which is strange, because I think that I have (see attached).

Thanks in advance

Matej Cepl

-- 
Now there were some present at that time who told Jesus about the 
Galileans whose blood Pilate has mixed with their sacrifices. Do you 
think that these Galileans were worse sinners than all the other 
Galilelans because they suffered this way? I tell you, no! But UNLESS 
YOU REPENT, YOU TOO WILL ALL PERISH.
  -- Luke 13,1-4 NIV


# $Id:$
server : rehor
domain : surfbest.net
mta : /usr/sbin/sendmail -oem -oi




Fixing outlook pgp patch for lotus notes.

2001-09-18 Thread Jean-Sebastien Morisset

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I haven't done any C in a long time, but I thought I'd give it a try. The
idea was to get rid of the 'Content-Disposition: inline; filename=msg.pgp'
header, but the best I could do was remove the filename. :-) It seems to run
fine, but perhaps someone could tell me if I've broken anything? :-)

Here's my small mod:

   1500   /* jsmoriss: fix for lotus notes - exclude msg.pgp filename from */
   1501   /* content-disposition */
   1502 
   1503   b-unlink = 1;
   1504   b-disposition = DISPINLINE;
   1505 
   1506   if (flags  PGPOUTLOOK) {
   1507  b-use_disp = 0;
   1508   } else {
   1509  b-d_filename = safe_strdup (msg.pgp);
   1510  b-use_disp = 1;
   1511   }

Before the mod:

Mime-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline; filename=msg.pgp

After the mod:

Mime-Version: 1.0
Content-Type: text/plain
Content-Disposition: inline

If I don't set b-disposition, then I get a 'Content-Disposition: attachment'
header which is no good either. :-)

Thanks,
js.
- -- 
Jean-Sebastien Morisset, Sr. UNIX Administrator [EMAIL PROTECTED]
Personal Homepage http://jsmoriss.mvlan.net/
This is Linux Country. On a quiet night you can hear Windows NT reboot!
-  please pgp encrypt all correspondence 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Personal Home Page http://jsmoriss.mvlan.net/

iD8DBQE7qATEnGyIOcYaingRAhxcAKC+NKvVQ438dkCFzqlbsDh2eu3h+wCg3f73
zev0HCXJUpjkpMNvM1JzFzw=
=WjmI
-END PGP SIGNATURE-



Re: Legacy PGP Woes

2001-09-18 Thread Vineet Kumar

* Phil Gregory ([EMAIL PROTECTED]) [010918 19:48]:
 So that's it.  In order for PGP stuff to work properly, application/pgp
 must *not* be in the auto_view list.

That's good to know ... sounds like something it might have taken me a
long time to figure that out. It kind of makes sense, though, in
retrospect: if mutt uses autoview for application/pgp, it tries to
hand it to mailcap rather than handle it on its own.

-- 
Vineet   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
echo Qba\'g gernq ba zr\! |tr 'a-zA-Z' 'n-za-mN-ZA-M'

 PGP signature


Re: How to *not* include myself in the reply message?

2001-09-18 Thread Rino Mardo

On Tue, Sep 18, 2001 at 04:26:34PM -0700 or thereabouts, Jun Sun wrote:
 Hmm, first I did not change 'metoo'.  Secondly even if I explicitly set
 'metoo' to no, I still see my address included in group reply.
 
 I think it might has to do with my folder setting.  I have set up such
 that in different folders I have different From: address.  Perhaps
 mutt does not recognize those additional From: addresses as me, and
 consequently include them in the group reply.
 
 Is there anyway to tell mutt what addresses are considered me so that
 it won't include any of them when I hit g group reply?  Or is there way
 to mutt respect the current From: and regard it as me ?
 
from TFM look for alternates.

-- 
Waiting for the Stinky Pete release of Debian

_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




Re: Problem with outlook pgp patch lotus notes

2001-09-18 Thread Rino Mardo

On Tue, Sep 18, 2001 at 04:33:07PM -0400 or thereabouts, Jean-Sebastien Morisset wrote:
 I've applied the outlook pgp patch to mutt v1.2.5. Everything is great,
 but my boss, who uses Lotus Notes :-( has complained that my messages show
 up as msg.pgp attachments! Looking at the headers of sent messages, they
 look normal (pgp stuff in msg body, etc.), except for the following
 header:
 
 Content-Disposition: inline; filename=msg.pgp
 
 I don't think this header is needed since the messages I sent are now
 text/plain.
 
 How do you guys recommend I fix this? Edit the outlook pgp patch? I
 haven't done any C in something like 10 years...
 
are you sending within your notes network or from the internet?  if
it's from outside your notes network you could just tell your domino
mail server to use plain text for incoming messages.

-- 
Waiting for the Stinky Pete release of Debian

 PGP signature