Package: screen
Version: 4.0.2-4.1
Severity: normal
screen's so-called "rxvt_osc" option (actually xterm control sequences)
includes handling for OSC parameters 0 and 1. Referring to ctlseqs.ms,
these parameters are of interest:
Ps = 0 -> Change Icon Name and Window Title to Pt
Ps = 1 -> Change Icon Name to Pt
Ps = 2 -> Change Window Title to Pt
screen allows 0 and 1 (it should allow 2, but it is not used as often,
and screen's code is unpalatable). However, it maps the 0 into 1,
setting only the icon name. That isn't useful and is opposite to the
normal sense these control sequences would be used in. It's a one-line
fix to address that (see below).
Also while I'm here, adding a comment to misc.c to note that I fixed a problem
in ncurses long ago (screen's maintainers declined to acknowledge that).
# ------------------------------------------------------------------------------
# display.c | 2 +-
# misc.c | 13 +++++++++++++
# 2 files changed, 14 insertions(+), 1 deletion(-)
# ------------------------------------------------------------------------------
Index: display.c
--- screen-4.0.2/display.c 2003-12-05 13:45:41.000000000 +0000
+++ screen-4.0.2-20051225/display.c 2005-12-25 16:43:26.000000000 +0000
@@ -3053,7 +3053,7 @@
int i;
char *s;
{
- static char oscs[] = "1;\000\00020;\00039;\00049;\000";
+ static char oscs[] = "0;\000\00020;\00039;\00049;\000";
ASSERT(display);
if (!D_CXT)
Index: misc.c
--- screen-4.0.2/misc.c 2003-12-05 13:45:41.000000000 +0000
+++ screen-4.0.2-20051225/misc.c 2005-12-25 17:19:43.000000000 +0000
@@ -652,6 +652,19 @@
* zeros but sleeps instead. This breaks CalcCost, of course.
* Also, the ncurses wait functions use a global variable
* to store the current outc function. Oh well...
+ *
+ * This comment dates from late 1998. See ncurses NEWS (990102):
+ *
+ * + provide support for termcap ospeed variable by copying it from the
+ * internal cur_term member, and using ospeed as the baudrate reference
+ * for the delay_output and tputs functions. If an application does not
+ * set ospeed, the library behaves as before, except that _nc_timed_wait
+ * is no longer used, or needed, since ospeed always has a value. But
+ * the application can modify ospeed to adjust the output of padding
+ * characters (from a bug report for screen 3.7.6 and email from Michael
+ * Schroeder <[EMAIL PROTECTED]>).
+ *
+ * Also read the source code for delay_output() -TD
*/
int (*save_outc) __P((int));
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-td2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages screen depends on:
ii base-passwd 3.5.10 Debian base system master password
ii debconf 1.4.65 Debian configuration management sy
ii libc6 2.3.5-8 GNU C Library: Shared libraries an
ii libncursesw5 5.5-1 Shared libraries for terminal hand
ii libpam0g 0.79-3 Pluggable Authentication Modules l
ii passwd 1:4.0.13-7 change and administer password and
screen recommends no packages.
-- debconf information:
screen/old_upgrade_prompt: false
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]