[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rxvt vs xterm keybindings
From: |
Stefan Monnier |
Subject: |
Re: rxvt vs xterm keybindings |
Date: |
Fri, 22 Jul 2005 17:40:27 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> > 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")
Let's say you have the following scenario:
- start a shell in an rxvt
- in the shell, type "xterm& RET"
- in the xterm, start "emacs -nw"
- in the Emacs you just started, I expect that (getenv "COLORTERM") matches
"\\`rxvt", so your code will wrongly think it's running in an rxvt whereas
it's actually running in an xterm.
I'd rather output a warning telling the user that she should not use
TERM=xterm when running in an rxvt.
Stefan
- rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/22
- Message not available
- Re: rxvt vs xterm keybindings, Dan Nicolaescu, 2005/07/22
- Re: rxvt vs xterm keybindings,
Stefan Monnier <=
- 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
- Re: rxvt vs xterm keybindings, Jan D., 2005/07/25
- Re: rxvt vs xterm keybindings, Richard M. Stallman, 2005/07/25