Package: screen
Version: 4.0.3-14
Severity: normal

With the attached file mscreen2.log (obtained from Xterm log)
and UTF-8 locales:

1. screen sh -c "cat mscreen2.log; sleep 999"
2. Detach the session.
3. Resume the session.

After (1), I get:

q:Quit  d:Del  u:Undel  s:Save  m:Mail  r:Reply  g:Group  ?:Help
   1 N   Jan 12 [email protected] (  22) mail 1
2 N   Jan 12 [email protected] (  0K) tr:re: CONFIRMATIONNN‏NN‏N‏‏NN‏N‏‏N

After (3), I get:

   1 N   Jan 12 [email protected] (  22) mail 1
2 N   Jan 12 [email protected] (  0K) tr:re: CONFIRMATION

This is different! In particular, the first line has disappeared.

Note: the UTF-8 seems to be valid (iconv doesn't complain).

To try directly with Mutt, see the attached file mscreen2, which
is a mbox file telling what to do.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages screen depends on:
ii  dpkg          1.16.1.2
ii  install-info  4.13a.dfsg.1-8
ii  libc6         2.13-24
ii  libncursesw5  5.9-4
ii  libpam0g      1.1.3-6

screen recommends no packages.

screen suggests no packages.

-- no debconf information
Reading mscreen2... 0
Sorting mailbox...[?25l
q:Quit  d:Del  u:Undel  
s:Save  m:Mail  r:Reply  g:Group  ?:Help                
   1 N   Jan 12 [email protected] (  22) mail 1                                   
   
2 N   Jan 12 [email protected] (  0K) tr:re: 
CONFIRMATIONN‏N‏‏N‏‏‏N‏‏‏‏
-%-Mutt: mscreen2 [Msgs:2 New:2 
1.3K]---(date/date)---------------------(all)---
>From [email protected] Thu Jan 12 15:11:15 2012
Date: Thu, 12 Jan 2012 15:10:50 +0100
From: [email protected]
To: [email protected]
Subject: mail 1
MIME-Version: 1.0
Content-type: text/plain

With Mutt 1.5.21+52 (c26dbc7021f4) (2011-07-01):

1. Start screen and open this mailbox, e.g. with
     screen mutt -R -F /dev/null -f <this_file>
   One gets:

q:Quit  d:Del  u:Undel  s:Save  m:Mail  r:Reply  g:Group  ?:Help
   1 N   Jan 12 [email protected] (   4) mail 1
   2 N   Jan 12 [email protected] (  0K) tr:re: CONFIRMATIONN‏N‏‏N‏‏‏‏

2. Detach the session.

3. Resume the session. One gets only:

   1 N   Jan 12 [email protected] (  11) mail 1
   2 N   Jan 12 [email protected] (  0K) tr:re: CONFIRMATION

4. Type the down arrow key. One gets:

   1 N   Jan 12 [email protected] (  11) mail 1
   1 N   Jan 12 [email protected] (  14) mail 1
   2 N   Jan 12 [email protected] (  0K) tr:re: CONFIRMATIONN‏N‏‏N

>From [email protected] Thu Jan 12 15:18:23 2012
Date: Thu, 12 Jan 2012 15:18:09 +0100 (CET)
From: [email protected]
To: [email protected]
Subject: =?UTF-8?Q?tr:re:_CONFIRM?= =?UTF-8?Q?ATION=E2=80=8F=E2=80=8F?=
 =?UTF-8?Q?=E2=80=8F=E2=80=8F=E2=80=8F=E2=80=8F?=
 =?UTF-8?Q?=E2=80=8F=E2=80=8F=E2=80=8F=E2=80=8F?=
MIME-Version: 1.0
Content-type: text/plain

Reply via email to