Here's my idea

  We provide three Bidi modes. 
   1. Bidi off. The app takes the blame for stuff.
   2. LTR global direction
   3. RTL global direction

We keep most of xterm ignorant of Bidi, instead maintaining a mapping of
logical-column-to-physical-column for each cell. This is made using a
stock bidi algorithm. (fribidi seems to be good for this).

Then, when rendering, we go via this level of indirection. And when
handling selections. (and probably some other stuff)

this means that stuff like ls will Just Work - e.g.

-rw-r--r--   1 robert   users       25292 Jan  9  1999 GNIYPOC
-rwxr-xr-x   1 robert   users       80017 May 19 10:14 configure

All control sequences that specify co-ordinates will do so in logical
co-ordinates.

-- 
Robert

-
Linux-UTF8:   i18n of Linux on all levels
Archive:      http://mail.nl.linux.org/lists/

Reply via email to