From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: despen@verizon.net (Dan.Espen) Newsgroups: gmane.emacs.help Subject: Re: mod4 in terminal is ignored, works from gui Date: Mon, 21 Apr 2014 14:42:07 -0400 Organization: A noiseless patient Spider Message-ID: References: <19db91e1-9289-43d1-b6e9-61a7220bf4ef@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1398105923 25378 80.91.229.3 (21 Apr 2014 18:45:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2014 18:45:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 21 20:45:18 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WcJDR-0002dv-RA for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Apr 2014 20:45:17 +0200 Original-Received: from localhost ([::1]:50853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcJDR-0003du-Cy for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Apr 2014 14:45:17 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Injection-Info: mx05.eternal-september.org; posting-host="aabc59b8ce9cdce0c2995912677c9e55"; logging-data="6942"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UK3u5KntyLmLcueptIV05J4Kb+Ya+cIg=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:ofT/06Wf68aNSVtOAph10tE+rkg= sha1:P1mLKO/8S94RnWs9er07oyHMniM= Original-Xref: usenet.stanford.edu gnu.emacs.help:205035 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97299 Archived-At: Sam Halliday 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