indicator - display application specific alarms and/or the "working" indicator
indicator [-b [n]] [-c column] [-l length] [-o] [-w] [string]...
The indicator function displays application specific alarms or the "working" indicator, or both, on the FMLI banner line. The argument string is a string to be displayed on the banner line, and should always be the last argument given. Note that string is not automatically cleared from the banner line.
-bn
-c column
-l length
-o
-w
Example 1 A sample output of the indicator command.
When the value entered in a form field is invalid, the following use of indicator will ring the bell three times and display the word WRONG starting at column 1 of the banner line.
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"; sleep 3; indicator -c 1 " "`
In this example the value of invalidmsg (in this case the default value Input is not valid), still appears on the FMLI message line.
See attributes(5) for descriptions of the following attributes:
|
attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |