unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xiaoyong Jin <tootiny@163.com>
Subject: Re: Using the `Win' key as `Ctrl' in Emacs?
Date: Fri, 2 Jul 2004 02:43:37 +0800	[thread overview]
Message-ID: <20040702024337.3f5daffd.tootiny@163.com> (raw)
In-Reply-To: mailman.2918.1088671599.1953.help-gnu-emacs@gnu.org

On Thu, 01 Jul 2004 10:44:26 +0200
Kai Grossjohann <kai@emptydomain.de> wrote:

> Xiaoyong Jin <tootiny@163.com> writes:
> 
> > What I want is using the useless `win' key on the right. 
> > Could
> > some one tell me how to do this?
> >
> > I now use the xmodmap program to turn the Super_R key to the
> > control group.  And it can be use under most programs under X
> > but
> > Emacs.
> 
> You need to make the right 'flag' key into a control key, like
> so:
> 
> clear control
> clear mod4
> keycode 4711 = Control_R
> add control = Control_L Control_R
> add mod4 = Foo Bar
> 
> First, you say "xmodmap -pm" to see which modifiers Super_R
> appears
> in.  Above, I'm assuming it's mod4.  If Super_R is not mentioned
> in
> any modifier, then just omit the two lines mentioning mod4.
> 
> Secondly, you need to find out the keycode of the right 'flag'
> key,
> perhaps by running xev.  Above, I'm assuming the code is 4711.
> 
> That's what I use and it works well.
> 
> Kai
> 
> 
> 

Oh, yeah, it works amazingly.
It's handy to have control key in both hands.

And thank you all who offered me help.

-- 

Simple is the best.  ;-)

      parent reply	other threads:[~2004-07-01 18:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16 14:25 Using the `Win' key as `Ctrl' in Emacs? Xiaoyong Jin
2004-06-16 22:30 ` Gustaf Erikson
2004-06-17  7:51   ` Xiaoyong Jin
2004-06-18  8:47     ` Gustaf Erikson
2004-06-18 12:14       ` Xiaoyong Jin
2004-06-18 13:40         ` Gustaf Erikson
2004-06-18 17:29           ` Xiaoyong Jin
2004-07-01  8:14       ` gebser
2004-07-01  8:46     ` Kai Grossjohann
2004-06-17  9:31 ` Rob Walker
2004-06-17 16:43   ` Xiaoyong Jin
2004-06-18  8:05     ` Rob Walker
2004-06-18  8:23       ` Xiaoyong Jin
2004-06-18 10:44         ` Jim Ottaway
2004-07-01  9:12         ` gebser
2004-07-01  8:44 ` Kai Grossjohann
     [not found] ` <mailman.2918.1088671599.1953.help-gnu-emacs@gnu.org>
2004-07-01 18:43   ` Xiaoyong Jin [this message]

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=20040702024337.3f5daffd.tootiny@163.com \
    --to=tootiny@163.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).