unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@elta.co.il>
Subject: Re: can't global-set-key in emacs -nw
Date: 01 Feb 2004 08:33:38 +0200	[thread overview]
Message-ID: <u65erl35p.fsf@elta.co.il> (raw)
In-Reply-To: <m3d68zprrc.fsf@localhost.localdomain> (message from Joel Smith on Sun, 01 Feb 2004 00:27:42 GMT)

> Newsgroups: gnu.emacs.help
> From: Joel Smith <joelvsmith@earthlink.net>
> Date: Sun, 01 Feb 2004 00:27:42 GMT
> 
> using xterm or aterm i can't set any keys using the shift key.  for
> example 
> 
> (global-set-key [(shift right)] "\C-e")
> 
> won't do anything in aterm.  in xterm it inserts 2C.  
> 
> resetting the home, end keys doesn't work, and backspace starts help
> in aterm.  it's fine in xterm.  

You need to set up your keyboard configuration (sorry, I don't know
how exactly).  Using "C-h l", you will see that Emacs doesn't get any
useful key codes when you press the problematic keys.

> finally the mouse doesn't work.  

You mean, it doesn't work in Emacs?  If so, you will have to set up
xt-mouse.el, I think.  Basically, Emacs doesn't support the mouse on a
text terminal without some package such as xt-mouse.

  reply	other threads:[~2004-02-01  6:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-01  0:27 can't global-set-key in emacs -nw Joel Smith
2004-02-01  6:33 ` Eli Zaretskii [this message]
2004-02-01 16:56 ` Stefan Monnier
2004-02-01 22:57   ` Peter Heslin
2004-02-02  0:44     ` Stefan Monnier
2004-02-02 21:04       ` Peter Heslin

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=u65erl35p.fsf@elta.co.il \
    --to=eliz@elta.co.il \
    /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).