In file output.h:

void out_setxlation

(int mode)

Control character translation.

Documentation

Control character translation.

This function controls how characters will be translated, if at all.

Parameters:
mode - The number of the translation table to use for both input and output characters. Alternatively, one of the following:
XLATION_OFF
Disables automatic translation. This is necessary before running software that talks to the user (or some client) in binary, or simply to display something to the user without translation (though I can't think of a reason at 2am).
XLATION_ON
Enables automatic translation, using whatever table used to be active at the time of de-activation. Useful for turning translation back on (see above).
. Please bear in mind that the translation itself is done my emud, and so any settings are persistent throughout the user's session with the system. The translation table is initialised by emud itself in the beginning, so don't change it unless you can guarantee the user will be able to read whatever you're sending! Currently, the only use for XLATION_OFF and XLATION_ON is to disable (temporarily) translation while a binary file transfer protocol (like Z-Modem) is running. The only use for the function itself is during the logon or signup processes, or after changing translation preferences in the Account module.

Alphabetic index



This page was generated with the help of DOC++.