🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #3624

Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?

#3624
From: Chuck Renner
Date: Tue, 12 Jan 1993 05:41
168 lines
7700 bytes
bruce@zuhause.MN.ORG (Bruce Albrecht) writes:

>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.

Q

i

Q

Newsgroups: comp.emacs,gnu.emacs.help
Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
Distribution: world
References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>

bruce@zuhause.MN.ORG (Bruce Albrecht) writes:

>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.

Newsgroups: comp.emacs,gnu.emacs.help
Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
Distribution: world
References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>

bruce@zuhause.MN.ORG (Bruce Albrecht) writes:

>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.

Q

i

Q

Newsgroups: comp.emacs,gnu.emacs.help
Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
Distribution: world
References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>

bruce@zuhause.MN.ORG (Bruce Albrecht) writes:

>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.
o
p








Q

quit



bye



s
-- 
+------------------------------------------------------------------------------+
                                    E-Mail:  crenner@clemson.clemson.edu or
                                             crenner@eng.clemson.edu or
    /----  /   / /   / /---- /   /           crenner@hubcap.clemson.edu or
Technical Details
Message-ID: <1993Jan12.054150.12904@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!gatech!hubcap!crenner
References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>

Show Full Headers
Complete Article Headers
Newsgroups: comp.emacs,gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!gatech!hubcap!crenner
From: crenner@hubcap.clemson.edu (Chuck Renner)
Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
Message-ID: <1993Jan12.054150.12904@hubcap.clemson.edu>
Organization: Clemson University
References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>
Date: Tue, 12 Jan 1993 05:41:50 GMT
Lines: 168