Package: screen Version: 4.0.3-14 Followup-For: Bug #621804 I noticed that upstream hasn't fixed this yet, and it's quite annoying for screen to not work unless I play with $TERM and the terminfo database. The patch attached to the upstream bug only increases the length of this buffer by one byte, which I suppose fixes the rxvt-unicode-256color problem, but I thought 32 bytes would be a nice number and would allow for some future terminal emulator with a long name. rxvt-unicode-16384color or something :)
diff --git a/src/display.h b/src/display.h index e8b3b80..1c3ff94 100644 --- a/src/display.h +++ b/src/display.h @@ -73,7 +73,7 @@ struct display struct win *d_other; /* pointer to other window */ int d_nonblock; /* -1 don't block if obufmax reached */ /* >0: block after nonblock secs */ - char d_termname[20 + 1]; /* $TERM */ + char d_termname[31 + 1]; /* $TERM */ char *d_tentry; /* buffer for tgetstr */ char d_tcinited; /* termcap inited flag */ I've been using a custom package with this patch applied for a month or so, and it doesn't seem to have any adverse effects. Please consider applying to the Debian package until upstream is fixed. Also, if the issue is that we want to dynamically allocate this buffer, let me know, and I will do that. I have not done that yet because I'm lazy and I feel it's unnecessary, but I can be convinced otherwise :) Thanks! Regards, Jonathan Rockway -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.37-2-amd64 (SMP w/8 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.15.8.10 Debian package management system ii install-info 4.13a.dfsg.1-6 Manage installed documentation in ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib ii libncursesw5 5.7+20100313-5 shared libraries for terminal hand ii libpam0g 1.1.2-2 Pluggable Authentication Modules l screen recommends no packages. screen suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org