A few other issues: In implicit BiDi mode, how should BiDi control characters (LRE/RLE/LRO/RLO/PDF; LRM/RLM) be handled? We need to remember them. Which cell should they belong to? How to later override the displayed string to remove any of these, or insert new ones?
In explicit BiDi mode, copy-pasting would reverse the strings. Some people prefer their text editor not to switch to the alternate screen, so that e.g. upon exiting the contents of the file is still visible. However, exiting would switch off the explicit mode. Would there be one global flag for the terminal to state the BiDi mode: then the screen (showing a part of the file) be repainted with incorrect BiDi? Or would this flag be remembered for each character cell? Also note that Arabic font rendering on fixed width grid is another quite troublesome issue. I'm pretty sure that many other bugs would arise upon implementing a proof of concept. I guess I'd second Diego's "TL.DR." conclusion. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to vte in Ubuntu. https://bugs.launchpad.net/bugs/263822 Title: RTL (right to left) support in terminal (BiDi) Status in Gnome Virtual Terminal Emulator: Confirmed Status in vte package in Ubuntu: Confirmed Bug description: Binary package hint: gnome-terminal The program fails to display bi-directional text correctly. For example, the Arabic word Went (راح) should be spelled raa (ر) Alif (ا) haa (ح) from right to left. The program displays the Arabic text in the opposite direction. examples: ا ب ج become ج ب ا if the problem with numbers (and it's not) it will look like: 123 become 321 that makes many translated terminal applications messages unreadable like dpkg & apt-get ProblemT ype: Bug Architecture: i386 Date: Tue Sep 2 04:44:06 2008 DistroRelease: Ubuntu 8.04 ExecutablePath: /usr/bin/gnome-terminal Package: gnome-terminal 2.22.1-0ubuntu2 PackageArchitecture: i386 ProcEnviron: PATH=/usr/locusernamel/sbin:/usr/locusernamel/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gusernamemes LANG=en_US.UTF-8 SHELL=/bin/busernamesh SourcePackage: gnome-terminal Uname: Linux 2.6.24-19-generic i586 To manage notifications about this bug go to: https://bugs.launchpad.net/vte/+bug/263822/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp