Package: screen
Version: 4.1.0~20120320gitdb59704-7
Severity: normal

I dug a bit deeper and discovered that the problem is that the Linux
console is being erroneously detected as an xterm.  You can confirm this
by running :dinfo and noting xterm in the output.  I traced it back to
this code from termcap.c:

      if (InStr(D_termname, "xterm") || InStr(D_termname, "rxvt") ||
          (D_CKM && InStr(D_CKM, "\033[M")))
        D_CXT = 1;

The Km capability (which relates to the mouse) is set to "\033[M" for
the Linux console, causing this conditional to return true.

I don't know what the fix is, but I do know this .screenrc workaround
fixes it:

    termcapinfo linux* Km@

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, 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.8          Debian package management system
ii  install-info             4.13a.dfsg.1-10 Manage installed documentation in 
ii  libc6                    2.13-35         Embedded GNU C Library: Shared lib
ii  libpam0g                 1.1.3-7.1       Pluggable Authentication Modules l
ii  libtinfo5                5.9-10          shared low-level terminfo library 

screen recommends no packages.

Versions of packages screen suggests:
pn  iselect | screenie | byobu    <none>     (no description available)

-- debconf information:
* screen/410-upgrade:
  screen/403-copy-failed:


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to