|Command||tcl.send-message Verb: Access/TCL
Applicable release versions: AP, AP 6.1, AP 6.2
|Description||directs a text message to a specific port, a specific user-id, all current users, or every device attached to the system.
There are 4 valid verbs for sending messages: "send-message", "sm", "message" and "msg". They all behave exactly the same.
The "user-id" form sends the message to any port where the given user-id is logged on.
The "*" (asterisk) form sends the message to all users currently logged on to the system.
The "!port.number" form sends the message to the specified port.
The "!*" form sends the message to every terminal (and serial printer!) connected to the system, whether or not the device is logged on. (Even terminals sitting at the LOGON screen will receive a message.
The recipient(s) of the message see the time/date, the user-id and port.number of the user who sent the message, and the text of the message. The text need not be enclosed in quotes.
On releases 6.1 and higher, if the recipient(s) of the message is in the Update processor or in a menu, they will be prompted to "Press <return> to continue" before the screen is redisplayed. This message times out in 60 seconds.
On releases 6.2 and higher, if the recipient(s) of the message is shelled out into Unix, then the message will be written directly to the approprate tty device.
|Syntax||send-message user-id text
send-message * text
send-message !port.number text
send-message !* text
send-message !0 are you there?<return> Sends the message to port zero only.