🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189645

Re: Xemacs query

#189645
From: Mosur Mohan
Date: Thu, 20 Dec 1990 22:48
50 lines
3004 bytes
In article <9012200046.AA10077@bigbird.bu.edu> jbw@BIGBIRD.BU.EDU (Joe Wells) writes:

>   Path: mntgfx!sequent!ogicse!emory!att!tut.cis.ohio-state.edu!BIGBIRD.BU.EDU!jbw
>   From: jbw@BIGBIRD.BU.EDU (Joe Wells)
>   Newsgroups: gnu.emacs.help,comp.emacs
>   Date: 20 Dec 90 00:46:02 GMT
>   Sender: daemon@tut.cis.ohio-state.edu
>   Followup-To: gnu.emacs.help
>   Organization: Gatewayed from the GNU Project mailing list help-gnu-emacs@prep.ai.mit.edu
>   Lines: 40
>
>>      I'm running Xemacs under SunOs v4.1_PRS_A, with X11R4 window system.
>>      Emacs version is 18.55.3 and Xterminal being used is a X-19 by Visual.
>>      ...
>>      I'm not a great expert on this, and would appreciate information on how I
>>      could enable the keys in xemacs. or if these keys are bound elsewhere in
>>      the system.
>
>   You need to hack the C source code of Emacs to make this work properly.
>   Next year I might have time to install Epoch on bucsf, which would solve
>   this problem for you.
>
>   Joe Wells <jbw@bu.edu>

There is a function 'x-rebind-key in src/x11fns.c that you can use to
set the appropriate key bindings.  (help-function 'x-rebind-key)
produces:

   x-rebind-key:
   Rebind KeySym, with ModifierSym, to new string NEWSTRING.
   KeySym and ModifierSym should be Strings representing the names of
   X keyboard keycap and modifier keycap name. If the ModifierSym is
   nill, then the KeySym's key will be bound to NEWSTRING for all modifier
   combinations.
   Common modifiers:
	Shift_L Shift_R Control_L Control_R Meta

I found that this was a little wrong; Meta didn't work, I had to use
"Meta_L".  But otherwise, everything worked out fine (I'm running GNU
Emacs 18.55.3, in case it matters).

Question to Apollo GNU users: is anyone out there using Emacs under
Domain/X11?  I am trying, and am finding it a trying experience.  Is
there a ready-made set of key bindings for all the ctrl-, shift-,
meta-, etc. function keys available?

-- Mohan.   {mosurm@pdx.mentor.com, uunet!mntgfx!mosurm}
            {Mosur Mohan, Mentor Graphics, Beaverton, OR}
----------------------------------------------------------------------
"Cogito ergo sum"  ==>  "I think, therefore I add."
Technical Details
Message-ID: <MOSURM.90Dec20144814@mosurm.mentor.com>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!swrinde!ucsd!celit!fpssun!nosun!percy!qiclab!mntgfx!mosurm!mosurm
References: <9012200046.AA10077@bigbird.bu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,4f6b2bcbc76f0b68
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-12-20 14:48:14 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!swrinde!ucsd!celit!fpssun!nosun!percy!qiclab!mntgfx!mosurm!mosurm
From: mosurm@mosurm.mentor.com (Mosur Mohan)
Newsgroups: gnu.emacs.help
Subject: Re: Xemacs query
Keywords: Setting key bindings in Emacs under X11
Message-ID: <MOSURM.90Dec20144814@mosurm.mentor.com>
Date: 20 Dec 90 22:48:14 GMT
References: <9012200046.AA10077@bigbird.bu.edu>
Sender: mosurm@mentor.com (Mosur Mohan)
Followup-To: gnu.emacs.help
Organization: engr
Lines: 50
In-Reply-To: jbw@BIGBIRD.BU.EDU's message of 20 Dec 90 00:46:02 GMT