Moshe Kamensky > Text-Bidi > bidi

Download:
Text-Bidi-2.09.tar.gz

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

bidi - Make urxvt present Bidi text correctly

DESCRIPTION ^

This extension filters the text displayed by Urxvt, so that Bi-directional text (e.g., Hebrew or Arabic mixed with English) is displayed correctly. It does so using the Text::Bidi module (which should be installed).

The extension emulates a cursor via rendition. This means that when typing, there will be two cursors, the original one whose location corresponds to the current location within the logical string (so, mostly useless), and a fake one which corresponds to the current insertion point.

To enable the extension, add bidi to the Urxvt.perl-ext-common resource. See urxvt(1) and urxvtperl(1) for other options and more details.

The extension recognises one resource, Urxvt.bidi.FieldSep. This should be a string on which each line is split before applying the Bidi algorithm. This permits creating tables, where each cell is treated separately, e.g., in the index of an email client. Note that this is a string, not a regular expression. The default is \x{2502}.

syntax highlighting: