Re: built-in pager and utf-8

2012-07-27 Thread Derek Martin
On Thu, Jul 26, 2012 at 06:00:14PM +0200, Harald Weis wrote: > On Mon, Jul 23, 2012 at 12:55:38PM -0500, Derek Martin wrote: > I've worked some hours the last days to find fonts in my system > which work for the pager. I've put the result in .Xdefaults: Great to hear. I'll be honest, I don't unde

Re: built-in pager and utf-8

2012-07-26 Thread Harald Weis
On Mon, Jul 23, 2012 at 12:55:38PM -0500, Derek Martin wrote: > I'm at a loss... Everything looks to be configured right on your > system, and the e-mail displays correctly in Mutt for me; the hex dump > was also not especially helpful. I would normally be inclined to > point to your font, b

Re: built-in pager and utf-8

2012-07-23 Thread Derek Martin
Harald, I'm at a loss... Everything looks to be configured right on your system, and the e-mail displays correctly in Mutt for me; the hex dump was also not especially helpful. I would normally be inclined to point to your font, but you say when you use w3m as your pager, it works. That has me s

Re: built-in pager and utf-8

2012-07-20 Thread Harald Weis
On Tue, Jul 17, 2012 at 12:27:37PM -0500, Derek Martin wrote: > On Tue, Jul 17, 2012 at 04:12:03PM +0200, Harald Weis wrote: > > > Output of mutt -v is: > > > Mutt 1.4.2.3i (2007-05-26) > > As I've already suggested, at least if we don't get you fixed with > this version, you should real

Re: built-in pager and utf-8

2012-07-17 Thread Derek Martin
On Tue, Jul 17, 2012 at 04:12:03PM +0200, Harald Weis wrote: > > Following the FreeBSD Handbook, I use login classes set in /etc/login.conf. > > If I remember correctly, nothing else is required. > > me@pollux:~ % setenv |grep UTF > > MM_CHARSET=UTF-8 > > LANG=en_US.UTF-8 > > XTERM_LOCALE=en_

Re: built-in pager and utf-8

2012-07-17 Thread Chris Burdess
Harald Weis wrote: > Does everybody think - when reading this message - > that my case is hopeless ? I don't see why. I don't have any problems reading UTF-8 in the pager - see attached. This is a pretty bog standard mutt on Debian; mutt -v gives Mutt 1.5.21 (2010-09-15) Copyright (C) 1996-2009

Re: built-in pager and utf-8

2012-07-17 Thread Harald Weis
On Sun, Jul 08, 2012 at 06:58:20PM +0200, Harald Weis wrote: > On Tue, Jul 03, 2012 at 11:15:03AM +0900, Daniel P. Wright wrote: > > I am running mutt 1.5.21 compiled from the mutt repo (no ports) on > > FreeBSD with no trouble. The parameters I passed to "prepare" are as > > follows: > >

Re: built-in pager and utf-8

2012-07-08 Thread Harald Weis
On Tue, Jul 03, 2012 at 11:15:03AM +0900, Daniel P. Wright wrote: > I am running mutt 1.5.21 compiled from the mutt repo (no ports) on > FreeBSD with no trouble. The parameters I passed to "prepare" are as > follows: > > ./prepare --prefix=/usr/local --enable-locales-fix --disable-fcntl

Re: built-in pager and utf-8

2012-07-02 Thread Daniel P. Wright
I am running mutt 1.5.21 compiled from the mutt repo (no ports) on FreeBSD with no trouble. The parameters I passed to "prepare" are as follows: ./prepare --prefix=/usr/local --enable-locales-fix --disable-fcntl --enable-hcache --with-libiconv-prefix=/usr/local --with-slang=/usr/local (I am

Re: built-in pager and utf-8

2012-07-02 Thread Harald Weis
On Mon, Jul 02, 2012 at 10:42:39AM -0500, Derek Martin wrote: > On Mon, Jul 02, 2012 at 05:09:21PM +0200, Harald Weis wrote: > > I assume if you paste the equations with a mouse to emacs, the > > subscripts would be displayed correctly. > > > > > What I can't guess is what *you* are see

Re: built-in pager and utf-8

2012-07-02 Thread Gary Johnson
On 2012-07-01, Patrice Levesque wrote: > > > > Mutt's built-in pager does not seem to understand utf-8. > > Example copied from a gnu-emacs mailing list: > > [...] > > t₁ = 65536×h₁ + l₁ > > 0 ≤ h₁ < 65536 > > 0 ≤ l₁ < 65536 > > Both display here just fine under mutt-1.5.21-r9 (gentoo). >

Re: built-in pager and utf-8

2012-07-02 Thread Derek Martin
On Sun, Jul 01, 2012 at 11:48:37AM -0400, Patrice Levesque wrote: > in mutt, you'll need to configure 'set charset="UTF-8"' NO YOU DO NOT, and in fact you should generally never do this. If your locale is set correctly, Mutt will take care of this for you automatically, and if it is not set corre

Re: built-in pager and utf-8

2012-07-02 Thread Patrice Levesque
> Mutt's built-in pager does not seem to understand utf-8. > Example copied from a gnu-emacs mailing list: > [...] > t₁ = 65536×h₁ + l₁ > 0 ≤ h₁ < 65536 > 0 ≤ l₁ < 65536 Both display here just fine under mutt-1.5.21-r9 (gentoo). Make sure all the components of the displaying chain are se

Re: built-in pager and utf-8

2012-07-02 Thread Derek Martin
On Mon, Jul 02, 2012 at 05:09:21PM +0200, Harald Weis wrote: > I assume if you paste the equations with a mouse to emacs, the > subscripts would be displayed correctly. > > > What I can't guess is what *you* are seeing which causes you to > > query it ? > > I see character-size rectangles

Re: built-in pager and utf-8

2012-07-02 Thread Harald Weis
On Mon, Jul 02, 2012 at 02:14:21PM +0100, Ken Moffat wrote: > On Sun, Jul 01, 2012 at 04:59:51PM +0200, Harald Weis wrote: > > My muttrc sets editor to "joe". > > > > Mutt's built-in pager does not seem to understand utf-8. > > > > Example copied from a gnu-emacs mailing list: > > > > Th

Re: built-in pager and utf-8

2012-07-02 Thread Ken Moffat
On Sun, Jul 01, 2012 at 04:59:51PM +0200, Harald Weis wrote: > My muttrc sets editor to "joe". > > Mutt's built-in pager does not seem to understand utf-8. > > Example copied from a gnu-emacs mailing list: > > The first time is characterized with this system of equations: >

Re: built-in pager and utf-8

2012-07-02 Thread Harald Weis
On Mon, Jul 02, 2012 at 10:19:56AM +0900, Daniel P. Wright wrote: > The example works fine in my mutt. > > You might find it's a result of your compile settings -- try "mutt -v" > to see them. In particular, look for +HAVE_WC_FUNCS. If you don't have > widechar funcs, try recompiling agains

Re: built-in pager and utf-8

2012-07-01 Thread Daniel P. Wright
The example works fine in my mutt. You might find it's a result of your compile settings -- try "mutt -v" to see them. In particular, look for +HAVE_WC_FUNCS. If you don't have widechar funcs, try recompiling against (or finding a package which is compiled against) ncursesw or slang. Harald Wei

Re: built-in pager and utf-8

2012-07-01 Thread Derek Martin
On Sun, Jul 01, 2012 at 04:59:51PM +0200, Harald Weis wrote: > My muttrc sets editor to "joe". > > Mutt's built-in pager does not seem to understand utf-8. Yes, it does. I read UTF-8 mail in non-Latin charsets all the time. There is, however, a bug in how Mutt deals with whitespace, which on occ

built-in pager and utf-8

2012-07-01 Thread Harald Weis
My muttrc sets editor to "joe". Mutt's built-in pager does not seem to understand utf-8. Example copied from a gnu-emacs mailing list: The first time is characterized with this system of equations: