Customization: Difference between revisions

From NARS2000
Jump to navigationJump to search
No edit summary
 
Line 1: Line 1:
== User-Defined Keyboard Layouts ==
== User-Defined Keyboard Layouts ==


There are many different APL keyboard layouts depending upon the position of various keys, the characters associated with those keys, as well as the effect of shift states.  As such, no one layout can satisfy everyone, so instead NARS2000 includes the ability for you to define exactly what you like.
There are many different APL keyboard layouts depending upon the position of various keys, the characters associated with those keys, as well as the effect of modifiers.  As such, no one layout can satisfy everyone, so instead NARS2000 includes the ability for you to define exactly what you like.


If the keyboard layouts included with the program aren't what you prefer, one time only spend a few minutes to define your own layout which the program then saves to an initialization file loaded every time you run the program.
If the keyboard layouts included with the program aren't what you prefer, one time only, spend a few minutes to define your own layout which the program then saves to an initialization file loaded every time you run the program.


To define your own layout,
To define your own layout,
Line 9: Line 9:
* Click on the menu items, <code>Edit > Customize...</code> and choose the category <code>Keyboards</code>.
* Click on the menu items, <code>Edit > Customize...</code> and choose the category <code>Keyboards</code>.
* Select each of the various Layout Names until you find one close enough to your preferences, paying particular attention to which keys are on which row.
* Select each of the various Layout Names until you find one close enough to your preferences, paying particular attention to which keys are on which row.
* Click on the <code>Copy...</code> button and name the copied layout.
* Click on the <code>Copy...</code> button and rename the built-in layout as your own read-write copy (the built-in layouts are read-only).
* Select a combination of shift states (starting with <code>Shift</code>, <code>Ctrl</code>, and <code>Alt</code> all unchecked).
* Select a combination of modifiers (starting with <code>Shift</code>, <code>Ctrl</code>, and <code>Alt</code> all unchecked).
* Review all of the characters in that set of shift states and change whichever ones you like.
* Review all of the characters in that set of modifiers and change whichever ones you like.
* To change a character on a keycap, first find (and click on) the desired character in the box of characters to the left of the keycaps &mdash; clicking on the header buttons <code>Box</code>, <code>NLS</code>, <code>APL</code>, <code>abc</code>, and <code>123</code> displays a different set of characters from which to choose.  If the desired character isn't found in this list, you may enter its Unicode value in the box under the word <code>Unicode</code>.
* To change a character on a keycap, first find (and click on) the desired character in the box of characters to the left of the keycaps &mdash; clicking on the header buttons <code>Box</code>, <code>NLS</code>, <code>APL</code>, <code>abc</code>, and <code>123</code> displays a different set of characters from which to choose.  If the desired character isn't found in this list, you may enter its Unicode value (as either Decimal or Hex depending upon the adjacent Radio Buttons) in the box under the word <code>Unicode</code>.
* After choosing your desired character from the list, click on the keycap to assign that character to that keycap/shift state.
* After choosing your desired character from the list, click on the keycap to assign that character to that keycap/modifier.
* If the character you just entered is one of the accented characters (´ ` &#x005E; ¨ &#x007e;), you may right-click on the keycap and mark it as a [[Accented_Characters|Dead Key]] so it can be used to create other characters combined with that accent.  Dead keys display specially with colored text and background.
* If the character you just entered is one of the accented characters (´ ` &#x005E; ¨ &#x007e;), you may right-click on the keycap and mark it as a [[Accented_Characters|Dead Key]] so it can be used to create other characters combined with that accent.  Dead keys display specially with colored text and background.
* Select another set of shift states and repeat the above steps until you have your very own keyboard layout.
* Select another set of modifiers and repeat the above steps until you have your very own keyboard layout.
* Also, select how you'd like the various Windows-specific Ctrl-keys to work while NARS2000 is active.
* Also, select how you'd like the various Windows-specific Ctrl-keys to work while NARS2000 is active.
* Finally, click on the <code>Make Active</code> button to activate your keyboard layout, and click on <code>OK</code> or <code>Apply</code> to apply your changes.
* Finally, click on the <code>Make Active</code> button to activate your keyboard layout, and click on <code>OK</code> or <code>Apply</code> to apply your changes.

Latest revision as of 15:55, 28 February 2019

User-Defined Keyboard Layouts

There are many different APL keyboard layouts depending upon the position of various keys, the characters associated with those keys, as well as the effect of modifiers. As such, no one layout can satisfy everyone, so instead NARS2000 includes the ability for you to define exactly what you like.

If the keyboard layouts included with the program aren't what you prefer, one time only, spend a few minutes to define your own layout which the program then saves to an initialization file loaded every time you run the program.

To define your own layout,

  • Click on the menu items, Edit > Customize... and choose the category Keyboards.
  • Select each of the various Layout Names until you find one close enough to your preferences, paying particular attention to which keys are on which row.
  • Click on the Copy... button and rename the built-in layout as your own read-write copy (the built-in layouts are read-only).
  • Select a combination of modifiers (starting with Shift, Ctrl, and Alt all unchecked).
  • Review all of the characters in that set of modifiers and change whichever ones you like.
  • To change a character on a keycap, first find (and click on) the desired character in the box of characters to the left of the keycaps — clicking on the header buttons Box, NLS, APL, abc, and 123 displays a different set of characters from which to choose. If the desired character isn't found in this list, you may enter its Unicode value (as either Decimal or Hex depending upon the adjacent Radio Buttons) in the box under the word Unicode.
  • After choosing your desired character from the list, click on the keycap to assign that character to that keycap/modifier.
  • If the character you just entered is one of the accented characters (´ ` ^ ¨ ~), you may right-click on the keycap and mark it as a Dead Key so it can be used to create other characters combined with that accent. Dead keys display specially with colored text and background.
  • Select another set of modifiers and repeat the above steps until you have your very own keyboard layout.
  • Also, select how you'd like the various Windows-specific Ctrl-keys to work while NARS2000 is active.
  • Finally, click on the Make Active button to activate your keyboard layout, and click on OK or Apply to apply your changes.

If you would like to share your keyboard layout with others, please send the contents of the [KeybLayout-nnn] section from your NARS2000.INI file to wikimaster@nars2000.org.

The design for this feature was copied from IBM's APL2 product.