all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* right alt key not bound to meta
@ 2005-03-12 19:40 Malcolm M
  2005-03-13 22:41 ` Alan Mackenzie
  0 siblings, 1 reply; 2+ messages in thread
From: Malcolm M @ 2005-03-12 19:40 UTC (permalink / raw)


I am using emacs on a PC in linux and also via ssh shell accout at my
isp (linux).  In the X window version of emacs I am accutomed to
having both the right and left alt keys function as meta.  But when
using tty version of emacs both at home and ISP only the left alt key
functions as meta.  How do I fix it so with tty both alt keys are
bound such that they can be used in meta command combinations?

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

* Re: right alt key not bound to meta
  2005-03-12 19:40 right alt key not bound to meta Malcolm M
@ 2005-03-13 22:41 ` Alan Mackenzie
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Mackenzie @ 2005-03-13 22:41 UTC (permalink / raw)


Malcolm M <malcolmm@aracnet.com> wrote on Sat, 12 Mar 2005 11:40:13 -0800:
> I am using emacs on a PC in linux and also via ssh shell accout at my
> isp (linux).  In the X window version of emacs I am accutomed to
> having both the right and left alt keys function as meta.  But when
> using tty version of emacs both at home and ISP only the left alt key
> functions as meta.  How do I fix it so with tty both alt keys are
> bound such that they can be used in meta command combinations?

A crude way (untested) would be to map your right alt key to function like the
left alt key.  I.e., you'd not have it for any other applications.

Assuming you don't mind this, find your keyboard layout file, which will
be somewhere like /etc/default.keyboard.  There'll be a line like this in
the file:

keycode 100 = AltGr

.  Replace it with

keycode 100 = Alt

.  loadkeys is your friend here.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").

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

end of thread, other threads:[~2005-03-13 22:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-12 19:40 right alt key not bound to meta Malcolm M
2005-03-13 22:41 ` Alan Mackenzie

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.