693 & OSX: still no "enter" key

Subject says it all. I just installed 693, and still get no enter
key happiness.

I've subscribed to Apple's Java-seed mailing list, and will be
happy to bring it up once I finish lurking a while.

0
Avatar
Permanently deleted user

i wonder how hard it would be to create a quick plugin that generates a fn-enter key whenever return key was pressed? seems like it would be as easy as looking at KeyEvent.getKeyCode(). Anyone want to give it a try?

0

Strangely, I don't have the "enter" key problem. I downloaded 693 and DP10 yesterday and didn't find any serious problem. I just heard it from this forum this morning.

0
Avatar
Permanently deleted user

Take a look at: http://javangelist.snipsnap.org/space/IdeaundMacOS+X

Here's how to patch yours until we get a new build:

>

Remember, keep a backup of your original libawt.jnilib file
just in case you make a mistake.

Make a copy of /System/Library/Frameworks/JavaVM.framework/ Versions/1.4.1/Libraries/libawt.jnilib,
open it with HexEdit, and search for the hex string:

>

801e00c0 3d3f1001 8129ee48

>

Change it to:

>

38000000 3d3f1001 39200000

>

Save the file, and copy it over /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Libraries/libawt.jnilib
Reboot.


I didn't verify if it does really work. But it sounds promising.

0
Avatar
Permanently deleted user

I can verify that this patch worked for me.

geoff

0

I can confirm that this works. For some reason DP10, EAP 693 and OSX 10.2.3 simply stopped handling the enter key for me. Glad someone found this or I would have had to go back to JBuilder until they fixed this.

0
Avatar
Permanently deleted user

Amazing. This actually worked.

0
Avatar
Permanently deleted user

Here's a slightly simpler, and better patch:

Search for the last occurrence of the hex string:

2c03000a

and replace it with

2c030000

This simply changes a comparison of r3 against 0xA (a '\n' character) to a comparison against 0.

0
Avatar
Permanently deleted user

I'm terribly sorry to ask such a dumb question but here goes...

I've been a regular IDEA user on Windows and am attempting to use it on a new powerbook that I received; however, I've run into this same "enter" keystrok not recognized error.

I'm currently on build 694 and have installed JDK1.4, DP10.

Seeing the suggestions listed here. I downloaded HexEdit and am attempting to update the value in libawt.jnilib but am getting the following error when I attempt to save my work:

"Unable to create file (-5000)"

I'm sure this must be a permissions issue but I've used the sudo command to change ownership to my account and group, I've also, in desperation, chmodded to 777. Despite these changes, I'm still getting this error.

Thoughts?

Thanks,

Marshall

0
Avatar
Permanently deleted user

Save it to a different file, quit all Java apps and copy the new file to the correct location. (You have backed up the original somewhere? If not, do it before you copy!)

Also note that the second fix stops 'Ctrl-Space' working, as the ASCII value is zero. I do:

Search for the last occurrence of the hex string:

2c03000a

and replace it with

2c0300ff

This simply changes a comparison of r3 against 0xA (a '\n' character) to a comparison against ff.

Thanks to Patrick Beard for this wonderful fix!

0

请先登录再写评论。