[TAG] Happy $HOLIDAY

Benjamin A. Okopnik ben at linuxgazette.net
Tue Dec 27 06:19:03 MSK 2005


On Mon, Dec 26, 2005 at 07:06:38PM -0800, Breen Mullins wrote:
> On Mon, Dec 26, 2005 at 09:27:14PM -0500, Benjamin A. Okopnik wrote:
> > 
> > Various 10646 fonts suck in arbitrary ways; you're probably missing the
> > glyphs for Polish in whatever you're using. All the stuff in Jimmy's
> > email displayed fine for me in Mutt. Here are my relevant bits:
> > 
> > ``
> > r!egrep '^xterm.*(utf|font)' ~/.Xresources
> > xterm*font: -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1
> > xterm*utf8:1
> > r!echo $LANG
> > en_US.UTF-8
> > ''
> > 
> > I used to have to mess about with LANG and LC_ALL and a whole bunch of
> > goodies to get Mutt to act right... 
> 
> This may be a project for me in the new year - I'm currently reading
> most mail on shell on a FreeBSD box, using mutt displayed on various
> terminals on FC3 and Mac OS X. Getting the correct invocations to 
> make this all work hasn't been near the top of the list, but this 
> may be the year...

You're in luck: I still have the wrapper script I used to use to launch
Mutt to read my Russian mail, which contains the previous invocations
(commented out) to do various language-related tweaking. I still use it,
since I like saving attachments to /tmp by default and prefer opening
Mutt in "mailbox" view ('-y').

``
#!/bin/bash
# Created by Ben Okopnik on Tue Sep 11 14:41:52 UTC 2001

cd /tmp
# LANG=ru_RU rxvt +sb -geometry 100x35+-5+-5 -fn 10x20-koi -n RMutt -e mutt -y
# LC_CTYPE=ru_RU xterm -fn 10x20-koi -e mutt -e "set charset=koi8-r" -y
# LANG=en_US.UTF-8 xterm -fn terminus-20 -T RMutt -e mutt -y
# LANG=en_US.UTF-8 xterm -fn -misc-fixed-medium-r-normal--18-120-100-100-c-90-iso10646-1 -T RMutt -e mutt -y
xterm -T RMutt -e mutt -y
''


* Ben Okopnik * Editor-in-Chief, Linux Gazette * http://linuxgazette.net *





More information about the TAG mailing list