TOC -Previous - Next

Step 2: Setting Up your Working Environment

This section provides a description of the basic operations that may be performed to set up and optimize the PowerTerm working environment for your usage.

You can also customize the PowerTerm window to show or hide window components and change the display of the window. These options are all described in the section Manipulating Desktop components in Chapter 3: The PowerTerm Window.

PowerTerm enables you to emulate a host keyboard by assigning (mapping) PC keys to host keys. It furthermore provides two features, the Power Pad and soft buttons, which enable you to automate commands.

PowerTerm also enables you to save your keyboard and/or Power Pad settings in separate files and open them at a later date.

Mapping the PC Keyboard.

Saving and Opening Keyboard Mapping Settings.

Programming the Power Pad.

Saving and Opening your Power Pad Settings.

Programming Soft Buttons.

Selecting Fonts.

Mapping the PC Keyboard

PowerTerm enables you to map PC keys to host keys in order to emulate the host terminal keyboard. Keyboard mapping definitions are stored in a file with the same name as the current terminal setup file, with the extension .PTK. For example, the default keyboard mapping definitions are stored in a file called PTDEF.PTK.

Changes made to the keyboard mapping will not affect the Power Pad or soft buttons.

    • To view the default keyboard mapping:

From the Options menu, select the Keyboard Map option. The Keyboard Mapping dialog box is displayed:

Slide the mouse pointer over the different keys. The bottom line of the dialog box shows you the corresponding PC and terminal keys. For example, if you point to the "t" key of the VT Keyboard, you see that the corresponding PC key is "T".

    • To map a PC key to a host key:

In the Keyboard Mapping dialog box, drag a key from the upper terminal keyboard to a PC key on the lower keyboard.

Click the <Shift> or <Control> keys on the terminal keyboard to display additional key functions. For example, if you click the <Shift> key, the alphabet keys on the terminal keyboard are displayed in upper case. You can then map (drag) these keys to your PC keyboard keys.

    • To assign a script command to a PC key:

From the Options menu, select the Keyboard Map option. The Keyboard Mapping dialog box is displayed.

    • Right-click on a key on the PC keyboard that you want to assign a command. The Function Button dialog box is displayed.

Enter the script command description and click OK. The PC key has now been assigned a script command.

    • To map combinations of keys that include Alt, Ctrl and Shift:

Click the <Alt>, <Ctrl> or <Shift> key (or any combination) on your PC keyboard.

You can map keys by following the procedure described on the previous page.

To view the mapped key, click the required <Alt>, <Ctrl> or <Shift> key (or combination of these keys), and then click the mapped key.

    • To cancel a keyboard key definition:

In the Keyboard Mapping dialog box, drag the PC key definition that you want to cancel to the wastebasket . This restores the default function of the PC key.

    • To replace a PC key with another PC key:

PowerTerm enables you to move the functionality of a mapped PC key to another PC key. For example, you can drag the F6 key on the PC keyboard to the spacebar on the PC keyboard to give F6 functionality to the spacebar.

In the Keyboard Mapping dialog box, drag the required PC key onto the PC key that it will replace. This cancels the function of the original PC key. To cancel the replacement, drag the replaced key back to its original position.

    • To copy a PC key to another PC key:

PowerTerm enables you to copy the function of one PC key to another PC key.

In the Keyboard Mapping dialog box, hold the Control key while you drag the PC key whose function you want to copy to the required PC key. Both keys now have the same functionality.

    • To restore the default keyboard mapping of all mapped keys:

In the Keyboard Mapping dialog box, click the Defaults button.

Saving and Opening Keyboard Mapping Settings

PowerTerm enables you to save keyboard mapping settings in separate files and open them at a later date.

    • To save keyboard mapping settings:

From the File menu, select Save Keyboard File. The Save Keyboard File dialog box is displayed:

Select the directory in which you want to save the file.

Enter a file name. The file extension .kbd is automatically added to the file name.

Click Save. The keyboard mapping file is saved with the specific file name.

    • To open predefined keyboard mapping settings:

From the File menu, select Open Keyboard File. The Open Keyboard File dialog box is displayed:

Select the directory in which the keyboard file is saved.

Select the required keyboard file from the files list. The file name is highlighted.

Click Open. Parameters defined in the selected keyboard file are now applied to the current session.

Programming the Power Pad

The Power Pad is a floating key pad that contains buttons which can be programmed to execute customized PSL scripts. You can also change their names and adjust the number of buttons displayed in the Power Pad.

The Power Pad enables you to customize PowerTerm, in addition to keyboard mapping and the soft buttons. Changes made to the Power Pad will not affect keyboard mapping or soft buttons.

Power Pad buttons are named by default F1, F2, F3, and so on with a few default function names, such as Clear, Enter and Insert. Left-clicking on the F1 button is equivalent to sending F1 to the host.

    • To program the Power Pad:

From the Options menu, select Show Power Pad. The Power Pad is displayed:

Right-click on the Power Pad button that you want to program. The Power Pad Button dialog box is displayed:

Enter the Power Pad button description (the new name that will appear on the Power Pad button) and click OK.

The Power Pad Button dialog box is displayed containing a field to enter a script command or script commands separated by semicolons.

Enter the script command to be run by this Power Pad button. For example, send <f13>, and click OK. The Power Pad button is now displayed with its new name.

Clicking on the Power Pad button with the left mouse button will execute the newly defined script commands. For example, sending <F13> to the host. For more information, see the section Creating a Script in Chapter 5: Scripts.

    • To adjust the number of buttons in the Power Pad:

You can display a maximum of 10 rows and 10 columns in the Power Pad. The default number of buttons is 9 rows and 4 columns.

From the Options menu, select Power Pad Setup. The Power Pad Setup dialog box is displayed:

Click on the dropdown box to select the number of rows or columns that you want the Power Pad to contain.

    • Click OK. The Power Pad is displayed with the number of rows and columns specified:

Saving and Opening Power Pad Settings

PowerTerm enables you to save your Power Pad settings in separate files and open them at a later date.

    • To save your Power Pad settings:

From the File menu, select Save Power Pad File. The Save Power Pad File dialog box is displayed:

Select the directory in which you want to save the file.

Enter a file name. The file extension .pad is automatically added to the file name.

Click Save. The Power Pad file will be saved with the specific file name.

    • To open predefined Power Pad settings:

From the File menu, select Open Power Pad File. The Open Power Pad File dialog box is displayed:

Select the directory in which the Power Pad file is saved.

Select the required Power Pad file from the files list.

Click Open. Parameters defined in the selected Power Pad file are now applied to the current session.

 

Programming Soft Buttons

Along the bottom of the PowerTerm window are twelve programmable buttons. These are called soft buttons, shown below:

You can rename the soft buttons and program them to execute customized scripts. The soft button parameters are saved automatically in the terminal setup file.

Soft buttons are named by default from F1 to F12. Left clicking on the F1 button is equivalent to sending F1 to the host.

Soft buttons enable you to customize PowerTerm, in addition to keyboard mapping and the Power Pad. Changes made to the soft buttons will not affect keyboard mapping or the Power Pad.

    • To program soft buttons:

Click with the right mouse button on the soft button that you want to program. The Function Button dialog box is displayed:

Enter the function description (the new name that will appear on the button) and click OK. The Function Button dialog box is displayed with a field to enter a script command or more than one script commands separated by semicolons.

Enter the script command to be run by this button.

For example, exec notepad (see previous page).

Click OK. The soft button is now displayed with its new name. Clicking on the soft button with the left mouse button will execute the newly defined script command. In the example on the previous page, clicking the programmed soft button will open Notepad. For more information, see the section Creating a Script in Chapter 5: Scripts.

Selecting Fonts

PowerTerm enables you to select the system fonts you want to be displayed in the PowerTerm window or use the default PowerTerm fonts.

The default PowerTerm fonts are scaleable, so that if the window is made smaller, the font size is reduced in relation to the size of the window.

System fonts remain the same size, no matter what the size of the window. When you select your own system fonts you can only select fixed size fonts, meaning fonts that are not scaleable. System fonts enable you to select a different language.

    • To select PowerTerm fonts:

From the Terminal menu, select the PowerTerm Fonts option. The PowerTerm window will now display PowerTerm fonts.

    • To select system fonts:
      • From the Terminal menu, select the System Fonts option. The Font dialog box is displayed:

Define the system font parameters by selecting the font, style and size required.

    • Click OK. The PowerTerm window will now display the system font selected.

TOC -Previous - Next