Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Q: how to reassign Enter key

16 views
Skip to first unread message

Chris

unread,
Apr 2, 2001, 5:59:13 PM4/2/01
to
Any ideas how I can assign the functionality of the Enter key to
another key? There's no actual Enter function in the catalog,
(and 'Dup' is only one of the things Enter does).

49 1.18something

Neill McKay

unread,
Apr 2, 2001, 10:04:32 PM4/2/01
to
The only way I was able to do this was with Keyman, but there's a flag
about 'custom Enter' that suggests to me that there's another way.

Neill McKay

Caspar Lugtmeier & Eva Skotarczak

unread,
Apr 3, 2001, 4:23:19 AM4/3/01
to
I thought (HP48) that with custom ENTER you have access to the command line
before it was parsed (or something like this)

Caspar

--

"Neill McKay" <nmc...@nb.sympatico.ca> wrote in message
news:3AC9300C...@nb.sympatico.ca...

John H Meyers

unread,
Apr 3, 2001, 2:09:12 PM4/3/01
to
Custom ENTER [48 or 49] has two independent aspects:

o You can intercept processing of text, after editing
(and you do not have to let the calc parse and run it,
so you can substitute your own interpreter, if you like).

o You can capture the names of functions
which are executed from the keyboard.

When flags -62 and -63 are both set, the calc calls
'\GaENTER' with the edited text on the stack, and calls
'\GbENTER' with the name of each keyboard-executed function
on the stack, after the function has been executed
(\Ga and \Gb are the Greek alpha and beta characters).

You can supply either, neither, or both of these programs,
and if you supply '\GaENTER' then it's up to you to act on
the text, because the calc won't do anything by itself with it.

'\GaENTER' is called only when you leave the editor via the ENTER key;
'\GbENTER' is called for every function initiated from the keyboard,
including the ENTER key after editing (string arg is then "" - empty).


An example of what you can do with '\GaENTER':
http://groups.google.com/groups?q=z&seld=916747356&ic=1 [HP49]
http://groups.google.com/groups?q=z&seld=916106481&ic=1 [HP49]
[HP48 versions exist at hpcalc.org]

An example of what you can do with '\GbENTER':
http://groups.google.com/groups?q=z&seld=916800911&ic=1 [48/49]

A simpler example ("Trace" mode for printer) is in the HP48 "AUR"

-----------------------------------------------------------
With best wishes from: John H Meyers <jhme...@mum.edu>


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----

0 new messages