home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.emacs:3941 gnu.emacs.help:5315
- Path: sparky!uunet!usc!howland.reston.ans.net!spool.mu.edu!umn.edu!uum1!gw.digibd.com!digibd!zuhause!bruce
- From: bruce@zuhause.MN.ORG (Bruce Albrecht)
- Newsgroups: comp.emacs,gnu.emacs.help
- Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
- Distribution: world
- Message-ID: <bruce.0dvx@zuhause.MN.ORG>
- References: <1993Jan6.002415.13780@trl.oz.au>
- Date: 10 Jan 93 17:08:47 CST
- Organization: Society to Stamp Out Bogus Organizations
- Lines: 27
-
- In article <1993Jan6.002415.13780@trl.oz.au> smadden@titan.trl.OZ.AU (Steve Madden) writes:
- >G'Day people,
- > I've got a little question regarding keypad mappings in
- >Demacs. Basically, the situation is as follows: I have a PC on which I
- >do some programming under Demacs. I also use this PC to log onto a
- >mainframe which runs Emacs. On the mainframe, I have a e-lisp file which
- >maps varous functions onto the PC's numeric keypad, such as PgUp/Dn,
- >BOF/EOF, BOL/EOL, kill-region, kill-line, kill-word, ... etc. Now the
- >bit which involves the question. I would like to make the two keypads
- >behave in exactly the same way, but there seems to be a snag under
- >Demacs. How do I distinguish the arrow keys and PgUp/Dn/Home/End keys on
- >the numeric keypad fom those in the arrow keypad, and the other six key
- >keypad above it on the pc keyboard so that I can just remap the numeric
- >versions ? Is it even possible under Demacs ?? Any guidelines most
- >gratefully accepted,
-
- You need to tell ANSI.SYS that you have an extended keyboard (/X option),
- and in the emacs/lisp/term/ibm_pc.el file that loads the function keys,
- you need to map the numeric keypad keys to something other than the separate
- arrow key/PgUp/... block. For the routine that remaps the keys back to the
- original IBM character sequences, you'll want to remake the extended key
- blocks to the same as the numeric key blocks.
-
- --
- bruce@zuhause.mn.org
- Youth is wasted on the young.
-
-