🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Steve Madden Wed, 06 Jan 1993 00:24
Num. keypad bindings for Demacs-how 2 change without affecting arrows?
#3591
Author: Steve Madden
Date: Wed, 06 Jan 1993 00:24
20 lines
1573 bytes
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,


      /~~~\   !                           
      \___    !---   ___ .    .  ___       ###########################
          \   !     /___> \  /  /___>      # smadden@titan.trl.OZ.AU #
      \___/   \__/  \___   \/   \___       ###########################
Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
#3614
Author: Bruce Albrecht
Date: Sun, 10 Jan 1993 23:08
26 lines
1961 bytes
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.
Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
#3624
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads