Package: screen
Version: 4.5.0-6
Severity: normal

Dear Maintainer,


When I open mutt (with some UTF-8 emails) in one window, it displays ok. 
Now I create new terminal with ctrl-a, c it is still ok.
However when I switch back to mutt window with ctrl-a a, it is corrupted. 
(see attached pics - before and after ctrl-a a)

So far I've only seen this bug with screen + mutt.

- this problem was seen in Stretch, and did not seem to appear in Jessie
- my LANG=hr_HR.UTF-8 both before and after starting screen
- forcing screen -U does not fix the problem
- if emails in mutt do not contain UTF-8 chars, there is no bug. 
  There also seems to be no bug if there are SOME UTF-8 letters (like č 
etc) but fails with other UTF-8 chars.
- ~/.muttrc is either empty or with 'set charset="utf-8"' - same problem
  if I set it to ASCII then there is no UTF-8 chars shown and no bug of course.
- It happens independent of xterm used (xterm, uxterm, lxterminal, stterm)
- my TERM=xterm before starting screen, and TERM=screen after starting it.
  If I start mutt with "TERM=screen.linux mutt" screen is still buggy.
  But if I start mutt with "TERM=xterm mutt" it works aroung the bug 
  (but display is not as nice, as selector line is not whole line length but 
just length of text)
- out of X11 in Linux text console, TERM=linux before starting screen and 
TERM=screen.linux after starting it.
  mutt also works fine in Linux text console.
- if I run mutt in tmux instead of screen (which also seems to use 
TERM=screen), switching works normally without corruption.



-- System Information:
Debian Release: 9.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=hr_HR.UTF-8, LC_CTYPE=hr_HR.UTF-8 (charmap=UTF-8), 
LANGUAGE=hr_HR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages screen depends on:
ii  libc6      2.24-11+deb9u1
ii  libpam0g   1.1.8-3.6
ii  libtinfo5  6.0+20161126-1

screen recommends no packages.

Versions of packages screen suggests:
pn  byobu | screenie | iselect  <none>
ii  ncurses-term                6.0+20161126-1

-- no debconf information

Reply via email to