Setup Information

The only setup step required for DEC keyboard users is to define a NetBeans logical. If you are a PC keyboard user, your setup is complete unless you want to specify EDT keybindings for your PC navigation keys.

Define the NetBeans logical for DEC keyboards

Specify the behavior of PC navigation keys

Define the NetBeans logical for DEC keyboards

To complete your EDT Editor Keybindings Module setup, your Java environment must recognize unique DEC keys (such as PF1,PF2,MINUS,COMMA, and so on). Do the following:

Define the NetBeans logical, NETBEANS$KEYBOARD_TYPE_DEC to have a value of 1 prior to starting NetBeans.

For example:
$ DEFINE NETBEANS$KEYBOARD_TYPE_DEC 1

This will cause the NetBeans launcher to specify the appropriate Java logical (JAVA$KEYBOARD_TYPE_DEC) and NetBeans option when starting up NetBeans.

Once the module is loaded with the logical defined, NetBeans running on OpenVMS will recognize the EDT Editor keybindings.

Caution Do not use a DEC keyboard without this logical. Conversely, do not use a PC keyboard with this logical. Both cases will result in undefined behavior.

Specify the behavior of PC navigation keys

Running NetBeans on OpenVMS

By default, the EDT Editor Keybindings Module disables the standard PC navigation keypad functions (INSERT,HOME,PAGE UP, and so on) and replaces them with EDT functions. If you prefer to use these keys according to their PC keyboard labels, do the following:

Define the following NetBeans startup property as true:

netbeans.edtkeypad.navigatePCkeys

For example:
$ @RUNIDEOPENVMS "" "-Dnetbeans.edtkeypad.navigatePCkeys=true"
Running NetBeans on Other Platforms

Note EDT Keybindings are disabled on Windows unless you are using Java SDK 1.4.0 or later.

By default, the EDT Editor Keybindings Module disables the EDT navigation keypad functions (FIND,SELECT,PASTE, and so on) and retains the meaning of the keys according to their PC keyboard labels. If you prefer to use these keys according to their EDT functions, do the following:

Define the following NetBeans startup property as false:

netbeans.edtkeypad.navigatePCkeys

For example:
C:\netbeans\bin\runide.exe -J-Dnetbeans.edtkeypad.navigatePCkeys=false