3.3

Table Of Contents
170
Translating characters is called mapping, and there are three commands (
map
,
mapin
, and
mapout
) that allow you to do this. While these commands are also available to users, system
administrators will usually use them in dialogs to set up the translations for users rather than
leave it for users to do after they have connected.
capture
capture <destination queue name>
Places a copy of all text received from the remote connection during a session in a story into
the queue you specify.
Usually you invoke capture from the cmd> prompt. However, to turn capture on in a dialog,
place the capture command and destination queue name at the point in the dialog where you
want to begin capturing material.
You must include a destination queue unless you are restarting capture after having paused
it. If you have not paused capture earlier in the dialog, leaving out the queue name generates
an error and terminates the dialog.
delay
delay <# of seconds>
Pauses the dialog for a number of seconds.
When the specified time has passed, the dialog resumes. Put the command where you want
the dialog to pause and follow it with the number of seconds you want the dialog to pause.
For instance, to pause the dialog for five seconds, type delay 5.
Although the dialog is suspended while this command is in effect, you can use the
quit
connect command to close the connection.
diag
diag [on | off]
Normally, a dialog’s diagnostic mode is off and screen output is suppressed while the dialog
is running. However, you can use the diag command to turn the dialog’s diagnostic mode on
so you can see what the dialog is doing as it executes.
Usually you want the diagnostic mode on only when you are debugging a dialog, so you can
determine exactly where any errors occur. Place a diag on command in the dialog at the
point where you want to start debugging.