3.3

Table Of Contents
C Standard Dictionaries
208
Customizing Dictionaries
Your system’s dictionaries are text files stored in the /site/dict directory. Because they are
text files, you can change any dictionary translation using ed, the line editor, at the console.
Changing Default Dictionary Values
As an example of how to modify a dictionary translation, change the enter directory and
enter queue commands to make directory and make queue. To do this, change the
translations for enter directory and enter queue from
e d
and
e q
to
ma d
and
ma q
,
respectively.
The new translations, like the ones they are replacing, are as short as they can be and still
remain unique. Keep each translation short, because there is a space limit.
If necessary, hide commands from users by changing the command name. For instance, to
restrict access to the order command, change it to something like arrange and inform only
users that you want to have access to the command.
To edit the dictionary file, do the following:
1. Select all servers at the console, so changes you make are made to each server’s copy of
the file.
The
enter directory
and
enter queue
commands have their translations stored in
/site/dict/queues.
n
This procedure uses the ed line editor.
2. Open /site/dict/queues for editing by typing:
ed /site/dict/queues
A message similar to the following appears:
editing /site/dict/queues
1824
3. Move to the beginning of the file by typing:
1
4. Move to the line containing Q_UNKNOWN by typing
<ENTER>
.
5. Change wires.unknown to wires.mystery by typing:
s/unknown/mystery