home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / emacs / 3952 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  7.4 KB

  1. Xref: sparky comp.emacs:3952 gnu.emacs.help:5333
  2. Newsgroups: comp.emacs,gnu.emacs.help
  3. Path: sparky!uunet!usc!rpi!gatech!hubcap!crenner
  4. From: crenner@hubcap.clemson.edu (Chuck Renner)
  5. Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
  6. Message-ID: <1993Jan12.054150.12904@hubcap.clemson.edu>
  7. Organization: Clemson University
  8. References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>
  9. Date: Tue, 12 Jan 1993 05:41:50 GMT
  10. Lines: 168
  11.  
  12. bruce@zuhause.MN.ORG (Bruce Albrecht) writes:
  13.  
  14. >In article <1993Jan6.002415.13780@trl.oz.au> smadden@titan.trl.OZ.AU (Steve Madden) writes:
  15. >>G'Day people,
  16. >>         I've got a little question regarding keypad mappings in
  17. >>Demacs. Basically, the situation is as follows: I have a PC on which I
  18. >>do some programming under Demacs. I also use this PC to log onto a
  19. >>mainframe which runs Emacs. On the mainframe, I have a e-lisp file which
  20. >>maps varous functions onto the PC's numeric keypad, such as PgUp/Dn,
  21. >>BOF/EOF, BOL/EOL, kill-region, kill-line, kill-word, ... etc. Now the
  22. >>bit which involves the question. I would like to make the two keypads
  23. >>behave in exactly the same way, but there seems to be a snag under
  24. >>Demacs. How do I distinguish the arrow keys and PgUp/Dn/Home/End keys on
  25. >>the numeric keypad fom those in the arrow keypad, and the other six key
  26. >>keypad above it on the pc keyboard so that I can just remap the numeric
  27. >>versions ? Is it even possible under Demacs ?? Any guidelines most
  28. >>gratefully accepted,
  29.  
  30. >You need to tell ANSI.SYS that you have an extended keyboard (/X option), 
  31. >and in the emacs/lisp/term/ibm_pc.el file that loads the function keys,
  32. >you need to map the numeric keypad keys to something other than the separate
  33. >arrow key/PgUp/... block.  For the routine that remaps the keys back to the
  34. >original IBM character sequences, you'll want to remake the extended key
  35. >blocks to the same as the numeric key blocks.
  36.  
  37. >--
  38. >bruce@zuhause.mn.org
  39. >Youth is wasted on the young.
  40.  
  41. Q
  42.  
  43. i
  44.  
  45. Q
  46.  
  47. Newsgroups: comp.emacs,gnu.emacs.help
  48. Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
  49. Distribution: world
  50. References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>
  51.  
  52. bruce@zuhause.MN.ORG (Bruce Albrecht) writes:
  53.  
  54. >In article <1993Jan6.002415.13780@trl.oz.au> smadden@titan.trl.OZ.AU (Steve Madden) writes:
  55. >>G'Day people,
  56. >>         I've got a little question regarding keypad mappings in
  57. >>Demacs. Basically, the situation is as follows: I have a PC on which I
  58. >>do some programming under Demacs. I also use this PC to log onto a
  59. >>mainframe which runs Emacs. On the mainframe, I have a e-lisp file which
  60. >>maps varous functions onto the PC's numeric keypad, such as PgUp/Dn,
  61. >>BOF/EOF, BOL/EOL, kill-region, kill-line, kill-word, ... etc. Now the
  62. >>bit which involves the question. I would like to make the two keypads
  63. >>behave in exactly the same way, but there seems to be a snag under
  64. >>Demacs. How do I distinguish the arrow keys and PgUp/Dn/Home/End keys on
  65. >>the numeric keypad fom those in the arrow keypad, and the other six key
  66. >>keypad above it on the pc keyboard so that I can just remap the numeric
  67. >>versions ? Is it even possible under Demacs ?? Any guidelines most
  68. >>gratefully accepted,
  69.  
  70. >You need to tell ANSI.SYS that you have an extended keyboard (/X option), 
  71. >and in the emacs/lisp/term/ibm_pc.el file that loads the function keys,
  72. >you need to map the numeric keypad keys to something other than the separate
  73. >arrow key/PgUp/... block.  For the routine that remaps the keys back to the
  74. >original IBM character sequences, you'll want to remake the extended key
  75. >blocks to the same as the numeric key blocks.
  76.  
  77. >--
  78. >bruce@zuhause.mn.org
  79. >Youth is wasted on the young.
  80.  
  81. Newsgroups: comp.emacs,gnu.emacs.help
  82. Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
  83. Distribution: world
  84. References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>
  85.  
  86. bruce@zuhause.MN.ORG (Bruce Albrecht) writes:
  87.  
  88. >In article <1993Jan6.002415.13780@trl.oz.au> smadden@titan.trl.OZ.AU (Steve Madden) writes:
  89. >>G'Day people,
  90. >>         I've got a little question regarding keypad mappings in
  91. >>Demacs. Basically, the situation is as follows: I have a PC on which I
  92. >>do some programming under Demacs. I also use this PC to log onto a
  93. >>mainframe which runs Emacs. On the mainframe, I have a e-lisp file which
  94. >>maps varous functions onto the PC's numeric keypad, such as PgUp/Dn,
  95. >>BOF/EOF, BOL/EOL, kill-region, kill-line, kill-word, ... etc. Now the
  96. >>bit which involves the question. I would like to make the two keypads
  97. >>behave in exactly the same way, but there seems to be a snag under
  98. >>Demacs. How do I distinguish the arrow keys and PgUp/Dn/Home/End keys on
  99. >>the numeric keypad fom those in the arrow keypad, and the other six key
  100. >>keypad above it on the pc keyboard so that I can just remap the numeric
  101. >>versions ? Is it even possible under Demacs ?? Any guidelines most
  102. >>gratefully accepted,
  103.  
  104. >You need to tell ANSI.SYS that you have an extended keyboard (/X option), 
  105. >and in the emacs/lisp/term/ibm_pc.el file that loads the function keys,
  106. >you need to map the numeric keypad keys to something other than the separate
  107. >arrow key/PgUp/... block.  For the routine that remaps the keys back to the
  108. >original IBM character sequences, you'll want to remake the extended key
  109. >blocks to the same as the numeric key blocks.
  110.  
  111. >--
  112. >bruce@zuhause.mn.org
  113. >Youth is wasted on the young.
  114.  
  115. Q
  116.  
  117. i
  118.  
  119. Q
  120.  
  121. Newsgroups: comp.emacs,gnu.emacs.help
  122. Subject: Re: Num. keypad bindings for Demacs-how 2 change without affecting arrows?
  123. Distribution: world
  124. References: <1993Jan6.002415.13780@trl.oz.au> <bruce.0dvx@zuhause.MN.ORG>
  125.  
  126. bruce@zuhause.MN.ORG (Bruce Albrecht) writes:
  127.  
  128. >In article <1993Jan6.002415.13780@trl.oz.au> smadden@titan.trl.OZ.AU (Steve Madden) writes:
  129. >>G'Day people,
  130. >>         I've got a little question regarding keypad mappings in
  131. >>Demacs. Basically, the situation is as follows: I have a PC on which I
  132. >>do some programming under Demacs. I also use this PC to log onto a
  133. >>mainframe which runs Emacs. On the mainframe, I have a e-lisp file which
  134. >>maps varous functions onto the PC's numeric keypad, such as PgUp/Dn,
  135. >>BOF/EOF, BOL/EOL, kill-region, kill-line, kill-word, ... etc. Now the
  136. >>bit which involves the question. I would like to make the two keypads
  137. >>behave in exactly the same way, but there seems to be a snag under
  138. >>Demacs. How do I distinguish the arrow keys and PgUp/Dn/Home/End keys on
  139. >>the numeric keypad fom those in the arrow keypad, and the other six key
  140. >>keypad above it on the pc keyboard so that I can just remap the numeric
  141. >>versions ? Is it even possible under Demacs ?? Any guidelines most
  142. >>gratefully accepted,
  143.  
  144. >You need to tell ANSI.SYS that you have an extended keyboard (/X option), 
  145. >and in the emacs/lisp/term/ibm_pc.el file that loads the function keys,
  146. >you need to map the numeric keypad keys to something other than the separate
  147. >arrow key/PgUp/... block.  For the routine that remaps the keys back to the
  148. >original IBM character sequences, you'll want to remake the extended key
  149. >blocks to the same as the numeric key blocks.
  150.  
  151. >--
  152. >bruce@zuhause.mn.org
  153. >Youth is wasted on the young.
  154. o
  155. p
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164. Q
  165.  
  166. quit
  167.  
  168.  
  169.  
  170. bye
  171.  
  172.  
  173.  
  174. s
  175. -- 
  176. +------------------------------------------------------------------------------+
  177.                                     E-Mail:  crenner@clemson.clemson.edu or
  178.                                              crenner@eng.clemson.edu or
  179.     /----  /   / /   / /---- /   /           crenner@hubcap.clemson.edu or
  180.