bugGNU Screen - Bugs: bug #62971, bad handling of double-width...

 
 

bug #62971: bad handling of double-width characters

Submitter:  Vincent Lefèvre <vinc17>
Submitted:  Sun 28 Aug 2022 09:57:05 AM UTC
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.9.0
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Sun 28 Aug 2022 10:04:25 AM UTC, comment #1: 

There is a bug on Savannah, which truncates the report before the offending character!

With GNU Screen 4.09.00 under Debian/unstable, the double-width characters are not handled correctly.

For instance, run "screen sh", then resize the window to 35 columns (an odd number of columns), then type "cat > /dev/null" and 20 times the character U+1F3E0 HOUSE BUILDING (I can't give the raw Unicode character due to the bug on Savannah). I get

xxxxxxxxxxxxxxxxx
xxx

where I've replaced the U+1F3E0 character by "x", which is normal. But if I increase the width by one column, I still get that instead of

xxxxxxxxxxxxxxxxxx
xx

And if I increase the width again by several columns, I get

xxxxxxxxxxxxxxxxx xxx

i.e. with a space between the first 17 characters and the last 3.

And if I decrease the width again so that only the left part of the U+1F3E0 character should appear, I actually see only the right part in the terminal's margin (i.e. a few pixels).

Vincent Lefèvre <vinc17>
Sun 28 Aug 2022 09:57:05 AM UTC, original submission:  

With GNU Screen 4.09.00 under Debian/unstable, the double-width characters are not handled correctly.

For instance, run "screen sh", then resize the window to 35 columns (an odd number of columns), then type "cat > /dev/null" and 20 times the character "

Vincent Lefèvre <vinc17>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vinc17 (Submitted the item)
  •  

    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.

     

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.9