| 1 |
TODO: write a decent README... |
| 2 |
|
| 3 |
In one of the Ivrix meetings we had, one of the problems raised is that we |
| 4 |
don't have (or have, but don't use) a standard method of representing Hebrew |
| 5 |
text files. Such Hebrew text files include: |
| 6 |
|
| 7 |
1. Hebrew E-Mail |
| 8 |
2. Simple Hebrew texts (e.g., a README in Hebrew) |
| 9 |
3. Manual pages in Hebrew. |
| 10 |
|
| 11 |
This is why I wrote a very simple program based on Fribidi, that acts as a |
| 12 |
filter or viewer (with similar semantics as the 'cat' command) for logical- |
| 13 |
order ISO-8859-8 or UTF8 files: The logical text is converted to visual |
| 14 |
ISO-8859-8 (or UTF8) assuming a fixed number of characters per line |
| 15 |
(automatically determined or given with the -w parameter). |
| 16 |
|
| 17 |
I called this program 'bidiv', for "bidi viewer". You can get it in |
| 18 |
ftp://ftp.ivrix.org.il/pub/ivrix/src/cmdline/bidiv-1.0.tgz |
| 19 |
It's a tiny program indeed: the executable is only 5k (when using the |
| 20 |
fribidi shared library). By the way, I also put a copy of fribidi on the |
| 21 |
ivrix ftp: ftp://ftp.ivrix.org.il/pub/ivrix/src/lib/fribidi-0.1.15.tar.gz |
| 22 |
|
| 23 |
Example usages of bidiv: |
| 24 |
1. bidiv README | less |
| 25 |
2. man something | bidiv | less |
| 26 |
(or groff -man -Tlatin1 something.1 |sed 's/.^H\(.\)/\1/g' |../bidiv -w 65) |
| 27 |
3. set "bidiv" as a filter for your mail program (mutt, pine, etc.) for viewing |
| 28 |
mail with the ISO 8859-8 character set. |
| 29 |
|
| 30 |
---------------------------------------------------------------------------- |
| 31 |
|
| 32 |
Copyright (c) 2001-2006 Nadav Har'El |
| 33 |
License: GNU General Public License version 2 |