Re: [yes/no] vs. [y/n]

2001-07-16 Thread Byrial Jensen

On Wed, Jul 11, 2001 at 08:22:09 +0200, Magnus Bodin wrote:
> I upgraded from 1.2.5i to 1.3.19i and the only awkward thing I find is that
> all question now goes ([yes] / no) and if i type 'n' it interprets as a YES, 
> and I keep forgetting pressing 'N'

Do you happen to use OpenBSD? We just had another bug report from
a guy with the same problem using OpenBSD 2.9. It turned out to be
a bug in the locale saying that 'n' instead of 'y' should be
interpreted to mean yes.

Try using uppercase answers to yes/no questions, or delete or
outcomment the line

#define HAVE_LANGINFO_YESEXPR 1

in config.h and rebuild mutt. This will hopefully help if your
locale has the same bug.



Re: date format

2001-07-16 Thread Byrial Jensen

At 07/11/01 10:16, Jeff Coppock wrote:
>I'm having trouble figuring out the date format for my
>attribution line.  I want it to show as  or
>something a lot shorter than the default.  Can someone provide
>this for me?

I typed this command before sending this reply:
set attribution = "At %{!%m/%d/%y %H:%M}, %n wrote:"

See 'man 3 strftime' for an explanation of the % codes inside %{...}.

2 things to note:

1) The time format is ambiguous because it doesn't include timezone
   information. As it is, it will use the origininal sender's timezone
   (the question was sent at 10:16 your local time). It would have
   been mine local time if I had used %[...] instead of %{...}.

2) The time format is ambiguous because it will be interpreted as day
   7 in November in many countries (for instance here in Denmark).
   



Re: date format

2001-07-16 Thread Suresh Ramasubramanian

Byrial Jensen [mutt-users] <16/07/01 09:56 +0200>: 
> At 07/11/01 10:16, Jeff Coppock wrote:
> >I'm having trouble figuring out the date format for my
> >attribution line.  I want it to show as  or
> >something a lot shorter than the default.  Can someone provide
> >this for me?
 
> I typed this command before sending this reply:
> set attribution = "At %{!%m/%d/%y %H:%M}, %n wrote:"
> See 'man 3 strftime' for an explanation of the % codes inside %{...}.

You could define this globally for your mutt settings with
set date_format="%d/%m/%y %H:%M %Z"

-- 
Suresh Ramasubramanian + Wallopus Malletus Indigenensis
EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin



Re: date format

2001-07-16 Thread John Arundel

On 2001-07-16 at 09:56:48Z, Byrial Jensen wrote:
> 1) The time format is ambiguous because it doesn't include timezone
>information. As it is, it will use the origininal sender's timezone
>(the question was sent at 10:16 your local time). It would have
>been mine local time if I had used %[...] instead of %{...}.
> 
> 2) The time format is ambiguous because it will be interpreted as day
>7 in November in many countries (for instance here in Denmark).

The original poster should perhaps check out ISO8601:

http://www.malibutelecom.com/yucca/iso8601.html

John
-- 
"You can't have everything. Where would you put it?"
  - Steven Wright
_
   I prefer encrypted mail (see headers for PGP key) 
  Why encrypt? http://www.heureka.clara.net/sunrise/pgpwhy.htm
_

 PGP signature


mail sorting

2001-07-16 Thread Lukasz Zamel

Hello,
is it possible to configure Mutt to automatically sort incoming mail? Something like 
Sorting Office. Maybe it's explained some ware already.
-- 
Lukasz Zamel <[EMAIL PROTECTED]>
Reg. Linux User: #202048



Re: mail sorting

2001-07-16 Thread Christoph Maurer

Hello Lukasz!

On Mon, 16 Jul 2001 Lukasz Zamel wrote:

> Hello, is it possible to configure Mutt to automatically sort
> incoming mail? Something like Sorting Office. Maybe it's explained
> some ware already.

I'm not quite sure what yo mean with sorting mail.
In mutt "sorting" means that you can configure in which order mutt
displays the messages in a mailbox. This behaviour is controlled by
the sort variable in your muttrc. See the manual for details.

Or do you want to filter incoming mails, i.e. to move them to
different mailboxes according to subject, sender etc.?
This is not mutt's job. You should use procmail for that. 
See man procmail, man procmailex to get a first impression.
There are several tutorials on the web that will help you with the
configuration and IIRC there also exists an own mailing-list. 

Yours
Christoph

-- 
Christoph Maurer - Paul-Röntgen-Straße 7 - D - 52072 Aachen
mailto:[EMAIL PROTECTED] - http://www.christophmaurer.de
On my Homepage: SuSE 7.0 on an Acer Travelmate 508 T Notebook



Re: mail sorting

2001-07-16 Thread Pradeep

Hi,
You can use something like procmail to do this visit www.procmail.org for
FAQs on how to go about it or visit http://symonds.net/~pradeep/linux.htm
this is how i did learn how to filter my messages.

Reg,
- Pradeep.


On Mon, 16 Jul 2001, Lukasz Zamel wrote:

> Hello,
> is it possible to configure Mutt to automatically sort incoming mail? Something like 
>Sorting Office. Maybe it's explained some ware already.
> -- 
> Lukasz Zamel <[EMAIL PROTECTED]>
> Reg. Linux User: #202048
> 




Re: mail sorting

2001-07-16 Thread Suresh Ramasubramanian

Pradeep  [16/07/01 05:35 -0700]:
> You can use something like procmail to do this visit www.procmail.org for
> FAQs on how to go about it or visit http://symonds.net/~pradeep/linux.htm
> this is how i did learn how to filter my messages.
 
If all you want to do is to sort mail within a folder, the $sort variable
helps ...  set sort=threads for example.

> On Mon, 16 Jul 2001, Lukasz Zamel wrote:
> > is it possible to configure Mutt to automatically sort incoming mail?
> > Something like Sorting Office. Maybe it's explained some ware already.



strange sort order with sort=threads and sort_aux=reverse-score

2001-07-16 Thread Louis-David Mitterrand

In the .muttrc I have:

set sort=threads sort_aux=reverse-score

in order to get the highest rated messages at the end while still seeing
threads. However this has the unfortunate side effect that
identically-scored messages are more or less sorted from newest to
oldest (not the default date-sent).

Is there a solution to this?

TIA,

-- 
PHEDRE: Pour bannir l'ennemi dont j'étais idolâtre,
J'affectai les chagrins d'une injuste marâtre ;
  (Phèdre, J-B Racine, acte 1, scène 3)



Re: [yes/no] vs. [y/n]

2001-07-16 Thread Magnus Bodin

On Mon, Jul 16, 2001 at 09:20:36AM +0200, Byrial Jensen wrote:
> On Wed, Jul 11, 2001 at 08:22:09 +0200, Magnus Bodin wrote:
> > I upgraded from 1.2.5i to 1.3.19i and the only awkward thing I find is that
> > all question now goes ([yes] / no) and if i type 'n' it interprets as a YES, 
> > and I keep forgetting pressing 'N'
> 
> Do you happen to use OpenBSD? We just had another bug report from
> a guy with the same problem using OpenBSD 2.9. It turned out to be
> a bug in the locale saying that 'n' instead of 'y' should be
> interpreted to mean yes.

yes. OpenBSD 2.9
 
> Try using uppercase answers to yes/no questions, or delete or
> outcomment the line
> 
> #define HAVE_LANGINFO_YESEXPR 1
> 
> in config.h and rebuild mutt. This will hopefully help if your
> locale has the same bug.

Mange Tak. Thanks. It helped. 

/magnus

--
:...   Magnus Bodin
::...   http://x42.com/
:. 
elntoasirh>dpg.0y2fm1',wb:9ck/+36q?85)j(#][




mystifying ximian gnome /tmp problem

2001-07-16 Thread peter horst

On a lark I installed the Ximian Gnome desktop yesterday, on top of a
prexisting KDE install (RH7.0, mutt 1.2.5i).  Now everything is FUBAR.
Most of the problems are OT, but what would cause mutt to suddenly go
haywire in this fashion: in the index, the  key stopped working
(it wouldn't bring up the pager, or do anything except uncollapse
threads); the help screens (in all modes) suddenly came up completely
empty (just ~ marks); and hitting 'e' brought up a "problem opening
/tmp/blah" error.  I looked in /tmp & found several large (88M) files of
the form ".gz", but they weren't real gzips.  I
rm'd these files, and now mutt seems to work correctly again (except for
of course being back to an 80 X 24 console).  I'm a beginner at
Unix/mutt/etc., but up to this point I've run into very few problems
that weren't at least vaguely intuitable.  Can you offer any clues?

Thanks,

Peter Horst



reconstituting mangled quotes

2001-07-16 Thread Chris Fuchs


Hello,

I currently get mail from a MUA that simply chops all lines beyond
80 characters to the nearest word.  For unquoted text that's okay,
but for quoted lines you get something like this:

> extreme silliness that should not be dealt this way but is for
whatever reason.
> On the other hand...

It would tough to use procmail to erradicate this in a bullet proof manner
and I wouldn't expect mutt to handle it either which leaves processing
using editors.  Does anyone else get mail thus mutilated and how
do you handle it?

Chris

--
   What is originality? Undetected plagiarism. -Dean William R. Inge



Re: reconstituting mangled quotes

2001-07-16 Thread Sam Roberts

Quoting Chris Fuchs <[EMAIL PROTECTED]>, who wrote:
> I currently get mail from a MUA that simply chops all lines beyond
> 80 characters to the nearest word.  For unquoted text that's okay,

I'm curious, what's the MUA?

Sam

-- 
Sam Roberts <[EMAIL PROTECTED]>



Re: reconstituting mangled quotes

2001-07-16 Thread Chris Fuchs

On Mon, Jul 16, 2001 at 01:06:37PM -0400, Sam Roberts wrote:
>Quoting Chris Fuchs <[EMAIL PROTECTED]>, who wrote:
>> I currently get mail from a MUA that simply chops all lines beyond
>> 80 characters to the nearest word.  For unquoted text that's okay,
>
>I'm curious, what's the MUA?

MS Exchange does this when forwarding mail to my local UNIX box.
This seems to be how it processes mail destined for external users
as far as I can fathom right now.

Chris

--
   Teachers open the door, but you must enter by yourself. -Chinese
   Proverb



Re: reconstituting mangled quotes

2001-07-16 Thread Justin R. Miller

Thus spake Chris Fuchs ([EMAIL PROTECTED]):

> Does anyone else get mail thus mutilated and how do you handle it?

Use this in your .muttrc:  

set editor="vim -c 'set tw=72 comments=nb:>'"

Then, when you'd like to reformat text, highlight it in visual mode and
hit 'gq' and it should wrap nicely.  That's what I do, anyway...

HTH,

-Justin
-- 
[ ] -- Justin R. Miller - [EMAIL PROTECTED] -- [ ]
[ ] -- see full headers for PGP key information -- [ ]
[ ] -- http://solidlinux.com/~justin/pubkey.asc -- [ ]

 PGP signature


Re: reconstituting mangled quotes

2001-07-16 Thread Chris Fuchs

>On Mon, Jul 16, 2001 at 01:39:15PM -0400, Justin R. Miller wrote:
>Thus spake Chris Fuchs ([EMAIL PROTECTED]):
>
>> Does anyone else get mail thus mutilated and how do you handle it?
>
>Use this in your .muttrc:  
>
>   set editor="vim -c 'set tw=72 comments=nb:>'"
>
>Then, when you'd like to reformat text, highlight it in visual mode and
>hit 'gq' and it should wrap nicely.  That's what I do, anyway...
>

Thanks, looks like I'll add vim to my mutt learning curve.

Chris

--
   Insecurity is the worlds biggest addiction [EMAIL PROTECTED]



Re: reconstituting mangled quotes

2001-07-16 Thread David Champion

On 2001.07.16, in <[EMAIL PROTECTED]>,
"Chris Fuchs" <[EMAIL PROTECTED]> wrote:
> >
> >Then, when you'd like to reformat text, highlight it in visual mode and
> >hit 'gq' and it should wrap nicely.  That's what I do, anyway...
> >
> 
> Thanks, looks like I'll add vim to my mutt learning curve.

Are you already using vim? No reason to start, just to get word wrap.
par (under vi) handles this, and I'd be shocked -- shocked, I tell you
-- if emacs does not.

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



Re: reconstituting mangled quotes

2001-07-16 Thread Chris Fuchs

>On Mon, Jul 16, 2001 at 01:00:09PM -0500, David Champion wrote:
> Thanks, looks like I'll add vim to my mutt learning curve.
>
>Are you already using vim? No reason to start, just to get word wrap.
>par (under vi) handles this, and I'd be shocked -- shocked, I tell you
>-- if emacs does not.

Shockingly enough I'm not using either, rather an editor developed
in-house.

--
   Music is the art of thinking with sounds. -Jules Combarie



Re: reconstituting mangled quotes

2001-07-16 Thread Rich Lafferty

On Mon, Jul 16, 2001 at 01:00:09PM -0500, David Champion ([EMAIL PROTECTED]) wrote:
> On 2001.07.16, in <[EMAIL PROTECTED]>,
>   "Chris Fuchs" <[EMAIL PROTECTED]> wrote:
> > >
> > >Then, when you'd like to reformat text, highlight it in visual mode and
> > >hit 'gq' and it should wrap nicely.  That's what I do, anyway...
> > >
> > 
> > Thanks, looks like I'll add vim to my mutt learning curve.
> 
> Are you already using vim? No reason to start, just to get word wrap.
> par (under vi) handles this, and I'd be shocked -- shocked, I tell you

Emacs does when you tell it > are comment-characters -- and post-mode
does that for you. :-)

  -Rich 

-- 
Rich Lafferty --+---
 Montreal, Quebec, Canada   |  "Do not dangle the mouse by the cord or
 http://www.lafferty.ca/|   throw it at coworkers."  -- SGI Indy manual
[EMAIL PROTECTED] ---+---

 PGP signature


Re: reconstituting mangled quotes

2001-07-16 Thread Alexander Skwar

So sprach »Sam Roberts« am 2001-07-16 um 13:06:37 -0400 :
> Quoting Chris Fuchs <[EMAIL PROTECTED]>, who wrote:
> > I currently get mail from a MUA that simply chops all lines beyond
> > 80 characters to the nearest word.  For unquoted text that's okay,
> 
> I'm curious, what's the MUA?

Mail
User
Agent
-> mutt in this case

Alexander Skwar
-- 
How to quote:   http://learn.to/quote (german) http://quote.6x.to (english)
Homepage:   http://www.digitalprojects.com   |   http://www.iso-top.de
   iso-top.de - Die günstige Art an Linux Distributionen zu kommen
Uptime: 4 hours 20 minutes



Re: reconstituting mangled quotes

2001-07-16 Thread Justin R. Miller

Thus spake Alexander Skwar ([EMAIL PROTECTED]):

> > I'm curious, what's the MUA?
> 
> Mail
> User
> Agent
> -> mutt in this case

I think he means what's the one that's mangling the quotes...

-Justin
-- 
[ ] -- Justin R. Miller - [EMAIL PROTECTED] -- [ ]
[ ] -- see full headers for PGP key information -- [ ]
[ ] -- http://solidlinux.com/~justin/pubkey.asc -- [ ]

 PGP signature


Re: mail sorting

2001-07-16 Thread Lukasz Zamel

On Mon, Jul 16, 2001 at 06:16:08PM +0530, Suresh Ramasubramanian wrote:
> Pradeep  [16/07/01 05:35 -0700]:
> > You can use something like procmail to do this visit www.procmail.org for
> > FAQs on how to go about it or visit http://symonds.net/~pradeep/linux.htm
> > this is how i did learn how to filter my messages.
>  
> If all you want to do is to sort mail within a folder, the $sort variable
> helps ...  set sort=threads for example.
> 
> > On Mon, 16 Jul 2001, Lukasz Zamel wrote:
> > > is it possible to configure Mutt to automatically sort incoming mail?
> > > Something like Sorting Office. Maybe it's explained some ware already.

I ment sorting to different folders without procmail.
Something like fcc-hook but for incoming messages.
-- 
Lukasz Zamel <[EMAIL PROTECTED]>
Reg. Linux User: #202048
Wszystko jest mozliwe pod warunkiem,
ze nie wiesz o czym mowisz.



Re: Simple mutt question ... I think?

2001-07-16 Thread Chris Fuchs

on Wed,11 Jul 2001, Mr. Wade wrote:
> Anthony Green <[EMAIL PROTECTED]> wrote:
> > I would just like to find out if its possible in mutt to setup so that
> > if you use a signature file, the signature is added to the top of the
> > email, rather than the bottom of the email below the persons original
> > email when replying.
> > 
> > I have my signature set in my .muttrc as :
> > set signature="~/signature" # file which contains my signature
> 
> One solution would be to do something like this in your ~/.muttrc
> file:
> 
> set attribution="-- \nAnthony.\[EMAIL PROTECTED]\n\nOn %d, %n wrote:"
> macro index  r ":unset signature" "reply to a message"
*snip*
> 
> Maybe something like this will effect what you're trying to
> accomplish.

Unfortunately this doesn't seem to make allowance for prepending a
randomly generated signature file using a script.  At least
backtics only seem to work up to the first "\n".  Suppose the
attribution is this:

set attribution="-- \n `

FCC lines header?

2001-07-16 Thread Drew Raines


Okay, so I want to use maildirs.  I can use the procmail hack to add the
Lines header for incoming messages.  What about outgoing messages?  Can I
pipe to safecat or a wrapper from a send-hook command?  The manual didn't
really suggest this, so I figured it's not recommended.

Anybody have another approach?

-- 
Drew



Re: mail sorting

2001-07-16 Thread John P. Verel

My experience is that procmail is well worth the modest effort to learn
it.  You can easily pick up sample recipes that you'll see are really
pretty straight forward.
John
On 07/16/01, 07:31:49PM +0200, Lukasz Zamel wrote:
> On Mon, Jul 16, 2001 at 06:16:08PM +0530, Suresh Ramasubramanian wrote:
> > Pradeep  [16/07/01 05:35 -0700]:
> > > You can use something like procmail to do this visit www.procmail.org for
> > > FAQs on how to go about it or visit http://symonds.net/~pradeep/linux.htm
> > > this is how i did learn how to filter my messages.
> >  
> > If all you want to do is to sort mail within a folder, the $sort variable
> > helps ...  set sort=threads for example.
> > 
> > > On Mon, 16 Jul 2001, Lukasz Zamel wrote:
> > > > is it possible to configure Mutt to automatically sort incoming mail?
> > > > Something like Sorting Office. Maybe it's explained some ware already.
> 
> I ment sorting to different folders without procmail.
> Something like fcc-hook but for incoming messages.
> -- 
> Lukasz Zamel <[EMAIL PROTECTED]>
> Reg. Linux User: #202048
> Wszystko jest mozliwe pod warunkiem,
> ze nie wiesz o czym mowisz.

-- 
John P. Verel
Norwalk, CT



Re: FCC lines header?

2001-07-16 Thread Paul Cox

On Monday, Jul 16, 2001, Drew Raines wrote:

> Okay, so I want to use maildirs.  I can use the procmail hack to add the
> Lines header for incoming messages.  What about outgoing messages?  Can I
> pipe to safecat or a wrapper from a send-hook command?  The manual didn't
> really suggest this, so I figured it's not recommended.
> 
> Anybody have another approach?

Sure... don't bother with line counts.  Just change your index_format to
show the size of the message instead.  Here's mine:

set index_format="%Z %4C %{%b %d} %-15.15F (%4c) %s"

(The %4c is the code to display the message size.)

-- 
Paul Cox 
Kernel: 2.4.3-20mdk-win4lin-pcox  -  Uptime: 5 days 5 hours 10 minutes.



Re: mail sorting

2001-07-16 Thread David

On Mon, 16 Jul 2001, John P. Verel wrote:
> My experience is that procmail is well worth the modest effort to
> learn it.  You can easily pick up sample recipes that you'll see are
> really pretty straight forward. John On 07/16/01, 07:31:49PM +0200,
*Snip*
> > I ment sorting to different folders without procmail. Something like
> > fcc-hook but for incoming messages. -- Lukasz Zamel

Or there is always Maildrop, which I found extremely straight forward
and took no effort to set up.

-- 
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
David Clarke <[EMAIL PROTECTED]> | David Clarke 
GPG Fingerprint :  869B 53DD 5E80 E1F0 93F6  9871 0508 0296 5957 F723

 PGP signature


Re: FCC lines header?

2001-07-16 Thread Drew Raines

* Paul Cox <[EMAIL PROTECTED]>:
>
> Sure... don't bother with line counts.  Just change your index_format to
> show the size of the message instead.

Interesting.  Although I like the linecount better, I think.  It gives me a
better picture of the length of a message at first glance.  Perhaps that's
just because I'm not used to it.  Or maybe I'm just skeptical of anything
pine-esque.  Oh well.  Thanks for the suggestion.

-- 
Drew



Re: mail sorting

2001-07-16 Thread Jeff Coppock

David, 2001-Jul-17 12:31 +1000:
> On Mon, 16 Jul 2001, John P. Verel wrote:
> > My experience is that procmail is well worth the modest effort to
> > learn it.  You can easily pick up sample recipes that you'll see are
> > really pretty straight forward. John On 07/16/01, 07:31:49PM +0200,
> *Snip*
> > > I ment sorting to different folders without procmail. Something like
> > > fcc-hook but for incoming messages. -- Lukasz Zamel
> 
> Or there is always Maildrop, which I found extremely straight forward
> and took no effort to set up.
> 
   
   Agreed.  Although there doesn't appear to be a much support
   for Maildrop as for Procmail, it is effortless to setup and
   the filtering is as powerful and not too difficult to figure
   out.
   
   jc


-- 

Jeff CoppockNortel Networks
Systems Engineerhttp://nortelnetworks.com
Major Accts.Santa Clara, CA