68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
Macintosh Programmer's Workshop on Mini vMac
Posted by: Grackle on 2012-06-12 09:59:05
Hi folks, maybe you can help me find a solution to my problem. While I wait for my SE to arrive, I've been playing around with MPW in Mini vMac. My usual host OS is Windows 7. Unfortunately, Windows does not differentiate between the enter and return keys (in fact both carriage return and numpad enter are labeled "enter" on a windows keyboard, although they generate a Macintosh return on the emulated system.) This is a problem because the MPW shell uses return to insert a carriage return, while enter executes the current line.

How can I send a Macintosh enter keypress to the emulated system?

Posted by: Grackle on 2012-06-12 10:34:53
On a whim I tried [⌘]+[Enter], and it works. Hooray!

Posted by: Gryphel on 2012-06-13 06:45:59
I have looked into this, and it turns out that it is possible to distinguish between these keys with some extra code, looking at the extended key flag. I've implemented this and it seems to work. It will be in the next alpha version.

For now, command-return is a good alternative in MPW. Clicking in the status area of an MPW window also works.

1