It seems that quite often users of the rxvt terminal set the TERM
variable to "xterm". This causes Emacs to load term/xterm.el.
Unfortunately the strings emitted by the different keys are
not the same for xterm and rxvt, so loading term/xterm.el is not very
useful for an rxvt user.
There is a way to distinguish a "real" xterm from an rxvt terminal
(see at the end of term/xterm.el):
(and (getenv "COLORTERM")
(string-match "\\`rxvt" (getenv "COLORTERM"))
....
How about we put something like that at the beginning of term/xterm.el
and do
(if (and (getenv "COLORTERM")
(string-match "\\`rxvt" (getenv "COLORTERM")))
(load "term/rxvt")
THE REST OF TERM/XTERM.EL
)
Thoughts?
Thanks
--dan
_______________________________________________
Emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug