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

Re: rxvt TERM variable



> On Sun, Sep 27, 1998 at 07:14:09PM -0400, Alexander Stavitsky wrote:
> 
> > Latest version of rxvt uses "xterm-debian" for TERM -the same
> > as xterm.  Unfortunately, the handling of various keys (home/end)
> > differs from xterm to rxvt. I have can change the terminal rxvt
> > generates through xdefaults, but is it really correct way have default
> > terminal set to xterm-debian?  Should I file the bug against rxvt?

apenwarr@worldvisions.ca (Avery Pennarun) wrote:

> Sounds like a bug to me.  I'm using rxvt_2.4.5-8 and it still uses
> TERM=rxvt.  I don't see anything in the changelog.Debian relating to
> this, so I guess it was an accident.

This strange behavior was caused when I fixed a bug in rxvt so that it
uses termName as an option/Xresource instead of termname.  This change
was necessary to make rxvt consistent with the documented behavior in
it's manual page and to make it more consistent with xterm.

Note that when reading X resources, rxvt recognizes two class names:
XTerm and Rxvt.  The class name XTerm allows resources common to both
rxvt and xterm to be easily configured, while the class name Rxvt allows
resources unique to rxvt, notably colors and key-handling, to be shared
between different rxvt configurations.  If no resources are specified,
suitable defaults will be used.  By default, rxvt sets TERM to rxvt on
color screens and to rxvt-m on monochrome screens.

Therefore, with this bug fixed, rxvt now recognizes the termName resource
set in the /etc/X11/Xresources file supplied by the xbase package:

	! Make XTerm use Debian's customized terminfo entry.
	XTerm*termName: xterm-debian

I have reassigned the bug report to the xbase package which is responsible
for the incorrect TERM variable setting.


Reply to: