Nadav Har'El <[EMAIL PROTECTED]> [17/02/03 22:14]:
> On Sun, Feb 16, 2003, Eli Segal wrote about "Hebrew with mutt":
> > What Are my option to be able to read and write with mutt client ??
> 
> Here is what I use in my ~/.muttrc. Yes, I know some of these options (in
> particular 'charset') may be the "wrong" options to use, but it works...
> 
> # This character set is used on outgoing mail when it contains non-ascii
> # characters.
> set charset="iso-8859-8-i"
> 
> # use external pager, and don't prompt after it!
> set noprompt_after
> set pager="bidi_pager"
> 
> Where bidi_pager is the following small script:
> 
> #!/bin/sh
> # I use this as mutt's pager
> exec bidiv "$@" | less -c
> 

This way you lose color. If you use vim, why not

exec bidiv "$@" | less.sh +"set ft=mail" -

(less.sh is in $VIMRUNTIME/macros). I wonder, though, if there is a way
to make mutt read commands from vim (so that one can reply etc. from
within vim).

> (see http://ftp.ivrix.org.il/pub/ivrix/src/cmdline/ for bidiv - or if you
> use Debian, just fetch the "bidiv" package).
> 
> This setup will send Hebrew mail as iso-8859-8-i, and will be able to read
> Hebrew mail in either iso-8859-8-i (or the equivalent Windows encoding) or
> UTF8. To actually *edit* Hebrew mail, you'll need to set up your editor
> accordingly; I use vim, with macros to switch direction and language -
> something like
> 
> export VIMINIT='map! ESC[24~ ESC:set invhk invrl^Ma
>       map  ESC[24~ :set invhk invrl'
> (replace ESC by the actual ESCAPE character).
> 
> 
> -- 
> Nadav Har'El                        |      Sunday, Feb 16 2003, 14 Adar I 5763
> [EMAIL PROTECTED]             |-----------------------------------------
> Phone: +972-53-245868, ICQ 13349191 |"A mathematician is a device for turning
> http://nadav.harel.org.il           |coffee into theorems" -- P. Erdos
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
> 

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to