From: Samuel Bronson <naesten@gmail.com>
To: Michael Raitza <spacefrogg-emacs@instandbesetzt.net>
Cc: emacs-devel@gnu.org
Subject: Re: term/screen.el - screen terminfo/color setup
Date: Fri, 18 Nov 2011 16:29:24 -0500 [thread overview]
Message-ID: <CAJYzjmef7otrdVA_OyMvpr=QG+wAYdW0RS1zT+cgpgmDxX+7dA@mail.gmail.com> (raw)
In-Reply-To: <1318783815-sup-295@leandros>
On Sun, Oct 16, 2011 at 12:59 PM, Michael Raitza
<spacefrogg-emacs@instandbesetzt.net> wrote:
> Hi,
>
> the screen.el in bzr is incomplete as it just tries to impersonate xterm.
> The screen terminfo description defines its own (different from e.g.
> xterm) key bindings. As you can see my solution makes use of the
> COLORTERM environment variable (as does xterm.el itself) and correctly
> specifies the key bindings.
>
> One question: According to term/README the key binding for END should be
> [end], but everyone else seems to specify [select] there (See comment
> below in screen.el). Which one is correct?
So, you're saying that emacs can't just figure it out from the
terminfo and the following:
% cat ~/.emacs/term/screen.el
;;; From http://www.xvx.ca/~awg/emacs-colors-howto.txt
;;; This is for GNU Emacs 22
(defun terminal-init-screen ()
"Terminal initialization function for screen."
;; Use the xterm color initialization code.
(load "term/xterm")
(xterm-register-default-colors)
(tty-set-up-initial-frame-faces))
%
Because that seems to have worked pretty well for me in Emacs 22/23 so far.
prev parent reply other threads:[~2011-11-18 21:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-14 20:49 term/screen.el - screen terminfo/color setup Michael Raitza
2011-10-16 11:04 ` Thomas Hisch
2011-10-16 13:32 ` Carsten Mattner
[not found] ` <jwvy5wluek0.fsf-monnier+emacs@gnu.org>
2011-10-16 16:59 ` Michael Raitza
2011-11-05 20:22 ` Thomas Hisch
2011-11-09 17:20 ` Michael Raitza
2011-11-18 21:29 ` Samuel Bronson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJYzjmef7otrdVA_OyMvpr=QG+wAYdW0RS1zT+cgpgmDxX+7dA@mail.gmail.com' \
--to=naesten@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=spacefrogg-emacs@instandbesetzt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.