[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#351872: urxvt-unicode missing terminfo

Package: rxvt-unicode
Version: 5.6-1
Severity: normal
Tags: patch

rxvt-unicode package does not install terminfo.  The rxvt-unicode
website has a FAQ for this problem

The quick and dirty fix is to set TERM=xterm, but causes some trouble.  For
example, when PS1 contains escape sequences, then typing commands with
backslashes can quote them and cause them to print.  My PS1 is
'\[\033[0m\]\[\033[1m\][\u@\h \W](\j)\$ \[\033[0m\]\[\033[0m\]'.  If I
type <backslash><enter><enter> at the prompt, I get '0m[jpkotta@euler
~](0)$' at the next prompt ('0m' should not be there).  The prompt is
wrong until I do <backslash><backslash><enter>.

Correct fix is to add terminfo: `infocmp -C rxvt-unicode > /tmp/ti ;
tic /tmp/ti ; rm
ti` or reinstall with `make install` instead of the .deb.

-- System Information:
Debian Release: testing/unstable
 APT prefers breezy-updates
 APT policy: (500, 'breezy-updates'), (500, 'breezy-security'), (500, 'breezy')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-10-686-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages rxvt-unicode depends on:
ii  base-passwd       3.5.10                 Debian base system master password
ii  libc6             2.3.5-1ubuntu12        GNU C Library: Shared libraries an
ii  libfontconfig1    2.3.2-1ubuntu4         generic font configuration library
ii  libfreetype6      2.1.7-2.4ubuntu1       FreeType 2 font engine, shared lib
ii  libgcc1           1:4.0.1-4ubuntu9       GCC support library
ii  libx11-6          1:6.2.1+cvs.20050722-8 X11 client-side library
ii  libxft2           2.1.7-1ubuntu5         FreeType-based font drawing librar
ii  libxrender1       1:0.9.0-1              X Rendering Extension client libra
ii  ncurses-base      5.4-9ubuntu4           Descriptions of common terminal ty
ii  zlib1g            1:1.2.3-3ubuntu4       compression library - runtime

rxvt-unicode recommends no packages.

-- no debconf information

Reply to: