unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: global-set-key in X Windows
Date: Thu, 04 Sep 2003 10:46:50 -0600	[thread overview]
Message-ID: <3F576C7A.5050803@yahoo.com> (raw)
In-Reply-To: mailman.144.1062690627.18171.help-gnu-emacs@gnu.org

Harter, Douglas wrote:

> I am on Solaris Unix system. I use emacs a lot of the time using the X
> Windows interface. However, there are times when I cannot use the X Windows
> interface because  it is not available at that time.
> 
> Is there a way in emacs to find out if I am using the X Windows interface or
> not?


| window-system's value is x
|
| Documentation:
| A symbol naming the window-system under which Emacs is running
| (such as `x'), or nil if emacs is running on an ordinary terminal.


> I have found that the keys on the auxiliary keypad are defined differently
> in X Windows  and non X windows. I would like to check if it is in X-Windows
> and set some keys differently if it is not.
> .

You shouldn't need to do that: Emacs should map the escape sequences sent by
your terminal to the same function key symbols as under X.  See the "Function
Keys" and "Terminal Init" nodes of the manual.

-- 
Kevin Rodgers

       reply	other threads:[~2003-09-04 16:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.144.1062690627.18171.help-gnu-emacs@gnu.org>
2003-09-04 16:46 ` Kevin Rodgers [this message]
2003-09-04 15:30 global-set-key in X Windows Harter, Douglas

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=3F576C7A.5050803@yahoo.com \
    --to=ihs_4664@yahoo.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).