Re: Suggestion for List Etiquette

2002-01-12 Thread Igor Pruchanskiy

 As Tom Gilbert has it in his sample .muttrc:
 set indent_str=   # change this and I'll kill you!   ;-)

I have have this:

set indent_string=# Dont' be a moron. Leave it as is.

igor

--
Uptime : 31 days, 28 min



Re: Like to see your script

2002-01-12 Thread Benjamin Smith

In the script it mentions that the message can't be piped through it
since there is then no access to stdin to prompt the user. One way round
this is to do this:

open(TTYOUT, /dev/tty);
open(TTYIN, /dev/tty);
print TTYOUT Hello World!;
$abc = TTYIN;
close(TTYIN);
close(TTYOUT);

-- 
Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED]



msg22984/pgp0.pgp
Description: PGP signature


Re: Mutt dumps core...

2002-01-12 Thread Udo Schweigert

On Fri, Jan 11, 2002 at 23:22:54 +0100, Nils Holland wrote:
 Hi folks,
 I've been using Mutt for quite some time, and now I have a problem. My
 current mutt (1.2.5i on FreeBSD 4.5-PRERELEASE) seems to have some
 problems:
 
 I have set up mutt so that it accesses new mail that has been filtered into
 my various inboxes and, once I have read these new messages, moves them to
 other folders for later review by me.
 
 Now, my archive folders have always worked fine, i.e. I could always
 successfully access them when I wanted to look at some old message.
 However, today I noticed that when accessing a few (but not all) of these
 folders, mutt dumps core.
 
 I have tried several things, but I don't know what's wrong. Therefore, I
 uploaded one of my mbox files which triggers a core dump. It can be found
 at http://www.tisys.org/misc/xpert (it's a folder containing XFree86
 mailing list messages, about 3.3 MB in size). I'd appreciate if someone
 could try downloading and opening it it mutt, preferrably also in 1.2.5i,
 but probably also in the latest beta.
 
 If you try that and it also crashed your mutt, my mailbox file(s) must have
 gotten corrupt (although I could not find any sign for that). If it works
 for you, something must be wrong with my configuration ;-)
 
 So, I'd be glad if some folks would try this out and report the results to
 me. I've already tried opening the mailbox file(s) on all of my machines
 without success, so the only thing left to do is probably call others for a
 test...
 

I downloaded it and it works without any problem here (FreeBSD 4.5-RC, Mutt
1.3.25i). Have you compiled mutt youself? Maybe you should try the port from
ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/mail/mutt-devel-1.3.25_2.tgz.

Best regards

--
Udo Schweigert, Siemens AG   | Voice  : +49 89 636 42170
CT IC 3, Siemens CERT| Fax: +49 89 636 41166
D-81730 Muenchen / Germany   | email  : [EMAIL PROTECTED]



Re: nntp in mutt

2002-01-12 Thread Roberto Suarez Soto

On Jan/12/2002, Rob 'Feztaa' Park wrote:

 Ok, I've recompiled mutt with Vsevolod Volkoy's NNTP patch, and I've
 been poking around a bit... but I can't for the life of my figure out
 how to configure mutt for NNTP now that it is compiled properly. Anybody
 know what I have to do?

When you patch the sources of Mutt, the manual is also patched.
So, you have a Reading news with mutt (or something alike) section in
the manual. Have you checked it out yet? :-?

-- 
 Roberto Suarez Soto ·   The world owes you nothing.
   [EMAIL PROTECTED]   ·It was here first.
  Corgo/Lugo/Galicia/Spain   ·   (Mark Twain)



Re: Mutt dumps core...

2002-01-12 Thread Nils Holland

On Sat, Jan 12, 2002 at 09:36:50AM +0100, Udo Schweigert stood up and spoke:
 
 I downloaded it and it works without any problem here (FreeBSD 4.5-RC, Mutt
 1.3.25i). Have you compiled mutt youself? Maybe you should try the port from
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/packages/mail/mutt-devel-1.3.25_2.tgz.

Thanks for testing it! I guess I will try to recompile mutt, probably also
go to the mutt-devel port. If that still doesn't work, I'll try the
precompiled package you suggested. I guess I should be able to find out
what's wrong ;-)

Greetings
Nils

-- 
Nils Holland
Ti Systems - FreeBSD in Tiddische, Germany
http://www.tisys.org * [EMAIL PROTECTED]



A little macros help...

2002-01-12 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi everyone.
I've been trying to work out how to do this

Remap the 'G' key to execute a shell command.

So instead of '!' followed by the command I'd just like to hit 'G' and
have it done automatically.

I've been looking through the manual and it doesn't look like it's
possible. Please feel free to prove me wrong :)
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QBe+HpvrrTa6L5oRAshpAJwMlz8ld1PCOsWZz7r/A4gujmZDPQCgkrX2
8pR2pS+QeyQ4uRlEUkKyFys=
=95WU
-END PGP SIGNATURE-



Re: A little macros help...

2002-01-12 Thread Nicolas Rachinsky

On Sat, Jan 12, 2002 at 12:02:22PM +0100, Nick Wilson [EMAIL PROTECTED] wrote:
 Remap the 'G' key to execute a shell command.
 
 So instead of '!' followed by the command I'd just like to hit 'G' and
 have it done automatically.
 
 I've been looking through the manual and it doesn't look like it's
 possible. Please feel free to prove me wrong :)

macro index G !less /etc/passwd\n

not really useful, but it seems to work

Nicolas




Re: A little macros help...

2002-01-12 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* On 12-01-02 at 12:15 
* Nicolas Rachinsky said

 On Sat, Jan 12, 2002 at 12:02:22PM +0100, Nick Wilson [EMAIL PROTECTED] wrote:
  Remap the 'G' key to execute a shell command.
  
  So instead of '!' followed by the command I'd just like to hit 'G' and
  have it done automatically.
  
  I've been looking through the manual and it doesn't look like it's
  possible. Please feel free to prove me wrong :)
 
 macro index G !less /etc/passwd\n
 
 not really useful, but it seems to work
 
 Nicolas

Fantastic! Thanks. I use mine to run fetchmail and mailstat which make
sense to me.

Ta very much
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QB1aHpvrrTa6L5oRAnJvAKCx/NUFd/qsgaVHeI8bZe6vRf4MZACfbp+J
3wlVfcWf2dt5Y3Y3MCuoTuo=
=ShGf
-END PGP SIGNATURE-



Re: A little macros help...

2002-01-12 Thread Benjamin Smith

On Sat, Jan 12, 2002 at 12:02:22PM +0100, Nick Wilson wrote:
 
 Hi everyone.
 I've been trying to work out how to do this
 
 Remap the 'G' key to execute a shell command.
 
 So instead of '!' followed by the command I'd just like to hit 'G' and
 have it done automatically.
 
 I've been looking through the manual and it doesn't look like it's
 possible. Please feel free to prove me wrong :)

That is indeed possible using a simple macro like this:

macro index 'G' 'shell-commandecho Hello World!Return' 'Help message'

This is a section in the manual on this if you look for the keyword
'macro'.

HTH  HAND.

(OT: When I reply to traditional PGP posting like this one, I get the
signature data inserted into the reply, is there any way this can be
avoided? TIA).

-- 
Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED]



msg22991/pgp0.pgp
Description: PGP signature


Re: A little macros help...

2002-01-12 Thread Im Eunjea

* Nick Wilson [EMAIL PROTECTED] [2002-01-12 12:02]:
 
 Hi everyone.
 I've been trying to work out how to do this
 
 Remap the 'G' key to execute a shell command.
 
 So instead of '!' followed by the command I'd just like to hit 'G' and
 have it done automatically.
 

macro generic G shell-escapeenter

-- 
Eunjea [EMAIL PROTECTED]
http://kldp.org/~eunjea/
GnuPG fingerprint: 08C9 2D3F 91B2 D395 2EFF  4C33 544C 321C E194 91CF



msg22992/pgp0.pgp
Description: PGP signature


Re: A little macros help...

2002-01-12 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* On 12-01-02 at 12:47 
* Benjamin Smith said

 On Sat, Jan 12, 2002 at 12:02:22PM +0100, Nick Wilson wrote:
  
  Hi everyone.
  I've been trying to work out how to do this
  
  Remap the 'G' key to execute a shell command.
  
 That is indeed possible using a simple macro like this:
 
 macro index 'G' 'shell-commandecho Hello World!Return' 'Help message'
 
 This is a section in the manual on this if you look for the keyword
 'macro'.
 

Thanks, I never saw the shell-command bit when I looked. I just did it
with macro index G !my_commandreturn


- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QCMIHpvrrTa6L5oRAu+jAJ43CaeUfkYG2fzYy0UmucGhRm2A/QCaA4HT
qrtdnLnjeDOA1dbBaQVbBGI=
=deS7
-END PGP SIGNATURE-



Re: A little macros help...

2002-01-12 Thread Benjamin Smith

On Sat, Jan 12, 2002 at 12:50:32PM +0100, Nick Wilson wrote:
 * On 12-01-02 at 12:47 
 * Benjamin Smith said
 
  On Sat, Jan 12, 2002 at 12:02:22PM +0100, Nick Wilson wrote:
   
   Hi everyone.
   I've been trying to work out how to do this
   
   Remap the 'G' key to execute a shell command.
   
  That is indeed possible using a simple macro like this:
  
  macro index 'G' 'shell-commandecho Hello World!Return' 'Help message'
  
  This is a section in the manual on this if you look for the keyword
  'macro'.
  
 
 Thanks, I never saw the shell-command bit when I looked. I just did it
 with macro index G !my_commandreturn

Its good practise to use the function name in brackets, as it means that
even people with weird mapping can use the macro.

-- 
Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED]



msg22994/pgp0.pgp
Description: PGP signature


Re: Color mails which are a reply to a mail from me?

2002-01-12 Thread Charles Jie

Hi, Justin,

How about sharing your 'regex' here for our reference?

I've tried to write one but found it's inefficient due to searching in
all the message bodies (~b). How do you think about it?

* Is it possible to limit the lines to scan for message body? I think
  only 5 lines at the top and bottom is enough. (Refer to Vim's
  modeline concept - for the majority of cases my name would only
  appear at top or bottom of the message.)

BTW, I found I can not handle mutt's regexp though I'm an experienced
Perl programmer. :)

  color index red default '~b (Charles|Charlie)'  = Unmatched (

not to mention:

  color index red default '~b Charl(es|ie)'  = Unmatched (

* Could anybody explain mutt's operator precedence and association
  criteria?

best,
charlie


On Sat, Jan 05, 2002 at 06:09:31PM -0500, Justin R. Miller wrote:
 Thus spake Gerhard Siegesmund ([EMAIL PROTECTED]):

  I don't know if it is at all possible, but I loved this feature with
  crosspoint (in the old times of fido-net). Is it possible to color (in
  the index) a mail which is a reply to a mail from me? So that I can
  see very fast if someone answered me in a list? (Hope this is not a
  FAQ).

 I have a regex color set up for any mail that mentions my name in the
 body, since I'll usually be attributed in a followup on the lists I'm
 on.  That works well for me...



msg22995/pgp0.pgp
Description: PGP signature


mailcap autoview problem

2002-01-12 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi
I thought i had it sussed with my .mailcap but alas no. Everytime I
open a text/html mail I completely fail to launch lynx and get hung with
a message saying 'invoking /usr/bin/htmlview'

Here is the .mailcap, 

text/html; lynx %s
text/*; more 
image/gif; xv %s
image/jpg; xv %s
application/pgp-keys; pgp -f  %s ; copiousoutput


Hope someone can spot the trouble :)
- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QDt1HpvrrTa6L5oRAsioAJwIrgSwK0U5cqnkxjBw9nl2CEzakwCfVluA
7scjacHZaM0QjsbMREC6ReQ=
=UtBy
-END PGP SIGNATURE-



Re: Like to see your script

2002-01-12 Thread Chris Gentle

On Sat, Jan 12, 2002 at 08:14:04AM +, Benjamin Smith wrote:

 open(TTYOUT, /dev/tty);
 open(TTYIN, /dev/tty);
 print TTYOUT Hello World!;
 $abc = TTYIN;
 close(TTYIN);
 close(TTYOUT);

OK, I'll give it a try.  I never got around to trying to fix it.  I
just found a work around instead.  Thanks.

-- 
Chris  Linux is the answer.  Now, what was your question?



Re: A little macros help...

2002-01-12 Thread Michael Wagner

On Samstag, 12. Jan. 2002 at 11:41:30, Benjamin Smith wrote:
 
 (OT: When I reply to traditional PGP posting like this one, I get the
 signature data inserted into the reply, is there any way this can be
 avoided? TIA).
 
Hello Benjamin,

press first ESCP on the mail. Then mutt verifies the signatur and
when you answer mutt won't include the signatur in the reply.

Hth Michael

-- 
This is dag°! Enter on own Risk!  
  [WoKo in dag°]



msg22999/pgp0.pgp
Description: PGP signature


Re: mailcap autoview problem

2002-01-12 Thread Michael Wagner

On Samstag, 12. Jan. 2002 at 14:34:45, Nick Wilson wrote:

 I thought i had it sussed with my .mailcap but alas no. Everytime I
 open a text/html mail I completely fail to launch lynx and get hung with
 a message saying 'invoking /usr/bin/htmlview'
 
 Here is the .mailcap, 
 
 text/html; lynx %s

Hello Nick,

take this:

text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html

Hth Michael

-- 
Life is short and in most cases it ends with death - Sir Sinclair



msg23000/pgp0.pgp
Description: PGP signature


Re: mailcap autoview problem

2002-01-12 Thread Nick Wilson

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


* On 12-01-02 at 16:15 
* Michael Wagner said

  Here is the .mailcap, 
  
  text/html; lynx %s
 
 Hello Nick,
 
 take this:
 
 text/html; lynx -dump %s; copiousoutput; nametemplate=%s.html

Thanks Micheal, that did the trick nicely :)

- -- 

Nick Wilson

Tel:+45 3325 0688
Fax:+45 3325 0677
Web:www.explodingnet.com



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QFb+HpvrrTa6L5oRAhXQAJ9B/J7W3SHHI3D2/RsmWGQgdKNyLgCfQJvu
rH0SCeBYc1GPidQ55vqkbCo=
=00m6
-END PGP SIGNATURE-



Re: Good HTML to text converter?

2002-01-12 Thread oacheson

On Tue, Jan 08, 2002 at 12:28:11AM -0500, Ken Wahl wrote:
 On Mon, Jan 07, 2002 at 05:14:11PM -0500, Philip Mak wrote:
  On Mon, Jan 07, 2002 at 08:50:16PM +0100, Michael Wagner wrote:
   I have this in my mailcap file:
   
   text/html; html2text %s; copiousoutput; nametemplate=%s.html
   
   because the output is much better than this lynx or w3m. Try it.
  

Despite a seemingly successful compile of html2text, all I get are
segmentation faults. Anyone else have this problem? Any solutions?

Thanks,

Ollie


-- 
|---|
| Ollie Acheson |
| Morristown, NJ|
|---|




msg23002/pgp0.pgp
Description: PGP signature


Re: Mutt dumps core...

2002-01-12 Thread Michael Tatge

I can open the xpert mbox without any problems.
Mutt 1.3.23i

HTH,

Michael
-- 
How do I type for i in *.dvi do xdvi i done in a GUI?
(Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)

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



Re: A little macros help...

2002-01-12 Thread Michael Tatge

Benjamin Smith muttered:
 macro index 'G' 'shell-commandecho Hello World!Return' 'Help message'
  ^^^
That's shell-escape

HTH,

Michael
-- 
Absolutely nothing should be concluded from these figures except that
no conclusion can be drawn from them.
(By Joseph L. Brothers, Linux/PowerPC Project)

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



Re: Mutt dumps core...

2002-01-12 Thread David T-G

Nils --

...and then Nils Holland said...
% 
% Hi folks,

Hello!


% So, I'd be glad if some folks would try this out and report the results to
% me. I've already tried opening the mailbox file(s) on all of my machines
% without success, so the only thing left to do is probably call others for a
% test...

I pulled it down and opened it with 1.2.5 and 1.3.25 with no problem.


% 
% Greetings
% Nils

Have fun ;-)


% 
% -- 
% Nils Holland
% Ti Systems - FreeBSD in Tiddische, Germany
% http://www.tisys.org * [EMAIL PROTECTED]


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




msg23005/pgp0.pgp
Description: PGP signature


Re: Color mails which are a reply to a mail from me?

2002-01-12 Thread Michael Tatge

Charles Jie muttered:
 BTW, I found I can not handle mutt's regexp though I'm an experienced
 Perl programmer. :)
 
   color index red default '~b (Charles|Charlie)'  = Unmatched (
 
 not to mention:
 
   color index red default '~b Charl(es|ie)'  = Unmatched (
 
 * Could anybody explain mutt's operator precedence and association
   criteria?

You have to escape the pipe Symbol
i.e. color index red default '~b Charl(es \| ie)'

This is an annoyance bugging me for a log time btw.

HTH,

Michael
-- 
The only intuitive interface is the nipple. After that, it's all learned.
(Bruce Ediger, [EMAIL PROTECTED], in comp.os.linux.misc, on X interfaces.)

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



Re: A little macros help...

2002-01-12 Thread Benjamin Smith

On Sat, Jan 12, 2002 at 04:07:49PM +0100, Michael Wagner wrote:
 On Samstag, 12. Jan. 2002 at 11:41:30, Benjamin Smith wrote:
  
  (OT: When I reply to traditional PGP posting like this one, I get the
  signature data inserted into the reply, is there any way this can be
  avoided? TIA).
  
 Hello Benjamin,
 
 press first ESCP on the mail. Then mutt verifies the signatur and
 when you answer mutt won't include the signatur in the reply.
 
 Hth Michael

Thanks.

-- 
Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED]



msg23007/pgp0.pgp
Description: PGP signature


Re: patch to force pgp_create_traditional on non-us-ascii mails (was: application/pgp breaks Pine, too (was: applying pgp-outlook patch))

2002-01-12 Thread Cristian

On Sat, Jan 12, 2002 at 04:27:34PM +, Paul Walker wrote:
 I just tried (piping your email direct into GPG), and got this:
 
 gpg: CRC error; 947beb - dc3947
 gpg: quoted printable character in armor - probably a buggy MTA has been used
 
 So something still needs some more work. (I'm using Exim 3.33.)

That's what I expected to happen when an email is verified before the
quoted printable 7bit transfer format is converted back to the
original 8bit text.

This conversion is (or should be) done in any case before viewing the
email, so I think you just tried to verify my email too early in the
process. Try viewing the message in you MUA and then piping it through
GPG!

What you observed is an issue inherent in the traditional way of
clearsigning but many MUAs handle it well (or so I hope).

Cheers,
Cristian

-- 

}{  Cristian Pietsch
}{  http://www.interling.de



msg23008/pgp0.pgp
Description: PGP signature


mutt mime.types

2002-01-12 Thread Roman Neuhauser

Hi there,

some time ago I reported problems with mailcap handlers for tar.(gz|bz2)
files. I didn't investigate it further until yesterday when I tried (and
failed) to get mutt recognize a file by its extension no matter where I
put the ext - MIME type mapping (i. e. /usr/local/etc/mime.types or
~/.mime.types).

I got really bothered by this, and run mutt in strace. While I could see
mutt opening ~/.mailcap, there was no mention of mime.types. So I got
mutt log debug info, but this didn't show mutt using mime.types either.
Might be the right piece of code doesn't call the dprint() macro; the
only place where the code mentions mime.types is check_mime_type() in
sendlib.c, however. Plus, it looks like this function is only called
when you *compose* a message (because then I get the right content
type).

So... could someone point me to the function which mutt uses to
determine the MIME type of the attachments when you view a message?

-- 
FreeBSD 4.4-STABLE
5:39PM up 2 days, 22:35, 19 users, load averages: 0.22, 0.24, 0.10



Re: patch to force pgp_create_traditional on non-us-ascii mails (was: application/pgp breaks Pine, too (was: applying pgp-outlook patch))

2002-01-12 Thread David Ellement

On 020112, at 16:27:34, Paul Walker wrote
 On Sat, Jan 12, 2002 at 12:58:54AM +0100, Cristian wrote:
  This Email is signed the same way as described above. So you can try
  to verify it with whatever you use.
 
 I just tried (piping your email direct into GPG), and got this:
 
 gpg: CRC error; 947beb - dc3947
 gpg: quoted printable character in armor - probably a buggy MTA has been used
 
 So something still needs some more work.

In this case some MTA between you and the mutt.org mailer altered
the message, which caused the signature to fail.  Nothing more can
be done to guarantee a good signature short of replacing all the
buggy MTAs in the world or adopting a scheme like PGP/MIME.  (The
signature is good here, so no buggy MTAs in the path here this
time).

This is the risk one takes using traditional PGP signatures:
occasionally a signature gets broken in transport.

-- 
David Ellement



Re: patch to force pgp_create_traditional on non-us-ascii mails (was: application/pgp breaks Pine, too (was: applying pgp-outlook patch))

2002-01-12 Thread Viktor Rosenfeld

Cristian wrote:

 On Sat, Jan 12, 2002 at 04:27:34PM +, Paul Walker wrote:
  I just tried (piping your email direct into GPG), and got this:
  
  gpg: CRC error; 947beb - dc3947
  gpg: quoted printable character in armor - probably a buggy MTA has been used
  
  So something still needs some more work. (I'm using Exim 3.33.)
 
 That's what I expected to happen when an email is verified before the
 quoted printable 7bit transfer format is converted back to the
 original 8bit text.

I had the following Header in Christian's original e-mail:

X-MIME-Autoconverted: from quoted-printable to 8bit 
by sigma.informatik.hu-berlin.de id g0C00ft29166

And I was able to verify his mail perfectly.

Hence my fear of broken signatures.  Clear-signing should work if the
mail is properly converted in both directions during the process, but as
Paul has showed, it might break at some point because of a broken MTA
and/or broken setup.

I still think this is better than the original behavior, and it could
also be taken care of by having mutt convert the message to 8bit before
feeding it to gpupg.

BTW, I tested the patch with Outlook today and it works as supposed.
One thing though: Somewhere the following header is created:

Content-Disposition: inline; filename=msg.pgp

This causes Outlook to show an attachment where there obviously is
none.  Could this be safely ommited?

Cheers,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/



msg23011/pgp0.pgp
Description: PGP signature


Re: mutt mime.types

2002-01-12 Thread David Ellement

On 020112, at 17:58:56, Roman Neuhauser wrote
 ... I reported problems with mailcap handlers for tar.(gz|bz2)
 files.  ... I failed to get mutt recognize a file by its extension
 no matter where I put the ext - MIME type mapping
 
 ... the only place where the code mentions mime.types is
 check_mime_type() in sendlib.c, however.  Plus, it looks like this
 function is only called when you *compose* a message 

True, mutt only uses mime.types when composing a message, to set the
content-type header for attachments based on file extension.


 So... could someone point me to the function which mutt uses to
 determine the MIME type of the attachments when you view a
 message?

When viewing a message, mutt uses the content-type header to
determine the MIME type (and then mailcap to determine what to do
with that type).  It's up to the sending MUA to set the content-type
header.

It is possible to invoke a filter via a mailcap entry to try to
guess the MIME type.  For an example, see Dave Pearson's
mutt.octet.filter (http://www.davep.org/mutt).

-- 
David Ellement



Re: mutt mime.types

2002-01-12 Thread Benjamin Smith

On Sat, Jan 12, 2002 at 05:58:56PM +0100, Roman Neuhauser wrote:
 Hi there,
 
 some time ago I reported problems with mailcap handlers for tar.(gz|bz2)
 files. I didn't investigate it further until yesterday when I tried (and
 failed) to get mutt recognize a file by its extension no matter where I
 put the ext - MIME type mapping (i. e. /usr/local/etc/mime.types or
 ~/.mime.types).
 
 I got really bothered by this, and run mutt in strace. While I could see
 mutt opening ~/.mailcap, there was no mention of mime.types. So I got
 mutt log debug info, but this didn't show mutt using mime.types either.
 Might be the right piece of code doesn't call the dprint() macro; the
 only place where the code mentions mime.types is check_mime_type() in
 sendlib.c, however. Plus, it looks like this function is only called
 when you *compose* a message (because then I get the right content
 type).
 
 So... could someone point me to the function which mutt uses to
 determine the MIME type of the attachments when you view a message?

I've always believed that the mime type of an attachment was actually
stored in the mime headers and so was independant of the file name. Of
course when composing a message, mutt needs a method of mapping
extensions to mime types and so uses mime.types, but when viewing a
message this is unnecessary.

-- 
Benjamin Smith [EMAIL PROTECTED], [EMAIL PROTECTED]



msg23013/pgp0.pgp
Description: PGP signature


Re: Color mails which are a reply to a mail from me?

2002-01-12 Thread Aaron Schrab

[ I've moved quoted text around, so that it's in the correct place. ]

At 20:39 +0800 12 Jan 2002, Charles Jie [EMAIL PROTECTED] wrote:
 On Sat, Jan 05, 2002 at 06:25:05PM -0600, Aaron Schrab wrote:
  color index red default ~b
 
   ^^

 Would you please tell me what's the default pattern if you don't specify
 one as in your example? (I can not identify from the manual.)

There isn't a default pattern.  I'd meant to put a place holder there,
but forgot to do so.  As it is that pattern is broken.

-- 
Aaron Schrab [EMAIL PROTECTED]  http://www.execpc.com/~aarons/
 A debugged program is one for which you have not yet found the
 conditions that make it fail.  -- Jerry Ogdin



Re: mutt mime.types

2002-01-12 Thread Roman Neuhauser

 Date: Sat, 12 Jan 2002 10:19:50 -0800
 From: David Ellement [EMAIL PROTECTED]
 To: mutt-users [EMAIL PROTECTED]
 Subject: Re: mutt  mime.types
 
 On 020112, at 17:58:56, Roman Neuhauser wrote
  So... could someone point me to the function which mutt uses to
  determine the MIME type of the attachments when you view a
  message?
 
 When viewing a message, mutt uses the content-type header to
 determine the MIME type (and then mailcap to determine what to do
 with that type).  It's up to the sending MUA to set the content-type
 header.

Doh. Should have been quite clear. Thanks for the explanation.
 
 It is possible to invoke a filter via a mailcap entry to try to
 guess the MIME type.  For an example, see Dave Pearson's
 mutt.octet.filter (http://www.davep.org/mutt).

Ok. I'll use this.

-- 
FreeBSD 4.4-STABLE
7:40PM up 3 days, 37 mins, 19 users, load averages: 0.00, 0.00, 0.00



Re: nntp in mutt

2002-01-12 Thread Rob 'Feztaa' Park

Alas! Roberto Suarez Soto spake thus:
  Ok, I've recompiled mutt with Vsevolod Volkoy's NNTP patch, and I've
  been poking around a bit... but I can't for the life of my figure out
  how to configure mutt for NNTP now that it is compiled properly. Anybody
  know what I have to do?
 
   When you patch the sources of Mutt, the manual is also patched.
 So, you have a Reading news with mutt (or something alike) section in
 the manual. Have you checked it out yet? :-?

Which manual? The man page for the muttrc just says that %g expands to
the newsgroup if mutt is compiled with nntp support, there is nothing
else about nntp in there.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Science has proof without any certainty. Creationists have certainty
without any proof.
-- Ashley Montague



msg23016/pgp0.pgp
Description: PGP signature


Re: Question about mutt and folders

2002-01-12 Thread David T-G

JT --

...and then JT said...
% 
% Okay, a bit of history.  I'm currently a Pine user and I'm considering 
% switching to Mutt since I have need of useable and useful PGP/GPG 
% handling.

Good for you!  We love mutt here :-)


% 
...
% Under pine, I can easily set up three mail collections as follows
% folder-collections=server1 {mail.server1.com}mail/[],
%server2 {mail.server2.com}mail/[],
%local mail/[]
% 
% which will let me see all of the folders on the local machine, server1 and 
% server2 on the folder screen and transfer files between them easily.  This
% functionality is actually fairly important to me as it enables me to get 
% things I need to do done quickly.

That's pretty slick, I must admit.  mutt currently does not have that
functionality, but I can see how it would be rather nice.

Perhaps that feature will come.  I'm afraid, though, that at the moment
your lack of results is the expected behavior.


HTH  HAND  I sure would like to see that, too!

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




msg23017/pgp0.pgp
Description: PGP signature


Re: Mutt dumps core...

2002-01-12 Thread Nils Holland

On Sat, Jan 12, 2002 at 11:06:56AM -0500, David T-G stood up and spoke:
 
 I pulled it down and opened it with 1.2.5 and 1.3.25 with no problem.

First of all, thanks to everyone who tested it!

Now, I have found that if I install FreeBSD's mutt-devel port, which is
mutt 1.3.25, it also works fine here. However, when using the current
stable version of mutt (1.2.5), the problem always happens - no matter if I
recompile mutt, and no matter on which one of my machines I try it.

Since people have reported that my mailbox file works for them even in mutt
1.2.5, the problem may be caused by one of the FreeBSD specific patches, as
included in the FreeBSD ports tree. However, since everything works fine
with 1.3.25, I don't see a reason to do much more research on this. I will
probably simply install 1.3.25 on all my machines and forget about it ;-)

Greetings
Nils




-- 
Nils Holland
Ti Systems - FreeBSD in Tiddische, Germany
http://www.tisys.org * [EMAIL PROTECTED]



Re: Color mails which are a reply to a mail from me?

2002-01-12 Thread Justin R. Miller

Thus spake Michael Tatge ([EMAIL PROTECTED]):

 You have to escape the pipe Symbol i.e. color index red default '~b
 Charl(es \| ie)'

I never did figure that out.  I just used my first time, since it is
uncommon enough on my lists.  

Now, however, I use the References: header thusly: 

folder-hook . 'uncolor index brightmagenta default ~x 
mithrandir.codesorcery.net !~P'
folder-hook lists 'color index brightmagenta default ~x 
mithrandir.codesorcery.net !~P'

-- 
Justin R. Miller [EMAIL PROTECTED]
View my website at http://codesorcery.net
Please encrypt email using key 0xC9C40C31



msg23019/pgp0.pgp
Description: PGP signature


Re: Suggestion for List Etiquette

2002-01-12 Thread Derek D. Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At some point hitherto, Roman Neuhauser hath spake thusly:
 I guess that quite a few of the subscribers are just devoted to
 flooding this list with chitchat. I would suggest creating
 mutt-chat, so that those who feel the urge to send non-technical, OT
 stuff to mutt-users would have a place to go.

I can not count the number of times I've seen such suggestions on
mailing lists from people concerned about the signal to noise ratio.
What such people invariably fail to realize is that these OT
discussions almost always result directly from discussions that
originally WERE on-topic, and are unavoidable.  Humans have a penchant
for going off on tangents, and you can not possibly hope to legislate
this behavior.  Creating new sublists to solve the problem DOES NOT
WORK.  EVER.

OT posts are a fact of life on mailing lists, unless you're on a
mailing list that happens to attract only the most stodgy and boring
people.  The fact is, people who have one interest in common often
have others too, and those differing interests WILL intersect, from
time to time, and be discussed in forums like this one.

You have only two options:  Unsubscribe, or learn to enjoy pressing
the delete key.  Sorry if you don't like that, but history has proven
that that's the way it is.

- -- 
Derek Martin   [EMAIL PROTECTED]
- -
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QKfndjdlQoHP510RAv19AJ0clVTFIDKiHq2DqUKVXiwjSCUoCgCeObSK
dt2RDjW4ib+BnlH9XideDlQ=
=lYEd
-END PGP SIGNATURE-



Re: Suggestion for List Etiquette

2002-01-12 Thread Derek D. Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At some point hitherto, Derek D. Martin hath spake thusly:
[SNIP]
 discussions almost always result directly from discussions that
 originally WERE on-topic, and are unavoidable.  Humans have a penchant
 for going off on tangents, and you can not possibly hope to legislate
 this behavior.  Creating new sublists to solve the problem DOES NOT
 WORK.  EVER.

I should ammend this to make it more accurate:  the only time I have
ever SEEN it work is when both lists were moderated, and the moderator
has taken the time to move threads to the other list.

- -- 
Derek Martin   [EMAIL PROTECTED]
- -
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QKmTdjdlQoHP510RAqakAJ0e0Sga16TqEE1XDuzieRB6xzCnyACgtcrg
lJESpZ7EXcNi2ItJT1X1b6c=
=LObX
-END PGP SIGNATURE-



Re: Ispell is too quiet when run from the Compose menu

2002-01-12 Thread Derek D. Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At some point hitherto, Samuel Padgett hath spake thusly:
 I sometimes spell check my messages before I send them using
 Ispell (actually, Aspell), and often I have no errors.  When this
 is the case, however, Mutt does not indicate that the spell
 checker ran at all!  Is there any way I can tell Mutt to display a
 message, for instance, Ispell exited with return code 0 or
 Spell checking complete?

This is part of the Unix philosophy, which goes something like, if
there's nothing to report, then report nothing.  Armed with this
knowledge, there's really no need for such a message...

- -- 
Derek Martin   [EMAIL PROTECTED]
- -
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QKozdjdlQoHP510RAsVlAKCu4j6jswjOpixB7IH6yPBoIsxtagCfbXjI
BAE88oyXMLm/ImcWMrIddnA=
=df6Q
-END PGP SIGNATURE-



Re: Question about mutt and folders

2002-01-12 Thread JT

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat, 12 Jan 2002, David T-G wrote:
 % 
 % Okay, a bit of history.  I'm currently a Pine user and I'm considering 
 % switching to Mutt since I have need of useable and useful PGP/GPG 
 % handling.
 
 Good for you!  We love mutt here :-)

*laugh* I figured as much.

 % Under pine, I can easily set up three mail collections as follows
 % folder-collections=server1 {mail.server1.com}mail/[],
 %server2 {mail.server2.com}mail/[],
 %local mail/[]
 % 
 % which will let me see all of the folders on the local machine, server1 and 
 % server2 on the folder screen and transfer files between them easily.  This
 % functionality is actually fairly important to me as it enables me to get 
 % things I need to do done quickly.
 
 That's pretty slick, I must admit.  mutt currently does not have that
 functionality, but I can see how it would be rather nice.

Drat.

 Perhaps that feature will come.  I'm afraid, though, that at the
 moment your lack of results is the expected behavior.
 
 
 HTH  HAND  I sure would like to see that, too!

Unfortunately it doesn't really help.  Maybe someone on here will be 
adventuresome enough to make such a patch?  I certainly don't know the 
internals of MUTT enough to do so currently.

Unfortunately this leaves me in a rather annoying place.
I have to either (as I'm doing now) use pine and deal with it's poor 
handling of PGP/GPG and eventually find or write a patch which makes pine 
handle PGP/MIME bodies, or I have to learn a new mailer, deal with it's 
poor handling of folders and eventually find or write a patch which gives 
it the folder handling I want.

If there is someone who wants to take on (or collaborate) on taking on 
this second task, I'd love to discuss it and help with it as I consider 
myself a fair-to-decent coder :)

Thanks again for the help.

- --JT

- -- 
[-]
[ Practice random kindness and senseless acts of beauty.  ]
[ It's hard to seize the day when you must first grapple with the morning ]
[-]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8QLKTlZQYYI16LJQRAnz7AJ9qJaSLC6sntOoM6L5Isrz6tAYZhgCdEtHu
5QvmNk6xzyV/S71PfC6MBX8=
=cSFA
-END PGP SIGNATURE-




Re: Question about mutt and folders

2002-01-12 Thread Michael Elkins

FWIW, I have this same annoyance with Mutt's IMAP handling.  It's damned
near imposible to copy a message between folders on different servers or
local without a bunch of typing.  I've been talkign to some folks over on
IRC about this issue and I would welcome any comments.   This was part of
the reason I wrote isync, too.



Re: nntp in mutt

2002-01-12 Thread David Champion

On 2002.01.12, in [EMAIL PROTECTED],
Rob 'Feztaa' Park [EMAIL PROTECTED] wrote:
 
 Which manual? The man page for the muttrc just says that %g expands to
 the newsgroup if mutt is compiled with nntp support, there is nothing
 else about nntp in there.

The mutt man page shows:
 -G   Start Mutt with a listing of subscribed newsgroups.

The manual (manual.txt) shows NNTP information in section 2.7, 3.18, and
in several 6.3.x sections concerning variables containing nntp and
news in their names. 6.3.106 talks about the URL-like syntax supported
as a folder naming syntax:
nntp[s]://news.server.name/news.group.name

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



Re: nntp in mutt

2002-01-12 Thread Rob 'Feztaa' Park

Alas! David Champion spake thus:
  Which manual? The man page for the muttrc just says that %g expands to
  the newsgroup if mutt is compiled with nntp support, there is nothing
  else about nntp in there.
 
 The mutt man page shows:
  -G   Start Mutt with a listing of subscribed newsgroups.

$ mutt -G
mutt: invalid option -- G
Mutt 1.3.25i (2002-01-01)
usage: mutt [ -nRyzZ ] [ -e cmd ] [ -F file ] [ -m type ] [ -f file ]
   mutt [ -nx ] [ -e cmd ] [ -a file ] [ -F file ] [ -H file ] [ -i file 
] [ -s subj ] [ -b addr ] [ -c addr ] addr [ ... ]
   mutt [ -n ] [ -e cmd ] [ -F file ] -p
   mutt -v[v]

options:
...
  -g server   specify a newsserver (if compiled with NNTP)
  -Gselect a newsgroup (if compiled with NNTP)
...

Very bloody funny.

Mutt 1.3.25i (2002-01-01)
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.12-386 (i686) [using ncurses 5.2]
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
+USE_FCNTL  -USE_FLOCK
-USE_POP  -USE_NNTP  -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
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

vvv.nntp

 The manual (manual.txt) shows NNTP information in section 2.7, 3.18, and
 in several 6.3.x sections concerning variables containing nntp and
 news in their names. 6.3.106 talks about the URL-like syntax supported
 as a folder naming syntax:
   nntp[s]://news.server.name/news.group.name

I'm about to read the manual.txt. It seems to have some relevant stuff
in it.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Are we all turning into AOLusers or what? Next thing we know, we'll
all be shouting 'Me 2! Me 2!' and someone will have to shoot us...
-- Chris King, in A.S.R



msg23027/pgp0.pgp
Description: PGP signature


Re: nntp in mutt

2002-01-12 Thread Rob 'Feztaa' Park

Alas! David Champion spake thus:
 The manual (manual.txt) shows NNTP information in section 2.7, 3.18, and

Section 2.7:

2.7.  Reading news via NNTP

  If compiled with ``--enable-nntp'' option, Mutt can read news from
  newsserver via NNTP. You can open a newsgroup with function ``change-
  newsgroup'' (default: i). Default newsserver can be obtained from
  NNTPSERVER environment variable. Like other news readers, info about
  subscribed newsgroups is saved in file by ``$newsrc'' variable.
  Article headers are cached and can be loaded from file when newsgroup
  entered instead loading from newsserver.

I compiled mutt like this, just now:

./configure --enable-nntp
make
make install

and mutt is acting exactly like nntp was not compiled in:

 - -g and -G are invalid options
 - i key is not bound
 - etc.

What is the matter with this thing?

*Sigh*. Thanks for your support, guys.

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
Television: A medium. So called because it's neither rare nor
well done.
-- Ernie Kovacs



msg23029/pgp0.pgp
Description: PGP signature


Re: nntp in mutt

2002-01-12 Thread Rob 'Feztaa' Park

Alas! David Champion spake thus:
 On 2002.01.12, in [EMAIL PROTECTED],
   Rob 'Feztaa' Park [EMAIL PROTECTED] wrote:
  options:
  ...
-g server   specify a newsserver (if compiled with NNTP)
-Gselect a newsgroup (if compiled with NNTP)
  ...
 
 Well, note the if compiled with NNTP part -

Yes, it was complied with the vvv.nntp patch at the time I sent that
message.

  Compile options:
  -DOMAIN
  +DEBUG
  -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  
  +USE_FCNTL  -USE_FLOCK
  -USE_POP  -USE_NNTP  -USE_IMAP  -USE_GSS  -USE_SSL  -USE_SASL  
 ^
 
 Did you configure with --enable-nntp?

Not at the time I sent that letter, but I've just recompiled it with
--enable-nntp and it's still not working. -g and -G are still bad, and
the i key (which should do something with nntp according to the manual)
is not bound.

$ mutt -v
Mutt 1.3.25i (2002-01-01)
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.12-386 (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
To contact the developers, please mail to [EMAIL PROTECTED].
To report a bug, please use the flea(1) utility.

Ugh. It seems as though the -g and -G options are now missing from the
output of 'mutt -h'.

Does this mean I have to compile with the nntp patch _and_
--enable-nntp??

-- 
Rob 'Feztaa' Park
[EMAIL PROTECTED]
--
The last time I was in Spain I got through six Jeffrey Archer
novels. I must remember to take enough toilet paper next time.
-- Bob Monkhouse



msg23030/pgp0.pgp
Description: PGP signature


Re: strange TABs in header

2002-01-12 Thread Andy Spiegl

Hi Igor,

 This space between my_hdr and the comment added all this space after the
 header... 
 
 So have your friend make sure that he does not have Tab between
 my_hdr From: and what the header is set to in his ~/.muttrc
Thanks for the idea.  I checked his mutt configuration, but nothing similar
is there.  Strangely enough since a few days he doesn't have theses TABs
anymore.  Could it be that some server inbetween us had changed the
headers?  I wouldn't think so normally.

Thanks,
 Andy.

-- 
 Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
 E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
 URL: http://spiegl.de, http://radiomaranon.org.pe
 PGP/GPG: see headers
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\,__`\,__(_) (_)/_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 
 Linux -- Where do you want to go tomorrow?



Re: Good HTML to text converter?

2002-01-12 Thread Andy Spiegl

 lynx --dump --force_html --nolist --hiddenlinks=ignore
 
 my $.02

IMHO, w3m does it even better:
text/html;   /usr/bin/w3m -F -dump -T text/html %s; nametemplate=%s.html ; 
copiousoutput

Bye,
 Andy.

-- 
 Dr. Andy Spiegl, Radio Marañón, Jaén, Perú
 E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
 URL: http://spiegl.de, http://radiomaranon.org.pe
 PGP/GPG: see headers
  o  _ _ _
  --- __o   __o  /\_   _ \\o  (_)\__/o  (_)  -o)
  - _`\,__`\,__(_) (_)/_\_| \   _|/' \/   /\\
   (_)/ (_)  (_)/ (_)  (_)(_)   (_)(_)'  _\o__\_v
 
 Those who reach their goals too easily have aimed too low.



msg23032/pgp0.pgp
Description: PGP signature


Re: Ispell is too quiet when run from the Compose menu

2002-01-12 Thread Samuel Padgett

Derek D. Martin [EMAIL PROTECTED] writes:

 This is part of the Unix philosophy, which goes something like, if
 there's nothing to report, then report nothing.  Armed with this
 knowledge, there's really no need for such a message...

I would amend that to say, If there's no need to report anything,
don't report anything.  In this case, there _is_ a need
since there's no feedback _whatsoever_ that Ispell ran.  This
isn't true at the command line:

% touch foo
% ispell check foo
% _

Here you can see that Ispell completed because the shell presented
you with a new prompt and a blinking cursor eagerly awaiting
input.  And if you're really insecure, you can always check the
return code with echo $?.  When running Ispell from Mutt,
however, you don't have this.  You press 'i'.  Nothing happens.
You press 'i' again.  Nothing happens.  Why isn't Ispell
running? you think.  What did I break?  Were there no errors, or
did it not run?

With the traditional Ispell program, this isn't an issue since it
will almost always catch a misspelling in one of the headers.
With aspell -e, however, Aspell skips past the message headers.

Feedback is an important element of any user interface, GUI or
text-based, UNIX or not.

Sam [who still thinks this is a flea]



Re: Ispell is too quiet when run from the Compose menu

2002-01-12 Thread Kenneth Pronovici

 Feedback is an important element of any user interface, GUI or
 text-based, UNIX or not.

Ok... so I'd have to agree... but why can't you just wrap aspell in a
script of your own, i.e.

vi muttspell.sh

   #!/bin/sh
   aspell $*
   echo Aspell completed with return ($?)

then,

vi .muttrc

   ispell=muttspell.sh

It seems like this would probably do what you want, right?  

KEN

-- 
Kenneth J. Pronovici [EMAIL PROTECTED]
Personal Homepage: http://www.skyjammer.com/~pronovic/
They that can give up essential liberty to obtain a little 
 temporary safety deserve neither liberty nor safety. 
  - Benjamin Franklin, Historical Review of Pennsylvania, 1759 



msg23035/pgp0.pgp
Description: PGP signature


Re: Ispell is too quiet when run from the Compose menu

2002-01-12 Thread Kenneth Pronovici

 then,
 
 vi .muttrc
 
ispell=muttspell.sh
 
 It seems like this would probably do what you want, right?  

Ok, I get it.   Errors and output disappear so fast that you can't
really see them, which I hadn't noticed before.  Doing what I suggested
above would at least let you see that *something* ran, though.  Hmm, not
as worthwhile as I thought, sorry. :-(

KEN

-- 
Kenneth J. Pronovici [EMAIL PROTECTED]
Personal Homepage: http://www.skyjammer.com/~pronovic/
They that can give up essential liberty to obtain a little 
 temporary safety deserve neither liberty nor safety. 
  - Benjamin Franklin, Historical Review of Pennsylvania, 1759 



msg23036/pgp0.pgp
Description: PGP signature


Re: Ispell is too quiet when run from the Compose menu

2002-01-12 Thread Samuel Padgett

Kenneth Pronovici [EMAIL PROTECTED] writes:

 Ok, I get it.   Errors and output disappear so fast that you can't
 really see them, which I hadn't noticed before.  Doing what I suggested
 above would at least let you see that *something* ran, though.  Hmm, not
 as worthwhile as I thought, sorry. :-(

;-)  Thanks for trying.

It doesn't bother me now that I know it only means there are no
spelling errors.  It confused me the first time, though.  I
brought it up on the list because I suspected another Aspell user
at some point would hit this, too, and be confused.  I was
considering submitting a bug report and wanted to hear what others
thought.

Sam



Re: Ispell is too quiet when run from the Compose menu

2002-01-12 Thread Derek D. Martin

At some point hitherto, Samuel Padgett hath spake thusly:
 Derek D. Martin [EMAIL PROTECTED] writes:
 
  This is part of the Unix philosophy, which goes something like, if
  there's nothing to report, then report nothing.  Armed with this
  knowledge, there's really no need for such a message...
 
 I would amend that to say, If there's no need to report anything,
 don't report anything.

I wouldn't... one might argue that if there's nothing to report, then
there's no need to report it.  ;)

However, in this case, I'll concede that for the sake of consistency
(mutt generally does ask you to hit a key to continue or some such
when a command it has spawned has completed), then something similar
should be added.

-- 
Derek Martin   [EMAIL PROTECTED]
-
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org



msg23038/pgp0.pgp
Description: PGP signature


Re: Suggestion for List Etiquette

2002-01-12 Thread Igor Pruchanskiy

  I guess that quite a few of the subscribers are just devoted to
  flooding this list with chitchat. I would suggest creating
  mutt-chat, so that those who feel the urge to send non-technical, OT
  stuff to mutt-users would have a place to go.
 
 Yeah, but the problem is that when 'chitchat' spins off from another
 thread, it rarely (in my experience) ends up getting moved.  Although if
 people think that it will actually get used, I would support it

Speaking of chitchat

If you guys are familiar with IRC, and i am sure that most of the people
here are, why don't you come to #mutt on irc.openprojects.net ?

It is a pretty small channel and it would not hurt to get few more people
in there :)

igor

--
Uptime : 31 days, 21:02



Address books and mutt

2002-01-12 Thread Sam Carleton

How does one implement an address book in mutt?



Re: Address books and mutt

2002-01-12 Thread Derek D. Martin

At some point hitherto, Sam Carleton hath spake thusly:
 How does one implement an address book in mutt?

One implements them as a list of aliases.  See the alias command in
the manual.  When you are prompted for the To: address, you then hit
the tab key to bring up the list of aliases.

-- 
Derek Martin   [EMAIL PROTECTED]
-
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org



msg23041/pgp0.pgp
Description: PGP signature


Re: Address books and mutt

2002-01-12 Thread Knute

On Sat, 12 Jan 2002, Sam Carleton wrote:

 
 How does one implement an address book in mutt?

I use abook -- which is console based as well.

When I want to send an email to someone in that list,  I simply start
abook,  hilight who I want to send the email to, and hit m.
Then Mutt starts and goes directly to a compose window.
It's part of the config file to set up an email client.
-- 
Knute

You live, You die.  Enjoy the interval!
-- Clarence



Re: Address books and mutt

2002-01-12 Thread Knute

On Sun, 13 Jan 2002, Derek D. Martin wrote:

 At some point hitherto, Sam Carleton hath spake thusly:
  How does one implement an address book in mutt?
 
 One implements them as a list of aliases.  See the alias command in
 the manual.  When you are prompted for the To: address, you then hit
 the tab key to bring up the list of aliases.
 
So that's how those are used!
I thought you simply typed the alias that you wanted into the to field.


-- 
Knute

You live, You die.  Enjoy the interval!
-- Clarence



msg23043/pgp0.pgp
Description: PGP signature


Re: Address books and mutt

2002-01-12 Thread Derek D. Martin

At some point hitherto, Knute hath spake thusly:
 On Sun, 13 Jan 2002, Derek D. Martin wrote:
 
  At some point hitherto, Sam Carleton hath spake thusly:
   How does one implement an address book in mutt?
  
  One implements them as a list of aliases.  See the alias command in
  the manual.  When you are prompted for the To: address, you then hit
  the tab key to bring up the list of aliases.
  
 So that's how those are used!
 I thought you simply typed the alias that you wanted into the to field.

Oh, yeah, you can do that too.  :)

-- 
Derek Martin   [EMAIL PROTECTED]
-
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org



msg23044/pgp0.pgp
Description: PGP signature


how to set localization

2002-01-12 Thread Willy Sutrisno

Hi,

I encountered a webpage which the owner use a Indonesian mutt, does it
mean that all the command in Indonesian? How does that thing possible, I
have locales-id (Indonesian) rpm though. I have browsed the manual, and
they never mention anything about localization. 

please enligehten me

thank you

-- 
Willy 
[ http://web.singnet.com.sg/~sutrisno ]
Linux User #225035 - http://counter.li.org



Re: how to set localization

2002-01-12 Thread Igor Pruchanskiy

 Hi,
 
 I encountered a webpage which the owner use a Indonesian mutt, does it
 mean that all the command in Indonesian? How does that thing possible, I
 have locales-id (Indonesian) rpm though. I have browsed the manual, and
 they never mention anything about localization. 
 
 please enligehten me

While i do not know anything about Indonesian,
I can tell you for sure that Mutt works great in Russian...
Well, all menus are in Russian and Help appears to be in Russian also.
While i do not use that every day, it is totally possible.

./configure --enable-locales-fix \
--with-included-gettext \
--without-wc-funcs

export LC_ALL=ru_RU.KOI8-R

I also had to run 
dpkg-reconfigure locales (this is a Debian box) to create a needed locale.

And needless to mention that rxvt was started with koi8-r font.

here are 2 screenshots:

reading a message:
http://amorphis.linuxinside.com/~pruchai/mutt-russian1.png
Viewing help:
http://amorphis.linuxinside.com/~pruchai/mutt-russian2.png
Reading PGP Signed Message:
http://amorphis.linuxinside.com/~pruchai/mutt-russian3.png

igor

-- 
Uptime : 31 days, 23:36



What's the trick?

2002-01-12 Thread Derek D. Martin

I thought I would write a filter for Pine users to be able to deal
with PGP-MIME signed messages.  It struck me that the concept should
be fairly simple.  I hacked together a quick shell script that does
the following:

 - separate the text of the message
 - separate the PGP signature of the message
 - gpg --verify them

Only when I run the gpg --verify, it fails.  I'm not sure why.  I'm
including in the message everything between (but not including) the
LAST Content-Blah: header and the mime boundary.  I also tried
removing the trailing and leading blank lines.  No comination of that
helped.

Is there some magic trick?  Does mutt sign some other portion of the
text message, or include mime headers?  This would make no sense to
me, but I suppose it's possible.

What am I missing?

Note that the message I'm testing on is a plain text message, not
quoted printable, so the conversion shouldn't be an issue, if it ever
is...

-- 
Derek Martin   [EMAIL PROTECTED]
-
I prefer mail encrypted with PGP/GPG!
GnuPG Key ID: 0x81CFE75D
Retrieve my public key at http://pgp.mit.edu
Learn more about it at http://www.gnupg.org



msg23047/pgp0.pgp
Description: PGP signature