On 4/17/26 9:37 AM, Alan Mackenzie wrote:
Hello, readline.

I'm using readline 8.3_p3 and bash 5.3.9(1)-release on Linux 6.18.18,
with an up-to-date Gentoo GNU/Linux.

Background: I am trying to enhance the Linux virtual terminal to handle
full-width glyphs.

A problem I encountered with (probably) readline is reproducible on a
release kernel:

To reproduce:
(i) At the bash command line, type (with auto-repeat) any character
   almost to the end of the screen line (240 columns in my case).
(ii) Insert a full width character, for example U+2614 (UMBRELLA WITH
   RAIN DROPS) by holding <AltGr> and typing "2614" on the numeric keypad.
   This will be displayed as an inverse-video question mark followed by a
   space.

You're saying the terminal can't display the character yet?

(iii) Type "abc" directly after this full width character.  "c" should be
   the last character on the line.
(iv) Type <Ctrl-a>, and type further characters or press <Delete> until
   the U+2614's ? is at the right edge of the screen.  The "abc" will be
   on a continuation line.

(v) Type <Ctrl-e> to go to EOL.  There is a spurious space between the
   "c" and the cursor.  This looks like a bug.

I can't reproduce this using macOS Terminal, which correctly displays the
Unicode character. I imagine your terminal will, too, when you're
finished.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    [email protected]    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to