Control: retitle -1 screen: corrupt display due to the U+200F character 
(RIGHT-TO-LEFT MARK) or similar
Control: found -1 4.9.0-1

On 2013-05-08 22:36:31 +0200, Vincent Lefevre wrote:
> This problem still occurs. I've seen it again on a spam. This
> introduced a shift in the message index display of my mailbox,
> so that when I wanted to delete a mail, it was the next one that
> was actually selected for deletion! This means that I could have
> lost mail if I didn't look at this more closely!
> 
> I've built a second testcase (attached) based on this:
> 
> 1. Open a 80x7 terminal (e.g. xterm).
> 2. screen mutt -F mscreen2b.muttrc -f mscreen2b
> 3. Type <PageDown> (next-page).
> 4. Type ^L (refresh).
[...]

There has been a workaround in Mutt, so that this should no longer
occur in Mutt (but possibly in other curses applications).

Yesterday I received another spam yielding the same kind of issue,
this one with U+061C ARABIC LETTER MARK characters:

  https://gitlab.com/muttmua/mutt/-/issues/413

The issue can be reproduced in the following way without needing Mutt:

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.

I've attached 2 screenshots:
  * screen-061c-1.png (just before the resize)
  * screen-061c-2.png (just after the resize)

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to