bugGNU Screen - Bugs: bug #64659, Bad cursor offset with UTF-8...

 
 

bug #64659: Bad cursor offset with UTF-8 combining characters

Submitter:  None
Submitted:  Tue 12 Sep 2023 11:55:30 PM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.9.1
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 12 Sep 2023 11:55:30 PM UTC, original submission:  

When outputting text with UTF-8 combining characters, such as diacritics, the resulting cursor position appears to be internally inconsistent.

I'm attaching a test program that produces different output between Screen and directly in the outer terminal. The displayed text will also change within GNU Screen itself depending on how it gets redrawn (scrolling one line at a time vs. with pgup/pgdn, or switching between panes).

I don't think this is the same as bug #51890 or bug #63634, though it may be related.

Thanks for maintaining GNU Screen!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55132:  combining.c added by None (4KiB - text/x-csrc - Test program that prints the letter 'A' with various diacritics)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2023-09-12 None Attached File- Added combining.c, #55132

Back to the top

Powered by Savane 3.14-f13d.
Corresponding source code