Changes between Version 20 and Version 21 of Ticket #4138, comment 16


Ignore:
Timestamp:
10/28/21 18:57:12 (3 years ago)
Author:
ZGMxYWFh
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4138, comment 16

    v20 v21  
    1616My bottom line is that, in my opinion, MC probably needs a programmer who knows the bidi algorithm to fix the column swapping, and the justification of the file names. And I am not sure there are not more issues. Such as locale that put dates, perhaps name of months, in an RTL language. The knowledge of the bidi algorithm will probably help such a programmer ~~deal with~~ control libfribidi ~~API, and what some other components of the terminal might do with that API~~. With the result that MC could provide the right hints for libfribidi where appropriate. And who knows. Perhaps bugs, or needs for modifications ~~of the API~~, will emerge. 
    1717 
    18 Rethinking about what looks to me your persistence to ignore the justification issue. Perhaps you are trying to imply the problem should be solved by smaller, measurable, steps. As if you were saying: let us attempt to solve just the swapping of columns issue that was raised here. Forget, for now, about possible month names in an RTL language. Or have justification of file names in a way that is expected by readers of RTL languages. Hopefully, that will take us to a better position. And then we will see how to continue. In that case, perhaps the first step should be for MC to insert an LTR enforcing artificial character at the end of each column. That is, in each column, and for each line of that column, MC will insert an RTL enforcing artificial character. Putting that in other words: if today MC has 
     18Rethinking about what looks to me your persistence to ignore the justification issue. Perhaps you are trying to imply the problem should be solved by smaller, measurable, steps. As if you were saying: let us attempt to solve just the swapping of columns issue that was raised here. Forget, for now, about possible month names in an RTL language. Or have justification of file names in a way that is expected by readers of RTL languages. Hopefully, that will take us to a better position. And then we will see how to continue. In that case, perhaps the first step should be for MC to insert an LTR enforcing artificial character at the end of each column. That is, in each column, and for each line of that column, MC will insert a Left To Right enforcing artificial character. Putting that in other words: if today MC has 
    1919 
    2020        | XXXXXXXX | XXXXXXXX | XXXXXXXX | 
    2121        | XXXXXXXX | XXXXXXXX | XXXXXXXX | 
    2222 
    23 Where X is any character, of any language, including white space. And a bar is the columns separator character, then after the change MC will have 
     23Where X is any character, of any language, including white space. And a bar is the columns separator character. Then after the change MC will have 
    2424 
    2525        F | XXXXXXXX F | XXXXXXXX F | XXXXXXXX F | 
    2626        F | XXXXXXXX F | XXXXXXXX F | XXXXXXXX F | 
    2727 
    28 where F is the bidi pseudo character to enforce an LTR direction. Of course, the Linux console, and any non bidi aware terminal, will get confused by that pseudo bidi character. 
     28where F is the bidi pseudo character to enforce a Left To Right direction. Of course, the Linux console, and any non bidi aware terminal, will get confused by that pseudo bidi character. 
    2929As I wrote, my bidi knowledge is superficial. And I don’t know MC internals.