On Sat, Feb 17, 2018 at 08:09:39PM +0100, Josip Rodin wrote:
> On Wed, Oct 04, 2017 at 01:06:58AM +0200, Adam Borowski wrote:
> > Package: joe
> > Version: 4.4-1
> > Severity: normal
> > 
> > If you try to edit for example the following file:
> > .----
> > ???
> > ???
> > ???
> > ????
> > ????
> > ????
> > ????
> > ???
> > ???
> > ????
> > ????
> > ????
> > `----
> > joe displays wrong not just everything to the right of a character, but even
> > most subsequent lines; redraw doesn't help.  This happens on all terminals
> > that know about double-width characters.
> 
> Did you happen to see what upstream folks wrote in
> 
> https://sourceforge.net/p/joe-editor/bugs/380/

That site uses some broken Javascript that keeps breaking even when writing
a reply.  That's on par with how SourceForge has been working since 2003 or
so, only the kind of breakage changes...

As I've been unable to post the reply (the web bug tracker drops the partial
text at a random moment; can't even paste in), commenting here.  I guess
using some particular version of Internet Explorer^W^WChrome might succeed.



The bug stems from joe trying to reinvent its own wcwidth() -- everyone else
instead uses the definition from glibc, which at least makes it consistent
between producers and consumers as long as you don't cross network lines,
have the same release on both sides, or don't use characters that have just
been added to Unicode.

Thus, all other editors I've tried, on any modern terminal, handle it well:
cursor movement, display, editing.  Worst case, a glyph that's wide in a
font is considered to be single-width, but that's at most temporary spillage
or clipping.

Also, joe uses EastAsianWidth.txt, this has just been explicitly disallowed
by the Unicode standard: https://www.unicode.org/reports/tr11/tr11-34.html


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ The bill with 3 years prison for mentioning Polish concentration
⣾⠁⢰⠒⠀⣿⡁ camps is back.  What about KL Warschau (operating until 1956)?
⢿⡄⠘⠷⠚⠋⠀ Zgoda?  Łambinowice?  Most ex-German KLs?  If those were "soviet
⠈⠳⣄⠀⠀⠀⠀ puppets", Bereza Kartuska?  Sikorski's camps in UK (thanks Brits!)?

Reply via email to