Package: rxvt
Version: 1:2.6.4-13
Severity: normal

In a 80-column rxvt, 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 mlterm 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 rxvt depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libx11-6                      2:1.0.3-7  X11 client-side library
ii  libxpm4                       1:3.5.7-1  X11 pixmap library

rxvt recommends no packages.

-- 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