On Thu, Dec 09, 2010 at 06:24:10PM -0500, micah anderson wrote:
> On Thu, 9 Dec 2010 22:11:32 +0100, Marc Lehmann <schm...@schmorp.de> wrote:
> > On Thu, Dec 09, 2010 at 11:23:25AM -0500, micah anderson <mi...@riseup.net> 
> > wrote:
> > > Are you sure about "rxvt-unicode-256color" being portable? This is what
> > 
> > Yes.
> > 
> > > I get when I connect to a lenny system and set that TERM value:
> > 
> > Lenny is, of course, antique - it predates the 256 color support in urxvt,
> > and obviously cannot have that terminfo file.
> 
> It may be antique, but it is still Debian Stable, and I regularly login
> to several hundred production servers that track stable and will
> continue to do so until the next stable release is available.
> 
> > > micah:~$ export TERM=rxvt-unicode-256color
> > > micah:~$ screen -d -R
> > > $TERM too long - sorry.
> > 
> > That's obviously bug in screen that you should probably report.

Indeed

> and in less?
> 
> mi...@~$ less /var/log/blah
> WARNING: terminal is not fully functional

That is because the terminfo entry isn't installed. And wrt your issue
with logging into older systems, here is how I fix it, because it also
breaks (with previous urxvt) when you login into anything else than
Debian (e.g. a redhat):


$ find .config/terminfo
.config/terminfo/
.config/terminfo/r
.config/terminfo/r/rxvt-unicode

and in my ~/.zshenv (read .bash_profile I guess for bash) I have this
snipplet:

if test -z "$TERMINFO"; then
    export TERMINFO=$HOME/.config/terminfo
    export TERM=$TERM
fi


I of course install that .confing/terminfo when I setup my account on any
machine and it just works as soon as you have the proper terminfo file.
It's probably a good idea to explain all of that in the urxvt
README.Debian because it's *already* a common problem for many people
using urxvt :)

Marc is right in the sense if urxvt ships a terminfo entry, it should be
installed (though he's a total asshole about the whole issue), and I
just explained how to achieve "portability" on other distros.


So if there indeed is a rxvt-unicode-256color terminfo in urxvt source
package, it should be installed in the proper terminfo database, and use
rxvt-unicode-256color as its TERM. When I suggested rxvt-256color it was
because it's what I did on my system assuming that there wasn't a
256color enabled terminfo file existing for rxvt-unicode *yet*.

Marc you could (should!) have just said so instead of gratuitously
abuse the maintainer.
-- 
·O·  Pierre Habouzit
··O                                                madco...@debian.org
OOO                                                http://www.madism.org



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to