Created attachment 215847 [details]
Patches to the kernel, stty utility, and corresponding man pages
Fixes bug #220009. Both GNU/Linux and macOS have support for the removal of UTF-8 multibyte letters when IUTF8 Input Mode is set through stty(1). Some userspace software also assumes that this flag is available on the target platform.
The patch adds basic support for such an Input Mode.
It doesn't make combining letters work, nor does it fix problems with line width when there are multibyte letters in the line; these fixes would take quite many changes. Nonetheless, it improves things a bit. :)
For the record, what problems exactly are there with line width when there are multibyte characters? Is there a separate PR?
^Triage: [tags] in issue Titles are deprecated
> For the record, what problems exactly are there with line width when there are multibyte characters? Is there a separate PR?
Double-checked it, sorry, I had a misunderstanding of how things work. It seems, there are no problems with line widths. I shouldn't have mentioned the problem in the previous message. Really sorry for the commotion.
(In reply to Maxim Lyapin from comment #3)
By this accord, is it safe to assume this thread can be made closed?
(In reply to Lewis Cook from comment #4)
No, the IUTF8 addition is useful. I was merely asking about the other issues Maxim mentioned.
(In reply to Yuri Pankov from comment #5)
Gotcha, thanks. Skimmed over that part. It's safe to ignore my previous message. ;)