line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
28993
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
31
|
|
2
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
406
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
return [ |
5
|
|
|
|
|
|
|
{ |
6
|
|
|
|
|
|
|
'class_description' => 'generated from LCDd.conf', |
7
|
|
|
|
|
|
|
'element' => [ |
8
|
|
|
|
|
|
|
'AutoRotate', |
9
|
|
|
|
|
|
|
{ |
10
|
|
|
|
|
|
|
'description' => 'If set to no, LCDd will start with screen rotation disabled. This has the |
11
|
|
|
|
|
|
|
same effect as if the ToggleRotateKey had been pressed. Rotation will start |
12
|
|
|
|
|
|
|
if the ToggleRotateKey is pressed. Note that this setting does not turn off |
13
|
|
|
|
|
|
|
priority sorting of screens. ', |
14
|
|
|
|
|
|
|
'type' => 'leaf', |
15
|
|
|
|
|
|
|
'upstream_default' => 'on', |
16
|
|
|
|
|
|
|
'value_type' => 'boolean', |
17
|
|
|
|
|
|
|
'write_as' => [ |
18
|
|
|
|
|
|
|
'off', |
19
|
|
|
|
|
|
|
'on' |
20
|
|
|
|
|
|
|
] |
21
|
|
|
|
|
|
|
}, |
22
|
|
|
|
|
|
|
'Backlight', |
23
|
|
|
|
|
|
|
{ |
24
|
|
|
|
|
|
|
'choice' => [ |
25
|
|
|
|
|
|
|
'off', |
26
|
|
|
|
|
|
|
'open', |
27
|
|
|
|
|
|
|
'on' |
28
|
|
|
|
|
|
|
], |
29
|
|
|
|
|
|
|
'description' => 'Set master backlight setting. If set to \'open\' a client may control the |
30
|
|
|
|
|
|
|
backlight for its own screens (only). ', |
31
|
|
|
|
|
|
|
'type' => 'leaf', |
32
|
|
|
|
|
|
|
'upstream_default' => 'open', |
33
|
|
|
|
|
|
|
'value_type' => 'enum' |
34
|
|
|
|
|
|
|
}, |
35
|
|
|
|
|
|
|
'Bind', |
36
|
|
|
|
|
|
|
{ |
37
|
|
|
|
|
|
|
'description' => 'Tells the driver to bind to the given interface. ', |
38
|
|
|
|
|
|
|
'type' => 'leaf', |
39
|
|
|
|
|
|
|
'upstream_default' => '127.0.0.1', |
40
|
|
|
|
|
|
|
'value_type' => 'uniline' |
41
|
|
|
|
|
|
|
}, |
42
|
|
|
|
|
|
|
'Driver', |
43
|
|
|
|
|
|
|
{ |
44
|
|
|
|
|
|
|
'choice' => [ |
45
|
|
|
|
|
|
|
'bayrad', |
46
|
|
|
|
|
|
|
'CFontz', |
47
|
|
|
|
|
|
|
'CFontzPacket', |
48
|
|
|
|
|
|
|
'curses', |
49
|
|
|
|
|
|
|
'CwLnx', |
50
|
|
|
|
|
|
|
'ea65', |
51
|
|
|
|
|
|
|
'EyeboxOne', |
52
|
|
|
|
|
|
|
'futaba', |
53
|
|
|
|
|
|
|
'g15', |
54
|
|
|
|
|
|
|
'glcd', |
55
|
|
|
|
|
|
|
'glcdlib', |
56
|
|
|
|
|
|
|
'glk', |
57
|
|
|
|
|
|
|
'hd44780', |
58
|
|
|
|
|
|
|
'icp_a106', |
59
|
|
|
|
|
|
|
'imon', |
60
|
|
|
|
|
|
|
'imonlcd', |
61
|
|
|
|
|
|
|
'IOWarrior', |
62
|
|
|
|
|
|
|
'irman', |
63
|
|
|
|
|
|
|
'joy', |
64
|
|
|
|
|
|
|
'lb216', |
65
|
|
|
|
|
|
|
'lcdm001', |
66
|
|
|
|
|
|
|
'lcterm', |
67
|
|
|
|
|
|
|
'linux_input', |
68
|
|
|
|
|
|
|
'lirc', |
69
|
|
|
|
|
|
|
'lis', |
70
|
|
|
|
|
|
|
'MD8800', |
71
|
|
|
|
|
|
|
'mdm166a', |
72
|
|
|
|
|
|
|
'ms6931', |
73
|
|
|
|
|
|
|
'mtc_s16209x', |
74
|
|
|
|
|
|
|
'MtxOrb', |
75
|
|
|
|
|
|
|
'mx5000', |
76
|
|
|
|
|
|
|
'NoritakeVFD', |
77
|
|
|
|
|
|
|
'Olimex_MOD_LCD1x9', |
78
|
|
|
|
|
|
|
'picolcd', |
79
|
|
|
|
|
|
|
'pyramid', |
80
|
|
|
|
|
|
|
'rawserial', |
81
|
|
|
|
|
|
|
'sdeclcd', |
82
|
|
|
|
|
|
|
'sed1330', |
83
|
|
|
|
|
|
|
'sed1520', |
84
|
|
|
|
|
|
|
'serialPOS', |
85
|
|
|
|
|
|
|
'serialVFD', |
86
|
|
|
|
|
|
|
'shuttleVFD', |
87
|
|
|
|
|
|
|
'sli', |
88
|
|
|
|
|
|
|
'stv5730', |
89
|
|
|
|
|
|
|
'svga', |
90
|
|
|
|
|
|
|
't6963', |
91
|
|
|
|
|
|
|
'text', |
92
|
|
|
|
|
|
|
'tyan', |
93
|
|
|
|
|
|
|
'ula200', |
94
|
|
|
|
|
|
|
'vlsys_m428', |
95
|
|
|
|
|
|
|
'xosd', |
96
|
|
|
|
|
|
|
'yard2LCD' |
97
|
|
|
|
|
|
|
], |
98
|
|
|
|
|
|
|
'description' => 'Tells the server to load the given drivers. Multiple lines can be given. |
99
|
|
|
|
|
|
|
The name of the driver is case sensitive and determines the section |
100
|
|
|
|
|
|
|
where to look for further configuration options of the specific driver |
101
|
|
|
|
|
|
|
as well as the name of the dynamic driver module to load at runtime. |
102
|
|
|
|
|
|
|
The latter one can be changed by giving a File= directive in the |
103
|
|
|
|
|
|
|
driver specific section. |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
The following drivers are supported: |
106
|
|
|
|
|
|
|
bayrad, CFontz, CFontzPacket, curses, CwLnx, ea65, EyeboxOne, futaba, |
107
|
|
|
|
|
|
|
g15, glcd, glcdlib, glk, hd44780, icp_a106, imon, imonlcd,, IOWarrior, |
108
|
|
|
|
|
|
|
irman, joy, lb216, lcdm001, lcterm, linux_input, lirc, lis, MD8800, |
109
|
|
|
|
|
|
|
mdm166a, ms6931, mtc_s16209x, MtxOrb, mx5000, NoritakeVFD, |
110
|
|
|
|
|
|
|
Olimex_MOD_LCD1x9, picolcd, pyramid, rawserial, sdeclcd, sed1330, |
111
|
|
|
|
|
|
|
sed1520, serialPOS, serialVFD, shuttleVFD, sli, stv5730, svga, t6963, |
112
|
|
|
|
|
|
|
text, tyan, ula200, vlsys_m428, xosd, yard2LCD', |
113
|
|
|
|
|
|
|
'type' => 'check_list' |
114
|
|
|
|
|
|
|
}, |
115
|
|
|
|
|
|
|
'DriverPath', |
116
|
|
|
|
|
|
|
{ |
117
|
|
|
|
|
|
|
'default' => 'server/drivers/', |
118
|
|
|
|
|
|
|
'description' => 'Where can we find the driver modules ? |
119
|
|
|
|
|
|
|
IMPORTANT: Make sure to change this setting to reflect your |
120
|
|
|
|
|
|
|
specific setup! Otherwise LCDd won\'t be able to find |
121
|
|
|
|
|
|
|
the driver modules and will thus not be able to |
122
|
|
|
|
|
|
|
function properly. |
123
|
|
|
|
|
|
|
NOTE: Always place a slash as last character !', |
124
|
|
|
|
|
|
|
'match' => '/$', |
125
|
|
|
|
|
|
|
'type' => 'leaf', |
126
|
|
|
|
|
|
|
'value_type' => 'uniline' |
127
|
|
|
|
|
|
|
}, |
128
|
|
|
|
|
|
|
'Foreground', |
129
|
|
|
|
|
|
|
{ |
130
|
|
|
|
|
|
|
'description' => 'The server will stay in the foreground if set to yes.', |
131
|
|
|
|
|
|
|
'type' => 'leaf', |
132
|
|
|
|
|
|
|
'upstream_default' => 'no,legal:yes,no', |
133
|
|
|
|
|
|
|
'value_type' => 'uniline' |
134
|
|
|
|
|
|
|
}, |
135
|
|
|
|
|
|
|
'FrameInterval', |
136
|
|
|
|
|
|
|
{ |
137
|
|
|
|
|
|
|
'description' => 'Sets the interval in microseconds for updating the display. |
138
|
|
|
|
|
|
|
default is 125000 meaning 8Hz', |
139
|
|
|
|
|
|
|
'type' => 'leaf', |
140
|
|
|
|
|
|
|
'upstream_default' => '125000', |
141
|
|
|
|
|
|
|
'value_type' => 'uniline' |
142
|
|
|
|
|
|
|
}, |
143
|
|
|
|
|
|
|
'GoodBye', |
144
|
|
|
|
|
|
|
{ |
145
|
|
|
|
|
|
|
'cargo' => { |
146
|
|
|
|
|
|
|
'type' => 'leaf', |
147
|
|
|
|
|
|
|
'value_type' => 'uniline' |
148
|
|
|
|
|
|
|
}, |
149
|
|
|
|
|
|
|
'type' => 'list' |
150
|
|
|
|
|
|
|
}, |
151
|
|
|
|
|
|
|
'Heartbeat', |
152
|
|
|
|
|
|
|
{ |
153
|
|
|
|
|
|
|
'choice' => [ |
154
|
|
|
|
|
|
|
'off', |
155
|
|
|
|
|
|
|
'open', |
156
|
|
|
|
|
|
|
'on' |
157
|
|
|
|
|
|
|
], |
158
|
|
|
|
|
|
|
'description' => 'Set master heartbeat setting. If set to \'open\' a client may control the |
159
|
|
|
|
|
|
|
heartbeat for its own screens (only). ', |
160
|
|
|
|
|
|
|
'type' => 'leaf', |
161
|
|
|
|
|
|
|
'upstream_default' => 'open', |
162
|
|
|
|
|
|
|
'value_type' => 'enum' |
163
|
|
|
|
|
|
|
}, |
164
|
|
|
|
|
|
|
'Hello', |
165
|
|
|
|
|
|
|
{ |
166
|
|
|
|
|
|
|
'cargo' => { |
167
|
|
|
|
|
|
|
'type' => 'leaf', |
168
|
|
|
|
|
|
|
'value_type' => 'uniline' |
169
|
|
|
|
|
|
|
}, |
170
|
|
|
|
|
|
|
'type' => 'list' |
171
|
|
|
|
|
|
|
}, |
172
|
|
|
|
|
|
|
'NextScreenKey', |
173
|
|
|
|
|
|
|
{ |
174
|
|
|
|
|
|
|
'default' => 'Right', |
175
|
|
|
|
|
|
|
'type' => 'leaf', |
176
|
|
|
|
|
|
|
'value_type' => 'uniline' |
177
|
|
|
|
|
|
|
}, |
178
|
|
|
|
|
|
|
'Port', |
179
|
|
|
|
|
|
|
{ |
180
|
|
|
|
|
|
|
'description' => 'Listen on this specified port. ', |
181
|
|
|
|
|
|
|
'type' => 'leaf', |
182
|
|
|
|
|
|
|
'upstream_default' => '13666', |
183
|
|
|
|
|
|
|
'value_type' => 'integer' |
184
|
|
|
|
|
|
|
}, |
185
|
|
|
|
|
|
|
'PrevScreenKey', |
186
|
|
|
|
|
|
|
{ |
187
|
|
|
|
|
|
|
'default' => 'Left', |
188
|
|
|
|
|
|
|
'type' => 'leaf', |
189
|
|
|
|
|
|
|
'value_type' => 'uniline' |
190
|
|
|
|
|
|
|
}, |
191
|
|
|
|
|
|
|
'ReportLevel', |
192
|
|
|
|
|
|
|
{ |
193
|
|
|
|
|
|
|
'description' => 'Sets the reporting level; defaults to warnings and errors only.', |
194
|
|
|
|
|
|
|
'max' => '5', |
195
|
|
|
|
|
|
|
'min' => '0', |
196
|
|
|
|
|
|
|
'type' => 'leaf', |
197
|
|
|
|
|
|
|
'upstream_default' => '2', |
198
|
|
|
|
|
|
|
'value_type' => 'integer' |
199
|
|
|
|
|
|
|
}, |
200
|
|
|
|
|
|
|
'ReportToSyslog', |
201
|
|
|
|
|
|
|
{ |
202
|
|
|
|
|
|
|
'description' => 'Should we report to syslog instead of stderr? ', |
203
|
|
|
|
|
|
|
'type' => 'leaf', |
204
|
|
|
|
|
|
|
'upstream_default' => 'no', |
205
|
|
|
|
|
|
|
'value_type' => 'boolean', |
206
|
|
|
|
|
|
|
'write_as' => [ |
207
|
|
|
|
|
|
|
'no', |
208
|
|
|
|
|
|
|
'yes' |
209
|
|
|
|
|
|
|
] |
210
|
|
|
|
|
|
|
}, |
211
|
|
|
|
|
|
|
'ScrollDownKey', |
212
|
|
|
|
|
|
|
{ |
213
|
|
|
|
|
|
|
'type' => 'leaf', |
214
|
|
|
|
|
|
|
'upstream_default' => 'Down', |
215
|
|
|
|
|
|
|
'value_type' => 'uniline' |
216
|
|
|
|
|
|
|
}, |
217
|
|
|
|
|
|
|
'ScrollUpKey', |
218
|
|
|
|
|
|
|
{ |
219
|
|
|
|
|
|
|
'type' => 'leaf', |
220
|
|
|
|
|
|
|
'upstream_default' => 'Up', |
221
|
|
|
|
|
|
|
'value_type' => 'uniline' |
222
|
|
|
|
|
|
|
}, |
223
|
|
|
|
|
|
|
'ServerScreen', |
224
|
|
|
|
|
|
|
{ |
225
|
|
|
|
|
|
|
'choice' => [ |
226
|
|
|
|
|
|
|
'on', |
227
|
|
|
|
|
|
|
'off', |
228
|
|
|
|
|
|
|
'blank' |
229
|
|
|
|
|
|
|
], |
230
|
|
|
|
|
|
|
'description' => 'If yes, the the serverscreen will be rotated as a usual info screen. If no, |
231
|
|
|
|
|
|
|
it will be a background screen, only visible when no other screens are |
232
|
|
|
|
|
|
|
active. The special value \'blank\' is similar to no, but only a blank screen |
233
|
|
|
|
|
|
|
is displayed. ', |
234
|
|
|
|
|
|
|
'type' => 'leaf', |
235
|
|
|
|
|
|
|
'upstream_default' => 'on', |
236
|
|
|
|
|
|
|
'value_type' => 'enum' |
237
|
|
|
|
|
|
|
}, |
238
|
|
|
|
|
|
|
'TitleSpeed', |
239
|
|
|
|
|
|
|
{ |
240
|
|
|
|
|
|
|
'description' => 'set title scrolling speed ', |
241
|
|
|
|
|
|
|
'max' => '10', |
242
|
|
|
|
|
|
|
'min' => '0', |
243
|
|
|
|
|
|
|
'type' => 'leaf', |
244
|
|
|
|
|
|
|
'upstream_default' => '10', |
245
|
|
|
|
|
|
|
'value_type' => 'integer' |
246
|
|
|
|
|
|
|
}, |
247
|
|
|
|
|
|
|
'ToggleRotateKey', |
248
|
|
|
|
|
|
|
{ |
249
|
|
|
|
|
|
|
'default' => 'Enter', |
250
|
|
|
|
|
|
|
'description' => 'The "...Key=" lines define what the server does with keypresses that |
251
|
|
|
|
|
|
|
don\'t go to any client. The ToggleRotateKey stops rotation of screens, while |
252
|
|
|
|
|
|
|
the PrevScreenKey and NextScreenKey go back / forward one screen (even if |
253
|
|
|
|
|
|
|
rotation is disabled. |
254
|
|
|
|
|
|
|
Assign the key string returned by the driver to the ...Key setting. These |
255
|
|
|
|
|
|
|
are the defaults:', |
256
|
|
|
|
|
|
|
'type' => 'leaf', |
257
|
|
|
|
|
|
|
'value_type' => 'uniline' |
258
|
|
|
|
|
|
|
}, |
259
|
|
|
|
|
|
|
'User', |
260
|
|
|
|
|
|
|
{ |
261
|
|
|
|
|
|
|
'description' => 'User to run as. LCDd will drop its root privileges and run as this user |
262
|
|
|
|
|
|
|
instead. ', |
263
|
|
|
|
|
|
|
'type' => 'leaf', |
264
|
|
|
|
|
|
|
'upstream_default' => 'nobody', |
265
|
|
|
|
|
|
|
'value_type' => 'uniline' |
266
|
|
|
|
|
|
|
}, |
267
|
|
|
|
|
|
|
'WaitTime', |
268
|
|
|
|
|
|
|
{ |
269
|
|
|
|
|
|
|
'description' => 'Sets the default time in seconds to displays a screen. ', |
270
|
|
|
|
|
|
|
'type' => 'leaf', |
271
|
|
|
|
|
|
|
'upstream_default' => '4', |
272
|
|
|
|
|
|
|
'value_type' => 'integer' |
273
|
|
|
|
|
|
|
} |
274
|
|
|
|
|
|
|
], |
275
|
|
|
|
|
|
|
'name' => 'LCDd::server' |
276
|
|
|
|
|
|
|
} |
277
|
|
|
|
|
|
|
] |
278
|
|
|
|
|
|
|
; |
279
|
|
|
|
|
|
|
|