INDICATOR((
1F)
orm and Menu Language Interpreter UtilitI
iN
eD
s)
ICATOR(1F)
NAME
indicator - display application specific alarms and/or the
"working" indicator
SYNOPSIS
indicator [-c column] [-l length] [-o] [-w] [-b [n]]
"[string]" . . .
DESCRIPTION
The -c option dictates what column of the banner line to
start the indicator string on. Column is an integer from 0
to 79. If the -c option is not used, the default is 0. The
-l option limits the length of the indicator. If the string
is longer than length, it will be truncated. Length is an
integer from 1 to 80. If -l is not used, the default is the
entire string. The -o option causes indicator to "tee" its
output to stdout. The -w option turns on the "working"
indicator. The -b option rings the terminal bell n times,
where n is an integer from 1 to 10. The default is 1. If
the terminal has no bell, the screen is flashed instead, if
possible.
If the indicator 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 given. The
indicator is not automatically cleared.
EXAMPLES
When the value entered in the field is wrong, ring the bell
3 times and put up an indicator saying WRONG in column 1.
invalidmsg=`indicator -b 3 -c 1 "WRONG"`
To clear the indicator after telling the user the entry is
wrong:
invalidmsg=`indicator -b 9 -c 1 "WRONG";
indicator -c 1 " "`
Page 1 May 1989