Package: mlterm
Version: 2.9.4-2
Severity: normal

In a 80-column mlterm, type:

  echo `seq 0 32` | grep --color=always 30

I get the following:

[...] 27 28 293
0 31 32

(with "30" colored as expected) instead of:

[...] 27 28 29
30 31 32

Note: xterm and rxvt have the same problem, but neither gnome-terminal
nor xfce4-terminal.

I've attached a color.out file obtained with the following commands:
  echo `seq 0 32` | grep 30
  echo `seq 0 32` | grep --color=always 30

You can "cat" it to reproduce the bug.

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

Kernel: Linux 2.6.24.4-20080326 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages mlterm depends on:
ii  libc6                       2.7-10       GNU C Library: Shared libraries
ii  libfontconfig1              2.5.0-2      generic font configuration library
ii  libfribidi0                 0.10.9-1     Free Implementation of the Unicode
ii  libglib2.0-0                2.16.3-2     The GLib library of C routines
ii  libgtk2.0-0                 2.12.9-3     The GTK+ graphical user interface 
ii  libice6                     2:1.0.4-1    X11 Inter-Client Exchange library
ii  libsm6                      2:1.0.3-1+b1 X11 Session Management library
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxft2                     2.1.12-2     FreeType-based font drawing librar
ii  mlterm-common               2.9.4-2      MultiLingual TERMinal, common file

Versions of packages mlterm recommends:
ii  mlterm-tools                  2.9.4-2    MultiLingual TERMinal, additional 

-- no debconf information
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 
30 31 32
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 
30 31 32

Reply via email to