1indicator(1F) FMLI Commands indicator(1F)
2
3
4
6 indicator - display application specific alarms and/or the "working"
7 indicator
8
10 indicator [-b [n]] [-c column] [-l length] [-o] [-w]
11 [string]...
12
13
15 The indicator function displays application specific alarms or the
16 "working" indicator, or both, on the FMLI banner line. The argument
17 string is a string to be displayed on the banner line, and should
18 always be the last argument given. Note that string is not automati‐
19 cally cleared from the banner line.
20
22 -bn The -b option rings the terminal bell n times, where n is
23 an integer from 1 to 10. The default value is 1. If the
24 terminal has no bell, the screen is flashed instead, if
25 possible.
26
27
28 -c column The -c option defines the column of the banner line at
29 which to start the indicator string. The argument column
30 must be an integer from 0 to DISPLAYW-1. If the -c option
31 is not used, column defaults to 0 .
32
33
34 -l length The -l option defines the maximum length of the string
35 displayed. If string is longer than length characters, it
36 will be truncated. The argument length must be an integer
37 from 1 to DISPLAYW. If the -l option is not used, length
38 defaults to DISPLAYW. Note that if string doesn't fit it
39 will be truncated.
40
41
42 -o The -o option causes indicator to duplicate its output to
43 stdout .
44
45
46 -w The -w option turns on the "working" indicator.
47
48
50 Example 1 A sample output of the indicator command.
51
52
53 When the value entered in a form field is invalid, the following use of
54 indicator will ring the bell three times and display the word WRONG
55 starting at column 1 of the banner line.
56
57
58 invalidmsg=`indicator -b 3 -c 1 "WRONG"`
59
60
61
62
63 To clear the indicator after telling the user the entry is wrong:
64
65
66 invalidmsg=`indicator -b 9 -c 1 "WRONG"; sleep 3;
67 indicator -c 1 " "`
68
69
70
71
72 In this example the value of invalidmsg (in this case the default value
73 Input is not valid), still appears on the FMLI message line.
74
75
77 See attributes(5) for descriptions of the following attributes:
78
79
80
81
82 ┌─────────────────────────────┬─────────────────────────────┐
83 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
84 ├─────────────────────────────┼─────────────────────────────┤
85 │Availability │SUNWcsu │
86 └─────────────────────────────┴─────────────────────────────┘
87
89 attributes(5)
90
91
92
93SunOS 5.11 5 Jul 1990 indicator(1F)