unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: thomas <thomas.bsd@gmail.com>
Subject: Re: keyboard translate
Date: Sat, 7 Jan 2006 16:44:42 +0100	[thread overview]
Message-ID: <2753bafa0601070744y2d238a55xe273cc60a40500d7@mail.gmail.com> (raw)
In-Reply-To: <20060107151727.24714.qmail@mail01.vipmail.hu>

On 1/7/06, Emabela <emabela@vipmail.hu> wrote:
> the home key produces ESC [ 1 ~ and is not recognized.
> I tried
> (define-key function-key-map "\e[1~" [home])
> but it has no effect

This is my .emacs and it solved the problem for me, try to adapt it :
(if window-system
    (set-terminal-coding-system 'iso-8859-15-unix)
    (set-keyboard-coding-system 'iso-8859-15-unix)
    (set-language-environment 'Latin-9)
    (define-key function-key-map "\e[7~" [home])
    (define-key function-key-map "\e[8~" [select])
    (define-key function-key-map "\e[7^" [ctl_home])
    (define-key function-key-map "\e[8^" [ctl_select])
    (global-set-key [select] 'end-of-line)
    (global-set-key [home] 'beginning-of-line)
    (global-set-key [ctl_home] 'beginning-of-buffer)
    (global-set-key [ctl_select] 'end-of-buffer))

Regards

  reply	other threads:[~2006-01-07 15:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-07 15:17 keyboard translate Emabela
2006-01-07 15:44 ` thomas [this message]
     [not found] <mailman.261.1136647273.26925.help-gnu-emacs@gnu.org>
2006-01-09  4:04 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2011-06-21 17:07 Keyboard Translate Valentin Plechinger

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2753bafa0601070744y2d238a55xe273cc60a40500d7@mail.gmail.com \
    --to=thomas.bsd@gmail.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).