Kyle Wheeler | 11 Sep 06:40 2004
Picon

Another encoding question...

So... I have gotten a few messages (e.g. several from the Bugtraq 
mailing list) that don't seem to show up right (they have some accented 
characters), and make mutt choke when displaying them in the file index 
(blank blocks). I've tried other mailers (e.g. Apple Mail) which seem to 
be able to display the From bits "right" (I think).

An example (from Bugtraq) is in a tar'd Maildir here: 
http://www.memoryhole.net/~kyle/demomail.tar.bz2

I presume this can be fixed in mutt with something involving 
$assumed_charset, $charset, or something like that. Could someone take a 
look and tell me what works for them? (If it helps, I currently have the 
default $assumed_charset and $charset is set to "utf-8", to go with my 
uxterm.)

Thanks,
~Kyle
--

-- 
One of the penalties for refusing to participate in politics is that you
end up being governed by your inferiors.
-- Plato
Derek Martin | 11 Sep 07:13 2004

Re: Another encoding question...

On Fri, Sep 10, 2004 at 11:40:58PM -0500, Kyle Wheeler wrote:
> So... I have gotten a few messages (e.g. several from the Bugtraq 
> mailing list) that don't seem to show up right (they have some accented 
> characters), and make mutt choke when displaying them in the file index 
> (blank blocks). I've tried other mailers (e.g. Apple Mail) which seem to 
> be able to display the From bits "right" (I think).

If you're seeing empty boxes, this means the glyph you're trying to
see is not contained in the font you're using.  Since you're using
UTF-8, try starting your xterm like this:

  xterm -fn "-misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-*"

Assuming you have this font on your system, it should contain glyphs
for most of the major character sets.  If you don't like the size, you
may need to play with and/or download different fonts that meet your
needs.

--

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

Derek Martin | 11 Sep 07:57 2004

Re: Another encoding question...

On Sat, Sep 11, 2004 at 02:13:57PM +0900, Derek Martin wrote:
>   xterm -fn "-misc-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-iso10646-*"
> 
> Assuming you have this font on your system, it should contain glyphs
> for most of the major character sets.  If you don't like the size, you
> may need to play with and/or download different fonts that meet your
> needs.

Actually, if anyone knows where I can get bimapped fonts that have the
_entire_ UTF-8 character set in a variety of sizes, suitable for use
with terminal emulator programs, that would be very cool.

I should clarify that I don't like using xterm with FreeType fonts
(which is unfortunate, because otherwise it would solve the problem
quite nicely), because I find that they're much harder to read at
smaller sizes that the traditional bitmapped fonts.  I find that they
tend to look dimmer and more blurry.  I like small fonts, so yuck.

At larger sizes though, the freetype fonts doo look quite nice.  :)

--

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

Asif Iqbal | 11 Sep 08:47 2004
Picon

Number of messages in a thread

Hi All

I know that I can use %M to display the total number of messages. But
if I choose to display the number like this (%M) I also see some empty
(  ) -parenthesis  when there is only one message and no thread.

Is there a way I can display like this:

for 2 messages in a thread display (2)
for 1 message in a thread display nothing

Also how do I put different color than default for message with threads?

Thanks for the help
--

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu

Thomas Glanzmann | 11 Sep 09:50 2004
Picon
Picon

Re: Number of messages in a thread

Hello,

> Is there a way I can display like this:

> for 2 messages in a thread display (2)
> for 1 message in a thread display nothing

?%?M?(%M) ?

see manual.txt for explenations

> Also how do I put different color than default for message with
> threads?

# For collapsed threads
color index red default ~v

For all others you need a patch AFAIK. Don't know which one, but someone
will come up with a solution.

	Thomas

Joshua Crawford | 11 Sep 13:25 2004
X-Face
Picon

Re: view multipart in another GUI mailer

* Yaroslav Halchenko <mutt <at> onerussian.com> [2004-09-10 16:30 -0400]:
> 
> although your method works nicely for some emails it doesn't work for
> ones generated with nasty MS Word where images' SRC strings are quite
> screwed: like 
> src="cid:image001.gif <at> 01C4967D.347AADB0"
> 
> surely I can adjust your script even more and use sed to correct them a
> bit, but... that is quite of handtweeking :-)

Obviously I've never received a message like that, or my script would
already handle it.

> I just don't understand why not mozilla neither sylphead modularized out
> 'view image' module, so  I could just feed whole message body to it to
> open... he heh

It would be nice. I tried, as Michael Tatge suggested, just copying the
message to Mozilla's Inbox. I also started Mozilla mail from the macro. That
worked, so far as I could then click on Inbox and then click on the message
and be able to read it. But that's two clicks too many for me, and there's
the added problem that any links I follow are then opened in Mozilla's
browser, when I'd prefer Galeon. So, I'll stick with my script for a while
longer.

> On Sat, Sep 11, 2004 at 04:31:08AM +1000, Joshua Crawford wrote:

Just FYI, a lot of people find top-posting, aka TOFU, offensive.
--

-- 
Joshua 'bruce' Crawford ... http://www.geocities.com/mortarn
(Continue reading)

Yaroslav Halchenko | 11 Sep 15:25 2004

Re: view multipart in another GUI mailer

> Obviously I've never received a message like that, or my script would
> already handle it.
just if you decide to adjust your script to handle such messages:

--- /scsi/home/yoh/mutt-view-html       2004-09-11 09:20:20.000000000 -0400
+++ mutt-view-html      2004-09-10 16:38:11.000000000 -0400
 <at>  <at>  -21,6 +21,7  <at>  <at> 
                if [ "`file -b $file`" == "HTML document text" ]
                then
                        mv $file $file.html
+                        perl  -e 's/"cid:(.*)\ <at> .*"/"\1"/g' -pi $file.html
                        break
                fi
        done

> Just FYI, a lot of people find top-posting, aka TOFU, offensive.
just mention that I quote only the last message... this keeps the reader
informed on what this message answering to. So if I'm not doign
interleaved answering with old quotes, then I prefer to leave 1 mail
back full text TOFU. I don't consider this offensive but rather usefull.
I would consider offensive bringing all 100 levels of conversation into
email...

--

-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh <at> |www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]
             Key  http://www.onerussian.com/gpg-yoh.asc
(Continue reading)

Alain Bench | 11 Sep 22:31 2004

[OT] Japanese PuTTY

Dear ALL, please excuse me.

    This is a short off-topic call for help from Japanese speakers. To
do some experiments I'd need an EUC-JP terminal. I use PuTTY, who does
UTF-8 and dozens other charsets, but no EUC/2022/Shift-JIS and such. Now
I hear there is a modified PuTTY or patch who does 2022-JP (and I hope
EUC). But I don't speak Japanese, and can't wade thru the site.

    Could please someone review <URL:http://hp.vector.co.jp/authors/VA024651/#PuTTYkj_top>
and give me a direct download link? Perhaps also tell me if there are
specific requirements (system, fonts, tables, ...). Note I do compile
normal PuTTY under Cygwin.

Thanks in advance, and bye!	Alain.
--

-- 
Comment poser les questions de manière intelligente
<URL:http://www.gnurou.org/documents/smart-questions-fr.html>

Yaroslav Halchenko | 11 Sep 17:09 2004

Re: view multipart in another GUI mailer

On Fri, Sep 10, 2004 at 11:52:30PM +0200, Michelle Konzack wrote:

> > --

> Your signatur seperator need a <SPACE> at the end. Exactly "-- "

Aha - now I've got what happened... thank you for clearing this issue
out for me - I liked to put my mini-sig underneath message body by hands
although my proper signature placed by mutt is at the end of the
message...  Thanx

--

-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh <at> |www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]
             Key  http://www.onerussian.com/gpg-yoh.asc
GPG fingerprint   3BB6 E124 0643 A615 6F00  6854 8D11 4563 75C0 24C8

Adeodato Simó | 11 Sep 17:18 2004
Picon

Re: Another encoding question...

* Kyle Wheeler [Fri, 10 Sep 2004 23:40:58 -0500]:
> So... I have gotten a few messages (e.g. several from the Bugtraq 
> mailing list) that don't seem to show up right (they have some accented 
> characters), and make mutt choke when displaying them in the file index 
> (blank blocks). I've tried other mailers (e.g. Apple Mail) which seem to 
> be able to display the From bits "right" (I think).

  something like:

    set nostrict_mime assumed_charset=iso-8859-1

  should do. note that in the mailbox:

> An example (from Bugtraq) is in a tar'd Maildir here: 
> http://www.memoryhole.net/~kyle/demomail.tar.bz2

  the header 'Content-Transfer-Encoding: binary' seems to mess up the
  things a little. with it in the header, you get (with the above line
  in the muttrc):

    - still blank blocks in the index
    - correct characters in the From header in the pager (no \123)
    - incorrect decoding in the body in the pager (? characters)

  removing the mentioned header, all the three places work ok. so
  perhaps you want some procmail rule removing a 'C-T-E: binary' line
  for some mails? (since I *believe* that mutt is not misbehaving wrt
  this header being present and there is not, AFAIK, any other way to
  make mutt ignore it.)

(Continue reading)


Gmane