bugGNU Screen - Bugs: bug #43145, Text order marks cause corrupted...

 
 

bug #43145: Text order marks cause corrupted display

Submitter:  None
Submitted:  Thu 04 Sep 2014 05:10:55 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  Cur Dev Sources
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 26 May 2022 02:48:53 AM UTC, comment #2: 

In the Debian package, if I add "{ 0x061C, 0x061C }," to the "combining" table in encoding.c, this makes the issue with this character disappear. But I don't know whether this is the right fix.

Vincent Lefèvre <vinc17>
Wed 25 May 2022 10:20:50 PM UTC, comment #1: 

In https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655589#34 the following reproducer has been posted by Vincent Lefevre:

-----------------------------------------------------------------
In a 80-column xterm, execute "screen bash", then

  for i in `seq 60` ; do printf 'a\u061c\u061c' ; done ; echo

then reduce the terminal window by one line. This has the effect
to duplicate the prompt and move the status line 2 lines above.
-----------------------------------------------------------------

This is reproducible in 4.9.0-1 as currently in Debian Unstable/Testing.

I additionally noticed that, if you had multiple terminals open in a split screen layout, the layout is gone and only one window is displayed inside the Screen session. This can be simply reproduced by pressing "C-a S" before executing the above command, but might need a hardstatus status line to be present.

In my case I have

hardstatus alwayslastline "%H: %n %t | %w | %l | %c:%s"

configured.

Axel Beckert <abe>
Thu 04 Sep 2014 05:10:55 PM UTC, original submission:  

When applications output U+200F RIGHT-TO-LEFT MARK or U+200E LEFT TO RIGHT MARK, screen's display becomes garbled. These are reasonably common in e-mail and somewhat less so in web pages.

If you have w3m, the attached HTML file will demonstrate the problem with the latest version in HEAD (as of this writing). Debian bug #655589 contains materials for demonstrating the problem by catting a recorded session or by using mutt.

See also: https://bugs.debian.org/655589

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #32025:  minimal-example.html added by None (974B - text/html)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vinc17 (Posted a comment)
  • -email is unavailable- added by abe (Posted a comment)
  •  

    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
    2014-09-04 None Attached File- Added minimal-example.html, #32025

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code