Retry: Feature patch: patch-1.0.hb.save_alias.1

1999-10-22 Thread Hans Bogaards

Hello All,

I tried to send the following message to mutt-users and mutt-dev, but I
forgot to attach the patch and I did send it to the wrong
mutt-users-address, so here is a retry

- Forwarded message from Hans Bogaards <[EMAIL PROTECTED]> -

Date: Thu, 21 Oct 1999 15:15:38 +0200
From: Hans Bogaards <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Feature patch: patch-1.0.hb.save_alias.1
X-Mailer: Mutt 1.0pre4i

Hello,

I've been away for a while from mutt, but I received a request for my
save_alias patch, so here it is.

This version works on 0.95.x, 0.96.x and 1.0prex.

I would like to know who of you do use this patch and if you would like
some added or changed behaviour for this option, so if you use it, please
send me a note.

Just a reminder what this patch does:

It adds the option save_alias, which changes the default save and fcc
folders if you have an alias defined for the sender/receiver of the message.

So if you have:
alias joe John Doe <[EMAIL PROTECTED]> 

messages normally are saved (by default) in =213748823. If save_alias is set
then messages are saved in =joe.

To the developers, is there any change this patch will be incorparated in
mutt-1.0? Or is there a feature-freeze?

-- 
Doei
Hans
=+==
| Hans Bogaards  | Pilate asked: What is Truth?|
| email: [EMAIL PROTECTED] |  And he nailed the answer   |
||  On the cross of Reality|




- End forwarded message -

-- 
Doei
Hans
=+==
| Hans Bogaards  | Pilate asked: What is Truth?|
| email: [EMAIL PROTECTED] |  And he nailed the answer   |
||  On the cross of Reality|



diff -uNr mutt-0.95.3/alias.c mutt-new/alias.c
--- mutt-0.95.3/alias.c Thu Jan  7 10:14:39 1999
+++ mutt-new/alias.cMon Feb 22 17:22:49 1999
@@ -272,7 +272,7 @@
  * This routine looks to see if the user has an alias defined for the given
  * address.
  */
-ADDRESS *alias_reverse_lookup (ADDRESS *a)
+ALIAS *alias_reverse_lookup (ADDRESS *a)
 {
   ALIAS *t = Aliases;
   ADDRESS *ap;
@@ -287,7 +287,7 @@
 {
   if (!ap->group && ap->mailbox &&
  mutt_strcasecmp (ap->mailbox, a->mailbox) == 0)
-   return ap;
+   return t;
 }
   }
   return 0;
diff -uNr mutt-0.95.3/doc/manual.sgml.in mutt-new/doc/manual.sgml.in
--- mutt-0.95.3/doc/manual.sgml.in  Thu Feb 11 13:41:53 1999
+++ mutt-new/doc/manual.sgml.in Mon Feb 22 17:22:50 1999
@@ -3841,6 +3841,18 @@
 name="force_name"> is set too, the selection of the fcc folder
 will be changed as well.
 
+save_alias
+
+Type: boolean
+Default: unset
+
+If set, mutt will take the alias belonging to the sender, if it exists,
+when choosing a default folder for saving a mail. If there isn't an alias
+defined for the current sender the default folder is chosen as normal.
+If  or  is set too, the selection of the fcc folder
+will be changed as well.
+
 save_empty
 
 Type: boolean
diff -uNr mutt-0.95.3/init.h mutt-new/init.h
--- mutt-0.95.3/init.h  Wed Feb 10 17:20:11 1999
+++ mutt-new/init.h Mon Feb 22 17:22:50 1999
@@ -241,6 +241,7 @@
   { "reverse_alias",   DT_BOOL, R_BOTH, OPTREVALIAS, 0 },
   { "reverse_name",DT_BOOL, R_BOTH, OPTREVNAME, 0 },
   { "save_address",DT_BOOL, R_NONE, OPTSAVEADDRESS, 0 },
+  { "save_alias",   DT_BOOL, R_NONE, OPTSAVEALIAS, 0 },
   { "save_empty",  DT_BOOL, R_NONE, OPTSAVEEMPTY, 1 },
   { "save_name",   DT_BOOL, R_NONE, OPTSAVENAME, 0 },
   { "sendmail",DT_PATH, R_NONE, UL &Sendmail, UL SENDMAIL " -oem -oi" 
},
diff -uNr mutt-0.95.3/lib.c mutt-new/lib.c
--- mutt-0.95.3/lib.c   Wed Feb 10 22:54:01 1999
+++ mutt-new/lib.c  Mon Feb 22 17:28:16 1999
@@ -842,8 +842,19 @@
 
 void mutt_save_path (char *d, size_t dsize, ADDRESS *a)
 {
+  ALIAS *ali;
+
   if (a && a->mailbox)
   {
+if (option (OPTSAVEALIAS))
+  ali = alias_reverse_lookup(a);
+else
+  ali = 0;
+
+if (ali)
+  strfcpy (d, ali->name, dsize);
+else
+{
 strfcpy (d, a->mailbox, dsize);
 if (!option (OPTSAVEADDRESS))
 {
@@ -851,6 +862,7 @@
 
   if ((p = strpbrk (d, "%@")))
*p = 0;
+}
 }
 mutt_strlower (d);
   }
diff -uNr mutt-0.95.3/mutt.h mutt-new/mutt.h
--- mutt-0.95.3/mutt.h  Wed Feb 10 17:20:22 1999
+++ mutt-new/mutt.h Mon Feb 22 17:22:51 1999
@@ -323,6 +323,7 @@
   OPTREVALIAS,
   OPTREVNAME,
   OPTSAVEADDRESS,
+  OPTSAVEALIAS,
   OPTSAVEEMPTY,
   OPTSAVENAME,
   OPTSIGDASHES,
diff -uNr mutt-0.95.3/protos.h mutt-new/protos.h
--- mutt-0.95.3/protos.hWed Feb 10 22:47:26 1999
+++ mutt-new/protos.h   Mon Feb 22 17:22:51 1999
@@ -299,7 +299,7 @@
 int safe_symlink (const char *, const char *);
 FILE *safe_fopen (const ch

Mutt 1.1 [UNSTABLE] is out.

1999-10-22 Thread Thomas Roessler

Mutt 1.1 [UNSTABLE] is out.  This is the first publicly announced
version from the unstable CVS branch which is where development
takes place.

You should download and install this version if you

- want to help the developers by testing this version and submitting
  bug reports,

- want to contribute to the mutt project, or

- just are curious and like to be running bleeding-edge software.

Note, however, that this version is NOT intended for general
consumption.

You can find the Mutt 1.1 distribution under
ftp://ftp.guug.de/pub/mutt/devel/, and on the usual mirror sites.
See http://www.mutt.org/ for detail.

Comments on this version should be directed to the [EMAIL PROTECTED]
mailinglist. In order to join it, write a message containing the
words "subscribe mutt-dev" to [EMAIL PROTECTED]


 PGP signature


Re: Broken MUAs and the "encoding" flag

1999-10-22 Thread Marius Gedminas

On Thu, Oct 21, 1999 at 07:46:14PM -0200, Lalo Martins wrote:
> On Thu, Oct 21, 1999 at 04:26:30PM -0500, David DeSimone wrote:
> > Lalo Martins <[EMAIL PROTECTED]> wrote:
> > >
> > > Is there some way to tell mutt to fix that somehow?
> > 
> > I, too, have wished I could change the broken encoding on some received
> > messages.  Windows-1250 seems to be a common one that's misrepresented
> > as us-ascii.
> 
> The one I'm having problems with is something Windows-based too.
> 
> > > Perhaps ignore ``encoding'' when it's us-ascii, or when it's obviously
> > > wrong?
> > 
> > The trouble is, knowing it's wrong isn't too hard, but how do you know
> > what the right encoding is, then?
> 
> Assume ISO latin1, which is the default.
>
> If latin1 isn't the right encoding, using it won't make the
> message less readable than using us-ascii.
> 
> Or perhaps use whatever the user configured as the default
> encoding (there is such an option, isn't there?).

Or, better yet, allow user to specify one.  I often receive mails with
iso-8859-1 (that is latin-1) instead of iso-8859-13 just because many
(Windows-based) mailers do not support iso-8859-13.

Best Regards,
Marius Gedminas
-- 
What did you bring that book I didn't want
to be read to out of about Down Under up for?



1.0 as well.

1999-10-22 Thread Thomas Roessler

Umh.  Apparently the announcement for the (stable) 1.0 release
didn't make it to this list in time. Please find it attached.

On 1999-10-22 10:38:19 +0200, Thomas Roessler wrote:
> Date: Fri, 22 Oct 1999 10:38:19 +0200
> From: Thomas Roessler <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Mutt 1.1 [UNSTABLE] is out.
>
> Mutt 1.1 [UNSTABLE] is out.  This is the first publicly announced
> version from the unstable CVS branch which is where development
> takes place.
> 
> You should download and install this version if you
> 
> - want to help the developers by testing this version and submitting
>   bug reports,
> 
> - want to contribute to the mutt project, or
> 
> - just are curious and like to be running bleeding-edge software.
> 
> Note, however, that this version is NOT intended for general
> consumption.
> 
> You can find the Mutt 1.1 distribution under
> ftp://ftp.guug.de/pub/mutt/devel/, and on the usual mirror sites.
> See http://www.mutt.org/ for detail.
> 
> Comments on this version should be directed to the [EMAIL PROTECTED]
> mailinglist. In order to join it, write a message containing the
> words "subscribe mutt-dev" to [EMAIL PROTECTED]
> 



-- 
http://www.guug.de/~roessler/


-BEGIN PGP SIGNED MESSAGE-

  M U T T   1 . 0   I SO U T .


After several years of development and more or less well-working
alpha and beta versions, we proudly present version 1.0 of the Mutt
mail user agent.

Mutt is a powerful text-based e-mail client for Unix operating
systems, distributed under the GNU General Public License.

Some bullet points about mutt's features and properties:

* color support
* message threading
* MIME support (including RFC2047 support for encoded headers)
* PGP/MIME (RFC2015)
* various features to support mailing lists, including list-reply
* active development community
* POP3 support
* IMAP support
* full control of message headers when composing
* support for multiple mailbox formats (mbox, MMDF, MH, maildir)
* highly customizable, including keybindings and macros 
* change configuration automatically based on recipients, current
  folder, etc.
* searches using regular expressions, including an internal pattern
  matching language
* postpone message composition indefinetly for later recall
* easily include attachments when composing, even from the command
  line
* ability to specify alternate addresses for recognition of
  mail forwarded from other accounts, with ability to set
  the From: headers on replies/etc. accordingly
* multiple message tagging
* reply to or forward multiple messages at once
* .mailrc style configuration files
* easy to install (uses GNU autoconf)
* complies against either curses/ncurses or S-lang
* efficient

For information on the web, please see http://www.mutt.org/.


Mutt (which was originally the work of Michael Elkins <[EMAIL PROTECTED]>)
has been the work of several dozen contributors.



Download Information


Mutt is distributed in source form.  You'll find two versions in the
FTP archives: A 1.0i version which contains support for composing
and receiving PGP-encrypted and -signed messages, and a 1.0 vesion
without any PGP support.

The source files are PGP-signed with a well-certified key.  For
reference, we include MD5 checksums of the distribution tar balls:

5f3072b7edd78073a5bc2e4eb66b  mutt-1.0.tar.gz
88e825e6fed4e5d83989d16f7d8a2505  mutt-1.0i.tar.gz

You can download Mutt from the following FTP locations:

* ftp://ftp.mutt.org/pub/mutt/ (primary site)
* ftp://ftp.guug.de/pub/mutt/ (same machine, different host name)

Mirror sites (in alphabetical order):

* ftp://ftp.42.org/pub/unix/mail/mutt/
* ftp://ftp.arch.pwr.wroc.pl/pub/mutt/
* ftp://ftp.cdrom.com/pub/unixfreeware/email/mutt/
* ftp://ftp.demon.co.uk/pub/mirrors/mutt/
* ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/
* ftp://ftp.funet.fi/pub/unix/mail/mutt/
* ftp://ftp.gbnet.net/pub/mutt-international/
* ftp://ftp.gwdg.de/pub/unix/mail/mutt/international/
* ftp://ftp.iks-jena.de/pub/mitarb/lutz/crypt/software/pgp/mutt/
* ftp://ftp.is.co.za/networking/mail/mua/mutt/
* ftp://ftp.jp.qmail.org/mutt/ (Japanese)
* ftp://ftp.kfki.hu/pub/packages/mail/mutt/
* ftp://ftp.linux.it/pub/mirrors/mutt/
* ftp://ftp.lip6.fr/pub/unix/mail/mutt/
* ftp://ftp.medasys-digital-systems.fr/pub/unix/mutt/
* ftp://ftp.ntua.gr/pub/net/mail/mutt/
* ftp://ftp.spyda.net/pub/mutt/
* ftp://ftp.uib.no/pub/mutt/
* ftp://gd.tuwien.ac.at/infosys/mail/mutt/
* ftp://pgp.rasip.fer.hr/pub/mutt/
* ftp://riemann.iam.uni-bonn.de/pub/mutt/
* ftp://sunsite.uio.no/pub/mail/mutt/
* ftp://uiarchive.cso.uiuc.edu/pub/packages/mail/mutt/

Note that it may take a day or two for the new version of mutt to
propagate to all these mirror sites.


-BEGIN PGP SIGNAT

Re: enriched.sh

1999-10-22 Thread Martin Schröder

On 1999-10-21 23:26:19 -0700, Brandon Long wrote:
> On 10/20/99 Martin Schröder uttered the following other thing:
> > Where to get it?
> 
> It is located at:
> http://www.fiction.net/blong/programs/mutt/done.html#autoview
> 
> But, its no longer necessary, as the included text/enriched support in
> mutt is much better now.

That doesn't work for me; I get the 
   text/enriched not supported, use "v" to view this part
and then
   mailcap entry for type text/enriched not found
what should be the correct configuration?

Best regards
   Martin

Mutt 1.0pre3i (1999-09-25)
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: Linux 2.0.36 [using ncurses 4.2]
Compile options:
-DOMAIN
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
-USE_IMAP  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  +HAVE_COLOR
+HAVE_PGP2  -BUFFY_SIZE 
-EXACT_ADDRESS  +ENABLE_NLS
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
ISPELL="/usr/bin/ispell"
_PGPPATH="/home/ms/bin/pgp"
_PGPV2PATH="/home/ms/bin/pgp"
-- 
  Martin Schröder, [EMAIL PROTECTED]
ArtCom GmbH, Grazer Straße 8, D-28359 Bremen
   Voice +49 421 20419-44 / Fax +49 421 20419-10

 PGP signature


Re: enriched.sh

1999-10-22 Thread Sean Rima

Hi Martin!

On Fri, 22 Oct 1999, Martin Schröder wrote:

> On 1999-10-21 23:26:19 -0700, Brandon Long wrote:
> > On 10/20/99 Martin Schröder uttered the following other thing:
> > > Where to get it?
> > 
> > It is located at:
> > http://www.fiction.net/blong/programs/mutt/done.html#autoview
> > 
> > But, its no longer necessary, as the included text/enriched support in
> > mutt is much better now.
> 
Silly question, but this happened to me :) Did you add it to ~/.mime.types
It may make no difference but I found that it didn't work until I add the
correct line to .mime.types.

Sean

GPG ID (5.x) 92B9D0CF
To get my GPG (PGP 5.x) Key send me an empty
email with retrieve as the subject
Linux User: #124682 ICQ: 679813
...Linux uptime=26 Days 21 Hours 9 Minutes



aliases

1999-10-22 Thread Antonio Pievatolo

Dear Mutt users,

I have just subscribed to this list; I use version 0.95.7i.

I have a problem with aliases. I tried to Bcc a message to many
recipients: at the Bcc prompt I pressed the Tab key, then I selected
the aliases from .mutt.aliases with the return key, and exited
the alias list. In the Bcc line at the bottom, the aliased addresses 
I had chosen had been fully expanded, but only the first 5 or 6 were present, 
because all the rest had been truncated, apparently because of a buffer 
limit for the Bcc line. Is there a way to increase this limit? 

In general, I find the alias management in Mutt to be quite deficent,
especially if compared to elm. With elm one could fully expand aliases
from the menu, modify aliases automatically, adding and deleting aliases 
without the need to explicitly edit the file, etc. 
With Mutt, I seem to be able only to alias received messages 
using keystroke menus, whereas all the rest must be done on the
.mutt.aliases file directly. Did I overlook anything among
Mutt's capabilities?

Thank you for your help.

Antonio Pievatolo


-- 
Dr. Antonio "Marco" Pievatolo ([EMAIL PROTECTED])
CNR-IAMI, Via Ampere 56, 20131 Milano 
Tel. **39/0270643213, Fax **39/0270643212
http://www.iami.mi.cnr.it/~marco 



Re: enriched.sh

1999-10-22 Thread Martin Schröder

On 1999-10-22 10:49:07 +, Sean Rima wrote:
> On Fri, 22 Oct 1999, Martin Schröder wrote:
> > On 1999-10-21 23:26:19 -0700, Brandon Long wrote:
> > > On 10/20/99 Martin Schröder uttered the following other thing:
> > > > Where to get it?
> > > 
> > > It is located at:
> > > http://www.fiction.net/blong/programs/mutt/done.html#autoview
> > > 
> > > But, its no longer necessary, as the included text/enriched support in
> > > mutt is much better now.
> > 
> Silly question, but this happened to me :) Did you add it to ~/.mime.types
> It may make no difference but I found that it didn't work until I add the
> correct line to .mime.types.

Of course I didn't. What's the magic line? :-)

Thanks in advance
   Martin
-- 
  Martin Schröder, [EMAIL PROTECTED]
ArtCom GmbH, Grazer Straße 8, D-28359 Bremen
   Voice +49 421 20419-44 / Fax +49 421 20419-10

 PGP signature


Re: enriched.sh

1999-10-22 Thread Thomas Roessler

On 1999-10-22 12:13:04 +0200, Martin Schröder wrote:

> That doesn't work for me; I get the 
>text/enriched not supported, use "v" to view this part
> and then
>mailcap entry for type text/enriched not found
> what should be the correct configuration?

Whow...  How do you get these messages?  

Could you please give us your /etc/mailcap and ~/.mailcap settings,
plus anything auto_view-related you have in your mutt configuration?

-- 
http://www.guug.de/~roessler/




Re: aliases

1999-10-22 Thread Mikko Hänninen

Antonio Pievatolo <[EMAIL PROTECTED]> wrote on Fri, 22 Oct 1999:
> I had chosen had been fully expanded, but only the first 5 or 6 were present, 
> because all the rest had been truncated, apparently because of a buffer 
> limit for the Bcc line. Is there a way to increase this limit? 

I think yes; upgrade to a newer version of Mutt.  I'm not sure, but I
think that was a problem that got fixed in some newer version.

> With Mutt, I seem to be able only to alias received messages 
> using keystroke menus, whereas all the rest must be done on the
> .mutt.aliases file directly.

Is that such a big chore?  I personally think that using a text editor
on a text file is much more efficient (faster) than trying to manage
through some edit-this-part-of-alias or edit-alias-in-that-way
functions inside Mutt.  All you need is a good text editor.

As for managing aliases from inside of Mutt, I have the following
macros:

macro index A ":unset wait_key\n!$EDITOR ~/.mutt/mail_aliases\n:set wait_key\n:source 
~/.mutt/mail_aliases\n" "edit and reload email alias file"
macro pager A ":unset wait_key\n!$EDITOR ~/.mutt/mail_aliases\n:set wait_key\n:source 
~/.mutt/mail_aliases\n" "edit and reload email alias file"
macro browser A ":unset wait_key\n!$EDITOR ~/.mutt/mail_aliases\n:set 
wait_key\n:source ~/.mutt/mail_aliases\n" "edit and reload email alias file"

So I just need to press A almost anywhere and I can edit my aliases.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
The world will come to an end on 1.1.1900!!!



Re: enriched.sh

1999-10-22 Thread Sean Rima

Hi Martin!

On Fri, 22 Oct 1999, Martin Schröder wrote:

> On 1999-10-22 10:49:07 +, Sean Rima wrote:
> > On Fri, 22 Oct 1999, Martin Schröder wrote:
> > > On 1999-10-21 23:26:19 -0700, Brandon Long wrote:
> > > > On 10/20/99 Martin Schröder uttered the following other thing:
> > > > > Where to get it?
> > > > 
> > > > It is located at:
> > > > http://www.fiction.net/blong/programs/mutt/done.html#autoview
> > > > 
> > > > But, its no longer necessary, as the included text/enriched support in
> > > > mutt is much better now.
> > > 
> > Silly question, but this happened to me :) Did you add it to ~/.mime.types
> > It may make no difference but I found that it didn't work until I add the
> > correct line to .mime.types.
> 
> Of course I didn't. What's the magic line? :-)
> 
TBH, I just used text/enriched without showing any extensions

Sean

-- 
GPG ID (5.x) 92B9D0CF
To get my GPG (PGP 5.x) Key send me an empty
email with retrieve as the subject
Linux User: #124682 ICQ: 679813
...Linux uptime=26 Days 23 Hours 3 Minutes

 PGP signature


1.0/slang problem?

1999-10-22 Thread Jim Simmons

I just built 1.0i (./configure --with-slang=/usr/local/src/slang-1.3.7
--with-homespool=Mailbox --enable-imap) on an HP-UX 11.00 system and now
--when I start it using:

rxvt -fn 10x20 -title "IN-BOX" -e mutt

I'm getting a scroll bar from rxvt, and after doing a few things there are
actually lines in the scroll back buffer.  I didn't have this problem with
1.0pre4i.

Any idea what might be causing this?

Thanks,

Jim



[1.0i bug] redraw problem

1999-10-22 Thread Vincent Lefevre

I replied to a message (from within the pager IIRC, but I'm not sure),
then hit 'c' to change the mailbox. And the whole screen got black (this
is my background color). I don't know what the cause is, and this may be
difficult to reproduce. All that I know is that I received a new message
at about the same time in the current mailbox.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - PhD student in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.



Re: 1.0/slang problem?

1999-10-22 Thread Vincent Lefevre

On Fri, Oct 22, 1999 at 09:51:42 -0400, Jim Simmons wrote:
> I'm getting a scroll bar from rxvt, and after doing a few things there are
> actually lines in the scroll back buffer.  I didn't have this problem with
> 1.0pre4i.

I've just noticed exactly the same thing (with Mutt 1.0 and Slang 1.2.2).
Here's what I've done:

1) Start Mutt in rxvt from fvwm:

Exec "Mutt" rxvt -n Mutt -T Mutt -e env LANG= xmutt

where xmutt is:

#!/bin/sh
LC_MESSAGES=fr
mesg n
stty susp undef
unset REPLYTO
export LC_MESSAGES
exec mutt $*

(BTW, I should change $* to ${@+"$@"}.)

2) Hit 'c' to change to the next mailbox that has new mail.

3) Hit 'Enter' to read the first unread mail.

--> new lines appear in the scrollback buffer.

This can be reproduced as long as the next mailbox contains enough
messages (messages that aren't displayed in the index?).

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - PhD student in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.



Re: 1.0/slang problem?

1999-10-22 Thread Leiden, Soren

I do the following:

rxvt +sb -geometry 80x50 -fn 10x20 -title "Mutt" -e mutt

the +sb eliminates the scrollbar...

can't say whether or not mutt's producing any scrollback as
my scrollbar doesn't exist.  i'm using 1.0pre3, working
great...

Jim Simmons [[EMAIL PROTECTED]] wrote:
> I just built 1.0i (./configure --with-slang=/usr/local/src/slang-1.3.7
> --with-homespool=Mailbox --enable-imap) on an HP-UX 11.00 system and now
> --when I start it using:
> 
>   rxvt -fn 10x20 -title "IN-BOX" -e mutt
> 
> I'm getting a scroll bar from rxvt, and after doing a few things there are
> actually lines in the scroll back buffer.  I didn't have this problem with
> 1.0pre4i.
> 
> Any idea what might be causing this?
> 
> Thanks,
> 
> Jim

-- 
Soren



Re: 1.0/slang problem?

1999-10-22 Thread Rob Reid

At 11:22 AM EDT on October 22 Vincent Lefevre sent off:
> On Fri, Oct 22, 1999 at 09:51:42 -0400, Jim Simmons wrote:
> > I'm getting a scroll bar from rxvt, and after doing a few things there are
> > actually lines in the scroll back buffer.  I didn't have this problem with
> > 1.0pre4i.
> 
> I've just noticed exactly the same thing (with Mutt 1.0 and Slang 1.2.2).
> Here's what I've done:
> 
> 1) Start Mutt in rxvt from fvwm:
> 
> Exec "Mutt" rxvt -n Mutt -T Mutt -e env LANG= xmutt

What if you start rxvt like this?

 rxvt +sb -sl 0 -n Mutt -T Mutt -e env LANG= xmutt

The +sb prevents drawing the scrollbar, and the -sl allocates 0 lines for the
scrollback buffer.
 
-- 
"Some mornings, it's just not worth chewing through the leather straps." 
  -- Emo Phillips
Robert I. Reid <[EMAIL PROTECTED]> http://astro.utoronto.ca/~reid/
PGP Key: http://astro.utoronto.ca/~reid/pgp.html



Re: 1.0/slang problem?

1999-10-22 Thread Vincent Lefevre

On Fri, Oct 22, 1999 at 10:39:29 -0400, Rob Reid wrote:
> At 11:22 AM EDT on October 22 Vincent Lefevre sent off:

> > Exec "Mutt" rxvt -n Mutt -T Mutt -e env LANG= xmutt

I know where the problem comes from. When I start this from fvwm,
the TERMINFO env variable isn't set, so that the Solaris xtermc
is taken (and the problem occurs). But when I start this from a
shell, the TERMINFO variable is set to /home/vlefevre/share/terminfo
(where the xtermc comes from the rxvt distrib, IIRC), and the problem
doesn't occur. Note that if I unset TERMINFO, the problems occurs
(this shows that it comes from the xtermc terminfo).

> What if you start rxvt like this?
> 
>  rxvt +sb -sl 0 -n Mutt -T Mutt -e env LANG= xmutt

No problem, even if I use the Solaris xtermc (TERMINFO not set).

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - PhD student in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.



Re: 1.0/slang problem?

1999-10-22 Thread Vincent Lefevre

On Fri, Oct 22, 1999 at 08:22:48 -0700, Leiden, Soren wrote:
> I do the following:
> 
> rxvt +sb -geometry 80x50 -fn 10x20 -title "Mutt" -e mutt
> 
> the +sb eliminates the scrollbar...
> 
> can't say whether or not mutt's producing any scrollback as
> my scrollbar doesn't exist.  i'm using 1.0pre3, working
> great...

You can know with Shift-PageUp.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - PhD student in Computer Science
Web:  or  - 100%
validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.



"Error sending message, child exited 70 (Internal error.)" messages

1999-10-22 Thread Winston Moy

Hi,

I've recently compiled the following mutt version (mutt -v below) on a Sun
Ultra 5 running Solaris 2.7.

 Mutt 1.0pre4us (1999-10-11)
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.7 [using slang 10309]
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/lib/mutt"
SYSCONFDIR="/usr/local/etc"
-ISPELL
To contact the developers, please mail to <[EMAIL PROTECTED]>.


I can read my inbox, but I would get the following error 

 "Error sending message, child exited 70 (Internal error.)" when sending out.
 
 I invoked configure with the following options:
  
  1. --with-slang
  2. --with -slang --with-regex
  
 Both version of mutt gave the same error messages.
 
 
 Any pointers, ideas ,recommendation would be appreciated.
 
 Thanks 
+---+
| Winston Moy   Email: [EMAIL PROTECTED]  |
| Texas Instruments | 
| 6500 Chase Oaks Blvd. M/S: 8440  Pc Drop: PSK3|
| Plano, Tx. 75086  |
| Ph: (972) 575-2278|
+---+



"Error sending message, child exited 70 (Internal error.)" messages

1999-10-22 Thread Winston Moy


- Begin Forwarded Message -

Date: Fri, 22 Oct 1999 08:43:30 -0500 (CDT)
From: Winston Moy <[EMAIL PROTECTED]>
Subject: "Error sending message, child exited 70 (Internal error.)" messages
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-MD5: 00utInUpcjOYJxq+arbWdw==

Hi,

I've recently compiled the following mutt version (mutt -v below) on a Sun
Ultra 5 running Solaris 2.7.

 Mutt 1.0pre4us (1999-10-11)
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.7 [using slang 10309]
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/lib/mutt"
SYSCONFDIR="/usr/local/etc"
-ISPELL
To contact the developers, please mail to <[EMAIL PROTECTED]>.


I can read my inbox, but I would get the following error 

 "Error sending message, child exited 70 (Internal error.)" when sending out.
 
 I invoked configure with the following options:
  
  1. --with-slang
  2. --with -slang --with-regex
  
 Both version of mutt gave the same error messages.
 
 
 Any pointers, ideas ,recommendation would be appreciated.
 
 Thanks 
+---+
| Winston Moy   Email: [EMAIL PROTECTED]  |
| Texas Instruments | 
| 6500 Chase Oaks Blvd. M/S: 8440  Pc Drop: PSK3|
| Plano, Tx. 75086  |
| Ph: (972) 575-2278|
+---+


- End Forwarded Message -


+---+
| Winston Moy   Email: [EMAIL PROTECTED]  |
| Texas Instruments | 
| 6500 Chase Oaks Blvd. M/S: 8440  Pc Drop: PSK3|
| Plano, Tx. 75086  |
| Ph: (972) 575-2278|
+---+



Re: "Error sending message, child exited 70 (Internal error.)" messages

1999-10-22 Thread David DeSimone

Winston Moy <[EMAIL PROTECTED]> wrote:
>
>  "Error sending message, child exited 70 (Internal error.)" when sending out.

Sendmail doesn't like the command line it's being given by Mutt.  Here's
a simple shell script:

#!/bin/sh
echo "Args: " "$@" >> /tmp/sendmail.log

Save this script, then in Mutt, "set sendmail=/path/to/script".  Then,
send a dummy message, and when finished, check the /tmp/sendmail.log
file to see what arguments sendmail was supposed to be called with. 
Then try calling sendmail with those arguments and see why it fails.

-- 
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
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



F1 for help

1999-10-22 Thread John Poltorak

How do I set up F1 for help?

Actually I want to look at the html manual, although I've manged to
get Ctl-Z to do this with:-

macro index \cz !start /f/c lynx c:/mutt/manual.html'

This is my first stab at a macro, but it's quite useful, and quite
close to what I want eventually. In addition, I would like to use
F1 instead of Ctl-Z, I like the command to run automatically
without needing to press ENTER, and I'd like to prevent mutt from
issuing the 'press any key to continue' prompt.

Any suggestions would be welcome.

BTW the command above is an OS/2 command to start Lynx in foreground
in a seperate session, just in case anyone is confused...

--
John




IMAP, how to find out about new features?

1999-10-22 Thread Chris Green

I'm about to get serious about using mutt with IMAP4, I gather that
the 'unstable' 1.1 version is likely to have more IMAP functions and
features available.  Is there an easy way to find out what it can do
compared with the 1.0 version?

-- 
Chris Green ([EMAIL PROTECTED])
  Home: [EMAIL PROTECTED]   Work: [EMAIL PROTECTED]
  WWW: http://www.isbd.co.uk/



Re: Forward just one attachment?

1999-10-22 Thread Jeremy Blosser

Jan Houtsma [[EMAIL PROTECTED]] wrote:
> On Thu, Oct 21, 1999 at 02:41:23AM -0500, [EMAIL PROTECTED] wrote:
> 
> > 
> > It's not that of a deal, but there are times when I don't really want
> > the original headers traveling in my forward.  Ideas?
> > 
> 
> Sorry, i have no idea! I noticed the same behaviour and didnt really 
> like it either
> Maybe Jeremy Blosser can answer this one.

Erm, I haven't been reading this thread, but is there a reason
$forward_weed doesn't work for you?

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


Re: Jump to new mailbox

1999-10-22 Thread Jeremy Blosser

Brian D. Winters [[EMAIL PROTECTED]] wrote:
> On Fri, Oct 22, 1999 at 02:37:21PM +1000, Bek Oberin wrote:
> > Jeremy Blosser wrote:
> > > Bek Oberin [[EMAIL PROTECTED]] wrote:
> > > > I want to create a macro to let my jump straight to mailbox 'foo',
> > > > whichever's currently displayed.
> > > When you just hit 'c', the box offered up first /should/ be the last one to
> > > receive new mail.  So a macro that just did "c" would be what you
> > > want.
> > 
> > Should it?  It certainly doesn't, it always goes through all the
> > mailboxen with new mail in alphabetical order.  Is this a
> > side-effect of the buffy-size stuff?
> 
> Actually I think you are both mistaken.  Well, Bek probably just
> misunderstands...
> 
> mutt offers to change to boxes with new mail in the order you declare
> them.

Hrm, I'll take your word for it.  I've always had the impression it acted
just as a new mail stack, but I guess not.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


Re: F1 for help

1999-10-22 Thread Jeremy Blosser

John Poltorak [[EMAIL PROTECTED]] wrote:
> How do I set up F1 for help?
> 
> Actually I want to look at the html manual, although I've manged to
> get Ctl-Z to do this with:-
> 
> macro index \cz !start /f/c lynx c:/mutt/manual.html'
> 
> This is my first stab at a macro, but it's quite useful, and quite
> close to what I want eventually. In addition, I would like to use
> F1 instead of Ctl-Z,

Use  instead of \cz.

> I like the command to run automatically without needing to press ENTER,

Add  at the end of the macro.

> and I'd like to prevent mutt from issuing the 'press any key to continue'
> prompt.

Either unset wait_key in your .muttrc, or, if you just want it changed
here, use something like:

macro index  ":unset wait_key!lynx:set wait_key"

replacing 'lynx' with your command.

HTH.

-- 
Jeremy Blosser   |   [EMAIL PROTECTED]   |   http://jblosser.firinn.org/
-+-+--
"If Microsoft can change and compete on quality, I've won." -- L. Torvalds

 PGP signature


Re: "Error sending message, child exited 70 (Internal error.)" messages

1999-10-22 Thread David DeSimone

Winston Moy <[EMAIL PROTECTED]> wrote:
>
> Thanks for the info...  I was able to locate the cause, while I was
> tailing the active syslog...  I had a corrupt alias database...  once
> the database was cleaned up, Mutt was happy...

Wow, that's amazing:

> > >  "Error sending message, child exited 70 (Internal error.)" when sending out.

The "Internal Error" message was actually correct!  It's just that,
from the way the message is reported, it's not terribly obvious that the
child process is sendmail, and that it was sendmail that had the
internal error.  :)

-- 
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
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44



Change the content-type from the command line

1999-10-22 Thread Ryan Claycamp

I have been researching this problem all day and can't find an answer. 
Therefore, I subscribed to the mailing list, hoping to get an answer.  I
am setting up a script file to fetch a web page every day and mail it to
a friend.  I do great getting the file with wget.  When I pipe it to
mutt, it sends it through as plain text.  If I was doing this manually,
I discovered that I could edit-type to text/html.  How do I do this from
the command line, so I can run it from cron?  Forgive me if it is in the
FAQ, but I couldn't find it.

Thanks,
Ryan



Re: IMAP, how to find out about new features?

1999-10-22 Thread Brendan Cully

On Friday, 22 October 1999 at 21:05, Chris Green wrote:
> I'm about to get serious about using mutt with IMAP4, I gather that
> the 'unstable' 1.1 version is likely to have more IMAP functions and
> features available.  Is there an easy way to find out what it can do
> compared with the 1.0 version?

There's a README (and a BUGS) in the imap directory of the latest 
development versions. Or, I've just set up (5 minutes ago) a tiny web
page (maybe it will grow) where I'll post news about Mutt's IMAP
support. Currently you can find the README and BUGS files there.

-- 
Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ
"I hope I don't win|  .-_|\ 
 The rules say to bring a friend   | / \
 I don't have any" | Perth ->*.--._/



Re: IMAP, how to find out about new features?

1999-10-22 Thread Brendan Cully

On Friday, 22 October 1999 at 23:44, Brendan Cully wrote:
> On Friday, 22 October 1999 at 21:05, Chris Green wrote:
> > I'm about to get serious about using mutt with IMAP4, I gather that
> > the 'unstable' 1.1 version is likely to have more IMAP functions and
> > features available.  Is there an easy way to find out what it can do
> > compared with the 1.0 version?
> 
> There's a README (and a BUGS) in the imap directory of the latest 
> development versions. Or, I've just set up (5 minutes ago) a tiny web
> page (maybe it will grow) where I'll post news about Mutt's IMAP
> support. Currently you can find the README and BUGS files there.

http://www.kublai.com/~brendan/mutt/imap.html

Sorry about that - I'm worse with URLs than patches...

-- 
Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ
"I hope I don't win|  .-_|\ 
 The rules say to bring a friend   | / \
 I don't have any" | Perth ->*.--._/



Re: Change the content-type from the command line

1999-10-22 Thread David DeSimone

Ryan Claycamp <[EMAIL PROTECTED]> wrote:
>
> I am setting up a script file to fetch a web page every day and mail
> it to a friend.  I do great getting the file with wget.  When I pipe
> it to mutt, it sends it through as plain text.

This is pretty much a limitation of Mutt's batch mode.

> If I was doing this manually, I discovered that I could edit-type to
> text/html.  How do I do this from the command line, so I can run it
> from cron?

Somehow I doubt this can be done, but some of Mutt's users are pretty
clever...


One way to do this would be to send the wget output to a file, then
attach that file in batch mode, using the -a switch to Mutt.  But your
message will still need a text/plain part to make up the main body, to
which the HTML will be attached.

A tool which is better-suited to your particular task, is mpack.  You
might want to give it a try.  Mutt isn't *always* the answer to your
E-mail needs, you know.  :)

-- 
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
UX WTEC Engineer |PGP: 5B 47 34 9F 3B 9A B0 0D  AB A6 15 F1 BB BE 8C 44