unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: home and end not working Debian Sarge
Date: Tue, 12 Jul 2005 17:59:29 +0200	[thread overview]
Message-ID: <5b21e924837ae5f8af0c5c8355ce3606@Web.DE> (raw)
In-Reply-To: <87acksji6r.fsf@magma.ca>


Am 12.07.2005 um 14:57 schrieb Angelina Carlton:

> The Sarge box has no X installed, I ssh into it. On the command line,
> outside emacs, C-v(home) C-v(end) both produce ^[[7~^[[8~ on both
> computers so it seems my terminals are set up properly.
>

I think you should make Emacs to load "vt220" or whatever emulation is 
active when in some terminal (or window-system is nil).

Look into /usr/local/share/emacs/<version>/lisp/term/vt100.el and then 
/usr/local/share/emacs/<version>/lisp/term/lk201.el how they translate 
multi-byte sequences like ^[[7~ or \e[7~ to something useful like home 
or end. If not (I just looked into lk201.el) just add it into your VT 
or terminal specific file. Copy one of them to a new file name 
according to the terminal (or emulation) type and then add your unknown 
keys there!

--
Greetings

   Pete

One doesn't expect governments to obey the law because of some
higher moral development.  One expects them to obey the law because
they know that if they don't, those who aren't shot will be hanged.
                                                  --Michael Shirley

  reply	other threads:[~2005-07-12 15:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-12 12:57 home and end not working Debian Sarge Angelina Carlton
2005-07-12 15:59 ` Peter Dyballa [this message]
2005-07-12 18:55   ` Angelina Carlton

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=5b21e924837ae5f8af0c5c8355ce3606@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    /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).