1fmli(1)                          User Commands                         fmli(1)
2
3
4

NAME

6       fmli - invoke FMLI
7

SYNOPSIS

9       fmli [-a alias_file] [-c command_file]
10            [-i initialization_file] filename...
11
12

DESCRIPTION

14       The  fmli  command  invokes  the Form and Menu Language Interpreter and
15       opens the frame(s) specified by the  filename  argument.  The  filename
16       argument  is  the pathname of the initial frame definition file(s), and
17       must follow the naming convention Menu.xxx, Form.xxx, or Text.xxx for a
18       menu,  form  or  text  frame respectively, where xxx is any string that
19       conforms to  UNIX system file naming conventions. The  FMLI  descriptor
20       lifetime  will  be  ignored  for all frames opened by argument to fmli.
21       These frames have a lifetime of immortal by default.
22

OPTIONS

24       The following options are supported:
25
26       -a alias_file             If -a is specified, alias_file is the name of
27                                 a  file  which  contains  lines  of  the form
28                                 alias=pathname.  Thereafter,  $alias  can  be
29                                 used  in  definition files to simplify refer‐
30                                 ences to  objects  or  devices  with  lengthy
31                                 pathnames,  or to define a search path (simi‐
32                                 lar to  $PATH in the UNIX system shell).
33
34
35       -c command_file           If -c is specified, command_file is the  name
36                                 of a file in which default  FMLI commands can
37                                 be  disabled,  and  new  application-specific
38                                 commands can be defined. The contents of com‐
39                                 mand_file are reflected in the  FMLI  Command
40                                 Menu.
41
42
43       -i initialization_file    If  -i  is  specified, initialization_file is
44                                 the name of a file  in  which  the  following
45                                 characteristics of the application as a whole
46                                 can be specified:
47
48                                 A transient introductory  frame  dis‐
49                                         playing product information
50
51
52                                 A  banner,  its  position,  and other
53                                         elements of the banner line
54
55
56                                 Color attributes for all elements  of
57                                         the screen
58
59
60                                 Screen  Labeled Keys (SLKs) and their
61                                         layout on the screen.
62
63
64

EXAMPLES

66       Example 1 Examples of the fmli command.
67
68
69       To invoke fmli:
70
71
72         example% fmli Menu.start
73
74
75
76
77       where Menu.start is an example of filename named according to the  file
78       name conventions for menu definition files explained above.
79
80
81
82       To invoke fmli and name an initialization file:
83
84
85         example% fmli -i init.myapp Menu.start
86
87
88
89
90       where init.myapp is an example of initialization_file.
91
92

ENVIRONMENT VARIABLES

94   Variables
95       LOADPFK    Leaving this environment variable unset tells FMLI, for cer‐
96                  tain terminals like the AT&T 5620 and 630, to  download  its
97                  equivalent  character sequences for using function keys into
98                  the terminal's programmable function keys,  wiping  out  any
99                  settings the user may already have set in the function keys.
100                  Setting LOADPFK=NO in  the  environment  will  prevent  this
101                  downloading.
102
103
104       COLUMNS    Can  be  used  to  override  the width of the logical screen
105                  defined for the terminal set in TERM. For terminals  with  a
106                  132-column mode, for example, invoking  FMLI with the line
107
108                  COLUMNS=132 fmli frame-file
109
110                  will allow this wider screen width to be used.
111
112
113       LINES      Can  be  used  to  override the length of the logical screen
114                  defined for the terminal set in TERM.
115
116

FILES

118       /usr/bin/fmli
119
120

ATTRIBUTES

122       See attributes(5) for descriptions of the following attributes:
123
124
125
126
127       ┌─────────────────────────────┬─────────────────────────────┐
128       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
129       ├─────────────────────────────┼─────────────────────────────┤
130       │Availability                 │SUNWcsu                      │
131       └─────────────────────────────┴─────────────────────────────┘
132

SEE ALSO

134       vsig(1F), attributes(5)
135

DIAGNOSTICS

137       If filename is not supplied to the fmli command, fmli returns the  mes‐
138       sage:
139
140
141       Initial object must be specified.
142
143
144       If  filename  does  not exist or is not readable, fmli returns an error
145       message and exits. The example command line above returns the following
146       message and exits:
147
148
149       Can't open object "Menu.start"
150
151
152       If  filename  exists,  but does not start with one of the three correct
153       object names (Menu., Form., or Text.) or if it is named  correctly  but
154       does  not  contain  the proper data, fmli starts to build the screen by
155       putting out the screen labels for function keys, after which it flashes
156       the message:
157
158
159       I do not recognize that kind of object
160
161
162       and then exits.
163
164
165
166SunOS 5.11                        14 Sep 1992                          fmli(1)
Impressum