[Bidi] Automatic text direction

Ely Levy elylevy at cs.huji.ac.il
Mon Feb 28 12:15:37 PST 2005

On Mon, 28 Feb 2005, Nadim Shaikli wrote:

> --- Ely Levy <elylevy at cs.huji.ac.il> wrote:
> > I think we should create a standard for automatic text direction.
> > There are few issues on how to detect the text direction (RTL or LTR)
> > for example numbers should not be the setter of direction, the ability
> > to manual override, split text ( for example gaim nick in english line is
> > in hebrew or arabic what should be the text direction?should it be splited
> > nick from one side text from the other? should it ignore the nick and
> > detect it by the text?)
> > What about html text?how do we ignore tags as direction setters?
> >
> > the big question, can a good autodetect actually be done? or should we
> > give up on it and do maunal setting only?
> Are you also thinking of addressing the command-line in terminal emulators
> that have Bidi support.  I'm talking about the case where one wants to do
>   grep "ARABIC-3 ARABIC-2 ARABIC-1" filename
> note here that bidi needs to kick-in for proper display (the numbers above
> denote word entry count) as well as
> and in this case bidi was not supposed to have been engaged since order
> does matter to convey proper context.
> NOTE: All caps are non-latin bidi-required characters.
> It would be ideal to find a mechanism that would not involve the use of
> directional markers (ie. to add-in the proper smarts needed in bash for
> it to denote proper context - when within quotes apply bidi else don't
> among other things -- well maybe not bash per se, but a library call is
> needed for automatic direction setting).
>  - Nadim

The question is in what level you want to do it,
you can handle it inside the app and let diff and grep decide if they want
to change it or not, you can handle it in bash level or you can handle it
in terminal emulation level (I think kconsole supports it already).
There is also the question of who needs to change direction when the error
message or output is bidi.


> __________________________________
> Do you Yahoo!?
> Read only the mail you want - Yahoo! Mail SpamGuard.
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> bidi mailing list
> bidi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/bidi

More information about the bidi mailing list