* Multiple keymaps?
@ 2009-03-27 16:28 Neil Baylis
2009-03-27 21:07 ` Peter Dyballa
0 siblings, 1 reply; 2+ messages in thread
From: Neil Baylis @ 2009-03-27 16:28 UTC (permalink / raw)
To: help-gnu-emacs
I have two computers: an intel Mac running leopard, and a Ubuntu box.
When using the Ubuntu box, sometimes I use the keyboard and screen on
that box, burt sometimes I access it through ssh -X from the Mac. Of
course, when I do that, it uses the Mac keyboard, and the keybindings
are different.
Is there a way that Emacs on the Ubuntu box can detect when it's being
run this way (i.e., through ssh -X on the Mac), and then change the
key mappings accordingly?
Thanks,
Neil Baylis
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Multiple keymaps?
2009-03-27 16:28 Multiple keymaps? Neil Baylis
@ 2009-03-27 21:07 ` Peter Dyballa
0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2009-03-27 21:07 UTC (permalink / raw)
To: Neil Baylis; +Cc: help-gnu-emacs
Am 27.03.2009 um 17:28 schrieb Neil Baylis:
> Is there a way that Emacs on the Ubuntu box can detect when it's being
> run this way (i.e., through ssh -X on the Mac), and then change the
> key mappings accordingly?
The environment variable DISPLAY could be used. When system-name
doesn't match it? (Runs there, displays and receives keyboard input
here.)
BTW, ssh -Y is newly recommended. It enables trusted X11 forwarding
--
Greetings
Pete
»¿ʇı̣ əsnqɐ ʇ,uɐɔ noʎ ɟı̣
ɓuı̣ɥʇʎuɐ sı̣ pooɓ ʇɐɥʍ«
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-27 21:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-27 16:28 Multiple keymaps? Neil Baylis
2009-03-27 21:07 ` Peter Dyballa
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).