[Top][All Lists]

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

Re: rxvt vs xterm keybindings

From: Eli Zaretskii
Subject: Re: rxvt vs xterm keybindings
Date: Sat, 23 Jul 2005 12:44:03 +0300

> Cc: Eli Zaretskii <address@hidden>, address@hidden
> From: Stefan Monnier <address@hidden>
> Date: Fri, 22 Jul 2005 17:40:27 -0400
> - 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.

This is IMHO an extremely rare situation.  If we are worried about it,
we should find a solution for this situation alone, instead of
punishing the more frequent cases.

> I'd rather output a warning telling the user that she should not use
> TERM=xterm when running in an rxvt.

Such a warning during startup will almost certainly go unnoticed, as
many echo area messages are likely to be displayed then one after the

If we are looking for a warning-style solution, I'd rather do that in
your scenario of running xterm from within Emacs.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]