MESSAGE(1F(
)Form and Menu Language Interpreter UtilitieM
s)
ESSAGE(1F)
NAME
message - puts its arguments on message line
SYNOPSIS
message [-t] [-p] [-o] [-b [num]] "[string]"
DESCRIPTION
The message command puts its string arguments out onto the
message line. If there is no string the stdin input to
message will be used. If the -t is set, this means put the
message out in temporary form (it will be removed after the
next keypress). This is the default. The -p flag means put
the message out in permanent form. This is used for
prompts, it will stay up until the next message is put up.
The -o flag forces message to "tee" its message to stdout.
The -b [num], where num is an integer from 1 to 10, rings
the terminal bell the specified number of times. The
default is 1. If the terminal has no bell, the screen is
flashed instead, if possible.
If the message command is being used solely for the bell or
working indicator control, remember to give it a null string
argument unless input is being piped to it. The string
should always be the last argument.
EXAMPLES
When the value entered in the field is wrong, ring the bell
3 times and then put up the invalid field message "Try
again!"
invalidmsg=`message -b 3 "Try again!"`
Put out a message to tell the user what is being done:
done=`message hello has been set in your environment`
Page 1 May 1989