SunPCi User's Guide

Using the Keyboard Environment Variables

This section describes the following topics:

Setting the KBTYPE Environment Variable

The KBTYPE environment variable specifies the keyboard language table to use with the SunPCi software. To set KBTYPE, refer to Turning On an Environment Variable. Table B–1 lists the values for KBTYPE and the corresponding languages.

Table B–1 KBTYPE Values

KBTYPE Value 

Keyboard Language 

be 

Belgium 

cf 

Canadian French 

dk 

Danish 

fr 

French 

gf 

Swiss German 

gr 

German 

it 

Italian 

la 

Latin American Spanish 

nl 

Dutch (Netherlands) 

no 

Norwegian 

po 

Portuguese 

sf 

Swiss French 

sg 

Swiss German 

sp 

Spanish 

su 

Finnish 

sv 

Swedish 

uk 

U.K. English 

us 

U.S. English 

Setting the KBCP Environment Variable

The KBCP environment variable specifies the keyboard code page. The code page specifies the characters set (accents, currency symbols, and so on) t be used with a keyboard. lists the possible values for the KBCP environment variable.

Table B–2 KBCP Values

Value 

Description 

437 

United States code page 

850 

Multilingual code page, including all characters for most languages of European, North American, and South American countries 

860 

Portuguese code page 

863 

Canadian French code page 

865 

Nordic code page, including all characters for the Norwegian and Danish languages 

To set KBCP, refer to Turning On an Environment Variable. For more information on code pages and their functions, refer to What Is a Code Page? .

Turning On an Environment Variable

To use an environment variable, follow these steps:

  1. Make sure SunPCi is not running, or exit SunPCi if it is running.

  2. Open a terminal window on your desktop.

  3. To set an environment variable, type the following command at the % prompt and press Return (do not type the %). Substitute the name of the environment variable for VARIABLE_NAME, and the value for the variable (if required) for value.

    C Shell:


    % setenv VARIABLE_NAME=value
    

    Bourne Shell:


    % VARIABLE_NAME=value
    % export VARIABLE_NAME
    

  4. Start SunPCi.

Turning Off an Environment Variable

To turn off an environment variable, type the following command and substitute the name of the environment variable for VARIABLE_NAME.


% unsetenv VARIABLE_NAME