Contained WithinFind More DocumentationFeatured Support Resources | Download this book in PDF (7229 KB)
message(1F)Name | Synopsis | Description | Options | Examples | Attributes | See Also | Notes Name
Synopsismessage [-t] [-b [num]] [-o] [-w] [string] message [-f] [-b [num]] [-o] [-w] [string] message [-p] [-b [num]] [-o] [-w] [string] DescriptionThe message command puts string out on the FMLI message line. If there is no string, the stdin input to message will be used. The output of message has a duration (length of time it remains on the message line). The default duration is "transient": it or one of two other durations can be requested with the mutually-exclusive options below. Messages displayed with message -p will replace (change the value of) any message currently displayed or stored via use of the permanentmsg descriptor. Likewise, message -f will replace any message currently displayed or stored via use of the framemsg descriptor. If more than one message in a frame definition file is specified with the -p option, the last one specified will be the permanent duration message. The string argument should always be the last argument. Options
ExamplesExample 1 A sample output of message on the message line:When a value entered in a field is invalid, ring the bell 3 times and then display Invalid Entry: Try again! on the message line:
Display a message that tells the user what is being done:
Display a message on the message line and stdout for each field in a form (a pseudo-"field duration" message).
Display a blank transient message (effect is to "remove" a permanent or frame duration message).
AttributesSee attributes(5) for descriptions of the following attributes:
See AlsoNotesIf message is coded more than once on a single line, it may appear that only the right-most instance is interpreted and displayed. Use sleep(1) between uses of message in this case, to display multiple messages. message -f should not be used in a stand-alone backquoted expression or with the init descriptor because the frame is not yet current when these are evaluated. In cases where `message -f "string"` is part of a stand-alone backquoted expression, the context for evaluation of the expression is the previously current frame. The previously current frame can be the frame that issued the open command for the frame containing the backquoted expression, or it can be a frame given as an argument when fmli was invoked. That is, the previously current frame is the one whose frame message will be modified. Permanent duration messages are displayed when the user navigates to the command line. Name | Synopsis | Description | Options | Examples | Attributes | See Also | Notes |
||||||||