Discussion:
terminal emulator
Efraim Flashner
2014-08-28 12:13:06 UTC
Permalink
What terminal emulators are out there that correctly do bidirectional
text, for displaying hebrew in a readable manner. finding one that
displays hebrew, but left to right, isn't hard, but either i'm not
configuring it correctly or I'm not finding one that does it right.

thanks

efraim
Yedidyah Bar David
2014-08-28 14:30:33 UTC
Permalink
Post by Efraim Flashner
What terminal emulators are out there that correctly do bidirectional
text, for displaying hebrew in a readable manner. finding one that
displays hebrew, but left to right, isn't hard, but either i'm not
configuring it correctly or I'm not finding one that does it right.
I personally use mlterm, and it's good enough for my simple needs.
Generally speaking, there is no "correct" way, as in "according to standard
X",
and AFAIK it's considered these days out of scope for terminals. In that
sense
mlterm is not really following any standard, apart from the unicode bidi
algorithm.
What doens't/can't it do? E.g. correctly handle different parts of a line
that are
unrelated (e.g. if you open mutt and you have Hebrew both in the sender's
name
and in the Subject, it might not display correctly), it has no means to set
the
paragraph direction, etc.
--
Didi
Efraim Flashner
2014-08-28 15:06:04 UTC
Permalink
tilda shows up left-to-right with hebrew letters, mlterm shows up
right-to-left with boxes. All on debian sid.
Loading Image...
Loading Image...


On Thu, 28 Aug 2014 17:30:33 +0300
2014-08-28 15:13 GMT+03:00 Efraim Flashner
Post by Efraim Flashner
What terminal emulators are out there that correctly do
bidirectional text, for displaying hebrew in a readable manner.
finding one that displays hebrew, but left to right, isn't hard,
but either i'm not configuring it correctly or I'm not finding one
that does it right.
I personally use mlterm, and it's good enough for my simple needs.
Generally speaking, there is no "correct" way, as in "according to
standard X",
and AFAIK it's considered these days out of scope for terminals. In
that sense
mlterm is not really following any standard, apart from the unicode
bidi algorithm.
What doens't/can't it do? E.g. correctly handle different parts of a
line that are
unrelated (e.g. if you open mutt and you have Hebrew both in the
sender's name
and in the Subject, it might not display correctly), it has no means
to set the
paragraph direction, etc.
--
Didi
--
Efraim Flashner
efraim.flashner-***@public.gmane.org 4096R/CA3D8351 created: 2013-10-08
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Yedidyah Bar David
2014-08-28 15:23:30 UTC
Permalink
Post by Efraim Flashner
tilda shows up left-to-right with hebrew letters, mlterm shows up
right-to-left with boxes. All on debian sid.
https://dl.dropboxusercontent.com/u/7048321/tilda.jpg
https://dl.dropboxusercontent.com/u/7048321/mlterm.jpg
I now verified that konsole also shows hebrew right-to-left.
You should probably configure mlterm (ctrl-rightclick) to use some other
font.

I personally use both xterm and mlterm with a very old raster (pcf) font I
found somewhere a very long time ago, don't remember anymore where, and
tweaked a bit since. I don't mind sharing it, but any modern vector font
will probably look better.
--
Didi
Vassilii Khachaturov
2014-09-05 03:23:54 UTC
Permalink
konsole advanced option have a checkmark (that used to be OFF by default
in early UTF-8 adoption days, and is nowadays ON by default) that
triggers RTL rendering of Hebrew.
Post by Efraim Flashner
tilda shows up left-to-right with hebrew letters, mlterm shows up
right-to-left with boxes. All on debian sid.
https://dl.dropboxusercontent.com/u/7048321/tilda.jpg
https://dl.dropboxusercontent.com/u/7048321/mlterm.jpg
I now verified that konsole also shows hebrew right-to-left.
You should probably configure mlterm (ctrl-rightclick) to use some
other font.
I personally use both xterm and mlterm with a very old raster (pcf)
font I found somewhere a very long time ago, don't remember anymore
where, and tweaked a bit since. I don't mind sharing it, but any
modern vector font will probably look better.
--
Didi
Dotan Cohen
2014-09-05 06:27:08 UTC
Permalink
I can confirm that Konsole works out of the box in Kubuntu 14.04:

$ touch שלום.txt
$ ls
שלום.txt
$ vim שלום.txt
$ cat שלום.txt
שלום, עולם

Note that VIM did have some trouble with the RTL, however.


On Thu, Aug 28, 2014 at 6:23 PM, Yedidyah Bar David
Post by Yedidyah Bar David
Post by Efraim Flashner
tilda shows up left-to-right with hebrew letters, mlterm shows up
right-to-left with boxes. All on debian sid.
https://dl.dropboxusercontent.com/u/7048321/tilda.jpg
https://dl.dropboxusercontent.com/u/7048321/mlterm.jpg
I now verified that konsole also shows hebrew right-to-left.
You should probably configure mlterm (ctrl-rightclick) to use some other
font.
I personally use both xterm and mlterm with a very old raster (pcf) font I
found somewhere a very long time ago, don't remember anymore where, and
tweaked a bit since. I don't mind sharing it, but any modern vector font
will probably look better.
--
Didi
_______________________________________________
Linux-il mailing list
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
Shlomo Solomon
2014-09-05 12:02:59 UTC
Permalink
I have 2 no name Android tablets. Both are model T271. One is labeled
Muller and the other Masimo.

I want to get a spare charger. The outside dimension of the connector
is 2.5 millimeters. On e-bay, I see lots of chargers that have a 2.5
millimeter connector, but the inside pin dimension is 0.7 OR 0.8. I've
tried to measure the inside pin with a caliper, but I can't be sure
which size I need.

BTW, the plastic is yellow, but I have no idea if this means anything.
--
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.9.0 - KDE 4.10.5 - LINUX Mageia 3
Mord Behar
2014-09-07 06:20:27 UTC
Permalink
You not only need the proper dimensions but also the correct voltage,
amperage and direction (not sure what to call that last one).
Look on your charger, you'll see a plus-dot-minus sign. That tells you
which part of the pin (inside or outside) is the minus and which is the
plus. You don't want to get that wrong. Voltage and amperage are OK if
you're off by a bit (not sure what a "bit" means, you should probably wait
for a certified electrical engineer to respond).

As for connector size... you could probably get one of those
multi-headed-chargers and one should work...
Post by Shlomo Solomon
I have 2 no name Android tablets. Both are model T271. One is labeled
Muller and the other Masimo.
I want to get a spare charger. The outside dimension of the connector
is 2.5 millimeters. On e-bay, I see lots of chargers that have a 2.5
millimeter connector, but the inside pin dimension is 0.7 OR 0.8. I've
tried to measure the inside pin with a caliper, but I can't be sure
which size I need.
BTW, the plastic is yellow, but I have no idea if this means anything.
--
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.9.0 - KDE 4.10.5 - LINUX Mageia 3
_______________________________________________
Linux-il mailing list
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
shimi
2014-09-07 06:31:02 UTC
Permalink
Post by Mord Behar
You not only need the proper dimensions but also the correct voltage,
amperage and direction (not sure what to call that last one).
s/direction/polarity/
Mord Behar
2014-09-07 07:21:53 UTC
Permalink
Post by shimi
Post by Mord Behar
You not only need the proper dimensions but also the correct voltage,
amperage and direction (not sure what to call that last one).
s/direction/polarity/
I was sort of right. Polarity is just a binary choice of directions :P
Loading...