unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu>
Subject: Re: S-up and emacs -nw?
Date: 13 Oct 2002 17:09:41 -0400	[thread overview]
Message-ID: <5lvg46caga.fsf@rum.cs.yale.edu> (raw)
In-Reply-To: ubs5yaxas.fsf@terrapin.northbound-train.com

>>>>> "Joe" == Joe Casadonte <jcasadonte@northbound-train.com> writes:
> How do I get emacs -nw to recognize a Shift up?  I realize this is
> probably more of a termcap question than an emacs one, but I can
> barely spell termcap.....

Hit `up' and `S-up' and then `C-h l' which will show you the raw
event sequence that Emacs has seen recently.  If the events sent
for `up' and `S-up' are the same, then Emacs can't help you and
you'll first have to teach your terminal to send different sequences
for those two different cases.
If the sequences are different, then you'll want to add something like

  (define-key function-key-map [?\e ?O ?2 ?A] 'S-up)

which translates `ESC O 2 A' into `S-up'.


        Stefan

  reply	other threads:[~2002-10-13 21:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-13 20:39 S-up and emacs -nw? Joe Casadonte
2002-10-13 21:09 ` Stefan Monnier <foo@acm.com> [this message]
2002-10-14  2:18   ` Joe Casadonte
2002-10-14  4:09     ` Stefan Monnier <foo@acm.com>
2002-10-14  5:49       ` Fredrik Staxeng
2002-10-14 13:45       ` Joe Casadonte
2002-10-14 15:08         ` Ehud Karni
2002-10-14 15:34         ` Stefan Monnier <foo@acm.com>
2002-10-14 18:56         ` Fredrik Staxeng
2002-10-14 20:00         ` Alan Mackenzie
     [not found]         ` <mailman.1034608215.19174.help-gnu-emacs@gnu.org>
2002-10-19 13:05           ` Joe Casadonte
2002-10-19 16:44             ` Fredrik Staxeng
2002-10-19 21:03               ` Joe Casadonte
2002-10-20 12:33                 ` Fredrik Staxeng
2002-10-20 15:08                   ` ken
2002-10-20 16:01                   ` Joe Casadonte
2002-10-20 17:10                     ` Fredrik Staxeng
2002-10-21  0:24                       ` Joe Casadonte
2002-10-21 22:01                       ` Alan Mackenzie
2002-10-22  7:12                         ` Fredrik Staxeng
2002-10-22 18:58                           ` Alan Mackenzie
2002-10-21 13:22             ` Stefan Monnier <foo@acm.com>
2002-10-14 18:47     ` Alex Schroeder

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=5lvg46caga.fsf@rum.cs.yale.edu \
    --to=monnier+gnu.emacs.help/news/@flint.cs.yale.edu \
    /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).