• Updated 2023-07-12: Hello, Guest! Welcome back, and be sure to check out this follow-up post about our outage a week or so ago.

Macintosh Programmer's Workshop on Mini vMac

Grackle

Member
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?

 

Gryphel

Active member
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.

 
Top