unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* global-set-key in X Windows
@ 2003-09-04 15:30 Harter, Douglas
  0 siblings, 0 replies; 2+ messages in thread
From: Harter, Douglas @ 2003-09-04 15:30 UTC (permalink / raw)



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?

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.
.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: global-set-key in X Windows
       [not found] <mailman.144.1062690627.18171.help-gnu-emacs@gnu.org>
@ 2003-09-04 16:46 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-09-04 16:46 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-04 16:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.144.1062690627.18171.help-gnu-emacs@gnu.org>
2003-09-04 16:46 ` global-set-key in X Windows Kevin Rodgers
2003-09-04 15:30 Harter, Douglas

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).