Customizing the user environment

FIRE PHASERS

Use FIRE PHASERS to signal the workstation to emit a phaser sound. FIRE has the following command format:

   FIRE n
Replace n with the number of times you want this sound to occur.

Use this command alone to generate the phaser sound whenever a user logs in. Use FIRE PHASERS with the IF...THEN command to make the sound execute a different number of times depending on the circumstances of the login.

The following line executes the phaser sound four times upon login:

FIRE 4

To use an environment variable as the number of times to fire, use the percent sign (%) before the variable, as follows:

FIRE %environment variable

Either of the following lines fires the phaser five times on Thursdays:

   IF DAY_OF_WEEK="Thursday" THEN FIRE 5
   

FIRE %NDAY_OF_WEEK

The identifier variable %NDAY_OF_WEEK indicates a number that corresponds to the day of the week. Since Thursday is the fifth day of the week, phasers fire five times on Thursdays.

For more information about using identifier variables, see ``Identifier variables''.


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999