Would love to be able to remap the keyboard so the enter key on
the keypad would work the same as the return key. They serve
separate functions currently.
In case you're actually reading this, you should be able to
do this already.
Use the "Set Macros" command in the Edit menu (or, per
session, "Edit Session Macros" from the favorite editor
dialog) and look at the Keypad symbols page. There are two
customizable strings for Enter -- the DECPAM application
mode (AM) and the default mode (!AM).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If all you want to do is make the enter key send the same
code as the return key, all you need to do is guess the
right code (either \015 or \015\012 or \015\000) and make
sure that the enter key sends that code in the correct mode
(either application mode or not). For example, in ssh, the
correct code to send is simply \015 so changing the
appropriate enter code to that (probably instead of
\015\012) will do the trick.
This won't make the enter key act as the return key in
linemode and such, though. It might be useful to add some
way of making the enter key do something default rather than
send a programmed macro, so that such special behavior could
happen.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=253224
In case you're actually reading this, you should be able to
do this already.
Use the "Set Macros" command in the Edit menu (or, per
session, "Edit Session Macros" from the favorite editor
dialog) and look at the Keypad symbols page. There are two
customizable strings for Enter -- the DECPAM application
mode (AM) and the default mode (!AM).
Logged In: YES
user_id=253224
Hmm - reopening.
If all you want to do is make the enter key send the same
code as the return key, all you need to do is guess the
right code (either \015 or \015\012 or \015\000) and make
sure that the enter key sends that code in the correct mode
(either application mode or not). For example, in ssh, the
correct code to send is simply \015 so changing the
appropriate enter code to that (probably instead of
\015\012) will do the trick.
This won't make the enter key act as the return key in
linemode and such, though. It might be useful to add some
way of making the enter key do something default rather than
send a programmed macro, so that such special behavior could
happen.