Re: text/html

1999-08-13 Thread Thomas Roessler

On 1999-08-12 10:57:40 -0500, Josh Hildebrand wrote:

> If a message is multipart with a text/plain and a text/html version of the
> same message, is there a way to tell mutt to not auto view the html
> version, but rather just show me the text/plain version, since it is more
> likely to be formatted the way the author originally intended.  (text/html
> version usually strips out blank lines)

alternative_order text/plain text/enriched text/html

 - or something like this.



Re: vt100/xterm IRIX remote Esc detection problems

1999-08-13 Thread Alec Habig

Matthias Hopf writes:
> 
> I have some problems using mutt (0.95.4) on IRIX 6.5.4m via rlogin or
> ssh.  Aparently the escape sequences produced by the cursor keys are
> not always mapped correctly to ,  and so on, but interpreted
> verbatim.  I always get a 'Key is not bound' in these cases.
> 
> As mutt behaves well when invoked locally, it most certainly has to do
> with vt100's brain-dead Esc schemes. I took a (quick) look at the
> sources but didn't find any possibilities to specify timeouts or
> anything else.

I recall this happening before to me on some machines when I was over a
particularly bad net connection.  The problem is that the arrow keys
actually generate a pair of keystrokes, and if there is too much time
between them, they are interpreted separately.

vi was especially vulnerable to this, and Bad Things would happen when
editing!

The following stuck in my .tcshrc file cured things.  I forget which
program (shell? curses?) made use of this variable, and what the units
were, but here it is:

# This next rather strange thing insures that DEC arrow keys are interpreted
# correctly in curses based applications(SC for example) otherwise the ESC
# is sometimes interpreted as a seperate character.
setenv ESCDELAY 5000

good luck!

 Alec

-- 
   Alec Habig, Boston University Particle Astrophysics Group
   [EMAIL PROTECTED]
   http://hep.bu.edu/~habig/



problem with pgp while encrypting ...

1999-08-13 Thread Norbert Gruener

Hello,

I am using mutt, version 0.96.3i. with support for PGP 2.6.2i  enabled.

I can 
  - sign a message
  - verify the signature of a message
  - decrypt a message

but I am not able to encrypt a message.  Whenever I start it, I get an
request like

Enter keyID for [EMAIL PROTECTED]:

But mutt must have been able to get both keyrings, because otherwise I would
not be able to sign or decrypt any messages.

Any help or information is appreciated.

Best Regards,

-- Norbert
   +--+
   | Norbert E. Gruener   E-mail: [EMAIL PROTECTED] |
   | MPI fuer Astrophysik PGP encrypted mail preferred|
   | WWW: http://www.MPA-Garching.MPG.DE/~nog/!
   | PGPprint: 66 64 C0 D0 6F 1A 16 02  C2 C6 37 83 3A 5F 88 9B   |
   +--+



Colors in index

1999-08-13 Thread Denis Chapligin

Hi

I wanna make next thing: depending on "To:" field paint items in index by different 
colors.
I added to .muttrc next lines:
set index_format" %t "
color index read black "^chollya"

but only letters from me([EMAIL PROTECTED]) to [EMAIL PROTECTED] are colored, letters from
other senders are not. Where is mistake?
--

Denis Chapligin



Re: newbie questions

1999-08-13 Thread David Thorburn-Gundlach

Hi!

...and then nall said...
% 
% hi there.
% i have a few questions concerning mutt.
% 
% 1. can i change a setting such that mutt won't prompt me to re-encode the message
%  before sending it?

I'm not quite sure what you mean here, so I won't risk confusion by
trying to answer...


% 2. is there a way to make {server.name.com}INBOX an alias so when i want to switch
%  back to my inbox from another folder i don't have to type in the whole server
%  name, etc?.

There are a number of mailbox aliases, defined in section 4.7,
available within mutt.  In particular, your default spool file is '!',
and I suspect that that's the case with IMAP as well.  Thus, to chage,
you simply use ! instead of the full name.  Give it a shot.


% 
% thanks.
% jonathan.

HTH!  Meanwhile, could you try to cut your line length back to 72
characters or so?


:-D
-- 
David Thorburn-Gundlach * It's easier to fight for one's principles
(play) [EMAIL PROTECTED]  * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED] Helping out at Pfizer
http://www.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
"Why2k?  Well, I didn't think at the time that I could charge any more!"
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: newbie questions

1999-08-13 Thread Jon Parise

On Thu, Aug 12, 1999 at 10:05:29PM -0700, nall wrote:

> 2. is there a way to make {server.name.com}INBOX an alias so when
> i want to switch back to my inbox from another folder i don't
> have to type in the whole server name, etc?.

The spoolfile is already aliased to '!' (no quotes).

-- 
Jon Parise ([EMAIL PROTECTED])  .  Rochester Inst. of Technology
http://www.pobox.com/~parise/  :  Computer Science House Member



Re: when can Mutt define custom headers?

1999-08-13 Thread Stefan `Sec` Zehl

On Fri, Aug 13, 1999 at 02:51:27AM -0230, Chris Gushue wrote:
> I have a problem with Mutt and two headers I am defining, X-Uptime and
> X-Yoda (see my headers for more). Currently, it seems that Mutt will
> only add these headers when it starts, and not when I send a message. I
> have tried using a send-hook to set it, but it still doesn't seem to
> work. Any ideas?
> 
[...]
> send-hook . my_hdr X-Uptime: `uptime`
> send-hook . my_hdr X-Yoda: `yoda`

That's because `s are evaluated when your .muttrc is read. Maybe
something like this helps:

send-hook . 'my_hdr X-Uptime: `uptime`'

CU,
Sec
-- 
If architects built buildings like programmers build programs,
the first woodpecker to come along would destroy civilization.



Update encoding bug

1999-08-13 Thread Morten Bo Johansen


This concerns mutt 0.95.6i.  

If you attach a file which has been updated between the moment when it was 
attached and the actual sending, mutt will notify you of the change and 
before sending ask you: "/somefile [#2] modified. Update encoding? ([y]/n):"

Then answering "n" should leave the file unchanged. However, it doesn't, 
the encoding is indeed updated even if you answer "n".




Morten



Message Width

1999-08-13 Thread Matthew Cordes

How might i change the width of the messages i send?  By that i mean the number of 
characters per line in each/all messages.

thanks
-matt
 



Re: Message Width

1999-08-13 Thread Ralf Hildebrandt

On Fri, Aug 13, 1999 at 09:38:05AM -0400, Matthew Cordes wrote:
> How might i change the width of the messages i send?  By that i mean
> the number of characters per line in each/all messages. 
You can do that in the editor you use to edit the messages.
In emacs use Meta-X auto-fill-mode

-- 
Ralf Hildebrandt <[EMAIL PROTECTED]> www.stahl.bau.tu-bs.de/~hildeb
The doctrine of human equality reposes on this: that there is no man
really clever who has not found that he is stupid.


 PGP signature


Re: when can Mutt define custom headers?

1999-08-13 Thread Alex Lane

Recently, Chris Gushue ([EMAIL PROTECTED]) wrote:
> I have a problem with Mutt and two headers I am defining, X-Uptime and
> X-Yoda (see my headers for more). Currently, it seems that Mutt will
> only add these headers when it starts, and not when I send a message. I
> have tried using a send-hook to set it, but it still doesn't seem to
> work. Any ideas?
> 
> My current uptime output:
>   2:48am  up  4:37,  5 users,  load average: 0.28, 0.40, 0.24
> 
> My headers (obviously incorrect):
> X-Uptime:   2:26am  up  4:16,  4 users,  load average: 0.14, 0.12, 0.09
> X-Yoda: When 4:16 of uptime you reach, run as good you will not, hm? he he he
> 
> The send-hooks I have tried using:
> send-hook . my_hdr X-Uptime: `uptime`
> send-hook . my_hdr X-Yoda: `yoda`
> 

Looks to me like the headers are being set when the initialization files
are being read, and then they don't change. If you 'reload' the init
files, the headers will update, I'll bet.

Cheers...
-- 
Alex Lane * Seabrook, Texas, USA  *  [EMAIL PROTECTED] * www.galexi.com/alex
   I am always doing that which I can not do, in order that I may learn
   how to do it.  --Picasso



Re: problem with "FROM:"

1999-08-13 Thread Gero Treuner

Hi!

On Wed, Aug 04, 1999 at 12:00:58PM +0200, joel wrote:
> 
>hello, i've installed MUTT.That's ok.My problem is:When i send e-mail
>the 'FROM: ' is false User is joel; Hostname is Kontzmail.lu; From is
>[1][EMAIL PROTECTED] i want that From is [2][EMAIL PROTECTED] How
>can i make this ? Thanks
[...]

Please send emails as ASCII only to this list. Adding a HTML
duplicate is a waste of bandwith IMHO and looks ugly anyway (at
least if generated with MS Outlook Express, as shown above, browser
is lynx).


Gero



Re: vt100/xterm IRIX remote Esc detection problems

1999-08-13 Thread Matthias Hopf

> > As mutt behaves well when invoked locally, it most certainly has to do
> > with vt100's brain-dead Esc schemes. I took a (quick) look at the
> > sources but didn't find any possibilities to specify timeouts or
> > anything else.
> 
> I recall this happening before to me on some machines when I was over a
> particularly bad net connection.  The problem is that the arrow keys
> actually generate a pair of keystrokes, and if there is too much time
> between them, they are interpreted separately.

That's what I mean :)

> The following stuck in my .tcshrc file cured things.  I forget which
> program (shell? curses?) made use of this variable, and what the units
> were, but here it is:
> 
> # This next rather strange thing insures that DEC arrow keys are interpreted
> # correctly in curses based applications(SC for example) otherwise the ESC
> # is sometimes interpreted as a seperate character.
> setenv ESCDELAY 5000

Unfortunately his environment variable doesn't seem to be interpreted by
my curses library :-(

Sniff...

Matthias

-- 
Matthias Hopf - Visualization and Interactive Systems Group\  |  |  /--
   IfI, University of Stuttgart,\ |  |   \
  Breitwiesenstr. 20-22, 70565 Stuttgart, Germany\|  |  --/
Phone +49-711-7816-404   Fax -340EMail [EMAIL PROTECTED]



Re: Colors in index

1999-08-13 Thread Jimmy Mäkelä

On Fri, Aug 13, 1999 at 01:12:19PM +0300, Denis Chapligin wrote:
> Hi
> 
> I wanna make next thing: depending on "To:" field paint items in index
> by different colors.  I added to .muttrc next lines:
> set index_format" %t "
> color index read black "^chollya"

Try this:
color index red black "~t chollya"

> but only letters from me([EMAIL PROTECTED]) to [EMAIL PROTECTED] are colored,
> letters from other senders are not. Where is mistake?

When you only use a regular expression as your pattern mutt matches it
according to the variable simple_search, which by default is set to match
by sender or subject.

Jimmy - [EMAIL PROTECTED]



Exim vs. Mutt (Round 1)

1999-08-13 Thread Fairlight

Hello...

I installed Mutt this morning and am having a conflict with Exim, my MTA.

Basically, Exim is almost a straight-forward sendmail drop-in replacement,
compatible with almost every standard argument.

When sending a message, I get the following:

exim abandoned: unknown, malformed, or incomplete option --
Error sending message, child exited 1 ().

I looked in my .muttrc at the sendmail settings and tried half a dozen
alterations to it, to no avail...same error.

Finally I took to invoking exim by hand with the same flags as the default
sendmail entry in .muttrc ...it works with no problem by hand.  The PROBLEM
is that mutt is somehow (someWHY) invoking sendmail/exim with the actual
argument "--"  ...And that's what exim is puking on.  I can reproduce the
exact error message above manually just feeding `exim --` at a shell prompt
(or sendmail --  ...it's a symlink).

I checked roughly through the source for sendlib.c and couldn't seem to
find any place where it would be doing this internally.  It's NOT in the
config file I'm using...so it must be internal.  Can someone please point
out a solution, or at least where in the source this is happening?

Advice, anyone?

TIA...

mark->
-- 
Fairlight->   |||[EMAIL PROTECTED]  | Fairlight Consulting
  __/\__  ||| "I'm talking for free...   | http://www.fairlite.com
 <__<>__> |||   It's a New Religion..."  | [EMAIL PROTECTED]
\/||| PGP Public Key available via finger @iglou, or Key servers



Re: Exim vs. Mutt (Round 1)

1999-08-13 Thread David DeSimone

Fairlight <[EMAIL PROTECTED]> wrote:
>
> The PROBLEM is that mutt is somehow (someWHY) invoking sendmail/exim
> with the actual argument "--" ...And that's what exim is puking on.

One solution would be to create a sendmail script that looks for and
eats the "--" argument, then launches exim with the new command line.

Another would be to patch Mutt to not generate the argument.

I found it on or near line 1663 of sendlib.c:

args = add_option (args, &argslen, &argsmax, "--");

Comment it out, I suppose.

-- 
David DeSimone   | "The doctrine of human equality reposes on this:
[EMAIL PROTECTED]   |  that there is no man really clever who has not
Hewlett-Packard  |  found that he is stupid." -- Gilbert K. Chesterson
Convex Division  |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Re: possible imap bug?

1999-08-13 Thread Robert Chien

I haven't heard from anyone yet, so I'm resending this:

-
On Sat, Aug 07, 1999 at 12:00:12AM +0200, Gero Treuner wrote:
> Hi!
> 
> On Fri, Aug 06, 1999 at 02:50:11PM -0700, Robert Chien wrote:
> > If I save it to a file, then attach that file, it sort of
> > works but takes a lot of time, esp. if I'm attaching 3+
> > emails. Would be nice if I can presss , and choose files
> > or emails to attach. This is my wish list item.
> 
> Almost your wish, just add the shift key to press "A".
> It's in the online help as well as in the manual.

You guys are awesome! I did looked at help, but searched for the wrong
keyword "forward" and of course didn't see the "A" option.

However, now I've found an interesting "bug": if I type "A", it asks
for "Open mailbox to attach message from ('?' for list):". But it won't
open my IMAP inbox. If I enter {imapserver}inbox, it returns an error:

{imapserver}inbox: No such file or directory (errno = 2)

Normal folders work just fine. Can other IMAP users verify this please?

-- 
Robert

Mutt 0.96.3i (1999-06-03)
Copyright (C) 1996-9 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: SunOS 5.8
Compile options:
-DOMAIN
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  +HAVE_COLOR  -BUFFY_SIZE 
-EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/lib/sendmail"
MAILPATH="/var/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
-ISPELL
To contact the developers, please mail to <[EMAIL PROTECTED]>.



Re: possible imap bug?

1999-08-13 Thread Brendan Cully

I'll take a look at this this weekend. My understanding of the problem: you
cannot create message attachments from an IMAP folder. I'm sorry I didn't
catch the original post - I've been on vacation.

-Brendan

- Original Message -
From: Robert Chien <[EMAIL PROTECTED]>
To: mutt users <[EMAIL PROTECTED]>
Sent: Friday, August 13, 1999 2:53 PM
Subject: Re: possible imap bug?


> I haven't heard from anyone yet, so I'm resending this:
>
> -
> On Sat, Aug 07, 1999 at 12:00:12AM +0200, Gero Treuner wrote:
> > Hi!
> >
> > On Fri, Aug 06, 1999 at 02:50:11PM -0700, Robert Chien wrote:
> > > If I save it to a file, then attach that file, it sort of
> > > works but takes a lot of time, esp. if I'm attaching 3+
> > > emails. Would be nice if I can presss , and choose files
> > > or emails to attach. This is my wish list item.
> >
> > Almost your wish, just add the shift key to press "A".
> > It's in the online help as well as in the manual.
>
> You guys are awesome! I did looked at help, but searched for the wrong
> keyword "forward" and of course didn't see the "A" option.
>
> However, now I've found an interesting "bug": if I type "A", it asks
> for "Open mailbox to attach message from ('?' for list):". But it won't
> open my IMAP inbox. If I enter {imapserver}inbox, it returns an error:
>
> {imapserver}inbox: No such file or directory (errno = 2)
>
> Normal folders work just fine. Can other IMAP users verify this please?
>
> --
> Robert
>
> Mutt 0.96.3i (1999-06-03)
> Copyright (C) 1996-9 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: SunOS 5.8
> Compile options:
> -DOMAIN
> -HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
> +USE_IMAP  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX
+HAVE_COLOR  -BUFFY_SIZE
> -EXACT_ADDRESS  +ENABLE_NLS
> SENDMAIL="/usr/lib/sendmail"
> MAILPATH="/var/mail"
> SHAREDIR="/usr/local/share/mutt"
> SYSCONFDIR="/usr/local/etc"
> -ISPELL
> To contact the developers, please mail to <[EMAIL PROTECTED]>.
>



Index character used for Old messages

1999-08-13 Thread Tom Gilbert

Hi guys,

Is there any way I can change the character used to indicate an Old
message (unread but not new) when mark_old is set?

It currently uses O, but I would prefer n or U or something more
appropriate...

Any options?

Tom
-- 
.---.
.^. | Tom Gilbert, England | [EMAIL PROTECTED] |
/V\ |--| www.tomgilbert.freeserve.co.uk |
   // \\| Sites I recommend:   `|
  /(   )\   | www.freshmeat.net www.enlightenment.org www.gnome.org |
   ^^-^^`---'



Re: when can Mutt define custom headers?

1999-08-13 Thread Chris Gushue

Thus wrote Stefan `Sec` Zehl ([EMAIL PROTECTED]) [99.08.13 18:30]:
> On Fri, Aug 13, 1999 at 02:51:27AM -0230, Chris Gushue wrote:
> > I have a problem with Mutt and two headers I am defining, X-Uptime and
> > X-Yoda (see my headers for more). Currently, it seems that Mutt will
> > only add these headers when it starts, and not when I send a message. I
> > have tried using a send-hook to set it, but it still doesn't seem to
> > work. Any ideas?
> > 
> [...]
> > send-hook . my_hdr X-Uptime: `uptime`
> > send-hook . my_hdr X-Yoda: `yoda`
> 
> That's because `s are evaluated when your .muttrc is read. Maybe
> something like this helps:
> 
> send-hook . 'my_hdr X-Uptime: `uptime`'
> 
> CU,
> Sec

This worked, thanks! Although, I was sure I had tried that already.
Maybe I used " instead of ', I'm not sure now.

-- 
-- Chris Gushue - ICQ:409207 - [EMAIL PROTECTED] --
GCS d- s+:- a23 C++>$ UL+++ P+>++ L+++ E W++ N++ o-- K- w--- O-
M-- V-- PS+++ PE Y+ PGP+ t++ 5+ X++ R- tv+ b++ DI+ D+ G++ e h! r y+
-- http://seymour.napalm.net --- http://owirc.napalm.net --



Re: Message Width

1999-08-13 Thread Chris Gushue

Thus wrote Matthew Cordes ([EMAIL PROTECTED]) [99.08.13 18:31]:
> How might i change the width of the messages i send?  By that i mean
> the number of characters per line in each/all messages.
> 
> thanks
> -matt

It depends on the editor you use. I use pico, so i put this in my
~/.mutt/muttrc:

set editor="/usr/bin/pico -r72"

I'm sure other editors have similar options.

-- 
-- Chris Gushue - ICQ:409207 - [EMAIL PROTECTED] --
GCS d- s+:- a23 C++>$ UL+++ P+>++ L+++ E W++ N++ o-- K- w--- O-
M-- V-- PS+++ PE Y+ PGP+ t++ 5+ X++ R- tv+ b++ DI+ D+ G++ e h! r y+
-- http://seymour.napalm.net --- http://owirc.napalm.net --



Re: How to configure to_chars?

1999-08-13 Thread Christian Ullrich

David DeSimone schrieb am Donnerstag, 12.08.1999

> > Either, all my messages are flagged with the first non-space character
> > in to_chars, or not at all.
> 
> It sounds like your "alternates" setting is incorrect.  That is, you
> have some sort of regular expression that probably matches everything. 
> Take a look at it, or post the setting here if you can't figure it out.

Yes, thank you very much!

alternates was not set at all, and when I set it to my primary address
(which is different from me@myhost), it started working.

-- 
Christian Ullrich



Re: Exim vs. Mutt (Round 1)

1999-08-13 Thread Fairlight


> > The PROBLEM is that mutt is somehow (someWHY) invoking sendmail/exim
> > with the actual argument "--" ...And that's what exim is puking on.

> One solution would be to create a sendmail script that looks for and
> eats the "--" argument, then launches exim with the new command line.

Kludgy solution.  :(

> Another would be to patch Mutt to not generate the argument.

Preferable...that's why I'm here.  :)

> I found it on or near line 1663 of sendlib.c:
> args = add_option (args, &argslen, &argsmax, "--");
> Comment it out, I suppose.

I found the same line, but from context I seemed to think it was related to
MIME separators.  I'll give it a whirl.

mark->
-- 
Fairlight->   |||[EMAIL PROTECTED]  | Fairlight Consulting
  __/\__  ||| "I'm talking for free...   | http://www.fairlite.com
 <__<>__> |||   It's a New Religion..."  | [EMAIL PROTECTED]
\/||| PGP Public Key available via finger @iglou, or Key servers



Fix for Exim!

1999-08-13 Thread Fairlight

Thanks to David DeSimone.  He was indeed correct about the line in question
in the source that caused exim to bomb out.

In Mutt 0.95.6
  in sendlib.c
comment out line 1670
  which reads:  args = add_args (args, &argslen, &argsmax, "--");

I wish I would have gone with my first instinct and just done that, but a
big thanks to David for confirming my suspicions.  :)

This affected exim 1.62 (slightly old), but may affect other versions.

mark->
-- 
Fairlight->   |||[EMAIL PROTECTED]  | Fairlight Consulting
  __/\__  ||| "I'm talking for free...   | http://www.fairlite.com
 <__<>__> |||   It's a New Religion..."  | [EMAIL PROTECTED]
\/||| PGP Public Key available via finger @iglou, or Key servers