1 NOTIFY
!
Command for sending a message:

    *  From a batch job to your terminal (Format 1)

    *  From an interactive command procedure to your terminal (Format 1)

    *  To a system manager's or operator's terminal (Format 2)

Formats:

    1.  NOTIFY "message"

    2.  NOTIFY /USER=username "message"
!
2 Message
!
The message to be sent must must be enclosed in quotation marks.
Example:

        $ NOTIFY "This is the message"

When the message is displayed on the screen, it is in bold reverse vid-
eo, and the terminal's bell is rung four times.

When format 1 is used, the message is truncated to 80 characters.  When
format 2 is used, your username is added to the message, and the actual
message is truncated to ( 72 - U ) characters, where U is the length of
your username.


2 Format_1

When used in a batch job,  this format prints the message  in the batch
log,  and also sends  the message  to all terminals  at which the batch
job's submitter is logged in.

When used in an interactive command procedure, the message is displayed
on the terminal  running the procedure.  The message  is shown  in bold
reverse video and the bell is rung four times.

Example:

          $ NOTIFY "The XXX Procedure Aborted"


2 Format_2

This format sends a message to the specified user, if the user is cur-
rently logged in.   The only users  to whom you can send messages  are
the SGS System Managers and Operators.   It is strongly requested that
this format only be used in emergencies.

Example:

          $ NOTIFY /USER=OPER_TL "Message"

2 Restricted_formats

There are other formats of NOTIFY which can only be used by those users
who have OPER privilege.

Formats:

    2.  NOTIFY /USER=username "message"  (to any logged-in user)

    3.  NOTIFY /TERMINAL=termname "message"

    4.  NOTIFY /ALL "message"


3 Format_2

If you have OPER privilege, you can send send a message to any logged-
in user or set of users.

Examples:

          $ NOTIFY /USER=SULU "Ahead Warp Factor 7"

          $ NOTIFY /USERS=(USERA,USERB) "Message"

The parentheses are required if more than one username is specified.


3 Format_3

This format sends a message to the specified terminal(s), even if there
is nobody logged in there.  You cannot use this format unless you have
OPER privilege.

Examples:

          $ NOTIFY /TERMINAL=TTA0 "Message"

          $ NOTIFY /TERM=(TTA0,TTB2) "Message"

The parentheses are required if more than one terminal is specified.  A
leading underscore or trailing colon is optional in terminal names.

3 Format_4

This format sends a message to all terminals connected to the system,
whether anyone is logged in on them or not.  You cannot use this format
unless you have OPER privilege.

Example:

          $ NOTIFY /ALL "Going down in 5 minutes"


