unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: despen@verizon.net (Dan.Espen)
To: help-gnu-emacs@gnu.org
Subject: Re: mod4 in terminal is ignored, works from gui
Date: Mon, 21 Apr 2014 14:42:07 -0400	[thread overview]
Message-ID: <ic4n1mjzi8.fsf@home.home> (raw)
In-Reply-To: 19db91e1-9289-43d1-b6e9-61a7220bf4ef@googlegroups.com

Sam Halliday <sam.halliday@gmail.com> writes:

> Hi all,
>
> I am using xmonad as my window manager, urxvt as my terminal emulator, and emacs24.
>
> When I start the gui version of emacs, I am able to use my "windows"
> (mod4) key as the super key and I can issue key commands such as "s-s"
> (which emacs doesn't recognise yet, but I plan to use it for
> something).
>
> However, when I start `emacs -nw` from urxvt, the mod4 is completely
> ignored. If I type "windows"-s, then just "s" is printed to the
> screen.
>
> For ease of moving around, my config files are public:
>
>   https://github.com/fommil/unix
>
> Could somebody please help me to get emacs in terminal mode to recognise the mod4 key?

Terminal programs do not send modifiers as separate events.
You might be able to configure urxvt to send a unique escape sequence on
Mod4-s.  Then configure Emacs to understand that escape sequence.

-- 
Dan Espen


      reply	other threads:[~2014-04-21 18:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-21 17:18 mod4 in terminal is ignored, works from gui Sam Halliday
2014-04-21 18:42 ` Dan.Espen [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=ic4n1mjzi8.fsf@home.home \
    --to=despen@verizon.net \
    --cc=help-gnu-emacs@gnu.org \
    /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).