Your message dated Thu, 16 Jun 2005 23:47:04 -0400
with message-id <[EMAIL PROTECTED]>
and subject line Bug#236541: fixed in kterm 6.2.0-45
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 6 Mar 2004 21:25:35 +0000
>From [EMAIL PROTECTED] Sat Mar 06 13:25:35 2004
Return-path: <[EMAIL PROTECTED]>
Received: from cpc2-cmbg4-5-0-cust237.cmbg.cable.ntl.com (nessus) 
[81.96.73.237] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1AzjIc-0003WR-00; Sat, 06 Mar 2004 13:25:34 -0800
Received: from vivek by nessus with local (Exim 3.35 #1 (Debian))
        id 1AzjIY-0000Vr-00
        for <[EMAIL PROTECTED]>; Sat, 06 Mar 2004 21:25:30 +0000
To: Debian Bug Tracking System <[EMAIL PROTECTED]> 
Subject: kterm: missing ST terminated OSC sequence support 
X-Debbugs-CC: Vivek Dasmohapatra <[EMAIL PROTECTED]>
User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory?=
 =?ISO-8859-4?Q?=F2mae?=) APEL/10.3 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0
 (SAKAKI)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=US-ASCII
Message-Id: <[EMAIL PROTECTED]>
From: Vivek Dasmohapatra <[EMAIL PROTECTED]>
Date: Sat, 06 Mar 2004 21:25:30 +0000
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_05 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=HAS_PACKAGE,X_DEBBUGS_CC 
        autolearn=no version=2.60-bugs.debian.org_2004_03_05
X-Spam-Level: 

Package: kterm
Version: 6.2.0-43
Severity: normal

The OSC (operating system control) sequences used to be terminated by BEL
(0x07), however, according to the terminal escape sequences documentation
from XFree86 (see below) and the xterm source itself, these sequences are
deprecated, and replaced with ones ending in ST (ESC 0x5c).

    http://rtfm.etla.org/xterm/ctlseq.html#OSC%20Ps%20;%20Pt%20ST

The attached patch allows kterm to recognise ST terminated OSC sequences:
It is relatively non-invasive - if the last character read was ESC, it
attempts to read one more character, and if this is 0x5c ('\\') it sets
the last-char-read variable to BEL, which is what the rest of the code
expects to see.

-- System Information
Debian Release: 3.0
Kernel Version: Linux nessus 2.4.21 #1 SMP Tue Jun 24 02:26:06 BST 2003 i686 
unknown

Versions of the packages kterm depends on:
ii  libc6          2.2.5-11.5     GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.2.20020112a- Shared libraries for terminal handling
ii  libxaw7        4.3.0-0ds3v1a  X Athena widget set library
ii  ncurses-term   5.2.20020112a- Additional terminal type definitions
ii  xlibs          4.3.0-0ds3v1a  X Window System client libraries

===File ~/src/c/kterm-misc.c.patch==========================
--- kterm-6.2.0.old/misc.c      Sat Mar  6 20:59:55 2004
+++ kterm-6.2.0.new/misc.c      Sat Mar  6 21:03:06 2004
@@ -777,6 +777,12 @@
        cp = buf;
        while(isprint((c = (*func)()) & 0x7f) && cp < bufend)
                *cp++ = c;
+
+       /* new OSC sequences end in ESC 0x5c instead of BEL        */
+       if( (c & 0x7f) == ESC         && /* this char is ESC       */
+           ((*func)() & 0x7f) == '\\' ) /* next char is 0x5c '\\' */
+               c = 7;                   /* then equivalent to BEL */
+
        if (c != 7) okay = False;
        *cp = 0;
        if (okay) switch(mode) {
============================================================

---------------------------------------
Received: (at 236541-close) by bugs.debian.org; 17 Jun 2005 03:51:36 +0000
>From [EMAIL PROTECTED] Thu Jun 16 20:51:36 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1Dj7tI-0002uh-00; Thu, 16 Jun 2005 20:51:36 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1Dj7ou-0000Pz-00; Thu, 16 Jun 2005 23:47:04 -0400
From: ISHIKAWA Mutsumi <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#236541: fixed in kterm 6.2.0-45
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Thu, 16 Jun 2005 23:47:04 -0400
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Source: kterm
Source-Version: 6.2.0-45

We believe that the bug you reported is fixed in the latest version of
kterm, which is due to be installed in the Debian FTP archive:

kterm_6.2.0-45.diff.gz
  to pool/main/k/kterm/kterm_6.2.0-45.diff.gz
kterm_6.2.0-45.dsc
  to pool/main/k/kterm/kterm_6.2.0-45.dsc
kterm_6.2.0-45_i386.deb
  to pool/main/k/kterm/kterm_6.2.0-45_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
ISHIKAWA Mutsumi <[EMAIL PROTECTED]> (supplier of updated kterm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri, 17 Jun 2005 12:18:57 +0900
Source: kterm
Binary: kterm
Architecture: source i386
Version: 6.2.0-45
Distribution: unstable
Urgency: low
Maintainer: ISHIKAWA Mutsumi <[EMAIL PROTECTED]>
Changed-By: ISHIKAWA Mutsumi <[EMAIL PROTECTED]>
Description: 
 kterm      - Multi-lingual terminal emulator for X
Closes: 236541
Changes: 
 kterm (6.2.0-45) unstable; urgency=low
 .
   * ST terminated OSC sequence support, closes: #236541
   * cleanup debian/rules, drop debian/conffiles and add
     debian/compat to adapt current debhelper.
   * menu path migration (/usr/lib/menu/kterm -> /usr/share/menu/kterm)
   * update build-depends: debhelper (>= 4.9.1) (for migration menu path)
Files: 
 58d38ba30478103de0e84c0d082e9041 694 x11 extra kterm_6.2.0-45.dsc
 f57f9c61c52c6ad12add6b34a3a2b753 31376 x11 extra kterm_6.2.0-45.diff.gz
 06082fb2793e01d393a81fb301e6cfe4 106042 x11 extra kterm_6.2.0-45_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iEYEARECAAYFAkKyQtAACgkQfi8w7uypT6h6OACgpjk79/CbrtRGv0R8mbWuUJu8
7MgAn3dbfJ04+RATEsw7Efv7eEfada0U
=uc4U
-----END PGP SIGNATURE-----


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

Reply via email to