🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #1970

keysym binding - how ??

#1970
From: moss_r
Date: Tue, 21 May 1991 05:13
29 lines
1715 bytes
Can anyone help me with some basic epoch keyboard setup instructions.

First, can someone give me some code that shows how epoch::rebind-key
works, as the doc. on it is a *bit* un-obvious.

Second, the variable epoch::function-key-mapping supposedly turns off
the translation of the X keysyms into escape sequences....

If no translation is taking place, can you redefine the keysyms 
themselves, ie something like (global-set-key F1 'dired) - the sought of
thing you would do in emacs ?

If translation is taking place, do you have to define a new \e-[ key map
to stop the translations throwing random-ish ~[12 and [OA keysequences
into text if you hit one of them accidently ?

Lastly, is there some simple explantion ( or some sample code ) showing
how you redefine such events as mouse key presses/releases ?  ( I'm used
to emacs on a vt220 terminal, all this talk of X events, resources, keysyms
etc, etc is still a bit confusing! ).


thanks for any possible help,

	Richard Moss
	Dep't Theoretical Chemistry
	University of Sydney, Australia
	moss_r@summer.chem.su.oz.au
Technical Details
Message-ID: <1991May21.001313.1@summer.chem.su.oz.au>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!munnari.oz.au!metro!summer.chem.su.oz.au!moss_r

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,f5a0e864671ee5b7,start
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-05-20 08:03:43 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!spool.mu.edu!munnari.oz.au!metro!summer.chem.su.oz.au!moss_r
From: moss_r@summer.chem.su.oz.au
Newsgroups: gnu.epoch.misc
Subject: keysym binding - how ??
Message-ID: <1991May21.001313.1@summer.chem.su.oz.au>
Date: 21 May 91 05:13:13 GMT
Sender: news@metro.ucc.su.OZ.AU
Organization: Sydney University Computing Service, Sydney, NSW, Australia
Lines: 29
Nntp-Posting-Host: summer.chem.su.oz.au