Re: mutt and umlaute (öä ü)

2010-02-17 Thread Jeffrey Ratcliffe
On Wed, Feb 17, 2010 at 11:04:47AM +0800, Jostein Berntsen wrote:
> Could you try what is suggested here?
> 
> http://wiki.mutt.org/?MuttFaq/Charset

Thanks for the tip. This did it for me in the end:

charset-hook ^us-ascii$   cp1252
charset-hook ^iso-8859-1$ cp1252
set assumed_charset="cp1252"

The problem was not my locale, which was set correctly, but that the
messages did not specify a charset.

Regards

Jeff


signature.asc
Description: Digital signature


Re: Strange Characters

2010-02-17 Thread Chris G
On Tue, Feb 16, 2010 at 05:46:58PM -0500, Chuck Smith wrote:
> This is my first week of using MUtt and so far I love it! I have been doing a 
> lot of reading and configuring and clearly can see the power of the Mutt. 
> 
> I have a interesting displying issue that I would like to sort out but it 
> appears to only come from my one persons e-mail address from MS Exchange 6.5 
> Mailer. For some reason, other than its Microsoft, the is a character ( ^M ) 
> at the end of each line. I am assuming it is a hard return. I have saved the 
> message in a text file (US-ASCII) and the characters do not exist. 
> 
> I am curious where this character comes from and if there is any way to have 
> Mutt hide it or filter it out. 
> 
The character that shows up as ^M is a Carriage Return, Microsoft's
conventional line ending is Carriage Return *and* Linefeed whereas
Unix/Linux and all related systems use only Linefeed to terminate
lines. 

Usually the ^M characters get filtered out along the way but obviously
in this one case that's not happening.

I seem to remember there is a mutt workaround to make the ^M disappear
but someone else will have to enlighten you on that front.

-- 
Chris Green



Re: Strange Characters [SEC=UNCLASSIFIED]

2010-02-17 Thread Wilkinson, Alex

0n Wed, Feb 17, 2010 at 10:58:06AM +, Chris G wrote: 

>On Tue, Feb 16, 2010 at 05:46:58PM -0500, Chuck Smith wrote:
>> This is my first week of using MUtt and so far I love it! I have been
>> doing a lot of reading and configuring and clearly can see the power of
>> the Mutt. 
>> 
>> I have a interesting displying issue that I would like to sort out but it
>> appears to only come from my one persons e-mail address from MS Exchange
>> 6.5 Mailer. For some reason, other than its Microsoft, the is a character
>> ( ^M ) at the end of each line. I am assuming it is a hard return. I have
>> saved the message in a text file (US-ASCII) and the characters do not
>> exist. 
>> 
>> I am curious where this character comes from and if there is any way to
>> have Mutt hide it or filter it out. 
>> 
>The character that shows up as ^M is a Carriage Return, Microsoft's
>conventional line ending is Carriage Return *and* Linefeed whereas
>Unix/Linux and all related systems use only Linefeed to terminate lines. 
>
>Usually the ^M characters get filtered out along the way but obviously in
>this one case that's not happening.
>
>I seem to remember there is a mutt workaround to make the ^M disappear but
>someone else will have to enlighten you on that front.

if using procmail you could add a rule as such:

   :0 fw
   * ^1^ \r\n
   * ? which dosunix >/dev/null 2>&1
   |/usr/local/bin/dosunix


   -Alex

IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.



Re: Mutt Books

2010-02-17 Thread Simon Ruderich
On Sun, Feb 14, 2010 at 04:54:32PM -0600, Christopher Lemire wrote:
> Does anyone know of books covering Mutt or Linux books covering Mutt
> more than just mentioning it? What Linux distros include Mutt by
> default? I've seen a lot of Linux books at stores covering specific
> distros and thought a Linux book might have some information on it.
>
> Christopher Lemire 

Hi,

I don't know any mutt books, but there are some real good
tutorials for mutt out there which contain many useful
information.

* http://linsec.ca/Using_mutt_on_OS_X (not only for Mac users)
* http://mutt.blackfish.org.uk/ "My first mutt"
* http://www.therandymon.com/papers/using-mutt.pdf "Using Mutt"

I'm sure there are more.

Hope this helps,
Simon
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9


pgpNW2c8a6rnd.pgp
Description: PGP signature


Re: Strange Characters

2010-02-17 Thread Simon Ruderich
On Wed, Feb 17, 2010 at 10:58:06AM +, Chris G wrote:
> On Tue, Feb 16, 2010 at 05:46:58PM -0500, Chuck Smith wrote:
> Usually the ^M characters get filtered out along the way but obviously
> in this one case that's not happening.
>
> I seem to remember there is a mutt workaround to make the ^M disappear
> but someone else will have to enlighten you on that front.
>
> Chris Green

Hi,

This can be done with mutt's display_filter, for example (should
work, haven't tested it):

set display_filter="tr -d '\r'"

While I'm at it, I can hardly recommend using t-prot [1] as
display_filter. It makes reading mails much more pleasant as
useless stuff like TOFU, overlong quotes, multiple empty lines,
etc. get filtered out.

Simon

[1]: http://www.escape.de/~tolot/mutt/
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9


pgpqPyl8bICt4.pgp
Description: PGP signature


charset wiki w3m command

2010-02-17 Thread Jason Helfman

I believe the command in the wiki at:
http://wiki.mutt.org/?MuttFaq/Charset

is out of date. w3m no longer has the -I switch for charset. If there is a
viable replacement command for w3m I would use it.

-j


Re: charset wiki w3m command

2010-02-17 Thread Patrick Shanahan
* Jason Helfman  [02-17-10 11:13]:
> I believe the command in the wiki at:
> http://wiki.mutt.org/?MuttFaq/Charset
> 
> is out of date. w3m no longer has the -I switch for charset. If there is a
> viable replacement command for w3m I would use it.
> 

I don't know what version of w3m you are using, but w3m-0.5.2 does have
the "-I" switch for charset.  Perhaps your version was compiled w/o that
support?

openSUSE x86_64 11.2

-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


Re: charset wiki w3m command

2010-02-17 Thread Jason Helfman

On Wed, Feb 17, 2010 at 11:51:35AM -0500, Patrick Shanahan thus spake:

* Jason Helfman  [02-17-10 11:13]:

I believe the command in the wiki at:
http://wiki.mutt.org/?MuttFaq/Charset

is out of date. w3m no longer has the -I switch for charset. If there is a
viable replacement command for w3m I would use it.



I don't know what version of w3m you are using, but w3m-0.5.2 does have
the "-I" switch for charset.  Perhaps your version was compiled w/o that
support?

openSUSE x86_64 11.2


I am using 0.5.2 on FreeBSD. In looking at configure, I couldn't tell if it
is a default option, or something to explicitly set.



--
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org



Re: charset wiki w3m command

2010-02-17 Thread Jason Helfman

On Wed, Feb 17, 2010 at 12:18:28PM -0800, Jason Helfman thus spake:

On Wed, Feb 17, 2010 at 11:51:35AM -0500, Patrick Shanahan thus spake:

* Jason Helfman  [02-17-10 11:13]:

I believe the command in the wiki at:
http://wiki.mutt.org/?MuttFaq/Charset

is out of date. w3m no longer has the -I switch for charset. If there is a
viable replacement command for w3m I would use it.



I don't know what version of w3m you are using, but w3m-0.5.2 does have
the "-I" switch for charset.  Perhaps your version was compiled w/o that
support?

openSUSE x86_64 11.2


I am using 0.5.2 on FreeBSD. In looking at configure, I couldn't tell if it
is a default option, or something to explicitly set.


Got it.

cd /usr/ports/www/w3m
sudo make CONFIGURE_ARGS+=--enable-locales-fix install

Now I have the option :)

 -I charset   document charset

Changing my mailcap worked too! Not sure why this isn't a default option.
Mabye I'll submit a patch for this.

Thanks!

Feel free to add this command to the wiki.





--
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org





Re: charset wiki w3m command

2010-02-17 Thread Patrick Shanahan
* Jason Helfman  [02-17-10 15:31]:
> 
> Got it.
> 
> cd /usr/ports/www/w3m
> sudo make CONFIGURE_ARGS+=--enable-locales-fix install
> 
> Now I have the option :)
> 
>  -I charset   document charset
> 
> Changing my mailcap worked too! Not sure why this isn't a default option.
> Mabye I'll submit a patch for this.
> 
> Thanks!
> 
> Feel free to add this command to the wiki.

Remember, it's a *wiki*.  You are quite able to do it yourself  :^)
-- 
Patrick Shanahan Plainfield, Indiana, USAHOG # US1244711
http://wahoo.no-ip.org Photo Album:  http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://counter.li.org


How mutt use mailboxes setting?

2010-02-17 Thread Andrey Zhidenkov
Hello, all.

I've converted all my mail from mbox to maildir format. I use sidebar patch
and now my mailboxes name starts with '.'. mailboxes setting defined like this:


mailboxes `echo -n "+ "; find ~/mail -maxdepth 1 -type d -name ".*" -printf 
"+'%f' "`

Can I remove a '.' symbol here? Does mutt will be able to find mailbox dirs?
--