picture of CMU library
Staff Resources
 Content for CMU Libraries' Staff only

Anzio lets you assign characters, strings, and commands (macros) to almost any keyboard key. Each defined key can contain up to 246 keystrokes. You can define function keys in normal, shift, ctrl, and ctrl-shift modes. You can also define arrow keys, special keys, and control-keys. You can also separately define the numeric-pad keys when NumLock is off. Other keys on the numeric pad, such as + and Enter, can have two separate definitions, one for when NumLock is on, and one for when NumLock is off. Giving a key a new definition will override its hard-coded value, if any. To see the current function key assignments, press ALT M and type "keys."

  1. Get to a function prompt, by hitting <ctrl-shift-F> or <alt-M>.
  2. Type the following command:
    define<space><key><space><string><Enter>
    where <key> is the actual keystroke (or combination) you want to program,
    and <string> is the series of characters. Inside <string>, you must prefix an
    <Escape> with a <control-P>.
  3. SAVE your changes by using the menu item File:Save Keys. If you don’t, the
    program will prompt you to do so on exit.

NOTE: When you are entering a command that requires a carriage return, use the vertical bar character ‘|’ to represent the ENTER key.

top
Undefining a Key
  • You can define a key with a null definition, to eliminate a previous key definition. Enter nothing for string: <ctrl-shift-F> define x Enter
top
Editing a Key Definition
  • To return to an existing key definition and make changes, use DEFINE with a question
    mark: EXAMPLE: F6 Define F2?
  • When Anzio sees the question mark after the key (without a space), it displays the existing contents of the key. You can then edit the definition. Press Enter to finish editing.
  • Function, can be overdefined with your own definition. However, We strongly advise you not to redefine ALT A, ALT F, ALT M, ALT U, or ALT X
top
Copying a Defined Key
  • To copy a definition from one key to another, begin editing the existing key, then back up and change the key name. For instance, to copy key X’s definition to key Y, enter:
    F6
    Define X?
  • When Anzio displays the current definition of X, back up and replace X with Y, then press Enter.
top
Special Characters Inside Defined Keys

Some characters and keys have special meaning in a defined key:

  • | vertical bar (or "pipe sign") is used when you need to enter the ENTER command.
  • # number sign – Waits for user input. The Anzio program will stop transmission, accept your entry up to a Enter and send the entry.
  • {} braces – Displays text to the user. When a left brace { is encountered during transmission, all characters up to the right brace} are displayed on the PC, but not sent to the host. The special defined key characters ‘|’ and ‘#’ are not processed inside curly braces, just displayed on the screen.
  • ~ tilde – Used for quoting Special Keys. The character after a tilde is transmitted, not interpreted. So, to program a key to send {A}, enter: Define a ~ {A} Enter
  • Tab characters may be included in a defined key by simply pressing the Tab key. When the defined key is sent, the tab is processed according to the current tab settings, just as though you had typed it.
top

 
CMU, an AA/EO institution, strongly and actively strives to increase diversity within its community (see http://www.cmich.edu/aaeo/). INDIVIDUALS WITH DISABILITIES REQUIRING ACCOMMODATION SHOULD CONTACT REFERENCE SERVICES AT 774-3470.
CMU logo
Last Updated: August 22, 2007 | Report any problems to the staff page webmaster