W3C Amaya Using

Configuring Amaya

This document explains how to configure Amaya. A user configures Amaya by means of the .thotrc registry file, normaly located in the HOME directory of the user. In this file there is a section [amaya] where user can change configuration options concerning :


Home Page

It is possible to change the default home page of Amaya by defining the HOME_PAGE registry variable.

Default Colors

User interface colors have default values that can be modified in the .thotrc registry file of the user. The following parameters are used:

Once the .thotrc file has been modified, restart Amaya.

Colors Palette

CSS allows the user to color documents with one of the 152 predefined colors. During initialization, the editor loads its color table to present them in a palette. The number of colors loaded by the editor can be divided by two by editing the .thotrc file.

Once the .thotrc file has been modified, restart Amaya.

Dialogue Language

The dialogue language is defined by the LANG registry variable. The default language is English (value en_US).

For other languages support, please contact us.

Printer command

The standard printer command is defined by the THOTPRINTER registry variable. If this command is not well adapted of the current system, the user have to update it before printing using the "Print Setup" command or change this variable in its thot.ini registry.

Keyboard Shortcuts

It is convenient to be able to invoke menu commands from the keyboard. The Thot toolkit provides a facility that let user accomplish this. When the application starts, the Thot toolkit looks for the keyboard shortcuts file for the application. This file defines a list of associations between a keyboard sequence an the invoked corresponding command.

The syntax used to define association is:

 Directive = KeySeq ':' IdentCommand ;
 KeysSeq = KeySet [ ',' KeySet ] ;
 KeySet = [ Modifier ] [ 'Shift' ] Key ;
 Key = '<Key>' KeyValue / '<Key>' SpecialKey ;
 Modifier = 'Ctrl' / 'Alt' / 'Meta' ;
 KeyValue = 'a' / 'b' / ... ;
 SpecialKey = 'Escape' / 'Delete' / 'Space' / 'BackSpace' / 
              'Return' / 'Up' / 'Down' / 'Left' / 'Right' / 
              'Home' / 'End' / 'F1' / ... / 'L1' / ... / 'R1' / ... ;
 IdentCommand = 'TtcInsertChar(' Char ')' / NAME '()' ;
 Char = KeyValue / OctalValue ;  OctalValue = '\' NUMBER ; 

See standard amaya.keyboard file in bin directory.

The list of available commands is:


Irène Vatton
Webmaster
$Date: 1997/01/28 17:42:22 $