[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rxvt vs xterm keybindings
From: |
Dan Nicolaescu |
Subject: |
rxvt vs xterm keybindings |
Date: |
Fri, 22 Jul 2005 08:57:51 -0700 |
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
- rxvt vs xterm keybindings,
Dan Nicolaescu <=
- Message not available
- Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/22
- Re: rxvt vs xterm keybindings, Stefan Monnier, 2005/07/22
- Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/22
- Re: rxvt vs xterm keybindings, Eli Zaretskii, 2005/07/23
- Re: rxvt vs xterm keybindings, Richard M. Stallman, 2005/07/23
- Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/23
- Re: rxvt vs xterm keybindings, Eli Zaretskii, 2005/07/23
- Re: rxvt vs xterm keybindings, Richard M. Stallman, 2005/07/24
- Re: rxvt vs xterm keybindings, Eli Zaretskii, 2005/07/24
- Re: rxvt vs xterm keybindings, Richard M. Stallman, 2005/07/24